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
◆ qSlicerTerminologySelectorDialog()
◆ ~qSlicerTerminologySelectorDialog()
virtual qSlicerTerminologySelectorDialog::~qSlicerTerminologySelectorDialog |
( |
| ) |
|
|
virtual |
◆ 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()
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
◆ 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: