Qt dialog for selecting a terminology entry.
More...
#include <Modules/Loadable/Terminologies/Widgets/qSlicerTerminologySelectorDialog.h>
|
QScopedPointer< qSlicerTerminologySelectorDialogPrivate > | d_ptr |
|
Qt dialog for selecting a terminology entry.
Definition at line 39 of file qSlicerTerminologySelectorDialog.h.
◆ Superclass
◆ overrideSectionVisible
bool qSlicerTerminologySelectorDialog::overrideSectionVisible |
|
readwrite |
◆ qSlicerTerminologySelectorDialog() [1/2]
qSlicerTerminologySelectorDialog::qSlicerTerminologySelectorDialog |
( |
QObject * |
parent = nullptr | ) |
|
◆ qSlicerTerminologySelectorDialog() [2/2]
◆ ~qSlicerTerminologySelectorDialog()
qSlicerTerminologySelectorDialog::~qSlicerTerminologySelectorDialog |
( |
| ) |
|
|
override |
◆ exec()
virtual bool qSlicerTerminologySelectorDialog::exec |
( |
| ) |
|
|
virtual |
Show dialog
- Parameters
-
nodeToSelect | Node is selected in the tree if given |
- Returns
- Success flag (if dialog result is not Accepted then false)
◆ execDialog()
Q_INVOKABLE bool qSlicerTerminologySelectorDialog::execDialog |
( |
| ) |
|
|
inline |
◆ getTerminology() [1/2]
Convenience function to start dialog, initialized with a terminology entry
- Parameters
-
terminology | Initial terminology shown by the dialog. The selected terminology is set to this as well. |
name | Initial name shown by the dialog. Selected name (only if custom) is set to this as well after closing |
color | Initial color shown by the dialog. Selected color (only if custom) is set to this as well after closing |
- Returns
- Success flag
◆ getTerminology() [2/2]
static bool qSlicerTerminologySelectorDialog::getTerminology |
( |
vtkSlicerTerminologyEntry * |
terminologyEntry, |
|
|
QObject * |
parent |
|
) |
| |
|
static |
Convenience function to start dialog, initialized with a terminology entry. Does not show name and color overrides.
- Parameters
-
terminology | Initial terminology shown by the dialog. The selected terminology is set to this as well. |
- Returns
- Success flag
◆ overrideSectionVisible()
bool qSlicerTerminologySelectorDialog::overrideSectionVisible |
( |
| ) |
const |
Get whether name and color override section is visible.
◆ setOverrideSectionVisible
void qSlicerTerminologySelectorDialog::setOverrideSectionVisible |
( |
bool |
| ) |
|
|
protectedslot |
Show/hide name and color override section.
◆ setSelectButtonEnabled
void qSlicerTerminologySelectorDialog::setSelectButtonEnabled |
( |
bool |
| ) |
|
|
protectedslot |
◆ terminologyInfo()
Get selected terminology and other metadata (name, color, auto-generated flags) into given info bundle object.
◆ d_ptr
QScopedPointer<qSlicerTerminologySelectorDialogPrivate> qSlicerTerminologySelectorDialog::d_ptr |
|
protected |
The documentation for this class was generated from the following file: