cut
1.2.2-pre1
Main Page
Modules
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Functions
b
c
d
e
f
g
i
l
m
p
r
t
u
Variables
a
c
d
e
f
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
Functions
_
a
c
d
e
g
h
i
m
n
p
q
r
s
t
u
w
~
Variables
a
b
c
d
e
f
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Properties
Files
File List
File Members
All
Functions
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Properties
Macros
Modules
Pages
test
performance
cpp
manywidgets
src
include
elt
cut
test
performance
cpp
manywidgets
mainwindow.hpp
Go to the documentation of this file.
1
#ifndef MAINWINDOW_H
2
#define MAINWINDOW_H
3
4
#include <QCommandLineParser>
5
#include <QMainWindow>
6
#include <QWidget>
7
#include <QGridLayout>
8
#include <QList>
9
#include <QTimer>
10
#include <QTime>
11
#include <QPaintEvent>
12
#include <QStatusBar>
13
14
#include "
timelabel.hpp
"
15
16
QT_BEGIN_NAMESPACE
17
namespace
Ui
{
class
MainWindow
; }
18
QT_END_NAMESPACE
19
20
class
MainWindow
:
public
QMainWindow
21
{
22
Q_OBJECT
23
24
public
:
25
MainWindow
(QWidget *parent, QCommandLineParser *
parser
);
26
~MainWindow
();
27
28
protected
:
29
void
paintEvent
(QPaintEvent *event);
30
void
closeEvent
(QCloseEvent *event);
31
32
private
slots:
33
34
private
:
35
QCommandLineParser *p_parser;
36
QWidget m_centralWidget;
37
QGridLayout m_layout;
38
QList<TimeLabel*> m_widgets;
39
QTimer m_timer;
40
QTime m_time;
41
int
m_frameCount = 0;
42
QStatusBar m_statusbar;
43
QLabel m_fpsLabel;
44
QLabel m_cpuLabel;
45
QList<int> m_fpsList;
46
QList<QTimer*> m_timerList;
47
};
48
#endif // MAINWINDOW_H
timelabel.hpp
Label that prints the current time.
MainWindow::~MainWindow
~MainWindow()
Ui
Definition:
mainwindow.h:7
MainWindow
Definition:
mainwindow.h:12
MainWindow::MainWindow
MainWindow(QWidget *parent=nullptr)
Definition:
mainwindow.cpp:10
cut-test-performance-python-datapoints.parser
parser
Definition:
cut-test-performance-python-datapoints.py:132
MainWindow::paintEvent
void paintEvent(QPaintEvent *event)
Definition:
mainwindow.cpp:80
MainWindow::closeEvent
void closeEvent(QCloseEvent *event)
Definition:
mainwindow.cpp:96
Generated by
1.8.20