36 lines
762 B
C++
36 lines
762 B
C++
#ifndef BASEINFODLG_H
|
|
#define BASEINFODLG_H
|
|
|
|
#include <QWidget>
|
|
#include "baseContentDlg.h"
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
namespace Ui { class baseInfoDlg; }
|
|
QT_END_NAMESPACE
|
|
|
|
class QButtonGroup;
|
|
class ItemPropertyDlg;
|
|
|
|
class BaseInfoDlg : public BaseContentDlg
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
BaseInfoDlg(QWidget *parent = nullptr);
|
|
~BaseInfoDlg();
|
|
|
|
void initial();
|
|
|
|
virtual void createGroupView(groupStateInfo);
|
|
virtual QMap<QString,propertyStateInfo> getPropertyValue(BaseProperty* = nullptr);
|
|
virtual void setPropertyValue(QVariant);
|
|
void setParentDlg(ItemPropertyDlg* p) {_parentDlg = p;}
|
|
public slots:
|
|
void onIconManagerClicked();
|
|
private:
|
|
Ui::baseInfoDlg *ui;
|
|
QButtonGroup* _stateGroup;
|
|
ItemPropertyDlg* _parentDlg;
|
|
};
|
|
|
|
#endif
|