BinaryViewScopeLabel Class Reference

Signals

void itemSelected (BinaryViewRef, BNSettingsScope)
 
- Signals inherited from MenuHelper
void clicked ()
 

Public Member Functions

 BinaryViewScopeLabel (QWidget *parent, const QString &name="", BNSettingsScope scope=SettingsAutoScope)
 
void refresh ()
 
const QString & currentSelection ()
 
BinaryViewRef currentBinaryView ()
 
- 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

virtual void showEvent (QShowEvent *event) override
 
virtual 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

- Protected Slots inherited from MenuHelper
virtual void showMenu ()=0
 
- Protected Attributes inherited from MenuHelper
Menu m_menu
 
ContextMenuManagerm_contextMenuManager
 
QTimer * m_timer
 
bool m_active
 
bool m_pressed
 

Constructor & Destructor Documentation

◆ BinaryViewScopeLabel()

BinaryViewScopeLabel::BinaryViewScopeLabel ( QWidget *  parent,
const QString &  name = "",
BNSettingsScope  scope = SettingsAutoScope 
)

Member Function Documentation

◆ currentBinaryView()

BinaryViewRef BinaryViewScopeLabel::currentBinaryView ( )
inline

◆ currentSelection()

const QString & BinaryViewScopeLabel::currentSelection ( )
inline

◆ itemSelected

void BinaryViewScopeLabel::itemSelected ( BinaryViewRef  ,
BNSettingsScope   
)
signal

◆ refresh()

void BinaryViewScopeLabel::refresh ( )

◆ showEvent()

virtual void BinaryViewScopeLabel::showEvent ( QShowEvent *  event)
overrideprotectedvirtual

◆ showMenu()

virtual void BinaryViewScopeLabel::showMenu ( )
overrideprotectedvirtual

Implements MenuHelper.


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