itom  4.1.0
dialogTimerManager.h
1 /* ********************************************************************
2 itom software
3 URL: http://www.uni-stuttgart.de/ito
4 Copyright (C) 2020, Institut fuer Technische Optik (ITO),
5 Universitaet 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 #pragma once
24 
25 
26 #include "ui_dialogTimerManager.h"
27 #include <qdialog.h>
28 
29 namespace ito
30 {
31  class TimerModel;
32 
33  class DialogTimerManager : public QDialog
34  {
35  Q_OBJECT
36 
37  public:
38  DialogTimerManager(QWidget *parent = nullptr);
40 
41  private:
42  Ui::DialogTimerManager ui;
43  TimerModel *m_pModel;
44 
45  private Q_SLOTS:
46  void on_btnStop_clicked();
47  void on_btnStart_clicked();
48  void on_btnStopAll_clicked();
49  void listView_currentChanged(const QModelIndex &current, const QModelIndex &previous);
50  void listView_dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight);
51  };
52 
53 } //end namespace ito
model for management of all timer objects. This model will be is used as model for the view in the ti...
Definition: timerModel.h:41
Definition: apiFunctionsGraph.cpp:39
Definition: dialogTimerManager.h:33