v0.1.0
[staging/HomeScreen.git] / HomeScreenSimulator / src / mainwindow.h
similarity index 52%
rename from src/systemsettingssimulator.h
rename to HomeScreenSimulator/src/mainwindow.h
index cba7a14..2eb6e11 100644 (file)
  * 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 {
-class SystemSettingsSimulator;
+class MainWindow;
 }
 
-class SystemSettingsSimulator : public QDialog
+class MainWindow : public QMainWindow
 {
     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:
-    void on_pushButton_Exit_clicked();
     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:
-    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