NorMIT-nav
2023.01.05-dev+develop.0da12
An IGT application
|
The GUI layer is all the widgets that is available to the user. More...
Namespaces | |
cx | |
Namespace for all CustusX production code. | |
Typedefs | |
typedef boost::shared_ptr< DoublePropertyImageTFDataBase > | cx::DoublePropertyImageTFDataBasePtr |
typedef boost::shared_ptr< class MetricBase > | cx::MetricBasePtr |
typedef boost::shared_ptr< class StringPropertyActiveProbeConfiguration > | cx::StringPropertyActiveProbeConfigurationPtr |
Functions | |
cx::EraserWidget::EraserWidget (PatientModelServicePtr patientModelService, ViewServicePtr viewService, QWidget *parent) | |
virtual | cx::EraserWidget::~EraserWidget () |
QWidget * | cx::createDataWidget (ViewServicePtr viewService, PatientModelServicePtr patientModelService, QWidget *parent, cx::PropertyPtr data, QGridLayout *gridLayout=0, int row=0) |
Create a widget capable of displaying the input data. More... | |
Protected Slots | |
void | cx::EraserWidget::toggleShowEraser (bool on) |
void | cx::EraserWidget::toggleContinous (bool on) |
void | cx::EraserWidget::saveSlot () |
void | cx::EraserWidget::removeSlot () |
void | cx::EraserWidget::continousRemoveSlot () |
void | cx::EraserWidget::duplicateSlot () |
void | cx::EraserWidget::sphereSizeChangedSlot () |
void | cx::EraserWidget::activeImageChangedSlot () |
The GUI layer is all the widgets that is available to the user.
The GUI layer is all the widgets that is available to the user. The central idea is the QMainWindow+DockWidgets designs. The default MainWindow can be replaced by any other GUI if that is better for your particular needs.
The GUI is centered around the QMainWindow. It has the following main parts:
The main idea here is that QMainWindow can store its configuration. Each workflow state has a default configuration, and the user can override it. Thus, each user can create her own version of CustusX with her favourite widgets visible. MainWindow is created by the main() function, and this is not a singleton or similar.
typedef boost::shared_ptr<DoublePropertyImageTFDataBase> cx::DoublePropertyImageTFDataBasePtr |
Definition at line 62 of file cxTransferFunctionWidget.h.
typedef boost::shared_ptr<class MetricBase> cx::MetricBasePtr |
Definition at line 51 of file cxDataMetricWrappers.h.
typedef boost::shared_ptr< class StringPropertyActiveProbeConfiguration > cx::StringPropertyActiveProbeConfigurationPtr |
Definition at line 25 of file cxUSAcqusitionWidget.h.
cxResourceWidgets_EXPORT QWidget * cx::createDataWidget | ( | ViewServicePtr | viewService, |
PatientModelServicePtr | patientModelService, | ||
QWidget * | parent, | ||
cx::PropertyPtr | data, | ||
QGridLayout * | gridLayout = 0 , |
||
int | row = 0 |
||
) |
Create a widget capable of displaying the input data.
If a gridLayout is provided, the widget will insert its components into a row in that layout
Definition at line 41 of file cxHelperWidgets.cpp.
cx::EraserWidget::EraserWidget | ( | PatientModelServicePtr | patientModelService, |
ViewServicePtr | viewService, | ||
QWidget * | parent | ||
) |
Definition at line 46 of file cxEraserWidget.cpp.
|
virtual |
Definition at line 132 of file cxEraserWidget.cpp.
|
protectedslot |
Definition at line 111 of file cxEraserWidget.cpp.
|
protectedslot |
Definition at line 148 of file cxEraserWidget.cpp.
|
protectedslot |
Definition at line 162 of file cxEraserWidget.cpp.
|
protectedslot |
Definition at line 257 of file cxEraserWidget.cpp.
|
protectedslot |
The image data themselves are not saved during normal file save. This slot saves the file data to mhd.
Definition at line 195 of file cxEraserWidget.cpp.
|
protectedslot |
Definition at line 182 of file cxEraserWidget.cpp.
|
protectedslot |
Definition at line 136 of file cxEraserWidget.cpp.
|
protectedslot |
Definition at line 298 of file cxEraserWidget.cpp.