Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
QmitkTrackingSourcesCheckBoxPanelWidget. More...
#include <QmitkTrackingSourcesCheckBoxPanelWidget.h>
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... | |
virtual | ~QmitkTrackingSourcesCheckBoxPanelWidget () |
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... | |
QmitkTrackingSourcesCheckBoxPanelWidget.
Widget for setting up and controlling an update timer in an IGT-Pipeline.
Definition at line 35 of file QmitkTrackingSourcesCheckBoxPanelWidget.h.
typedef std::vector< QCheckBox* > QmitkTrackingSourcesCheckBoxPanelWidget::TrackingSourcesCheckboxes |
Definition at line 41 of file QmitkTrackingSourcesCheckBoxPanelWidget.h.
QmitkTrackingSourcesCheckBoxPanelWidget::QmitkTrackingSourcesCheckBoxPanelWidget | ( | QWidget * | parent | ) |
vector with checkboxes for all set NDs
default constructor
Definition at line 22 of file QmitkTrackingSourcesCheckBoxPanelWidget.cpp.
References CreateQtPartControl().
|
virtual |
default destructor
Definition at line 29 of file QmitkTrackingSourcesCheckBoxPanelWidget.cpp.
|
signal |
when action perform button is released
Referenced by OnPerformActionClicked().
void QmitkTrackingSourcesCheckBoxPanelWidget::AddNavigationData | ( | mitk::NavigationData::Pointer | nd | ) |
Adds a ND.
Definition at line 62 of file QmitkTrackingSourcesCheckBoxPanelWidget.cpp.
|
slot |
when action perfom button is clicked
Definition at line 92 of file QmitkTrackingSourcesCheckBoxPanelWidget.cpp.
References m_Controls.
void QmitkTrackingSourcesCheckBoxPanelWidget::ClearSelectedIDs | ( | ) |
Clears the vector that holds the selected IDs.
Definition at line 110 of file QmitkTrackingSourcesCheckBoxPanelWidget.cpp.
|
protected |
Definition at line 48 of file QmitkTrackingSourcesCheckBoxPanelWidget.cpp.
References m_Controls, and OnPerformActionClicked().
Referenced by CreateQtPartControl().
|
protected |
Definition at line 36 of file QmitkTrackingSourcesCheckBoxPanelWidget.cpp.
References CreateConnections(), and m_Controls.
Referenced by QmitkTrackingSourcesCheckBoxPanelWidget().
void QmitkTrackingSourcesCheckBoxPanelWidget::DeselectAll | ( | ) |
Deselects all checkboxes in this widget.
Definition at line 164 of file QmitkTrackingSourcesCheckBoxPanelWidget.cpp.
void QmitkTrackingSourcesCheckBoxPanelWidget::DeselectCheckbox | ( | unsigned int | idx | ) |
Deselects the checkbox at the given position.
Definition at line 177 of file QmitkTrackingSourcesCheckBoxPanelWidget.cpp.
|
signal |
when a checkbox is selected
Referenced by OnCheckboxClicked().
void QmitkTrackingSourcesCheckBoxPanelWidget::EnableCheckboxes | ( | bool | enable | ) |
Enables or disabless the checkboxes in this widget.
Definition at line 148 of file QmitkTrackingSourcesCheckBoxPanelWidget.cpp.
const std::vector< int > * QmitkTrackingSourcesCheckBoxPanelWidget::GetSelectedTrackingSourcesIDs | ( | ) |
Returns the selected tracking sources IDs.
Definition at line 76 of file QmitkTrackingSourcesCheckBoxPanelWidget.cpp.
Referenced by OnPerformActionClicked().
void QmitkTrackingSourcesCheckBoxPanelWidget::HideActionPerformButton | ( | bool | hide | ) |
Hides or shows the action perfom button.
Definition at line 221 of file QmitkTrackingSourcesCheckBoxPanelWidget.cpp.
References m_Controls.
bool QmitkTrackingSourcesCheckBoxPanelWidget::IsActionButtonChecked | ( | ) |
Returns whether this widgets "perform action" button is checked.
Definition at line 71 of file QmitkTrackingSourcesCheckBoxPanelWidget.cpp.
References m_Controls.
|
protectedslot |
clearing checkboxes from panel
Definition at line 183 of file QmitkTrackingSourcesCheckBoxPanelWidget.cpp.
References Deselected(), and Selected().
Referenced by ShowSourceCheckboxes().
|
protectedslot |
Definition at line 238 of file QmitkTrackingSourcesCheckBoxPanelWidget.cpp.
References GetSelectedTrackingSourcesIDs(), m_Controls, PerformAction(), and StopAction().
|
protectedslot |
Definition at line 268 of file QmitkTrackingSourcesCheckBoxPanelWidget.cpp.
References Action(), GetSelectedTrackingSourcesIDs(), and m_Controls.
Referenced by CreateConnections().
|
signal |
when a checkbox is deselected
Referenced by OnPerformActionClicked().
void QmitkTrackingSourcesCheckBoxPanelWidget::SelectAll | ( | ) |
Selects all checkboxes in this widget.
Definition at line 156 of file QmitkTrackingSourcesCheckBoxPanelWidget.cpp.
void QmitkTrackingSourcesCheckBoxPanelWidget::SelectCheckbox | ( | unsigned int | idx | ) |
Selets the checkbox at the given position.
Definition at line 172 of file QmitkTrackingSourcesCheckBoxPanelWidget.cpp.
|
signal |
Referenced by OnCheckboxClicked().
void QmitkTrackingSourcesCheckBoxPanelWidget::SetActionPerformButtonCheckable | ( | bool | checkable | ) |
Sets whether the action perform button is checkable or not.
Definition at line 230 of file QmitkTrackingSourcesCheckBoxPanelWidget.cpp.
References m_Controls.
void QmitkTrackingSourcesCheckBoxPanelWidget::SetActionPerformButtonText | ( | QString | text | ) |
Sets this widget's action perform button text.
Definition at line 215 of file QmitkTrackingSourcesCheckBoxPanelWidget.cpp.
References m_Controls.
void QmitkTrackingSourcesCheckBoxPanelWidget::SetInfoText | ( | QString | text | ) |
Sets this widget's info text.
Definition at line 210 of file QmitkTrackingSourcesCheckBoxPanelWidget.cpp.
References m_Controls.
void QmitkTrackingSourcesCheckBoxPanelWidget::SetNavigationDatas | ( | std::vector< mitk::NavigationData::Pointer > * | navDatas | ) |
Sets the ND for this widget.
Definition at line 55 of file QmitkTrackingSourcesCheckBoxPanelWidget.cpp.
void QmitkTrackingSourcesCheckBoxPanelWidget::ShowSourceCheckboxes | ( | ) |
Shows the checkboxes.
Definition at line 116 of file QmitkTrackingSourcesCheckBoxPanelWidget.cpp.
References m_Controls, and OnCheckboxClicked().
|
signal |
when action perfom button is pressed
Referenced by OnPerformActionClicked().
|
protected |
gui widgets
Definition at line 146 of file QmitkTrackingSourcesCheckBoxPanelWidget.h.
Referenced by ClearPanel(), CreateConnections(), CreateQtPartControl(), HideActionPerformButton(), IsActionButtonChecked(), OnPerformActionClicked(), SetActionPerformButtonCheckable(), SetActionPerformButtonText(), SetInfoText(), and ShowSourceCheckboxes().