Main Page
Related Pages
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
+
Enumerations
a
b
c
d
e
g
i
l
m
o
p
r
s
t
v
+
Enumerator
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
x
y
+
Classes
Class List
Class Hierarchy
+
Class Members
+
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
_
a
b
c
d
e
f
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
+
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
w
+
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
+
Properties
a
b
c
d
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
+
Related Functions
:
a
b
c
d
e
f
g
i
m
o
q
r
s
v
w
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Variables
_
a
b
c
d
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
+
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
p
q
r
s
t
u
v
w
x
z
+
Enumerations
a
b
c
d
e
f
h
i
k
l
n
o
r
t
u
v
x
+
Enumerator
b
c
d
e
f
h
i
k
l
m
n
o
p
r
t
u
v
w
x
+
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
plotjuggler_app
statistics_dialog.h
Go to the documentation of this file.
1
/*
2
* This Source Code Form is subject to the terms of the Mozilla Public
3
* License, v. 2.0. If a copy of the MPL was not distributed with this
4
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
*/
6
7
#ifndef STATISTICS_DIALOG_H
8
#define STATISTICS_DIALOG_H
9
10
#include <QDialog>
11
#include <QCloseEvent>
12
#include "
PlotJuggler/plotdata.h
"
13
#include "
plotwidget.h
"
14
15
namespace
Ui
16
{
17
class
statistics_dialog;
18
}
19
20
struct
Statistics
21
{
22
size_t
count
= 0;
23
double
min = 0;
24
double
max = 0;
25
double
mean_tot = 0;
26
};
27
28
class
StatisticsDialog
:
public
QDialog
29
{
30
Q_OBJECT
31
32
public
:
33
explicit
StatisticsDialog
(
PlotWidget
* parent =
nullptr
);
34
~
StatisticsDialog
();
35
36
void
update
(
Range
range);
37
38
void
closeEvent(QCloseEvent* event);
39
40
void
setTitle(QString title);
41
42
bool
calcVisibleRange();
43
44
private
:
45
Ui::statistics_dialog*
ui
;
46
47
PlotWidget
*
_parent
;
48
};
49
50
#endif // STATISTICS_DIALOG_H
PJ::Range
Definition:
plotdatabase.h:29
plotdata.h
Ui
Definition:
cheatsheet_dialog.h:6
update
void update(const std::string &key, const XmlRpc::XmlRpcValue &v)
plotwidget.h
Statistics
Definition:
statistics_dialog.h:20
count
constexpr auto count() -> size_t
Definition:
core.h:1050
StatisticsDialog
Definition:
statistics_dialog.h:28
StatisticsDialog::ui
Ui::statistics_dialog * ui
Definition:
statistics_dialog.h:45
StatisticsDialog::_parent
PlotWidget * _parent
Definition:
statistics_dialog.h:47
PlotWidget
Definition:
plotwidget.h:38
plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Jun 19 2023 03:12:53