CustusX
15.3.3-beta
An IGT application
|
#include <cxOptionsWidget.h>
Public Slots | |
void | toggleAdvanced () |
Public Member Functions | |
OptionsWidget (VisualizationServicePtr visualizationService, PatientModelServicePtr patientModelService, QWidget *parent) | |
void | setOptions (QString uid, std::vector< PropertyPtr > options, bool showAdvanced) |
void | setOptions (QString uid, std::vector< SelectDataStringPropertyBasePtr > options, bool showAdvanced) |
QString | getCurrentUid () |
void | showAdvanced (bool show) |
void | rebuild () |
Widget for displaying a list of Property instances. A stack of widgets is created if the setOptions() is called with different uids.
Definition at line 52 of file cxOptionsWidget.h.
cx::OptionsWidget::OptionsWidget | ( | VisualizationServicePtr | visualizationService, |
PatientModelServicePtr | patientModelService, | ||
QWidget * | parent | ||
) |
Definition at line 41 of file cxOptionsWidget.cpp.
QString cx::OptionsWidget::getCurrentUid | ( | ) |
Definition at line 70 of file cxOptionsWidget.cpp.
void cx::OptionsWidget::rebuild | ( | ) |
Definition at line 81 of file cxOptionsWidget.cpp.
void cx::OptionsWidget::setOptions | ( | QString | uid, |
std::vector< PropertyPtr > | options, | ||
bool | showAdvanced | ||
) |
Set options for a given uid. Setting different uid will change the widget content but store the previous contents, making it easy to swap between uids.
Definition at line 58 of file cxOptionsWidget.cpp.
void cx::OptionsWidget::setOptions | ( | QString | uid, |
std::vector< SelectDataStringPropertyBasePtr > | options, | ||
bool | showAdvanced | ||
) |
Definition at line 51 of file cxOptionsWidget.cpp.
void cx::OptionsWidget::showAdvanced | ( | bool | show | ) |
Definition at line 75 of file cxOptionsWidget.cpp.
|
slot |
Definition at line 87 of file cxOptionsWidget.cpp.