MITK-IGT
IGT Extension of MITK
Loading...
Searching...
No Matches
QmitkTrackingSourcesCheckBoxPanelWidget Class Reference

QmitkTrackingSourcesCheckBoxPanelWidget. More...

#include <QmitkTrackingSourcesCheckBoxPanelWidget.h>

Inheritance diagram for QmitkTrackingSourcesCheckBoxPanelWidget:

Public Types

typedef std::vector< QCheckBox * > TrackingSourcesCheckboxes
 

Public Slots

void ClearPanel ()
 when action perfom button is clicked
 

Signals

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

Public Member Functions

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

Protected Slots

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

Protected Member Functions

void CreateConnections ()
 
void CreateQtPartControl (QWidget *parent)
 

Protected Attributes

Ui::QmitkTrackingSourcesCheckBoxPanelWidgetControls * m_Controls
 gui widgets
 

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

Definition at line 18 of file QmitkTrackingSourcesCheckBoxPanelWidget.cpp.

◆ ~QmitkTrackingSourcesCheckBoxPanelWidget()

QmitkTrackingSourcesCheckBoxPanelWidget::~QmitkTrackingSourcesCheckBoxPanelWidget ( )
override

default destructor

Definition at line 25 of file QmitkTrackingSourcesCheckBoxPanelWidget.cpp.

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.

Definition at line 58 of file QmitkTrackingSourcesCheckBoxPanelWidget.cpp.

◆ ClearPanel

void QmitkTrackingSourcesCheckBoxPanelWidget::ClearPanel ( )
slot

when action perfom button is clicked

Definition at line 88 of file QmitkTrackingSourcesCheckBoxPanelWidget.cpp.

◆ ClearSelectedIDs()

void QmitkTrackingSourcesCheckBoxPanelWidget::ClearSelectedIDs ( )

Clears the vector that holds the selected IDs.

Definition at line 106 of file QmitkTrackingSourcesCheckBoxPanelWidget.cpp.

◆ CreateConnections()

void QmitkTrackingSourcesCheckBoxPanelWidget::CreateConnections ( )
protected

Definition at line 44 of file QmitkTrackingSourcesCheckBoxPanelWidget.cpp.

◆ CreateQtPartControl()

void QmitkTrackingSourcesCheckBoxPanelWidget::CreateQtPartControl ( QWidget * parent)
protected

Definition at line 32 of file QmitkTrackingSourcesCheckBoxPanelWidget.cpp.

◆ DeselectAll()

void QmitkTrackingSourcesCheckBoxPanelWidget::DeselectAll ( )

Deselects all checkboxes in this widget.

Definition at line 160 of file QmitkTrackingSourcesCheckBoxPanelWidget.cpp.

◆ DeselectCheckbox()

void QmitkTrackingSourcesCheckBoxPanelWidget::DeselectCheckbox ( unsigned int idx)

Deselects the checkbox at the given position.

Definition at line 173 of file QmitkTrackingSourcesCheckBoxPanelWidget.cpp.

◆ 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.

Definition at line 144 of file QmitkTrackingSourcesCheckBoxPanelWidget.cpp.

◆ GetSelectedTrackingSourcesIDs()

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

Returns the selected tracking sources IDs.

Definition at line 72 of file QmitkTrackingSourcesCheckBoxPanelWidget.cpp.

◆ HideActionPerformButton()

void QmitkTrackingSourcesCheckBoxPanelWidget::HideActionPerformButton ( bool hide)

Hides or shows the action perfom button.

Definition at line 217 of file QmitkTrackingSourcesCheckBoxPanelWidget.cpp.

◆ IsActionButtonChecked()

bool QmitkTrackingSourcesCheckBoxPanelWidget::IsActionButtonChecked ( )

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

Definition at line 67 of file QmitkTrackingSourcesCheckBoxPanelWidget.cpp.

◆ OnCheckboxClicked

void QmitkTrackingSourcesCheckBoxPanelWidget::OnCheckboxClicked ( bool checked)
protectedslot

clearing checkboxes from panel

Definition at line 179 of file QmitkTrackingSourcesCheckBoxPanelWidget.cpp.

◆ OnPerformActionClicked [1/2]

void QmitkTrackingSourcesCheckBoxPanelWidget::OnPerformActionClicked ( )
protectedslot

Definition at line 264 of file QmitkTrackingSourcesCheckBoxPanelWidget.cpp.

◆ OnPerformActionClicked [2/2]

void QmitkTrackingSourcesCheckBoxPanelWidget::OnPerformActionClicked ( bool toggled)
protectedslot

Definition at line 234 of file QmitkTrackingSourcesCheckBoxPanelWidget.cpp.

◆ PerformAction

void QmitkTrackingSourcesCheckBoxPanelWidget::PerformAction ( )
signal

when a checkbox is deselected

◆ SelectAll()

void QmitkTrackingSourcesCheckBoxPanelWidget::SelectAll ( )

Selects all checkboxes in this widget.

Definition at line 152 of file QmitkTrackingSourcesCheckBoxPanelWidget.cpp.

◆ SelectCheckbox()

void QmitkTrackingSourcesCheckBoxPanelWidget::SelectCheckbox ( unsigned int idx)

Selets the checkbox at the given position.

Definition at line 168 of file QmitkTrackingSourcesCheckBoxPanelWidget.cpp.

◆ Selected

void QmitkTrackingSourcesCheckBoxPanelWidget::Selected ( int id)
signal

◆ SetActionPerformButtonCheckable()

void QmitkTrackingSourcesCheckBoxPanelWidget::SetActionPerformButtonCheckable ( bool checkable)

Sets whether the action perform button is checkable or not.

Definition at line 226 of file QmitkTrackingSourcesCheckBoxPanelWidget.cpp.

◆ SetActionPerformButtonText()

void QmitkTrackingSourcesCheckBoxPanelWidget::SetActionPerformButtonText ( QString text)

Sets this widget's action perform button text.

Definition at line 211 of file QmitkTrackingSourcesCheckBoxPanelWidget.cpp.

◆ SetInfoText()

void QmitkTrackingSourcesCheckBoxPanelWidget::SetInfoText ( QString text)

Sets this widget's info text.

Definition at line 206 of file QmitkTrackingSourcesCheckBoxPanelWidget.cpp.

◆ SetNavigationDatas()

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

Sets the ND for this widget.

Definition at line 51 of file QmitkTrackingSourcesCheckBoxPanelWidget.cpp.

◆ ShowSourceCheckboxes()

void QmitkTrackingSourcesCheckBoxPanelWidget::ShowSourceCheckboxes ( )

Shows the checkboxes.

Definition at line 112 of file QmitkTrackingSourcesCheckBoxPanelWidget.cpp.

◆ 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 files: