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

Button that opens terminology selector dialog. More...

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

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

Public Slots

void changeTerminology ()
 Opens a terminology dialog to select a new terminology. More...
 
void setTerminologyInfo (qSlicerTerminologyNavigatorWidget::TerminologyInfoBundle &terminologyInfo)
 Set terminology and other metadata (name, color, auto-generated flags) More...
 

Signals

void canceled ()
 
void terminologyChanged ()
 

Public Member Functions

 qSlicerTerminologySelectorButton (QWidget *parent=nullptr)
 
void terminologyInfo (qSlicerTerminologyNavigatorWidget::TerminologyInfoBundle &terminologyInfo)
 Get selected terminology and other metadata (name, color, auto-generated flags) into given info bundle object. More...
 
 ~qSlicerTerminologySelectorButton () override
 

Protected Slots

void onToggled (bool toggled=true)
 

Protected Member Functions

void paintEvent (QPaintEvent *event) override
 

Protected Attributes

QScopedPointer< qSlicerTerminologySelectorButtonPrivate > d_ptr
 

Detailed Description

Button that opens terminology selector dialog.

Definition at line 37 of file qSlicerTerminologySelectorButton.h.

Constructor & Destructor Documentation

◆ qSlicerTerminologySelectorButton()

qSlicerTerminologySelectorButton::qSlicerTerminologySelectorButton ( QWidget *  parent = nullptr)
explicit

◆ ~qSlicerTerminologySelectorButton()

qSlicerTerminologySelectorButton::~qSlicerTerminologySelectorButton ( )
override

Member Function Documentation

◆ canceled

void qSlicerTerminologySelectorButton::canceled ( )
signal

◆ changeTerminology

void qSlicerTerminologySelectorButton::changeTerminology ( )
slot

Opens a terminology dialog to select a new terminology.

◆ onToggled

void qSlicerTerminologySelectorButton::onToggled ( bool  toggled = true)
protectedslot

◆ paintEvent()

void qSlicerTerminologySelectorButton::paintEvent ( QPaintEvent *  event)
overrideprotected

◆ setTerminologyInfo

void qSlicerTerminologySelectorButton::setTerminologyInfo ( qSlicerTerminologyNavigatorWidget::TerminologyInfoBundle terminologyInfo)
slot

Set terminology and other metadata (name, color, auto-generated flags)

◆ terminologyChanged

void qSlicerTerminologySelectorButton::terminologyChanged ( )
signal

◆ terminologyInfo()

void qSlicerTerminologySelectorButton::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<qSlicerTerminologySelectorButtonPrivate> qSlicerTerminologySelectorButton::d_ptr
protected

Definition at line 65 of file qSlicerTerminologySelectorButton.h.


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