Public Member Functions | |
GraphTypeLabel (QWidget *parent, DisassemblyContainer *container) | |
Public Member Functions inherited from MenuHelper | |
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 Member Functions | |
void | paintEvent (QPaintEvent *event) override |
void | showMenu () override |
Protected Member Functions inherited from MenuHelper | |
void | enterEvent (QEnterEvent *event) override |
void | leaveEvent (QEvent *event) override |
void | mousePressEvent (QMouseEvent *event) override |
void | mouseReleaseEvent (QMouseEvent *event) override |
void | updateColors () |
Additional Inherited Members | |
Signals inherited from MenuHelper | |
void | clicked () |
Protected Slots inherited from MenuHelper | |
virtual void | showMenu ()=0 |
Protected Attributes inherited from MenuHelper | |
Menu | m_menu |
ContextMenuManager * | m_contextMenuManager |
QTimer * | m_timer |
bool | m_active |
bool | m_pressed |
GraphTypeLabel::GraphTypeLabel | ( | QWidget * | parent, |
DisassemblyContainer * | container | ||
) |
|
overrideprotected |
|
overrideprotectedvirtual |
Implements MenuHelper.