#include <iistaskgroup.h>
Public Member Functions | |
void | addIconLabel (iisIconLabel *label, bool addToLayout=true) |
QBoxLayout * | groupLayout () |
iisTaskGroup (QWidget *parent, bool hasHeader=false) | |
void | setScheme (iisTaskPanelScheme *scheme) |
virtual | ~iisTaskGroup () |
Protected Member Functions | |
virtual void | paintEvent (QPaintEvent *event) |
Protected Attributes | |
bool | myHasHeader |
iisIconLabelScheme * | myLabelScheme |
iisTaskPanelScheme * | myScheme |
Definition at line 20 of file iistaskgroup.h.
iisTaskGroup::iisTaskGroup | ( | QWidget * | parent, | |
bool | hasHeader = false | |||
) |
Definition at line 12 of file iistaskgroup.cpp.
References iisTaskPanelScheme::defaultScheme(), and setScheme().
iisTaskGroup::~iisTaskGroup | ( | ) | [virtual] |
Definition at line 26 of file iistaskgroup.cpp.
void iisTaskGroup::addIconLabel | ( | iisIconLabel * | label, | |
bool | addToLayout = true | |||
) |
Definition at line 40 of file iistaskgroup.cpp.
References myLabelScheme, and iisIconLabel::setSchemePointer().
Referenced by iisTaskBox::addIconLabel(), Gui::DockWnd::TaskPanelView::TaskPanelView(), and test::test().
QBoxLayout* iisTaskGroup::groupLayout | ( | ) | [inline] |
Definition at line 30 of file iistaskgroup.h.
Referenced by Gui::TaskView::TaskBox::actionEvent(), and iisTaskBox::groupLayout().
void iisTaskGroup::paintEvent | ( | QPaintEvent * | event | ) | [protected, virtual] |
Definition at line 51 of file iistaskgroup.cpp.
References iisTaskPanelScheme::groupBackground, iisTaskPanelScheme::groupBorder, myHasHeader, myScheme, and draftTools::p.
void iisTaskGroup::setScheme | ( | iisTaskPanelScheme * | scheme | ) |
Definition at line 31 of file iistaskgroup.cpp.
References myLabelScheme, myScheme, and iisTaskPanelScheme::taskLabelScheme.
Referenced by iisTaskGroup(), and iisTaskBox::setScheme().
bool iisTaskGroup::myHasHeader [protected] |
Definition at line 43 of file iistaskgroup.h.
Referenced by paintEvent().
iisIconLabelScheme* iisTaskGroup::myLabelScheme [protected] |
Definition at line 41 of file iistaskgroup.h.
Referenced by addIconLabel(), and setScheme().
iisTaskPanelScheme* iisTaskGroup::myScheme [protected] |
Definition at line 40 of file iistaskgroup.h.
Referenced by paintEvent(), and setScheme().