swift
|
Interface to implement a custom menu. More...
Public Member Functions | |
virtual void | customMenu (CMenuActions &menuActions)=0 |
Display custom menu. | |
void | setNestedDelegate (IMenuDelegate *nestedDelegate) |
Set nested delegate. | |
IMenuDelegate * | getNestedDelegate () const |
Nested delegate. | |
virtual | ~IMenuDelegate () |
Destructor. | |
const QStringList & | getLogCategories () |
Log categories. | |
Protected Member Functions | |
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? | |
Protected Attributes | |
IMenuDelegate * | m_nestedDelegate = nullptr |
nested delegate if any | |
Interface to implement a custom menu.
Definition at line 20 of file menudelegate.h.