Gui::TaskView::TaskGroup Class Reference

#include <TaskView.h>

Public Member Functions

 TaskGroup (const QPixmap &icon, const QString &headerText, QWidget *parent=0)
 
 TaskGroup (const QString &headerText, QWidget *parent=0)
 
 TaskGroup (QWidget *parent=0)
 
 ~TaskGroup ()
 
- Public Member Functions inherited from QSint::ActionBox
 ActionBox (const QPixmap &icon, const QString &headerText, QWidget *parent=0)
 Constructor. More...
 
 ActionBox (const QString &headerText, QWidget *parent=0)
 Constructor. More...
 
 ActionBox (QWidget *parent=0)
 Constructor. More...
 
void addLayout (QLayout *l)
 Adds layout l to the default layout. More...
 
void addWidget (QWidget *w, QLayout *l=0)
 Adds widget w to the layout. More...
 
QLayout * createHBoxLayout ()
 Creates empty horizontal layout. More...
 
ActionLabel * createItem (const QPixmap &icon, const QString &text, QLayout *l=0)
 Adds an action with icon and text to the ActionBox and returns action item. More...
 
ActionLabel * createItem (const QString &text=QString(), QLayout *l=0)
 Adds an action with text to the ActionBox and returns action item. More...
 
ActionLabel * createItem (QAction *action, QLayout *l=0)
 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=0)
 Adds a spacer and returns spacer item. More...
 
ActionLabel * header () const
 Returns header item of the ActionBox. More...
 
const QPixmap * icon () const
 Returns icon of the ActionBox. More...
 
QLayout * itemLayout () 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
 
ActionLabel * headerLabel
 
QLabel * iconLabel
 
- Properties inherited from QSint::ActionBox
ActionLabel header
 
QPixmap icon
 

Constructor & Destructor Documentation

◆ TaskGroup() [1/3]

TaskGroup::TaskGroup ( QWidget *  parent = 0)
explicit

◆ TaskGroup() [2/3]

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

◆ TaskGroup() [3/3]

TaskGroup::TaskGroup ( const QPixmap &  icon,
const QString &  headerText,
QWidget *  parent = 0 
)
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:
  • src/Gui/TaskView/TaskView.h
  • src/Gui/TaskView/TaskView.cpp