Classes | |
class | ContextMenuManager |
class | MenuHelper |
class ContextMenuManager |
Signals | |
void | onOpen () |
void | onClose () |
Public Member Functions | |
ContextMenuManager () | |
ContextMenuManager (QWidget *parent) | |
~ContextMenuManager () | |
QMenu * | create () |
MenuInstance * | show (View *view) |
MenuInstance * | show (QPoint pos, View *view) |
MenuInstance * | show (Menu *source, UIActionHandler *handler) |
MenuInstance * | show (QPoint pos, Menu *source, UIActionHandler *handler) |
bool | isActive () |
|
inline |
ContextMenuManager::ContextMenuManager | ( | QWidget * | parent | ) |
ContextMenuManager::~ContextMenuManager | ( | ) |
QMenu * ContextMenuManager::create | ( | ) |
MenuInstance * ContextMenuManager::show | ( | View * | view | ) |
MenuInstance * ContextMenuManager::show | ( | QPoint | pos, |
View * | view ) |
MenuInstance * ContextMenuManager::show | ( | Menu * | source, |
UIActionHandler * | handler ) |
MenuInstance * ContextMenuManager::show | ( | QPoint | pos, |
Menu * | source, | ||
UIActionHandler * | handler ) |
|
inline |
|
signal |
|
signal |
class MenuHelper |
Signals | |
void | clicked () |
Public Member Functions | |
MenuHelper () | |
MenuHelper (QWidget *parent) | |
void | setBackgroundColorRole (QPalette::ColorRole role) |
void | setActiveBackgroundColorRole (QPalette::ColorRole role) |
void | setPressedBackgroundColorRole (QPalette::ColorRole role) |
void | setForegroundColorRole (QPalette::ColorRole role) |
void | setActiveForegroundColorRole (QPalette::ColorRole role) |
void | setPressedForegroundColorRole (QPalette::ColorRole role) |
Protected Slots | |
virtual void | showMenu ()=0 |
Protected Member Functions | |
void | enterEvent (QEnterEvent *event) override |
void | leaveEvent (QEvent *event) override |
void | mousePressEvent (QMouseEvent *event) override |
void | mouseReleaseEvent (QMouseEvent *event) override |
void | updateColors () |
Protected Attributes | |
Menu | m_menu |
ContextMenuManager * | m_contextMenuManager |
QTimer * | m_timer |
bool | m_active |
bool | m_pressed |
|
inline |
|
explicit |
void MenuHelper::setBackgroundColorRole | ( | QPalette::ColorRole | role | ) |
void MenuHelper::setActiveBackgroundColorRole | ( | QPalette::ColorRole | role | ) |
void MenuHelper::setPressedBackgroundColorRole | ( | QPalette::ColorRole | role | ) |
void MenuHelper::setForegroundColorRole | ( | QPalette::ColorRole | role | ) |
void MenuHelper::setActiveForegroundColorRole | ( | QPalette::ColorRole | role | ) |
void MenuHelper::setPressedForegroundColorRole | ( | QPalette::ColorRole | role | ) |
|
signal |
|
protectedpure virtualslot |
Implemented in AddressIndicator, BinaryViewScopeLabel, DataTypeList, GraphTypeLabel, ILChooserWidget, ProjectStatusWidget, and ViewList.
|
overrideprotected |
|
overrideprotected |
|
overrideprotected |
|
overrideprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |