PeriDyno
1.0.0
Loading...
Searching...
No Matches
D:
Peridyno
peridyno
src
Rendering
GUI
QtGUI
LockerButton.h
Go to the documentation of this file.
1
#pragma once
2
3
4
#ifndef LOCKER_BUTTON_H
5
#define LOCKER_BUTTON_H
6
7
#include <QWidget>
8
#include <QPushButton>
9
10
class
QLabel;
11
12
class
LockerButton
:
public
QPushButton
13
{
14
Q_OBJECT
15
public
:
16
explicit
LockerButton
(QWidget* parent =
nullptr
);
17
18
// SetImageLabel
19
void
SetImageLabel
(
const
QPixmap& pixmap);
20
21
// SetTextLabel
22
void
SetTextLabel
(QString text);
23
24
// @brief GetImageHandle
25
QLabel*
GetImageHandle
();
26
27
// @brief GetImageHandle
28
QLabel*
GetTextHandle
();
29
30
private
:
31
32
QLabel*
mImageLabel
;
33
34
QLabel*
mTextLabel
;
35
};
36
37
#endif
// LOCKER_BUTTON_H
LockerButton::mImageLabel
QLabel * mImageLabel
Definition
LockerButton.h:32
LockerButton::SetImageLabel
void SetImageLabel(const QPixmap &pixmap)
Definition
LockerButton.cpp:29
LockerButton::GetImageHandle
QLabel * GetImageHandle()
Definition
LockerButton.cpp:39
LockerButton::mTextLabel
QLabel * mTextLabel
Definition
LockerButton.h:34
LockerButton::LockerButton
LockerButton(QWidget *parent=nullptr)
Definition
LockerButton.cpp:8
LockerButton::GetTextHandle
QLabel * GetTextHandle()
Definition
LockerButton.cpp:44
LockerButton::SetTextLabel
void SetTextLabel(QString text)
Definition
LockerButton.cpp:34
Generated by
1.13.2