Fraxinus
16.5.0-fx-rc9
An IGT application
|
#include <cxOptionsWidget.h>
Public Slots | |
void | toggleAdvanced () |
Public Member Functions | |
OptionsWidget (ViewServicePtr viewService, 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 () |
bool | hasOptions () const |
bool | hasAdvancedOptions () const |
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 | ( | ViewServicePtr | viewService, |
PatientModelServicePtr | patientModelService, | ||
QWidget * | parent | ||
) |
Definition at line 41 of file cxOptionsWidget.cpp.
QString cx::OptionsWidget::getCurrentUid | ( | ) |
Definition at line 70 of file cxOptionsWidget.cpp.
bool cx::OptionsWidget::hasAdvancedOptions | ( | ) | const |
Definition at line 95 of file cxOptionsWidget.cpp.
bool cx::OptionsWidget::hasOptions | ( | ) | const |
Definition at line 87 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 106 of file cxOptionsWidget.cpp.