X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=HomeScreenSimulator%2Fsrc%2Fmainwindow.h;fp=src%2Fsystemsettingssimulator.h;h=2eb6e115330695aaddfc7ab7cac80689254cfc4e;hb=ca3605ea664834acdf712e691be8f0358b1c6b6f;hp=cba7a141c3b6071d8047b229bf0a24e1df041dac;hpb=ff25a2a06428ffb0d6d8aeddb5faaa301b4201fe;p=staging%2FHomeScreen.git 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 --- a/src/systemsettingssimulator.h +++ b/HomeScreenSimulator/src/mainwindow.h @@ -14,34 +14,52 @@ * limitations under the License. */ -#ifndef SYSTEMSETTINGSSIMULATOR_H -#define SYSTEMSETTINGSSIMULATOR_H +#ifndef MAINWINDOW_H +#define MAINWINDOW_H -#include -#include "include/daynightmode.h" -#include "daynightmode_proxy.h" +#include +#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