SnapshotForm.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <QWidget>
4 
6 
7 
8 class QCheckBox;
9 class QDateTimeEdit;
10 class QLabel;
11 class QSpinBox;
12 
13 
14 namespace armarx::armem::gui
15 {
16 
17  class SnapshotForm : public QWidget
18  {
19  Q_OBJECT
20 
21  public:
23 
24 
25  signals:
26  void queryChanged();
27 
28 
29  protected:
30  virtual void fillEntitySelector(client::query::SnapshotSelector& selector) = 0;
31  void setDateTimeDisplayFormat(QDateTimeEdit* dt);
32 
33  };
34 
35 
36 
38  {
39  public:
41 
42  protected:
43  void fillEntitySelector(client::query::SnapshotSelector& selector) override;
44  };
45 
46 
48  {
49  public:
51 
52  protected:
53  void fillEntitySelector(client::query::SnapshotSelector& selector) override;
54 
55  private:
56  QLabel* label;
57  QDateTimeEdit* dateTime;
58  QSpinBox* microseconds;
59  QCheckBox* latest;
60  };
61 
62 
64  {
65  public:
67 
68  void fillEntitySelector(client::query::SnapshotSelector& selector) override;
69 
70 
71  QLabel* fromLabel;
72  QDateTimeEdit* fromDateTime;
73  QCheckBox* fromBegin;
74 
75  QLabel* toLabel;
76  QDateTimeEdit* toDateTime;
77  QCheckBox* toEnd;
78  };
79 
80 
82  {
83  public:
85 
86  void fillEntitySelector(client::query::SnapshotSelector& selector) override;
87 
88 
89  QLabel* firstLabel;
90  QSpinBox* firstSpinBox;
91  QCheckBox* firstBegin;
92 
93  QLabel* lastLabel;
94  QSpinBox* lastSpinBox;
95  QCheckBox* lastEnd;
96  };
97 
98 }
armarx::armem::gui::SnapshotFormTimeRange::toLabel
QLabel * toLabel
Definition: SnapshotForm.h:75
armarx::armem::gui::SnapshotFormSingle::SnapshotFormSingle
SnapshotFormSingle()
Definition: SnapshotForm.cpp:47
armarx::armem::gui::SnapshotForm::queryChanged
void queryChanged()
armarx::armem::gui::SnapshotFormAll::SnapshotFormAll
SnapshotFormAll()
Definition: SnapshotForm.cpp:37
armarx::armem::gui::SnapshotFormSingle::fillEntitySelector
void fillEntitySelector(client::query::SnapshotSelector &selector) override
Definition: SnapshotForm.cpp:85
armarx::armem::gui::SnapshotFormIndexRange::firstSpinBox
QSpinBox * firstSpinBox
Definition: SnapshotForm.h:90
armarx::armem::gui::SnapshotFormIndexRange::lastLabel
QLabel * lastLabel
Definition: SnapshotForm.h:93
armarx::armem::gui::SnapshotFormSingle
Definition: SnapshotForm.h:47
armarx::armem::gui::SnapshotFormIndexRange
Definition: SnapshotForm.h:81
armarx::armem::client::query::SnapshotSelector
Definition: selectors.h:13
armarx::armem::gui::SnapshotFormIndexRange::lastEnd
QCheckBox * lastEnd
Definition: SnapshotForm.h:95
armarx::armem::gui::SnapshotFormTimeRange::SnapshotFormTimeRange
SnapshotFormTimeRange()
Definition: SnapshotForm.cpp:95
armarx::armem::gui::SnapshotFormTimeRange::fillEntitySelector
void fillEntitySelector(client::query::SnapshotSelector &selector) override
Definition: SnapshotForm.cpp:139
armarx::armem::gui::SnapshotFormIndexRange::lastSpinBox
QSpinBox * lastSpinBox
Definition: SnapshotForm.h:94
armarx::armem::gui::SnapshotFormIndexRange::fillEntitySelector
void fillEntitySelector(client::query::SnapshotSelector &selector) override
Definition: SnapshotForm.cpp:210
armarx::armem::gui::SnapshotFormAll
Definition: SnapshotForm.h:37
armarx::armem::gui::SnapshotFormTimeRange::fromDateTime
QDateTimeEdit * fromDateTime
Definition: SnapshotForm.h:72
armarx::armem::gui::SnapshotFormTimeRange::toEnd
QCheckBox * toEnd
Definition: SnapshotForm.h:77
armarx::armem::gui::SnapshotFormTimeRange::fromBegin
QCheckBox * fromBegin
Definition: SnapshotForm.h:73
armarx::armem::gui::SnapshotFormAll::fillEntitySelector
void fillEntitySelector(client::query::SnapshotSelector &selector) override
Definition: SnapshotForm.cpp:40
armarx::armem::gui
Definition: ActionsMenuBuilder.cpp:6
armarx::armem::gui::SnapshotFormTimeRange::fromLabel
QLabel * fromLabel
Definition: SnapshotForm.h:71
Builder.h
armarx::armem::gui::SnapshotForm
Definition: SnapshotForm.h:17
armarx::armem::gui::SnapshotForm::makeEntitySelector
virtual client::query::SnapshotSelector makeEntitySelector()
Definition: SnapshotForm.cpp:24
armarx::armem::gui::SnapshotForm::fillEntitySelector
virtual void fillEntitySelector(client::query::SnapshotSelector &selector)=0
armarx::armem::gui::SnapshotFormIndexRange::SnapshotFormIndexRange
SnapshotFormIndexRange()
Definition: SnapshotForm.cpp:158
armarx::armem::gui::SnapshotForm::setDateTimeDisplayFormat
void setDateTimeDisplayFormat(QDateTimeEdit *dt)
Definition: SnapshotForm.cpp:31
armarx::armem::gui::SnapshotFormTimeRange
Definition: SnapshotForm.h:63
armarx::armem::gui::SnapshotFormIndexRange::firstLabel
QLabel * firstLabel
Definition: SnapshotForm.h:89
armarx::armem::gui::SnapshotFormIndexRange::firstBegin
QCheckBox * firstBegin
Definition: SnapshotForm.h:91
armarx::armem::gui::SnapshotFormTimeRange::toDateTime
QDateTimeEdit * toDateTime
Definition: SnapshotForm.h:76
dt
constexpr T dt
Definition: UnscentedKalmanFilterTest.cpp:42