First version
[staging/HomeScreen.git] / src / systemsettingssimulator.h
1 /*
2  * Copyright (C) 2016 Mentor Graphics Development (Deutschland) GmbH
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 #ifndef SYSTEMSETTINGSSIMULATOR_H
18 #define SYSTEMSETTINGSSIMULATOR_H
19
20 #include <QDialog>
21 #include "include/daynightmode.h"
22 #include "daynightmode_proxy.h"
23
24 namespace Ui {
25 class SystemSettingsSimulator;
26 }
27
28 class SystemSettingsSimulator : public QDialog
29 {
30     Q_OBJECT
31
32 public:
33     explicit SystemSettingsSimulator(QWidget *parent = 0);
34     ~SystemSettingsSimulator();
35
36 private slots:
37     void on_pushButton_Exit_clicked();
38     void on_radioButton_DayMode_toggled(bool checked);
39
40     void on_radioButton_NightMode_toggled(bool checked);
41
42 private:
43     Ui::SystemSettingsSimulator *mp_ui;
44     org::agl::daynightmode *mp_dBusDayNightMode;
45 };
46
47 #endif // SYSTEMSETTINGSSIMULATOR_H