OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
aWindowManagerTimerSignalLinker.h
Go to the documentation of this file.
1/*
2 * File: aWindowManagerTimerSignalLinker.h
3 * Package: akWidgets
4 *
5 * Created on: February 30, 2020
6 * Author: Alexander Kuester
7 * Copyright (c) 2022 Alexander Kuester
8 * This file is part of the uiCore component.
9 * This file is subject to the terms and conditions defined in
10 * file 'LICENSE', which is part of this source code package.
11 */
12
13#pragma once
14
15// C++ header
16#include <vector> // vector<>
17
18// Qt header
19#include <qobject.h> // QObject
20
21// AK header
23
24// Forward declaration
25class QTimer;
26
27namespace ak {
28
29 class aWindowManager;
30
33 Q_OBJECT
34 public:
35
44
48 aWindowManager * _uiManager
49 );
50
53
57 void addLink(QTimer * _timer, timerType _timerType);
58
59 private Q_SLOTS:
60 void timerTimeoutProgressShow(void);
61 void timerTimeoutProgressHide(void);
62 void timerTimeoutLabelShow(void);
63 void timerTimeoutLabelHide(void);
64 void timerTimeoutShowWindow(void);
65
66 private:
68 struct timer
69 {
70 QTimer * timer;
71 timerType type;
72 };
73 std::vector<timer> m_links;
74 aWindowManager * m_uiManager;
75 };
76} // namespace ak
#define UICORE_API_EXPORT
Definition globalDataTypes.h:20
This class is used to manage a QMainWindow It provides several functions to create and manipulate the...
Definition aWindowManager.h:55
This class is used to link the timer signals of the ui manager to the corresponding callback function...
Definition aWindowManagerTimerSignalLinker.h:32
timerType
Discribes the type of the timer linked with this signal linker.
Definition aWindowManagerTimerSignalLinker.h:37
@ statusLabelHide
Definition aWindowManagerTimerSignalLinker.h:41
@ progressHide
Definition aWindowManagerTimerSignalLinker.h:39
@ progressShow
Definition aWindowManagerTimerSignalLinker.h:38
@ statusLabelShow
Definition aWindowManagerTimerSignalLinker.h:40
Definition uiAPI.h:45