logplus/ModuleConsole/include/WorkflowToolBarView.h
2026-01-16 17:18:41 +08:00

48 lines
1004 B
C++
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
* WorkflowToolBarView.h
*
* Created on: 2011-10-8
* Author: dev
*/
#ifndef PAI_FRAME_WORKFLOWVIEW_WORKFLOWTOOLBARVIEW_H
#define PAI_FRAME_WORKFLOWVIEW_WORKFLOWTOOLBARVIEW_H
#include <QWidget>
#include <QUuid>
#include "PaiToolBarView.h"
namespace pai
{
namespace objectmodel
{
class PaiWorkflowDataModel;
}
}
namespace pai {
namespace graphics2d {
class WorkflowWidget;
}
}
namespace pai
{
class CWorkflowToolBarView:public PaiToolBarView {
Q_OBJECT
public:
CWorkflowToolBarView(pai::graphics2d::WorkflowWidget *wfw,const QUuid& pageID,QWidget *parent = 0);
virtual ~CWorkflowToolBarView();
protected:
/**
* @brief 重载事件过滤器监听窗口的Active用来处理当前工作流切换主要是针对拖出窗口的情况
*/
virtual bool eventFilter(QObject *pObj, QEvent *pEvent);
private:
QUuid m_pageID;//工作流插件的ID
QString m_workflowToolBarName;//工作流控件的子工具栏的名字
};
}
#endif