#include <iistaskbox.h>
Public Slots | |
void | showHide () |
Public Member Functions | |
void | addIconLabel (iisIconLabel *label, bool addToLayout=true) |
QBoxLayout * | groupLayout () |
iisTaskBox (const QPixmap &icon, const QString &title, bool expandable=true, QWidget *parent=0) | |
iisTaskBox (const QString &title, bool expandable=true, QWidget *parent=0) | |
void | setScheme (iisTaskPanelScheme *pointer) |
virtual | ~iisTaskBox () |
Protected Slots | |
void | processHide () |
void | processShow () |
Protected Member Functions | |
void | init () |
virtual void | paintEvent (QPaintEvent *event) |
Protected Attributes | |
double | m_foldDelta |
int | m_foldDirection |
QPixmap | m_foldPixmap |
double | m_foldStep |
double | m_fullHeight |
double | m_tempHeight |
QWidget * | myDummy |
iisTaskGroup * | myGroup |
iisTaskHeader * | myHeader |
iisTaskPanelScheme * | myScheme |
Definition at line 20 of file iistaskbox.h.
iisTaskBox::iisTaskBox | ( | const QString & | title, | |
bool | expandable = true , |
|||
QWidget * | parent = 0 | |||
) |
Definition at line 14 of file iistaskbox.cpp.
iisTaskBox::iisTaskBox | ( | const QPixmap & | icon, | |
const QString & | title, | |||
bool | expandable = true , |
|||
QWidget * | parent = 0 | |||
) |
Definition at line 21 of file iistaskbox.cpp.
iisTaskBox::~iisTaskBox | ( | ) | [virtual] |
Definition at line 51 of file iistaskbox.cpp.
void iisTaskBox::addIconLabel | ( | iisIconLabel * | label, | |
bool | addToLayout = true | |||
) |
Definition at line 69 of file iistaskbox.cpp.
References iisTaskGroup::addIconLabel(), and myGroup.
Referenced by Gui::TaskView::TaskBox::actionEvent(), Gui::DockWnd::TaskPanelView::TaskPanelView(), and test::test().
QBoxLayout * iisTaskBox::groupLayout | ( | ) |
Definition at line 64 of file iistaskbox.cpp.
References iisTaskGroup::groupLayout(), and myGroup.
Referenced by Gui::TaskView::TaskBox::hideGroupBox(), Gui::TaskView::TaskAppearance::TaskAppearance(), PartGui::TaskBooleanOperation::TaskBooleanOperation(), Gui::TaskBoxAngle::TaskBoxAngle(), Gui::TaskBoxPosition::TaskBoxPosition(), PartDesignGui::TaskChamfer::TaskChamfer(), PartGui::TaskCrossSections::TaskCrossSections(), Gui::TaskView::TaskDialogPython::TaskDialogPython(), RobotGui::TaskEdge2TracParameter::TaskEdge2TracParameter(), PartGui::TaskExtrusion::TaskExtrusion(), PartGui::TaskFaceColors::TaskFaceColors(), PartGui::TaskFilletEdges::TaskFilletEdges(), PartDesignGui::TaskFilletParameters::TaskFilletParameters(), PartDesignGui::TaskHoleParameters::TaskHoleParameters(), PartGui::TaskLoft::TaskLoft(), PartGui::TaskMirroring::TaskMirroring(), PartDesignGui::TaskPadParameters::TaskPadParameters(), Gui::DockWnd::TaskPanelView::TaskPanelView(), PartDesignGui::TaskPatternRectangularParameters::TaskPatternRectangularParameters(), Gui::Dialog::TaskPlacement::TaskPlacement(), PartDesignGui::TaskPocketParameters::TaskPocketParameters(), DrawingGui::TaskProjection::TaskProjection(), MeshGui::TaskRemoveComponents::TaskRemoveComponents(), PartGui::TaskRevolution::TaskRevolution(), PartDesignGui::TaskRevolutionParameters::TaskRevolutionParameters(), RobotGui::TaskRobot6Axis::TaskRobot6Axis(), RobotGui::TaskRobotControl::TaskRobotControl(), RobotGui::TaskRobotMessages::TaskRobotMessages(), Gui::TaskView::TaskSelectLinkProperty::TaskSelectLinkProperty(), PartGui::TaskShapeBuilder::TaskShapeBuilder(), SketcherGui::TaskSketcherConstrains::TaskSketcherConstrains(), SketcherGui::TaskSketcherGeneral::TaskSketcherGeneral(), SketcherGui::TaskSketcherMessages::TaskSketcherMessages(), MeshPartGui::TaskTessellation::TaskTessellation(), Gui::Dialog::TaskTextureMapping::TaskTextureMapping(), RobotGui::TaskTrajectory::TaskTrajectory(), RobotGui::TaskTrajectoryDressUpParameter::TaskTrajectoryDressUpParameter(), Gui::Dialog::TaskTransform::TaskTransform(), Gui::TaskView::TaskWatcherPython::TaskWatcherPython(), and test::test().
void iisTaskBox::init | ( | void | ) | [protected] |
Definition at line 28 of file iistaskbox.cpp.
References draftlibs::fcgeo::connect(), iisTaskPanelScheme::defaultScheme(), m_foldStep, myDummy, myGroup, myHeader, myScheme, and showHide().
Referenced by iisTaskBox().
void iisTaskBox::paintEvent | ( | QPaintEvent * | event | ) | [protected, virtual] |
Definition at line 151 of file iistaskbox.cpp.
References iisTaskPanelScheme::groupFoldSteps, m_foldDirection, m_foldPixmap, m_foldStep, myDummy, myScheme, and draftTools::p.
void iisTaskBox::processHide | ( | ) | [protected, slot] |
Definition at line 105 of file iistaskbox.cpp.
References iisTaskPanelScheme::groupFoldDelay, m_foldDelta, m_foldPixmap, m_foldStep, m_tempHeight, myDummy, myHeader, and myScheme.
Referenced by showHide().
void iisTaskBox::processShow | ( | ) | [protected, slot] |
Definition at line 127 of file iistaskbox.cpp.
References iisTaskPanelScheme::groupFoldDelay, m_foldDelta, m_foldPixmap, m_foldStep, m_fullHeight, m_tempHeight, myDummy, myGroup, myHeader, and myScheme.
Referenced by showHide().
void iisTaskBox::setScheme | ( | iisTaskPanelScheme * | pointer | ) |
Definition at line 56 of file iistaskbox.cpp.
References myGroup, myHeader, myScheme, iisTaskGroup::setScheme(), and iisTaskHeader::setScheme().
Referenced by test::on_rbXP_clicked(), Gui::TaskView::TaskBox::TaskBox(), and Gui::DockWnd::TaskPanelView::TaskPanelView().
void iisTaskBox::showHide | ( | ) | [slot] |
Definition at line 75 of file iistaskbox.cpp.
References iisTaskPanelScheme::groupFoldDelay, iisTaskPanelScheme::groupFoldSteps, m_foldDelta, m_foldDirection, m_foldPixmap, m_foldStep, m_fullHeight, m_tempHeight, myDummy, myGroup, myScheme, processHide(), and processShow().
Referenced by init().
double iisTaskBox::m_foldDelta [protected] |
Definition at line 48 of file iistaskbox.h.
Referenced by Gui::TaskView::TaskBox::hideGroupBox(), processHide(), processShow(), and showHide().
int iisTaskBox::m_foldDirection [protected] |
Definition at line 49 of file iistaskbox.h.
Referenced by Gui::TaskView::TaskBox::hideGroupBox(), paintEvent(), and showHide().
QPixmap iisTaskBox::m_foldPixmap [protected] |
Definition at line 51 of file iistaskbox.h.
Referenced by Gui::TaskView::TaskBox::hideGroupBox(), paintEvent(), processHide(), processShow(), and showHide().
double iisTaskBox::m_foldStep [protected] |
Definition at line 48 of file iistaskbox.h.
Referenced by Gui::TaskView::TaskBox::hideGroupBox(), init(), paintEvent(), processHide(), processShow(), and showHide().
double iisTaskBox::m_fullHeight [protected] |
Definition at line 48 of file iistaskbox.h.
Referenced by Gui::TaskView::TaskBox::hideGroupBox(), processShow(), and showHide().
double iisTaskBox::m_tempHeight [protected] |
Definition at line 48 of file iistaskbox.h.
Referenced by Gui::TaskView::TaskBox::hideGroupBox(), processHide(), processShow(), and showHide().
QWidget* iisTaskBox::myDummy [protected] |
Definition at line 55 of file iistaskbox.h.
Referenced by Gui::TaskView::TaskBox::hideGroupBox(), init(), paintEvent(), processHide(), processShow(), and showHide().
iisTaskGroup* iisTaskBox::myGroup [protected] |
Definition at line 54 of file iistaskbox.h.
Referenced by Gui::TaskView::TaskBox::actionEvent(), addIconLabel(), groupLayout(), Gui::TaskView::TaskBox::hideGroupBox(), init(), processShow(), setScheme(), and showHide().
iisTaskHeader* iisTaskBox::myHeader [protected] |
Definition at line 53 of file iistaskbox.h.
Referenced by Gui::TaskView::TaskBox::hideGroupBox(), iisTaskBox(), init(), processHide(), processShow(), and setScheme().
iisTaskPanelScheme* iisTaskBox::myScheme [protected] |
Definition at line 57 of file iistaskbox.h.
Referenced by Gui::TaskView::TaskBox::hideGroupBox(), init(), paintEvent(), processHide(), processShow(), setScheme(), and showHide().