 |
CTK
0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
|
Go to the documentation of this file.
21 #ifndef __ctkWorkflowGroupBox_h
22 #define __ctkWorkflowGroupBox_h
33 #include "ctkWidgetsExport.h"
35 class ctkWorkflowGroupBoxPrivate;
44 Q_PROPERTY(QString preText READ preText WRITE setPreText)
45 Q_PROPERTY(QString postText READ postText WRITE setPostText)
49 Q_PROPERTY(QString titleFormat READ titleFormat WRITE setTitleFormat)
54 Q_PROPERTY(QString subTitleFormat READ subTitleFormat WRITE setSubTitleFormat)
59 Q_PROPERTY(QString errorTextFormat READ errorTextFormat WRITE setErrorTextFormat)
60 Q_PROPERTY(
bool hideWidgetsOfNonCurrentSteps READ hideWidgetsOfNonCurrentSteps WRITE setHideWidgetsOfNonCurrentSteps)
61 Q_PROPERTY(
bool errorTextEnabled READ errorTextEnabled WRITE setErrorTextEnabled)
152 QScopedPointer<ctkWorkflowGroupBoxPrivate>
d_ptr;
void setHideWidgetsOfNonCurrentSteps(bool newHideWidgetsOfNonCurrentSteps)
QString title() const
Get the title text (usually a few words), located in the top area.
virtual void setErrorText(const QString &newErrorText)
QString errorTextFormat() const
void setSubTitleFormat(const QString &format)
void setErrorTextFormat(const QString &format)
ctkWorkflowStep is the basis for a workflow step.
QString subTitleFormat() const
void setPostText(const QString &newPostText)
QString postText() const
Set/get the post-text, i.e. the contents of a convenience text section placed just below the client a...
virtual void setSubTitle(const QString &newSubTitle)
QScopedPointer< ctkWorkflowGroupBoxPrivate > d_ptr
QString titleFormat() const
ctkWorkflowGroupBox is a widget displaying the user interface elements, title, description and/or err...
virtual void updateGroupBox(ctkWorkflowStep *currentStep)
ctkWorkflowGroupBox(QWidget *parent=0)
bool errorTextEnabled() const
virtual ~ctkWorkflowGroupBox()
void setErrorTextEnabled(bool newErrorTextEnabled)
QString preText() const
Set/get the pre-text, i.e. the contents of a convenience text section placed just above the client ar...
QLayout * clientAreaLayout() const
Get the layout onto which step specific widgets are placed.
void setTitleFormat(const QString &format)
QString subTitle() const
Set/get the subtitle text (usually a short sentence or two), located in the top area below the title.
bool hideWidgetsOfNonCurrentSteps() const
QString errorText() const
Set/get the error text.
void setPreText(const QString &newPreText)