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.
48 lines
1.1 KiB
C++
48 lines
1.1 KiB
C++
/**
|
|
* @file TreeEventOperator.h
|
|
* @brief 树形菜单点击事件接口
|
|
*/
|
|
#ifndef __TREEEVENT_OPERATOR_H_
|
|
#define __TREEEVENT_OPERATOR_H_
|
|
|
|
#include "FITK_Kernel/FITKCore/FITKAbstractOperator.h"
|
|
#include "OperatorsInterfaceAPI.h"
|
|
#include "GUIFrame/MainWindow.h"
|
|
#include <QHash>
|
|
#include <QString>
|
|
#include <QTreeView>
|
|
#include <QStandardItemModel>
|
|
#include <QStandardItem>
|
|
#include <QMenu>
|
|
|
|
|
|
namespace EventOper
|
|
{
|
|
/**
|
|
* @brief 树形菜单点击事件接口类
|
|
*/
|
|
class OperatorsInterfaceAPI TreeEventOperator : public Core::FITKAbstractOperator
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit TreeEventOperator();
|
|
virtual ~TreeEventOperator() = 0;
|
|
/**
|
|
* @brief 更新树
|
|
*/
|
|
virtual void updateTree();
|
|
|
|
virtual void moveProcessToStep(int step, void *addInfo = nullptr);
|
|
protected:
|
|
/**
|
|
* @brief 主窗口
|
|
* @author YanZhiHui (chanyuantiandao@126.com)
|
|
* @date 2024-03-27
|
|
*/
|
|
GUI::MainWindow* _mainWindow{};
|
|
};
|
|
|
|
} // namespace EventOper
|
|
|
|
#endif |