TAction Class
Header: | #include <TAction> |
Inherits: | QAction and TUiInterface |
Public Functions
TAction(QObject *parent = 0) | |
TAction(const QString &text, QObject *parent = nullptr) | |
TAction(const QIcon &icon, const QString &text, QObject *parent = nullptr) | |
~TAction() |
- 47 public functions inherited from QAction
Public Slots
virtual QVariant | getData(const QString &iKeyStr = "", const QVariant &iOptionsVar = QVariant()) |
virtual void | setData(const QString &iKeyStr, const QVariant &iDataVar) |
- 7 public slots inherited from QAction
- 9 public slots inherited from TUiInterface
Signals
virtual void | notification(const QString &type, const QVariant &data = QVariant(), const QString &uuid = QStringLiteral( "" )) |
- 4 signals inherited from QAction
- 1 signal inherited from TUiInterface
Additional Inherited Members
- 17 properties inherited from QAction
- 1 protected function inherited from QAction
- 2 protected functions inherited from TUiInterface
Detailed Description
和QAction功能一样
Member Function Documentation
TAction::TAction(QObject *parent = 0)
Default constructs an instance of TAction.
TAction::TAction(const QString &text, QObject *parent = nullptr)
Default constructs an instance of TAction.
TAction::TAction(const QIcon &icon, const QString &text, QObject *parent = nullptr)
Default constructs an instance of TAction.
TAction::~TAction()
Destroys the instance of TAction.