logplus/Workflow/WFEngine/Plugin/include/ControlExtension.h
2026-01-16 17:18:41 +08:00

43 lines
976 B
C++
Raw 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.

/**
* @file ControlExtension.h
* @brief 所有控制类的基类属于P.A.I MVC框架的一部分
* @date 2011-11-04
*/
#ifndef PAI_FRAME_PLUGIN_CONTROLEXTENSION_H
#define PAI_FRAME_PLUGIN_CONTROLEXTENSION_H
#include "IExtension.h"
#include <QString>
namespace pai
{
/**
* @class ControlExtension
* @brief 所有控制类的基类属于P.A.I MVC框架的一部分
* 继承此类,可以方便的弹出信息提示对话框。
*/
class PAI_PLUGIN_EXPORT ControlExtension : public pai::IExtension
{
public:
/**
* @brief 构造函数
*/
ControlExtension();
/**
* @brief 析构函数
*/
virtual ~ControlExtension(){};
/**
* @brief 弹出信息提示对话框,在单元测试的场景下后台输出该语句
* @param[in] title 标题
* @param[in] message 内容
*/
void ShowMessage(const QString & title, const QString & message);
};
}
#endif ///< PAI_FRAME_PLUGIN_CONTROLEXTENSION_H