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.
AppFlow/CFDStruct/CUIProperty/CUIComponentPushButton.h

31 lines
692 B
C

#ifndef CUICOMPONENTPUSHBUTTON_H
#define CUICOMPONENTPUSHBUTTON_H
#include <QPushButton>
#include <QWidget>
#include "CUIComponentBase.h"
#include "CUIComponentBaseWidget.h"
class CUIConfig;
class CUIPropertyWidget;
class CUIComponentPushButton : public CUIComponentBaseWidget,
public CUIComponentBase
{
Q_OBJECT
public:
explicit CUIComponentPushButton(CUIConfig *conf,
QVector<CUIPropertyWidget *> &subCUI,
QWidget *parent = nullptr);
private:
void initUI(QVector<CUIPropertyWidget *> &subCUI);
signals:
private:
QPushButton *m_pushButton = nullptr;
};
#endif // CUICOMPONENTPUSHBUTTON_H