Code Review
/
staging
/
HomeScreen.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
v0.1.0
[staging/HomeScreen.git]
/
HomeScreenSimulator
/
src
/
mainwindow.h
diff --git
a/src/systemsettingssimulator.h
b/HomeScreenSimulator/src/mainwindow.h
similarity index 52%
rename from
src/systemsettingssimulator.h
rename to
HomeScreenSimulator/src/mainwindow.h
index
cba7a14
..
2eb6e11
100644
(file)
--- a/
src/systemsettingssimulator.h
+++ b/
HomeScreenSimulator/src/mainwindow.h
@@
-14,34
+14,52
@@
* limitations under the License.
*/
* limitations under the License.
*/
-#ifndef
SYSTEMSETTINGSSIMULATOR
_H
-#define
SYSTEMSETTINGSSIMULATOR
_H
+#ifndef
MAINWINDOW
_H
+#define
MAINWINDOW
_H
-#include <QDialog>
-#include "include/daynightmode.h"
-#include "daynightmode_proxy.h"
+#include <QMainWindow>
+#include "../interfaces/daynightmode.h"
+#include "daynightmode_adapter.h"
+
+#include "statusbar_proxy.h"
+#include "popup_proxy.h"
namespace Ui {
namespace Ui {
-class
SystemSettingsSimulator
;
+class
MainWindow
;
}
}
-class
SystemSettingsSimulator : public QDialog
+class
MainWindow : public QMainWindow
{
Q_OBJECT
public:
{
Q_OBJECT
public:
- explicit SystemSettingsSimulator(QWidget *parent = 0);
- ~SystemSettingsSimulator();
+ explicit MainWindow(QWidget *parent = 0);
+ ~MainWindow();
+
+// day/night mode
+Q_SIGNALS:
+ void dayNightMode(int mode);
private slots:
private slots:
- void on_pushButton_Exit_clicked();
void on_radioButton_DayMode_toggled(bool checked);
void on_radioButton_NightMode_toggled(bool checked);
void on_radioButton_DayMode_toggled(bool checked);
void on_radioButton_NightMode_toggled(bool checked);
+ void on_pushButton_Update_clicked();
+
+ void on_pushButton_Exit_clicked();
+
+ void on_tableWidget_Status_cellChanged(int row, int column);
+
+ void on_pushButton_Send_clicked();
+
+ void on_pushButton_IconExample_clicked();
+
private:
private:
- Ui::SystemSettingsSimulator *mp_ui;
- org::agl::daynightmode *mp_dBusDayNightMode;
+ Ui::MainWindow *mp_ui;
+ DaynightmodeAdaptor *mp_dBusDayNightModeAdapter;
+ org::agl::statusbar *mp_dBusStatusBarProxy;
+ org::agl::popup *mp_dBusPopupProxy;
};
};
-#endif //
SYSTEMSETTINGSSIMULATOR
_H
+#endif //
MAINWINDOW
_H