logplus/Workflow/WFWidget/include/PaiPromptLineEdit.h

64 lines
1.3 KiB
C
Raw Permalink Normal View History

2026-01-17 12:55:45 +08:00
/**
* @file PaiPromptLineEdit.h
* @brief LineEdit的输入框控件
* @date 2013-10-12
*/
#ifndef PAI_FRAME_WIDGET_PAIPROMPTLINEEDIT_H
#define PAI_FRAME_WIDGET_PAIPROMPTLINEEDIT_H
#include "PaiLineEdit.h"
namespace pai
{
namespace gui
{
class PaiLabel;
}
}
#include "Turtle.h"
namespace pai
{
namespace gui
{
/**
* @class PaiPromptLineEdit
* @brief PaiPromptLineEdit
*/
class PAI_WIDGET_EXPORT PaiPromptLineEdit : public PaiLineEdit
{
Q_OBJECT
public:
/**
* @brief
* @param[in] pParent
*/
PaiPromptLineEdit(QWidget *pParent = NULL);
/**
* @brief
*/
virtual ~PaiPromptLineEdit();
/**
* @brief label的信息
* @param[in] pLabel
*/
void SetPromptLabel(PaiLabel *pLabel);
/**
* @brief
* @param[in] message
* @param[in] type
*/
virtual void ShowPromptMessge(const QString & message, PromptType type = PT_Information);
private:
pai::gui::PaiLabel *m_pMessageLabel; ///< 信息标签
};
}
}
#endif ///< PAI_FRAME_WIDGET_PAIPROMPTLINEEDIT_H