ViewList

Detailed Description

Classes

class  ViewList
 

Class Documentation

◆ ViewList

class ViewList

Signals

void viewChanged (QString type)
 
- Signals inherited from MenuHelper
void clicked ()
 

Public Member Functions

 ViewList (QWidget *parent)
 
void bindActions (UIActionHandler *handler)
 
void addMenuActions (Menu *menu, const QString &group)
 
void setCurrentViewType (ViewFrame *view, const QString &type)
 
- 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 showMenu ()
 
- 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

◆ ViewList()

ViewList::ViewList ( QWidget *  parent)

Member Function Documentation

◆ bindActions()

void ViewList::bindActions ( UIActionHandler handler)

◆ addMenuActions()

void ViewList::addMenuActions ( Menu menu,
const QString &  group 
)

◆ setCurrentViewType()

void ViewList::setCurrentViewType ( ViewFrame view,
const QString &  type 
)

◆ showMenu()

virtual void ViewList::showMenu ( )
protectedvirtual

Implements MenuHelper.

◆ viewChanged

void ViewList::viewChanged ( QString  type)
signal