Qt dialog for selecting a terminology entry.
More...
#include <Modules/Loadable/Colors/Widgets/qSlicerTerminologyEditorDialog.h>
|
QScopedPointer< qSlicerTerminologyEditorDialogPrivate > | d_ptr |
|
Qt dialog for selecting a terminology entry.
Definition at line 37 of file qSlicerTerminologyEditorDialog.h.
◆ Superclass
◆ qSlicerTerminologyEditorDialog() [1/2]
qSlicerTerminologyEditorDialog::qSlicerTerminologyEditorDialog |
( |
QObject * | parent = nullptr | ) |
|
◆ qSlicerTerminologyEditorDialog() [2/2]
◆ ~qSlicerTerminologyEditorDialog()
qSlicerTerminologyEditorDialog::~qSlicerTerminologyEditorDialog |
( |
| ) |
|
|
override |
◆ exec()
virtual bool qSlicerTerminologyEditorDialog::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 qSlicerTerminologyEditorDialog::execDialog |
( |
| ) |
|
|
inline |
◆ getTerminology() [1/2]
Convenience function to start dialog, initialized with a terminology entry
- Parameters
-
terminologyInfo | Terminology shown and edited by the dialog. The edited terminology will be stored in this variable as well. terminologyInfo.ColorAutoGenerated and terminologyInfo.NameAutoGenerated set to false means that these are set (from terminology) and so their value is valid and should be used by the caller. |
- Returns
- Success flag
◆ getTerminology() [2/2]
static bool qSlicerTerminologyEditorDialog::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
◆ setSaveButtonEnabled
void qSlicerTerminologyEditorDialog::setSaveButtonEnabled |
( |
bool | | ) |
|
|
protectedslot |
◆ terminologyInfo()
Get selected terminology and other metadata (name, color, auto-generated flags) into given info bundle object.
◆ d_ptr
QScopedPointer<qSlicerTerminologyEditorDialogPrivate> qSlicerTerminologyEditorDialog::d_ptr |
|
protected |
The documentation for this class was generated from the following file: