swift
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
swift::gui::menus::IMenuDelegate Class Referenceabstract

Interface to implement a custom menu. More...

Inheritance diagram for swift::gui::menus::IMenuDelegate:
[legend]

Public Member Functions

virtual void customMenu (CMenuActions &menuActions)=0
 Display custom menu.
 
void setNestedDelegate (IMenuDelegate *nestedDelegate)
 Set nested delegate.
 
IMenuDelegategetNestedDelegate () 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

IMenuDelegatem_nestedDelegate = nullptr
 nested delegate if any
 

Detailed Description

Interface to implement a custom menu.

Definition at line 20 of file menudelegate.h.


The documentation for this class was generated from the following file: