X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=HomeScreen%2Fsrc%2Fmainwindow.h;h=cb2243e40a0b27932940958fa88956225a009a05;hb=0a468d9b5ae7b3e5ba106facf17698d89b1ce200;hp=af725fdd7b77defb7df275295427b75a44c0cf6f;hpb=ca3605ea664834acdf712e691be8f0358b1c6b6f;p=staging%2FHomeScreen.git diff --git a/HomeScreen/src/mainwindow.h b/HomeScreen/src/mainwindow.h index af725fd..cb2243e 100644 --- a/HomeScreen/src/mainwindow.h +++ b/HomeScreen/src/mainwindow.h @@ -18,13 +18,16 @@ #define MAINWINDOW_H #include -#include "../interfaces/daynightmode.h" #include "daynightmode_proxy.h" -#include "popupwidget.h" +#include "homescreencontrolinterface.h" #include "statusbarwidget.h" #include "controlbarwidget.h" +#include "settingswidget.h" +#include "applauncherwidget.h" +#include "popupwidget.h" + namespace Ui { class MainWindow; @@ -42,10 +45,17 @@ public: public Q_SLOTS: void dayNightModeSlot(int mode); + +public slots: + void updateColorScheme(); + protected: // called when the translator loaded a new language set void changeEvent(QEvent* event); +private slots: + void on_pushButton_clicked(); + private: Ui::MainWindow *mp_ui; @@ -53,11 +63,13 @@ private: org::agl::daynightmode *mp_dBusDayNightMode_StatusBarWidget; ControlBarWidget *mp_controlBarWidget; org::agl::daynightmode *mp_dBusDayNightMode_ControlBarWidget; + SettingsWidget *mp_settingsWidget; + AppLauncherWidget *mp_applauncherwidget; + PopupWidget *mp_popupWidget; - SystemDayNight::eDayNightMode m_dayNightMode; - org::agl::daynightmode *mp_dayNightModeProxy; + org::agl::daynightmode *mp_dBusDayNightModeProxy; - PopupWidget *mp_popupWidget; + HomeScreenControlInterface *mp_homeScreenControlInterface; }; #endif // MAINWINDOW_H