Gui::TaskView::TaskGroup Class Reference

#include <TaskView.h>

Public Member Functions

 TaskGroup (const QPixmap &icon, const QString &headerText, QWidget *parent=nullptr)
 
 TaskGroup (const QString &headerText, QWidget *parent=nullptr)
 
 TaskGroup (QWidget *parent=nullptr)
 
 ~TaskGroup ()
 
- Public Member Functions inherited from QSint::ActionBox
 ActionBox (const QPixmap &icon, const QString &headerText, QWidget *parent=nullptr)
 Constructor. More...
 
 ActionBox (const QString &headerText, QWidget *parent=nullptr)
 Constructor. More...
 
 ActionBox (QWidget *parent=nullptr)
 Constructor. More...
 
void addLayout (QLayout *l)
 Adds layout l to the default layout. More...
 
void addWidget (QWidget *w, QLayout *l=nullptr)
 Adds widget w to the layout. More...
 
QLayoutcreateHBoxLayout ()
 Creates empty horizontal layout. More...
 
ActionLabelcreateItem (const QPixmap &icon, const QString &text, QLayout *l=nullptr)
 Adds an action with icon and text to the ActionBox and returns action item. More...
 
ActionLabelcreateItem (const QString &text=QString(), QLayout *l=nullptr)
 Adds an action with text to the ActionBox and returns action item. More...
 
ActionLabelcreateItem (QAction *action, QLayout *l=nullptr)
 Creates action item from the action and returns it. More...
 
QList< ActionLabel * > createItems (QList< QAction * > actions)
 Creates action items from the actions list and returns the list of action items. More...
 
QSpacerItem * createSpacer (QLayout *l=nullptr)
 Adds a spacer and returns spacer item. More...
 
ActionLabelheader () const
 Returns header item of the ActionBox. More...
 
QPixmap icon () const
 Returns icon of the ActionBox. More...
 
QLayoutitemLayout () const
 Returns default layout used for actions (typically it's QVBoxLayout). More...
 
virtual QSize minimumSizeHint () const
 
void setIcon (const QPixmap &icon)
 Sets icon of the ActionBox to icon. More...
 

Protected Member Functions

void actionEvent (QActionEvent *)
 
- Protected Member Functions inherited from QSint::ActionBox
void init ()
 

Additional Inherited Members

- Protected Attributes inherited from QSint::ActionBox
QVBoxLayout * dataLayout
 
ActionLabelheaderLabel
 
QLabeliconLabel
 
- Properties inherited from QSint::ActionBox
ActionLabel header
 
QPixmap icon
 

Constructor & Destructor Documentation

◆ TaskGroup() [1/3]

TaskGroup::TaskGroup ( QWidget parent = nullptr)
explicit

◆ TaskGroup() [2/3]

TaskGroup::TaskGroup ( const QString &  headerText,
QWidget parent = nullptr 
)
explicit

◆ TaskGroup() [3/3]

TaskGroup::TaskGroup ( const QPixmap &  icon,
const QString &  headerText,
QWidget parent = nullptr 
)
explicit

◆ ~TaskGroup()

TaskGroup::~TaskGroup ( )

Member Function Documentation

◆ actionEvent()

void TaskGroup::actionEvent ( QActionEvent *  e)
protected

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