Limo
A simple mod manager
Loading...
Searching...
No Matches
FomodCheckBox Class Reference

Used by FomodDialog. Updates the containing dialogs info panel with a description and image representative of the plugin represented by this button. More...

#include <fomodcheckbox.h>

Inheritance diagram for FomodCheckBox:
Collaboration diagram for FomodCheckBox:

Public Member Functions

 FomodCheckBox (const QString &text, const QString &description, const QString &image_path, QLabel *description_label, QLabel *image_label)
 Constructor.
 

Protected Member Functions

void enterEvent (QEvent *event) override
 Gets called when the mouse enters this widget. Sets description and image of the info panel.
 

Private Attributes

QString description_
 Description of the plugin represented by this button.
 
QString image_path_
 Path to the image for the buttons plugin.
 
QLabel * description_label_
 Pointer to the QLabel which will be updated with the plugin description.
 
QLabel * image_label_
 Pointer to the QLabel which will be updated with the plugin image.
 

Detailed Description

Used by FomodDialog. Updates the containing dialogs info panel with a description and image representative of the plugin represented by this button.

Constructor & Destructor Documentation

◆ FomodCheckBox()

FomodCheckBox::FomodCheckBox ( const QString & text,
const QString & description,
const QString & image_path,
QLabel * description_label,
QLabel * image_label )

Constructor.

Parameters
textText displayed on this button.
descriptionDescription of the plugin represented by this button.
image_pathImage for the buttons plugin.
description_labelPointer to the QLabel which will be updated with the plugin description.
image_labelPointer to the QLabel which will be updated with the plugin image.

Member Function Documentation

◆ enterEvent()

void FomodCheckBox::enterEvent ( QEvent * event)
overrideprotected

Gets called when the mouse enters this widget. Sets description and image of the info panel.

Parameters
eventThe source event.

The documentation for this class was generated from the following files: