Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
QmitkTrackingSourcesCheckBoxPanelWidget Class Reference

QmitkTrackingSourcesCheckBoxPanelWidget. More...

#include <QmitkTrackingSourcesCheckBoxPanelWidget.h>

Inheritance diagram for QmitkTrackingSourcesCheckBoxPanelWidget:
Collaboration diagram for QmitkTrackingSourcesCheckBoxPanelWidget:

Public Types

typedef std::vector< QCheckBox * > TrackingSourcesCheckboxes
 

Public Slots

void ClearPanel ()
 when action perfom button is clicked More...
 

Signals

void Selected (int id)
 
void Deselected (int id)
 when a checkbox is selected More...
 
void PerformAction ()
 when a checkbox is deselected More...
 
void StopAction ()
 when action perfom button is pressed More...
 
void Action ()
 when action perform button is released More...
 

Public Member Functions

 QmitkTrackingSourcesCheckBoxPanelWidget (QWidget *parent)
 vector with checkboxes for all set NDs More...
 
 ~QmitkTrackingSourcesCheckBoxPanelWidget () override
 default destructor More...
 
void ShowSourceCheckboxes ()
 Shows the checkboxes. More...
 
void SetNavigationDatas (std::vector< mitk::NavigationData::Pointer > *navDatas)
 Sets the ND for this widget. More...
 
void AddNavigationData (mitk::NavigationData::Pointer nd)
 Adds a ND. More...
 
void SetInfoText (QString text)
 Sets this widget's info text. More...
 
void SetActionPerformButtonText (QString text)
 Sets this widget's action perform button text. More...
 
void SetActionPerformButtonCheckable (bool checkable)
 Sets whether the action perform button is checkable or not. More...
 
void HideActionPerformButton (bool hide)
 Hides or shows the action perfom button. More...
 
const std::vector< int > * GetSelectedTrackingSourcesIDs ()
 Returns the selected tracking sources IDs. More...
 
void SelectAll ()
 Selects all checkboxes in this widget. More...
 
void DeselectAll ()
 Deselects all checkboxes in this widget. More...
 
void SelectCheckbox (unsigned int idx)
 Selets the checkbox at the given position. More...
 
void DeselectCheckbox (unsigned int idx)
 Deselects the checkbox at the given position. More...
 
void EnableCheckboxes (bool enable)
 Enables or disabless the checkboxes in this widget. More...
 
void ClearSelectedIDs ()
 Clears the vector that holds the selected IDs. More...
 
bool IsActionButtonChecked ()
 Returns whether this widgets "perform action" button is checked. More...
 

Protected Slots

void OnCheckboxClicked (bool checked)
 clearing checkboxes from panel More...
 
void OnPerformActionClicked (bool toggled)
 
void OnPerformActionClicked ()
 

Protected Member Functions

void CreateConnections ()
 
void CreateQtPartControl (QWidget *parent)
 

Protected Attributes

Ui::QmitkTrackingSourcesCheckBoxPanelWidgetControls * m_Controls
 gui widgets More...
 

Detailed Description

QmitkTrackingSourcesCheckBoxPanelWidget.

Widget for setting up and controlling an update timer in an IGT-Pipeline.

Definition at line 31 of file QmitkTrackingSourcesCheckBoxPanelWidget.h.

Member Typedef Documentation

◆ TrackingSourcesCheckboxes

Constructor & Destructor Documentation

◆ QmitkTrackingSourcesCheckBoxPanelWidget()

QmitkTrackingSourcesCheckBoxPanelWidget::QmitkTrackingSourcesCheckBoxPanelWidget ( QWidget *  parent)

vector with checkboxes for all set NDs

default constructor

◆ ~QmitkTrackingSourcesCheckBoxPanelWidget()

QmitkTrackingSourcesCheckBoxPanelWidget::~QmitkTrackingSourcesCheckBoxPanelWidget ( )
override

default destructor

Member Function Documentation

◆ Action

void QmitkTrackingSourcesCheckBoxPanelWidget::Action ( )
signal

when action perform button is released

◆ AddNavigationData()

void QmitkTrackingSourcesCheckBoxPanelWidget::AddNavigationData ( mitk::NavigationData::Pointer  nd)

Adds a ND.

◆ ClearPanel

void QmitkTrackingSourcesCheckBoxPanelWidget::ClearPanel ( )
slot

when action perfom button is clicked

◆ ClearSelectedIDs()

void QmitkTrackingSourcesCheckBoxPanelWidget::ClearSelectedIDs ( )

Clears the vector that holds the selected IDs.

◆ CreateConnections()

void QmitkTrackingSourcesCheckBoxPanelWidget::CreateConnections ( )
protected

◆ CreateQtPartControl()

void QmitkTrackingSourcesCheckBoxPanelWidget::CreateQtPartControl ( QWidget *  parent)
protected

◆ DeselectAll()

void QmitkTrackingSourcesCheckBoxPanelWidget::DeselectAll ( )

Deselects all checkboxes in this widget.

◆ DeselectCheckbox()

void QmitkTrackingSourcesCheckBoxPanelWidget::DeselectCheckbox ( unsigned int  idx)

Deselects the checkbox at the given position.

◆ Deselected

void QmitkTrackingSourcesCheckBoxPanelWidget::Deselected ( int  id)
signal

when a checkbox is selected

◆ EnableCheckboxes()

void QmitkTrackingSourcesCheckBoxPanelWidget::EnableCheckboxes ( bool  enable)

Enables or disabless the checkboxes in this widget.

◆ GetSelectedTrackingSourcesIDs()

const std::vector<int>* QmitkTrackingSourcesCheckBoxPanelWidget::GetSelectedTrackingSourcesIDs ( )

Returns the selected tracking sources IDs.

◆ HideActionPerformButton()

void QmitkTrackingSourcesCheckBoxPanelWidget::HideActionPerformButton ( bool  hide)

Hides or shows the action perfom button.

◆ IsActionButtonChecked()

bool QmitkTrackingSourcesCheckBoxPanelWidget::IsActionButtonChecked ( )

Returns whether this widgets "perform action" button is checked.

◆ OnCheckboxClicked

void QmitkTrackingSourcesCheckBoxPanelWidget::OnCheckboxClicked ( bool  checked)
protectedslot

clearing checkboxes from panel

◆ OnPerformActionClicked [1/2]

void QmitkTrackingSourcesCheckBoxPanelWidget::OnPerformActionClicked ( )
protectedslot

◆ OnPerformActionClicked [2/2]

void QmitkTrackingSourcesCheckBoxPanelWidget::OnPerformActionClicked ( bool  toggled)
protectedslot

◆ PerformAction

void QmitkTrackingSourcesCheckBoxPanelWidget::PerformAction ( )
signal

when a checkbox is deselected

◆ SelectAll()

void QmitkTrackingSourcesCheckBoxPanelWidget::SelectAll ( )

Selects all checkboxes in this widget.

◆ SelectCheckbox()

void QmitkTrackingSourcesCheckBoxPanelWidget::SelectCheckbox ( unsigned int  idx)

Selets the checkbox at the given position.

◆ Selected

void QmitkTrackingSourcesCheckBoxPanelWidget::Selected ( int  id)
signal

◆ SetActionPerformButtonCheckable()

void QmitkTrackingSourcesCheckBoxPanelWidget::SetActionPerformButtonCheckable ( bool  checkable)

Sets whether the action perform button is checkable or not.

◆ SetActionPerformButtonText()

void QmitkTrackingSourcesCheckBoxPanelWidget::SetActionPerformButtonText ( QString  text)

Sets this widget's action perform button text.

◆ SetInfoText()

void QmitkTrackingSourcesCheckBoxPanelWidget::SetInfoText ( QString  text)

Sets this widget's info text.

◆ SetNavigationDatas()

void QmitkTrackingSourcesCheckBoxPanelWidget::SetNavigationDatas ( std::vector< mitk::NavigationData::Pointer > *  navDatas)

Sets the ND for this widget.

◆ ShowSourceCheckboxes()

void QmitkTrackingSourcesCheckBoxPanelWidget::ShowSourceCheckboxes ( )

Shows the checkboxes.

◆ StopAction

void QmitkTrackingSourcesCheckBoxPanelWidget::StopAction ( )
signal

when action perfom button is pressed

Member Data Documentation

◆ m_Controls

Ui::QmitkTrackingSourcesCheckBoxPanelWidgetControls* QmitkTrackingSourcesCheckBoxPanelWidget::m_Controls
protected

gui widgets

Definition at line 142 of file QmitkTrackingSourcesCheckBoxPanelWidget.h.


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