12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- #ifndef INDEXSYSTEMWIDGET_H
- #define INDEXSYSTEMWIDGET_H
- #include "EvalWidget.h"
- #include <CNode.h>
- class CMindView;
- /**
- * @brief The IndexSystemWidget class
- * 指标体系
- */
- class IndexSystemWidget : public EvalWidget
- {
- Q_OBJECT
- public:
- explicit IndexSystemWidget(ProjectInfo *proj, QWidget *parent = nullptr);
- void initWidgets();
- void initLayout();
- void connectSignalsAndSlots();
- void setType(int type) override;
- void contextMenuEvent(QContextMenuEvent *event) override;
- void addNode(CNodeData node);
- void removeNode(int id);
- signals:
- public slots:
- void slotSelectAllNodes();
- void slotClearAllNodes();
- void slotCreateRootNode();
- void slotAddSubNode(int pNumber);
- void slotUpdateNode(CNodeData node);
- void slotRemoveNode(int id);
- private:
- CMindView *m_mindView = nullptr;
- };
- #endif // INDEXSYSTEMWIDGET_H
|