ILChooser

Detailed Description

Classes

class  ILChooserWidget
 
class  ViewPaneHeaderILChooserWidget
 

Class Documentation

◆ ILChooserWidget

class ILChooserWidget

Public Member Functions

 ILChooserWidget (QWidget *parent, UIActionHandler *handler, bool longDescription)
 
void updateStatus (BNFunctionGraphType current)
 
- 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)
 

Static Public Member Functions

static QString shortNameForILType (BNFunctionGraphType type)
 
static QString longNameForILType (BNFunctionGraphType type)
 

Protected Member Functions

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

- Signals inherited from MenuHelper
void clicked ()
 
- 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

◆ ILChooserWidget()

ILChooserWidget::ILChooserWidget ( QWidget *  parent,
UIActionHandler handler,
bool  longDescription 
)

Member Function Documentation

◆ updateStatus()

void ILChooserWidget::updateStatus ( BNFunctionGraphType  current)

◆ shortNameForILType()

static QString ILChooserWidget::shortNameForILType ( BNFunctionGraphType  type)
static

◆ longNameForILType()

static QString ILChooserWidget::longNameForILType ( BNFunctionGraphType  type)
static

◆ showMenu()

virtual void ILChooserWidget::showMenu ( )
overrideprotectedvirtual

Implements MenuHelper.

◆ ViewPaneHeaderILChooserWidget

class ViewPaneHeaderILChooserWidget

Public Member Functions

 ViewPaneHeaderILChooserWidget (View *view, UIActionHandler *handler)
 
virtual void updateStatus ()
 
- Public Member Functions inherited from ViewPaneHeaderSubtypeWidget
 ViewPaneHeaderSubtypeWidget ()
 
virtual void updateStatus ()=0
 

Constructor & Destructor Documentation

◆ ViewPaneHeaderILChooserWidget()

ViewPaneHeaderILChooserWidget::ViewPaneHeaderILChooserWidget ( View view,
UIActionHandler handler 
)

Member Function Documentation

◆ updateStatus()

virtual void ViewPaneHeaderILChooserWidget::updateStatus ( )
virtual