33 #ifndef CXREGISTRATIONHISTORYWIDGET_H_
34 #define CXREGISTRATIONHISTORYWIDGET_H_
78 virtual void showEvent(QShowEvent* event);
79 virtual void hideEvent(QCloseEvent* event);
83 void createControls(QHBoxLayout* layout);
86 QAction* createAction(QLayout* layout, QString iconName, QString text, QString tip, T slot);
88 typedef std::map<QDateTime,QString> TimeMap;
89 TimeMap getRegistrationTimes();
90 QDateTime getActiveTime();
91 void setActiveTime(QDateTime active);
92 TimeMap::iterator findCurrentActiveIter(TimeMap& times);
95 std::vector<RegistrationHistoryPtr> mHistories;
96 QAction* mRewindAction;
97 QAction* mRemoveAction;
98 QAction* mForwardAction;
99 QAction* mFastForwardAction;
101 QLabel* mBehindLabel;
102 QLabel* mInFrontLabel;
103 QTextEdit* mTextEdit;
105 std::vector<RegistrationHistoryPtr> getAllRegistrationHistories();
106 std::vector<RegistrationTransform> mergeHistory(
const std::vector<RegistrationHistoryPtr>& allHistories);
boost::shared_ptr< class RegServices > RegServicesPtr
virtual QString defaultWhatsThis() const
virtual void hideEvent(QCloseEvent *event)
disconnects stuff
virtual ~RegistrationHistoryWidget()
virtual void prePaintEvent()
virtual void showEvent(QShowEvent *event)
updates internal info before showing the widget