40 lines
908 B
C++
40 lines
908 B
C++
/**
|
|
* @file PaiRadioButton.h
|
|
* @brief PaiRadioButton是P.A.I系统定制发布的单选按钮
|
|
* @date 2012-01-31
|
|
*/
|
|
#ifndef PAI_FRAME_WIDGET_PAIRADIOBUTTON_H
|
|
#define PAI_FRAME_WIDGET_PAIRADIOBUTTON_H
|
|
|
|
#include <QRadioButton>
|
|
#include "Turtle.h"
|
|
namespace pai
|
|
{
|
|
namespace gui
|
|
{
|
|
/**
|
|
* @class PaiRadioButton
|
|
* @brief PaiRadioButton是P.A.I系统定制发布的单选按钮
|
|
*/
|
|
|
|
class PAI_WIDGET_EXPORT PaiRadioButton : public QRadioButton
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
/**
|
|
* @brief 构造函数
|
|
* @param[in] parent 父窗口句柄
|
|
*/
|
|
PaiRadioButton(QWidget *parent = 0);
|
|
/**
|
|
* @brief 构造函数
|
|
* @param[in] text 按钮文字初始值
|
|
* @param[in] parent 父窗口句柄
|
|
*/
|
|
PaiRadioButton(const QString &text, QWidget *parent = 0);
|
|
};
|
|
}
|
|
}
|
|
|
|
#endif ///< PAI_FRAME_WIDGET_PAIRADIOBUTTON_H
|