Changeset f2d5ce for src/UIElements/Views/Qt4/QtTimeLine.hpp
- Timestamp:
- Dec 26, 2025, 9:40:14 PM (6 days ago)
- Branches:
- Candidate_v1.7.1, stable
- Children:
- c8cb0d
- Parents:
- bdd1d0
- git-author:
- Frederik Heber <frederik.heber@…> (12/10/25 10:20:56)
- git-committer:
- Frederik Heber <frederik.heber@…> (12/26/25 21:40:14)
- File:
-
- 1 edited
-
src/UIElements/Views/Qt4/QtTimeLine.hpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/UIElements/Views/Qt4/QtTimeLine.hpp
rbdd1d0 rf2d5ce 20 20 #include <boost/thread/recursive_mutex.hpp> 21 21 22 #include "CodePatterns/Observer/Observer.hpp" 22 class QtObservedInstanceBoard; 23 23 24 class QtTimeLine : public QWidget , public Observer24 class QtTimeLine : public QWidget 25 25 { 26 26 Q_OBJECT 27 27 28 28 public: 29 QtTimeLine(Q Widget * _parent=0);29 QtTimeLine(QtObservedInstanceBoard *_instanceBoard, QWidget * _parent=0); 30 30 virtual ~QtTimeLine(); 31 31 32 32 protected: 33 virtual void update(Observable *publisher);34 virtual void recieveNotification(Observable *publisher, Notification_ptr notification);35 virtual void subjectKilled(Observable *publisher);36 33 virtual void paintEvent(QPaintEvent * event); 37 34 … … 39 36 void StepUpdate(int position); 40 37 38 public slots: 39 void WorldTimeChanged(); 40 void MaximumAtomTrajectoryChanged(); 41 41 42 private: 42 //!> whether AtomObserver knows about us or not43 bool atomobserver_enlisted;44 //!> whether WorldTime knows about us or not45 bool worldtime_enlisted;46 47 43 QSlider *slider; 48 44 QSpinBox *spinbox; 49 45 QHBoxLayout *layout; 46 47 //!> instance board with observed world time 48 QtObservedInstanceBoard *instanceBoard; 50 49 51 50 //!> states whether we are expecting a notification from the worldtime
Note:
See TracChangeset
for help on using the changeset viewer.
