raDIYo
0.4
swclockcontrol.h
1
/***************************************************************************
2
3
source::worx raDIYo
4
Copyright © 2020-2022 c.holzheuer
5
c.holzheuer@sourceworx.org
6
7
This program is free software; you can redistribute it and/or modify
8
it under the terms of the GNU General Public License as published by
9
the Free Software Foundation; either version 2 of the License, or
10
(at your option) any later version.
11
12
***************************************************************************/
13
14
15
#ifndef SWCLOCKCONTROL_H
16
#define SWCLOCKCONTROL_H
17
18
#include <QBasicTimer>
19
#include <swabstractcontrol.h>
20
#include <swflipdigit.h>
21
#include <ui_swclockcontrol.h>
22
23
24
QT_BEGIN_NAMESPACE
25
namespace
Ui {
class
SWClockControl
; }
26
QT_END_NAMESPACE
27
28
29
class
SWClockControl
:
public
SWAbstractControl
,
private
Ui_SWClockControl
30
{
31
32
Q_OBJECT
33
34
public
:
35
36
explicit
SWClockControl
(
SWRaDIYoMainWidget
* parent );
37
virtual
~SWClockControl
();
38
39
void
timerEvent( QTimerEvent* event )
override
;
40
41
void
updateTime();
42
void
switchTransition(
int
delta );
43
44
void
loadSettings();
45
void
saveSettings();
46
47
public
slots:
48
49
//void onDialClicked() override;
50
//void onDialValueChanged( int value ) override;
51
52
protected
slots:
53
54
void
chooseSlide();
55
void
chooseFlip();
56
void
chooseRotate();
57
58
protected
:
59
60
QBasicTimer _ticker;
61
62
63
};
64
65
#endif
// SWCLOCKCONTROL_H
SWAbstractControl
Definition:
swabstractcontrol.h:26
SWClockControl
Definition:
swclockcontrol.h:30
SWRaDIYoMainWidget
Definition:
swradiyomainwidget.h:44
raDIYo
swclockcontrol.h
Generated by
1.9.3