TCheckBox Class
勾选框 More...
Header: | #include <TCheckBox> |
Inherits: | QCheckBox and TUiInterface |
Properties
- intValue : int
- 1 property inherited from QCheckBox
- 11 properties inherited from QAbstractButton
- 58 properties inherited from QWidget
Public Functions
TCheckBox(QWidget *parent = 0) | |
TCheckBox(const QString &iTextStr, QWidget *parent = 0) | |
~TCheckBox() |
- 6 public functions inherited from QCheckBox
- 21 public functions inherited from QAbstractButton
- 213 public functions inherited from QWidget
Public Slots
virtual QVariant | getData(const QString &key = "", const QVariant &options = QVariant()) |
int | intValue() const |
virtual void | setData(const QString &key, const QVariant &data) |
void | setIntValue(const int iValueInt) |
void | setTipBgColor(const QString &iColor) |
void | setTipFgColor(const QString &iColor) |
void | setTipFontSize(int iFontSize) |
void | setTipText(const QString &iText) |
QString | tipBgColor() const |
QString | tipFgColor() const |
int | tipFontSize() const |
QLabel * | tipLabel() |
QString | tipText() const |
- 9 public slots inherited from TUiInterface
- 5 public slots inherited from QAbstractButton
- 19 public slots inherited from QWidget
Signals
virtual void | notification(const QString &type, const QVariant &data = QVariant(), const QString &uuid = QStringLiteral( "" )) |
- 1 signal inherited from QCheckBox
- 1 signal inherited from TUiInterface
- 4 signals inherited from QAbstractButton
- 3 signals inherited from QWidget
Additional Inherited Members
- 5 static public members inherited from QWidget
- 7 protected functions inherited from QCheckBox
- 2 protected functions inherited from TUiInterface
- 14 protected functions inherited from QAbstractButton
- 35 protected functions inherited from QWidget
- 1 protected slot inherited from QWidget
Detailed Description
勾选框
Property Documentation
intValue : int
Access functions:
int | intValue() const |
void | setIntValue(const int iValueInt) |
Member Function Documentation
TCheckBox::TCheckBox(QWidget *parent = 0)
Default constructs an instance of TCheckBox.
TCheckBox::TCheckBox(const QString &iTextStr, QWidget *parent = 0)
Default constructs an instance of TCheckBox.
TCheckBox::~TCheckBox()
Destroys the instance of TCheckBox.
[virtual slot]
QVariant TCheckBox::getData(const QString &key = "", const QVariant &options = QVariant())
[virtual signal]
void TCheckBox::notification(const QString &type, const QVariant &data = QVariant(), const QString &uuid = QStringLiteral( "" ))
[virtual slot]
void TCheckBox::setData(const QString &key, const QVariant &data)
[slot]
void TCheckBox::setTipBgColor(const QString &iColor)
See also tipBgColor().
[slot]
void TCheckBox::setTipFgColor(const QString &iColor)
See also tipFgColor().
[slot]
void TCheckBox::setTipFontSize(int iFontSize)
See also tipFontSize().
[slot]
void TCheckBox::setTipText(const QString &iText)
See also tipText().
[slot]
QString TCheckBox::tipBgColor() const
See also setTipBgColor().
[slot]
QString TCheckBox::tipFgColor() const
See also setTipFgColor().
[slot]
int TCheckBox::tipFontSize() const
See also setTipFontSize().
[slot]
QLabel *TCheckBox::tipLabel()
[slot]
QString TCheckBox::tipText() const
See also setTipText().