swift
|
Standard font (size, style) menus. Can be used as nested menu or via getActions added manually. More...
Signals | |
void | fontSizePlus () |
Font size signals. | |
void | fontSizeMinus () |
Font size signals. | |
Public Member Functions | |
CFontMenu (QWidget *widget, Qt::ShortcutContext shortcutContext=Qt::WidgetShortcut) | |
Constructor. | |
virtual void | customMenu (CMenuActions &menuActions) |
Display custom menu. More... | |
QList< QAction * > | getActions () const |
Allow to use the actions directly. | |
QList< QShortcut * > | getShortcuts () const |
The shortcus owned by QWidget. | |
![]() | |
void | setNestedDelegate (IMenuDelegate *nestedDelegate) |
Set nested delegate. | |
IMenuDelegate * | getNestedDelegate () const |
Nested delegate. | |
virtual | ~IMenuDelegate () |
Destructor. | |
const QStringList & | getLogCategories () |
Log categories. | |
Static Public Member Functions | |
static const QStringList & | getLogCategories () |
Log.categories. | |
Additional Inherited Members | |
![]() | |
IMenuDelegate (QWidget *parent=nullptr) | |
Constructor. | |
void | nestedCustomMenu (CMenuActions &menuActions) const |
Delegate down one level. | |
bool | previousMenuItemContains (const QString &str, const QMenu &menu, Qt::CaseSensitivity cs=Qt::CaseSensitive) const |
Does the previous (menu) item contain string? | |
![]() | |
IMenuDelegate * | m_nestedDelegate = nullptr |
nested delegate if any | |
Standard font (size, style) menus. Can be used as nested menu or via getActions added manually.
Definition at line 20 of file fontmenus.h.
|
virtual |
Display custom menu.
Implements swift::gui::menus::IMenuDelegate.
Definition at line 40 of file fontmenus.cpp.