swift
|
Bunch of CMenuAction objects. More...
Public Member Functions | |
CMenuActions () | |
Constructor. | |
CMenuActions (const QList< CMenuAction > &actions) | |
Constructor. | |
CMenuActions | getActions () const |
All actions. | |
QList< QAction * > | getQActions () const |
QActions. | |
CMenuActions | getMenuActions (const QString &path) const |
All menu actions. | |
bool | containsMenu (const QString &path) const |
Menu already available? | |
bool | isEmpty () const |
Empty? | |
int | size () const |
Elements. | |
CMenuAction | addMenu (const CMenuAction &subdirAction) |
Add a sub menu. | |
CMenuAction | addMenu (const QString &title, const QString &path) |
Add a sub menu. | |
void | addSeparator (const QString &path) |
Add a separator. | |
CMenuAction | addMenu (const QIcon &icon, const QString &title, const QString &path) |
Add a sub menu. | |
CMenuAction | addAction (const CMenuAction &menuAction) |
Add menu action. | |
CMenuActions | addActions (const CMenuActions &actions) |
Add menu actions, returns last valid QAction. | |
CMenuAction | addAction (QAction *action, const QString &path) |
Add menu action. | |
CMenuActions | addActions (const QList< QAction * > &actions, const QString &path) |
Add menu action. | |
CMenuAction | addAction (QAction *action, const QString &text, const QString &path, const swift::misc::CSlot< void()> &slot, const QKeySequence &shortcut=0) |
Convenience function if method is also kept elsewhere. | |
CMenuAction | addAction (QAction *action, const QString &text, const QString &path, QObject *actionOwner, const swift::misc::CSlot< void()> &slot, const QKeySequence &shortcut=0) |
Convenience function if method is also kept elsewhere. | |
CMenuAction | addAction (QAction *action, const QIcon &icon, const QString &text, const QString &path, const swift::misc::CSlot< void()> &slot, const QKeySequence &shortcut=0) |
Convenience function if method is also kept elsewhere. | |
CMenuAction | addAction (QAction *action, const QIcon &icon, const QString &text, const QString &path, QObject *actionOwner, const swift::misc::CSlot< void()> &slot, const QKeySequence &shortcut=0) |
Convenience function if method is also kept elsewhere. | |
CMenuAction | addAction (const QString &text, const QString &path, QObject *actionOwner, const QKeySequence &shortcut=0) |
Add action which still needs to be connected. | |
CMenuAction | addAction (const QIcon &actionIcon, const QString &text, const QString &path, QObject *actionOwner, const QKeySequence &shortcut=0) |
Add action which still needs to be connected. | |
CMenuAction | addAction (const QIcon &actionIcon, const QString &text, const QString &path, QObject *actionOwner, const swift::misc::CSlot< void()> &slot, const QKeySequence &shortcut=0) |
Add action. | |
CMenuAction | addAction (const QIcon &actionIcon, const QString &text, const QString &path) |
Add action without slot. | |
CMenuAction | addAction (const QIcon &actionIcon, const QString &text, const QString &path, const swift::misc::CSlot< void()> &slot, const QKeySequence &shortcut=0) |
Add action. | |
CMenuAction | addAction (const QString &text, const QString &path, const swift::misc::CSlot< void()> &slot, const QKeySequence &shortcut=0) |
Add menu action. | |
CMenuAction | addAction (const QString &text, const QString &path, QObject *actionOwner, const swift::misc::CSlot< void()> &slot, const QKeySequence &shortcut=0) |
Add menu action. | |
void | toQMenu (QMenu &menu, bool separateGroups) const |
Insert the sorted actions to the menu. | |
QList< CMenuAction > | toQList () const |
To QList. | |
CMenuAction | first () const |
First action. | |
CMenuAction | last () const |
Last action. | |
operator QList< QAction * > () const | |
All actions;. | |
operator QList< CMenuAction > () const | |
As QList. | |
Add some typical sub menus | |
CMenuAction | addMenuViewOrder () |
View order menu. | |
CMenuAction | addMenuSimulator () |
Simulator menu. | |
CMenuAction | addMenuStash () |
Stash menu. | |
CMenuAction | addMenuStashEditor () |
Stash menu. | |
CMenuAction | addMenuDatabase () |
Database menu. | |
CMenuAction | addMenuConsolidateModels () |
Consolidate models menu. | |
CMenuAction | addMenuModelSet () |
Model set menu. | |
CMenuAction | addMenuModelConverterX () |
Add ModelConverterX menu (optional) | |
CMenuAction | addMenuCom () |
Add COM model menu. | |
CMenuAction | addMenuDisplayModels () |
Add display model menu. | |
CMenuAction | addMenuRenderModels () |
Add render model menu. | |
CMenuAction | addMenuDataTransfer () |
Add data transfer menu. | |
Bunch of CMenuAction objects.
Definition at line 383 of file menuaction.h.