SnapshotForm.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <QWidget>
4
5
#include <
RobotAPI/libraries/armem/client/query/Builder.h
>
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
:
22
virtual
client::query::SnapshotSelector
makeEntitySelector
();
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
37
class
SnapshotFormAll
:
public
SnapshotForm
38
{
39
public
:
40
SnapshotFormAll
();
41
42
protected
:
43
void
fillEntitySelector
(
client::query::SnapshotSelector
& selector)
override
;
44
};
45
46
47
class
SnapshotFormSingle
:
public
SnapshotForm
48
{
49
public
:
50
SnapshotFormSingle
();
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
63
class
SnapshotFormTimeRange
:
public
SnapshotForm
64
{
65
public
:
66
SnapshotFormTimeRange
();
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
81
class
SnapshotFormIndexRange
:
public
SnapshotForm
82
{
83
public
:
84
SnapshotFormIndexRange
();
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
RobotAPI
libraries
armem_gui
query_widgets
SnapshotForm.h
Generated on Sat Oct 12 2024 09:14:09 for armarx_documentation by
1.8.17