|
| ShortcutAction (const QString &text, AbstractDockWidget *parent) |
| < simple action with text only (no shortcut)
|
|
| ShortcutAction (const QIcon &icon, const QString &text, AbstractDockWidget *parent) |
| simple action with text, icon and shortcut (context is the same in docked and undocked state)
|
|
| ShortcutAction (const QIcon &icon, const QString &text, AbstractDockWidget *parent, const QKeySequence &key, Qt::ShortcutContext context=Qt::WindowShortcut) |
| simple action with text, icon and shortcut (different contexts for docked and undocked state)
|
|
| ShortcutAction (const QIcon &icon, const QString &text, AbstractDockWidget *parent, const QKeySequence &key, Qt::ShortcutContext dockedContext, Qt::ShortcutContext undockedContext) |
| < Action with text, icon and shortcut (different contexts for docked and undocked state)
|
|
void | connectTrigger (const QObject *receiver, const char *method, Qt::ConnectionType type=Qt::AutoConnection) |
|
void | setEnabled (bool actionEnabled, bool shortcutEnabled) |
|
void | setEnabled (bool enabled) |
|
void | setVisible (bool actionVisible, bool shortcutEnabled) |
|
void | setVisible (bool visible) |
|
QAction * | action () const |
|
|
void | parentDockStateChanged (bool docked) |
|
|
QPointer< QAction > | m_action |
|
QPointer< QShortcut > | m_shortcut |
|
Qt::ShortcutContext | m_dockedShortcut |
|
Qt::ShortcutContext | m_undockedShortcut |
|
◆ ShortcutAction()
< simple action with text only (no shortcut)
simple action with text and icon only (no shortcut)
The documentation for this class was generated from the following files:
- C:/Workspace/itom_development_VS2019_Qt5.15.2_x64/itomProject/itom/Qitom/widgets/shortcutAction.h
- C:/Workspace/itom_development_VS2019_Qt5.15.2_x64/itomProject/itom/Qitom/widgets/shortcutAction.cpp