PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
List of all members | Public Member Functions | Protected Attributes
QPlusToolStateDisplayWidget Class Reference

Widget that shows state of all tools available to the tracker. More...

#include <src/PlusWidgets/QPlusToolStateDisplayWidget.h>

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

Public Member Functions

PlusStatus InitializeTools (vtkPlusChannel *aChannel, bool aConnectionSuccessful)
 
bool IsInitialized ()
 
 QPlusToolStateDisplayWidget (QWidget *aParent=0, Qt::WindowFlags aFlags=0)
 
PlusStatus Update ()
 
 ~QPlusToolStateDisplayWidget ()
 

Protected Attributes

bool m_Initialized
 
vtkPlusChannelm_SelectedChannel
 
std::vector< QLabel * > m_ToolNameLabels
 
std::vector< QTextEdit * > m_ToolStateLabels
 

Detailed Description

Widget that shows state of all tools available to the tracker.

Definition at line 27 of file QPlusToolStateDisplayWidget.h.

Constructor & Destructor Documentation

◆ QPlusToolStateDisplayWidget()

QPlusToolStateDisplayWidget::QPlusToolStateDisplayWidget ( QWidget *  aParent = 0,
Qt::WindowFlags  aFlags = 0 
)

Constructor

Parameters
aParentparent
aFlagswidget flag

Definition at line 21 of file QPlusToolStateDisplayWidget.cxx.

◆ ~QPlusToolStateDisplayWidget()

QPlusToolStateDisplayWidget::~QPlusToolStateDisplayWidget ( )

Destructor

Definition at line 41 of file QPlusToolStateDisplayWidget.cxx.

Member Function Documentation

◆ InitializeTools()

PlusStatus QPlusToolStateDisplayWidget::InitializeTools ( vtkPlusChannel aChannel,
bool  aConnectionSuccessful 
)

Read tools and set up widget

Parameters
aDataCollectorData collector instance
aConnectionSuccessfulFlag if connection was successful (sets to uninitialized if not and displays default appearance)
Returns
Success flag

Definition at line 50 of file QPlusToolStateDisplayWidget.cxx.

◆ IsInitialized()

bool QPlusToolStateDisplayWidget::IsInitialized ( )

Get initialization state

Returns
Initialization state

Definition at line 154 of file QPlusToolStateDisplayWidget.cxx.

◆ Update()

PlusStatus QPlusToolStateDisplayWidget::Update ( void  )

Get tool statuses and display them

Definition at line 160 of file QPlusToolStateDisplayWidget.cxx.

Member Data Documentation

◆ m_Initialized

bool QPlusToolStateDisplayWidget::m_Initialized
protected

Definition at line 67 of file QPlusToolStateDisplayWidget.h.

◆ m_SelectedChannel

vtkPlusChannel* QPlusToolStateDisplayWidget::m_SelectedChannel
protected

Definition at line 64 of file QPlusToolStateDisplayWidget.h.

◆ m_ToolNameLabels

std::vector<QLabel*> QPlusToolStateDisplayWidget::m_ToolNameLabels
protected

Definition at line 65 of file QPlusToolStateDisplayWidget.h.

◆ m_ToolStateLabels

std::vector<QTextEdit*> QPlusToolStateDisplayWidget::m_ToolStateLabels
protected

Definition at line 66 of file QPlusToolStateDisplayWidget.h.


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