Slicer  4.10
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Slots | Protected Attributes
qSlicerTerminologySelectorDialog Class Reference

Qt dialog for selecting a terminology entry. More...

#include <Modules/Loadable/Terminologies/Widgets/qSlicerTerminologySelectorDialog.h>

Inheritance diagram for qSlicerTerminologySelectorDialog:
Inheritance graph
[legend]
Collaboration diagram for qSlicerTerminologySelectorDialog:
Collaboration graph
[legend]

Public Types

typedef QObject Superclass
 

Public Member Functions

virtual bool exec ()
 
Q_INVOKABLE bool execDialog ()
 Python compatibility function for showing dialog (calls exec) More...
 
 qSlicerTerminologySelectorDialog (qSlicerTerminologyNavigatorWidget::TerminologyInfoBundle &initialTerminologyInfo, QObject *parent=NULL)
 
void terminologyInfo (qSlicerTerminologyNavigatorWidget::TerminologyInfoBundle &terminologyInfo)
 Get selected terminology and other metadata (name, color, auto-generated flags) into given info bundle object. More...
 
virtual ~qSlicerTerminologySelectorDialog ()
 

Static Public Member Functions

static bool getTerminology (qSlicerTerminologyNavigatorWidget::TerminologyInfoBundle &terminologyInfo, QObject *parent)
 

Protected Slots

void setSelectButtonEnabled (bool)
 

Protected Attributes

QScopedPointer< qSlicerTerminologySelectorDialogPrivate > d_ptr
 

Detailed Description

Qt dialog for selecting a terminology entry.

Definition at line 39 of file qSlicerTerminologySelectorDialog.h.

Member Typedef Documentation

◆ Superclass

Definition at line 45 of file qSlicerTerminologySelectorDialog.h.

Constructor & Destructor Documentation

◆ qSlicerTerminologySelectorDialog()

qSlicerTerminologySelectorDialog::qSlicerTerminologySelectorDialog ( qSlicerTerminologyNavigatorWidget::TerminologyInfoBundle initialTerminologyInfo,
QObject *  parent = NULL 
)

◆ ~qSlicerTerminologySelectorDialog()

virtual qSlicerTerminologySelectorDialog::~qSlicerTerminologySelectorDialog ( )
virtual

Member Function Documentation

◆ exec()

virtual bool qSlicerTerminologySelectorDialog::exec ( )
virtual

Show dialog

Parameters
nodeToSelectNode 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

Python compatibility function for showing dialog (calls exec)

Definition at line 68 of file qSlicerTerminologySelectorDialog.h.

◆ getTerminology()

static bool qSlicerTerminologySelectorDialog::getTerminology ( qSlicerTerminologyNavigatorWidget::TerminologyInfoBundle terminologyInfo,
QObject *  parent 
)
static

Convenience function to start dialog, initialized with a terminology entry

Parameters
terminologyInitial terminology shown by the dialog. The selected terminology is set to this as well.
nameInitial name shown by the dialog. Selected name (only if custom) is set to this as well after closing
colorInitial 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()

void qSlicerTerminologySelectorDialog::terminologyInfo ( qSlicerTerminologyNavigatorWidget::TerminologyInfoBundle terminologyInfo)

Get selected terminology and other metadata (name, color, auto-generated flags) into given info bundle object.

Member Data Documentation

◆ d_ptr

QScopedPointer<qSlicerTerminologySelectorDialogPrivate> qSlicerTerminologySelectorDialog::d_ptr
protected

Definition at line 74 of file qSlicerTerminologySelectorDialog.h.


The documentation for this class was generated from the following file: