CustusX  2020.11.07-dev+develop.4ce4a
An IGT application
cx::RegistrationHistoryWidget Class Reference

#include <cxRegistrationHistoryWidget.h>

Inheritance diagram for cx::RegistrationHistoryWidget:
cx::BaseWidget cx::OptimizedUpdateWidget

Public Member Functions

 RegistrationHistoryWidget (RegServicesPtr servicesPtr, QWidget *parent, bool compact=false)
 
virtual ~RegistrationHistoryWidget ()
 
virtual QString defaultWhatsThis () const
 
- Public Member Functions inherited from cx::BaseWidget
 BaseWidget (QWidget *parent, QString objectName, QString windowTitle)
 
virtual ~BaseWidget ()
 
QWidget * createMethodWidget (QWidget *inputWidget, QWidget *outputWidget, QString methodname, bool inputChecked=false, bool outputVisible=true)
 Create a specialized widget for filters, with input/ouput, enable and options. More...
 
QGroupBox * createGroupbox (QWidget *widget, QString boxname)
 Create a group box with a given name. More...
 
QGroupBox * wrapInGroupBox (QWidget *base, QString name)
 
CXFramewrapInFrame (QWidget *base)
 
QAction * createAction2 (QObject *parent, QIcon iconName, QString text, QString tip, QLayout *layout=NULL, QToolButton *button=new QToolButton())
 
template<class T >
QAction * createAction (QObject *parent, QIcon iconName, QString text, QString tip, T slot, QLayout *layout=NULL, QToolButton *button=new QToolButton())
 
- Public Member Functions inherited from cx::OptimizedUpdateWidget
 OptimizedUpdateWidget (QWidget *parent=NULL)
 
virtual ~OptimizedUpdateWidget ()
 
void forcePrePaint ()
 

Protected Slots

void rewindSlot ()
 
void removeSlot ()
 
void forwardSlot ()
 
void fastForwardSlot ()
 
void reconnectSlot ()
 
virtual void prePaintEvent ()
 

Protected Member Functions

virtual void showEvent (QShowEvent *event)
 updates internal info before showing the widget More...
 
virtual void hideEvent (QCloseEvent *event)
 disconnects stuff More...
 
- Protected Member Functions inherited from cx::OptimizedUpdateWidget
virtual void prePaintEvent ()
 
virtual void paintEvent (QPaintEvent *event)
 

Additional Inherited Members

- Public Slots inherited from cx::BaseWidget
void adjustSizeSlot ()
 
- Public Slots inherited from cx::OptimizedUpdateWidget
virtual void setModified ()
 
- Static Public Member Functions inherited from cx::BaseWidget
static QFrame * createHorizontalLine ()
 Creates a horizontal line which can be inserted into widgets. More...
 

Detailed Description

Buttons for rolling back to previous registrations. Might be enhanced to a graphical timeline.

Date
2010.03.17 \author Christian Askeland, SINTEF

Definition at line 39 of file cxRegistrationHistoryWidget.h.

Constructor & Destructor Documentation

cx::RegistrationHistoryWidget::RegistrationHistoryWidget ( RegServicesPtr  servicesPtr,
QWidget *  parent,
bool  compact = false 
)

Definition at line 28 of file cxRegistrationHistoryWidget.cpp.

cx::RegistrationHistoryWidget::~RegistrationHistoryWidget ( )
virtual

Definition at line 60 of file cxRegistrationHistoryWidget.cpp.

Member Function Documentation

QString cx::RegistrationHistoryWidget::defaultWhatsThis ( ) const
virtual

Definition at line 64 of file cxRegistrationHistoryWidget.cpp.

void cx::RegistrationHistoryWidget::fastForwardSlot ( )
protectedslot

Use the newest available registration. Negates any call to usePreviousRegistration.

Definition at line 398 of file cxRegistrationHistoryWidget.cpp.

void cx::RegistrationHistoryWidget::forwardSlot ( )
protectedslot

jump forward to one second ahead of the NEXT registration

Definition at line 366 of file cxRegistrationHistoryWidget.cpp.

void cx::RegistrationHistoryWidget::hideEvent ( QCloseEvent *  event)
protectedvirtual

disconnects stuff

Definition at line 115 of file cxRegistrationHistoryWidget.cpp.

void cx::RegistrationHistoryWidget::prePaintEvent ( )
protectedvirtualslot

Definition at line 409 of file cxRegistrationHistoryWidget.cpp.

void cx::RegistrationHistoryWidget::reconnectSlot ( )
protectedslot

Definition at line 127 of file cxRegistrationHistoryWidget.cpp.

void cx::RegistrationHistoryWidget::removeSlot ( )
protectedslot

Remove all registrations later than current active time.

Definition at line 254 of file cxRegistrationHistoryWidget.cpp.

void cx::RegistrationHistoryWidget::rewindSlot ( )
protectedslot

Take one step back in registration time and use the previous registration event instead of the current.

Definition at line 290 of file cxRegistrationHistoryWidget.cpp.

void cx::RegistrationHistoryWidget::showEvent ( QShowEvent *  event)
protectedvirtual

updates internal info before showing the widget

Reimplemented from cx::BaseWidget.

Definition at line 104 of file cxRegistrationHistoryWidget.cpp.


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