CustusX  22.04-rc5
An IGT application
cx::TrainingWidget Class Reference

#include <cxTrainingWidget.h>

Inheritance diagram for cx::TrainingWidget:
cx::BaseWidget cx::OptimizedUpdateWidget cx::NeuroTrainingWidget

Public Member Functions

 TrainingWidget (RegServicesPtr services, QString objectName, QString windowTitle, QWidget *parent=NULL)
 
virtual ~TrainingWidget ()
 
- Public Member Functions inherited from cx::BaseWidget
 BaseWidget (QWidget *parent, QString objectName, QString windowTitle)
 
virtual ~BaseWidget ()
 
QWidget * createMethodWidget (QWidget *inputWidget, QWidget *outputWidget, QString methodname, bool inputChecked=false, bool outputVisible=true)
 Create a specialized widget for filters, with input/ouput, enable and options. More...
 
QGroupBox * createGroupbox (QWidget *widget, QString boxname)
 Create a group box with a given name. More...
 
QGroupBox * wrapInGroupBox (QWidget *base, QString name)
 
CXFramewrapInFrame (QWidget *base)
 
QAction * createAction2 (QObject *parent, QIcon iconName, QString text, QString tip, QLayout *layout=NULL, QToolButton *button=new QToolButton())
 
template<class T >
QAction * createAction (QObject *parent, QIcon iconName, QString text, QString tip, T slot, QLayout *layout=NULL, QToolButton *button=new QToolButton())
 
- Public Member Functions inherited from cx::OptimizedUpdateWidget
 OptimizedUpdateWidget (QWidget *parent=NULL)
 
virtual ~OptimizedUpdateWidget ()
 
void forcePrePaint ()
 

Protected Types

typedef boost::function< void(void)> func_t
 
typedef std::vector< func_tfuncs_t
 

Protected Member Functions

void resetSteps ()
 
void registrateTransition (func_t transition)
 
void makeUnavailable (IMAGE_MODALITY modality, bool makeModalityUnavailable=false)
 
void makeAvailable (IMAGE_MODALITY modality, bool makeModalityUnavailable)
 
QString getFirstUSVolume ()
 
MeshPtr getMesh (QString uidPart)
 
- Protected Member Functions inherited from cx::BaseWidget
virtual void showEvent (QShowEvent *event)
 
- Protected Member Functions inherited from cx::OptimizedUpdateWidget
virtual void prePaintEvent ()
 
virtual void paintEvent (QPaintEvent *event)
 

Protected Attributes

RegServicesPtr mServices
 

Additional Inherited Members

- Public Slots inherited from cx::BaseWidget
void adjustSizeSlot ()
 
- Public Slots inherited from cx::OptimizedUpdateWidget
virtual void setModified ()
 
- Static Public Member Functions inherited from cx::BaseWidget
static QFrame * createHorizontalLine ()
 Creates a horizontal line which can be inserted into widgets. More...
 

Detailed Description

Top-level help widget

Date
2016-03-14
Author
Christian Askeland
Janne Beate Bakeng

Definition at line 39 of file cxTrainingWidget.h.

Member Typedef Documentation

typedef boost::function<void(void)> cx::TrainingWidget::func_t
protected

Definition at line 50 of file cxTrainingWidget.h.

typedef std::vector<func_t> cx::TrainingWidget::funcs_t
protected

Definition at line 51 of file cxTrainingWidget.h.

Constructor & Destructor Documentation

cx::TrainingWidget::TrainingWidget ( RegServicesPtr  services,
QString  objectName,
QString  windowTitle,
QWidget *  parent = NULL 
)
explicit

Definition at line 28 of file cxTrainingWidget.cpp.

cx::TrainingWidget::~TrainingWidget ( )
virtual

Definition at line 61 of file cxTrainingWidget.cpp.

Member Function Documentation

QString cx::TrainingWidget::getFirstUSVolume ( )
protected

Definition at line 175 of file cxTrainingWidget.cpp.

MeshPtr cx::TrainingWidget::getMesh ( QString  uidPart)
protected

Definition at line 191 of file cxTrainingWidget.cpp.

void cx::TrainingWidget::makeAvailable ( IMAGE_MODALITY  modality,
bool  makeModalityUnavailable 
)
protected

Definition at line 211 of file cxTrainingWidget.cpp.

void cx::TrainingWidget::makeUnavailable ( IMAGE_MODALITY  modality,
bool  makeModalityUnavailable = false 
)
protected

Definition at line 204 of file cxTrainingWidget.cpp.

void cx::TrainingWidget::registrateTransition ( func_t  transition)
protected

Definition at line 71 of file cxTrainingWidget.cpp.

void cx::TrainingWidget::resetSteps ( )
protected

Definition at line 65 of file cxTrainingWidget.cpp.

Member Data Documentation

RegServicesPtr cx::TrainingWidget::mServices
protected

Definition at line 57 of file cxTrainingWidget.h.


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