raDIYo
0.4
swalarmcontrol.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 SWALARMCONTROL_H
16
#define SWALARMCONTROL_H
17
18
19
#include <ui_swalarmcontrol.h>
20
#include <swabstractcontrol.h>
21
#include <swbuttongroup.h>
22
23
QT_BEGIN_NAMESPACE
24
namespace
Ui {
class
SWAlarmControl
; }
25
QT_END_NAMESPACE
26
27
28
class
SWAlarmControl
:
public
SWAbstractControl
,
private
Ui_SWAlarmControl
29
{
30
31
Q_OBJECT
32
33
public
:
34
35
explicit
SWAlarmControl
(
SWRaDIYoMainWidget
* parent );
36
virtual
~SWAlarmControl
();
37
38
void
paintEvent( QPaintEvent *event )
override
;
39
40
void
loadSettings();
41
void
saveSettings();
42
43
public
slots:
44
45
void
onDialClicked()
override
;
46
void
onDialValueChanged(
int
value )
override
;
47
48
protected
:
49
50
SWButtonGroup
_weekdayButtons;
51
52
};
53
54
#endif
// SWALARMCONTROL_H
SWAbstractControl
Definition:
swabstractcontrol.h:26
SWAlarmControl
Definition:
swalarmcontrol.h:29
SWButtonGroup
Definition:
swbuttongroup.h:25
SWRaDIYoMainWidget
Definition:
swradiyomainwidget.h:44
raDIYo
swalarmcontrol.h
Generated by
1.9.3