You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
663 B
C++
32 lines
663 B
C++
#ifndef CUICOMPONENTCHECKBOX_H
|
|
#define CUICOMPONENTCHECKBOX_H
|
|
|
|
#include <QCheckBox>
|
|
#include <QWidget>
|
|
|
|
#include "CUIComponentBase.h"
|
|
#include "CUIComponentBaseWidget.h"
|
|
|
|
class CUIConfig;
|
|
class CUIPropertyWidget;
|
|
|
|
class CUIComponentCheckBox : public CUIComponentBaseWidget,
|
|
public CUIComponentBase
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit CUIComponentCheckBox(CUIConfig *conf,
|
|
QVector<CUIPropertyWidget *> &subCUI,
|
|
QWidget *parent = nullptr);
|
|
|
|
private:
|
|
void initUI(QVector<CUIPropertyWidget *> &subCUI);
|
|
|
|
private:
|
|
QCheckBox *m_checkBox;
|
|
|
|
signals:
|
|
};
|
|
|
|
#endif // CUICOMPONENTCHECKBOX_H
|