Limo
A simple mod manager
Loading...
Searching...
No Matches
fomodradiobutton.h
Go to the documentation of this file.
1
5
6
#pragma once
7
8
#include <QLabel>
9
#include <QRadioButton>
10
11
16
class
FomodRadioButton
:
public
QRadioButton
17
{
18
Q_OBJECT
19
public
:
30
FomodRadioButton
(
const
QString& text,
31
const
QString& description,
32
const
QString& image_path,
33
QLabel* description_label,
34
QLabel* image_label);
35
36
protected
:
42
void
enterEvent
(QEvent* event)
override
;
43
44
private
:
46
QString
description_
;
48
QString
image_path_
;
50
QLabel*
description_label_
;
52
QLabel*
image_label_
;
53
};
FomodRadioButton::enterEvent
void enterEvent(QEvent *event) override
Gets called when the mouse enters this widget. Sets description and image of the info panel.
Definition
fomodradiobutton.cpp:15
FomodRadioButton::image_label_
QLabel * image_label_
Pointer to the QLabel which will be updated with the plugin image.
Definition
fomodradiobutton.h:52
FomodRadioButton::description_
QString description_
Description of the plugin represented by this button.
Definition
fomodradiobutton.h:46
FomodRadioButton::image_path_
QString image_path_
Path to the image for the buttons plugin.
Definition
fomodradiobutton.h:48
FomodRadioButton::description_label_
QLabel * description_label_
Pointer to the QLabel which will be updated with the plugin description.
Definition
fomodradiobutton.h:50
FomodRadioButton::FomodRadioButton
FomodRadioButton(const QString &text, const QString &description, const QString &image_path, QLabel *description_label, QLabel *image_label)
Constructor.
Definition
fomodradiobutton.cpp:4
src
ui
fomodradiobutton.h
Generated by
1.13.2