DiagramDesigner/diagramCavas/include/baseInfoDlg.h

36 lines
762 B
C
Raw Normal View History

2025-05-16 19:20:46 +08:00
#ifndef BASEINFODLG_H
#define BASEINFODLG_H
#include <QWidget>
#include "baseContentDlg.h"
QT_BEGIN_NAMESPACE
namespace Ui { class baseInfoDlg; }
QT_END_NAMESPACE
2025-05-23 10:30:52 +08:00
class QButtonGroup;
2025-10-17 18:14:44 +08:00
class ItemPropertyDlg;
2025-05-16 19:20:46 +08:00
class BaseInfoDlg : public BaseContentDlg
{
Q_OBJECT
public:
BaseInfoDlg(QWidget *parent = nullptr);
~BaseInfoDlg();
2025-10-17 18:14:44 +08:00
void initial();
2025-05-16 19:20:46 +08:00
virtual void createGroupView(groupStateInfo);
2025-05-23 10:30:52 +08:00
virtual QMap<QString,propertyStateInfo> getPropertyValue(BaseProperty* = nullptr);
virtual void setPropertyValue(QVariant);
2025-10-17 18:14:44 +08:00
void setParentDlg(ItemPropertyDlg* p) {_parentDlg = p;}
public slots:
void onIconManagerClicked();
2025-05-16 19:20:46 +08:00
private:
Ui::baseInfoDlg *ui;
2025-05-23 10:30:52 +08:00
QButtonGroup* _stateGroup;
2025-10-17 18:14:44 +08:00
ItemPropertyDlg* _parentDlg;
2025-05-16 19:20:46 +08:00
};
#endif