Fraxinus  16.5.0-fx-rc5
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 60 of file cxRegistrationHistoryWidget.h.

Constructor & Destructor Documentation

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

Definition at line 49 of file cxRegistrationHistoryWidget.cpp.

cx::RegistrationHistoryWidget::~RegistrationHistoryWidget ( )
virtual

Definition at line 81 of file cxRegistrationHistoryWidget.cpp.

Member Function Documentation

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

Definition at line 85 of file cxRegistrationHistoryWidget.cpp.

void cx::RegistrationHistoryWidget::fastForwardSlot ( )
protectedslot

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

Definition at line 388 of file cxRegistrationHistoryWidget.cpp.

void cx::RegistrationHistoryWidget::forwardSlot ( )
protectedslot

jump forward to one second ahead of the NEXT registration

Definition at line 359 of file cxRegistrationHistoryWidget.cpp.

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

disconnects stuff

Definition at line 136 of file cxRegistrationHistoryWidget.cpp.

void cx::RegistrationHistoryWidget::prePaintEvent ( )
protectedvirtualslot

Definition at line 399 of file cxRegistrationHistoryWidget.cpp.

void cx::RegistrationHistoryWidget::reconnectSlot ( )
protectedslot

Definition at line 148 of file cxRegistrationHistoryWidget.cpp.

void cx::RegistrationHistoryWidget::removeSlot ( )
protectedslot

Remove all registrations later than current active time.

Definition at line 251 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 287 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 125 of file cxRegistrationHistoryWidget.cpp.


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