itom
Loading...
Searching...
No Matches
dialogCloseItom.h
1
/* ********************************************************************
2
itom software
3
URL: http://www.uni-stuttgart.de/ito
4
Copyright (C) 2020, Institut für Technische Optik (ITO),
5
Universität Stuttgart, Germany
6
7
This file is part of itom.
8
9
itom is free software; you can redistribute it and/or modify it
10
under the terms of the GNU Library General Public Licence as published by
11
the Free Software Foundation; either version 2 of the Licence, or (at
12
your option) any later version.
13
14
itom is distributed in the hope that it will be useful, but
15
WITHOUT ANY WARRANTY; without even the implied warranty of
16
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library
17
General Public Licence for more details.
18
19
You should have received a copy of the GNU Library General Public License
20
along with itom. If not, see <http://www.gnu.org/licenses/>.
21
*********************************************************************** */
22
23
#ifndef DIALOGCLOSEITOM_H
24
#define DIALOGCLOSEITOM_H
25
26
#include "../python/pythonEngine.h"
27
28
#include <qdialog.h>
29
#include <qstring.h>
30
31
#include "ui_dialogCloseItom.h"
32
33
class
QTimerEvent;
34
35
namespace
ito
36
{
37
38
class
DialogCloseItom
:
public
QDialog
39
{
40
Q_OBJECT
41
42
public
:
43
DialogCloseItom
(QWidget *parent = 0);
44
~DialogCloseItom
() {}
45
46
protected
:
47
void
timerEvent(QTimerEvent *event);
48
void
closeEvent(QCloseEvent *event);
49
void
keyPressEvent(QKeyEvent *event);
50
51
private
:
52
Ui::DialogCloseItom ui;
53
54
int
m_secondsToWait;
55
int
m_secondsElapsed;
56
int
m_timerID;
57
58
private
slots:
59
void
on_btnInterrupt_clicked();
60
void
on_btnCancel_clicked();
61
62
};
63
64
}
//end namespace ito
65
66
#endif
ito::DialogCloseItom
Definition
dialogCloseItom.h:39
ito
Definition
apiFunctionsGraph.cpp:40
itom
Qitom
ui
dialogCloseItom.h
Generated on Tue Nov 12 2024 10:43:14 for itom by
1.12.0