QmitkUpdateTimerWidget.
More...
#include <QmitkUpdateTimerWidget.h>
QmitkUpdateTimerWidget.
Widget for setting up and controlling an update timer in an IGT-Pipeline.
Definition at line 26 of file QmitkUpdateTimerWidget.h.
◆ WidgetButtons
◆ QmitkUpdateTimerWidget()
QmitkUpdateTimerWidget::QmitkUpdateTimerWidget |
( |
QWidget * |
parent | ) |
|
◆ ~QmitkUpdateTimerWidget()
QmitkUpdateTimerWidget::~QmitkUpdateTimerWidget |
( |
| ) |
|
|
override |
◆ CreateConnections()
void QmitkUpdateTimerWidget::CreateConnections |
( |
| ) |
|
|
protected |
◆ CreateQtPartControl()
void QmitkUpdateTimerWidget::CreateQtPartControl |
( |
QWidget * |
parent | ) |
|
|
protected |
◆ DisableWidget
void QmitkUpdateTimerWidget::DisableWidget |
( |
| ) |
|
|
slot |
◆ EnableWidget
void QmitkUpdateTimerWidget::EnableWidget |
( |
| ) |
|
|
slot |
◆ GetTimerInterval()
unsigned int QmitkUpdateTimerWidget::GetTimerInterval |
( |
| ) |
|
This method returns the timer's timeout interval in msec.
◆ GetUpdateTimer()
QTimer* QmitkUpdateTimerWidget::GetUpdateTimer |
( |
| ) |
|
This method returns this object's timer.
◆ HideFramerateSettings()
void QmitkUpdateTimerWidget::HideFramerateSettings |
( |
bool |
hidden | ) |
|
This method hides the framerate settings spinbox and her labels in the view.
◆ OnChangeTimerInterval
void QmitkUpdateTimerWidget::OnChangeTimerInterval |
( |
int |
interval | ) |
|
|
protectedslot |
This method is called when the value in the spinbox is changed. It updates the timer interval using SetTimerInterval( ).
◆ OnStartTimer
void QmitkUpdateTimerWidget::OnStartTimer |
( |
| ) |
|
|
protectedslot |
This method is called when the start button is pressed. It starts the timer using StartTimer().
◆ OnStopTimer
void QmitkUpdateTimerWidget::OnStopTimer |
( |
| ) |
|
|
protectedslot |
This method is called when the stop button is pressed. It stops the timer using StopTimer().
◆ SetIcon()
void QmitkUpdateTimerWidget::SetIcon |
( |
WidgetButtons |
button, |
|
|
const QIcon & |
icon |
|
) |
| |
This method sets the icon for a specific button of the widget.
◆ SetPurposeLabelText()
void QmitkUpdateTimerWidget::SetPurposeLabelText |
( |
QString |
text | ) |
|
This method sets the given QString for the purpose of this update timer e.g. if "Navigation" is given, the start and stop button will be labeled "Start Navigation" and "Stop Navigation". Furthermore the purpose description is used for the timer status label: "Navigation started ... " in this case.
◆ SetTimerInterval()
void QmitkUpdateTimerWidget::SetTimerInterval |
( |
unsigned int |
msec | ) |
|
This method sets the timer's timeout interval in msec.
◆ Started
void QmitkUpdateTimerWidget::Started |
( |
| ) |
|
|
signal |
◆ StartTimer()
void QmitkUpdateTimerWidget::StartTimer |
( |
| ) |
|
This method starts the timer if it is not already active.
◆ Stopped
void QmitkUpdateTimerWidget::Stopped |
( |
| ) |
|
|
signal |
◆ StopTimer()
void QmitkUpdateTimerWidget::StopTimer |
( |
| ) |
|
This method stops the timer if it is active at the moment.
◆ m_Controls
Ui::QmitkUpdateTimerWidgetControls* QmitkUpdateTimerWidget::m_Controls |
|
protected |
The documentation for this class was generated from the following file: