From: Bocklage, Jens Date: Thu, 15 Dec 2016 04:50:29 +0000 (+0100) Subject: Delete unneeded files X-Git-Tag: 3.0.0~22 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=staging%2FHomeScreen.git;a=commitdiff_plain;h=a4f5c7d97fcbb97ece05cfbca38fb1963ab11377 Delete unneeded files - sample-qml no longer needed - widgets no longer needed - images replaced by new HMI before Signed-off-by: Bocklage, Jens --- diff --git a/HomeScreen.pro b/HomeScreen.pro index 268a7f2..7b34689 100644 --- a/HomeScreen.pro +++ b/HomeScreen.pro @@ -25,8 +25,7 @@ SUBDIRS = interfaces \ InputEventManager \ SampleAppTimeDate \ WindowManager \ - SampleHomeScreenInterfaceApp \ - sample-qml + SampleHomeScreenInterfaceApp HomeScreen.depends = interfaces HomeScreenSimulator.depends = interfaces @@ -36,4 +35,3 @@ SampleAppTimeDate.depends = interfaces WindowManager.depends = interfaces SampleHomeScreenInterfaceApp.depends = libhomescreen -sample-qml.depends = libhomescreen diff --git a/HomeScreen/HomeScreen.pro b/HomeScreen/HomeScreen.pro index d48b6e5..b2afdd3 100644 --- a/HomeScreen/HomeScreen.pro +++ b/HomeScreen/HomeScreen.pro @@ -14,7 +14,7 @@ TEMPLATE = app TARGET = HomeScreen -QT = qml quick widgets dbus +QT = qml quick dbus CONFIG += c++11 include(../interfaces/interfaces.pri) @@ -22,42 +22,16 @@ include(../ivi_layermanagement_api.pri) SOURCES += \ src/main.cpp \ - src/mainwindow.cpp \ - src/settingswidget.cpp \ - src/popupwidget.cpp \ - src/controlbarwidget.cpp \ - src/statusbarwidget.cpp \ - src/applauncher.cpp \ src/homescreencontrolinterface.cpp \ src/layouthandler.cpp HEADERS += \ - src/mainwindow.h \ - src/settingswidget.h \ - src/popupwidget.h \ - src/controlbarwidget.h \ - src/statusbarwidget.h \ - src/applauncher.h \ src/homescreencontrolinterface.h \ src/layouthandler.h -FORMS += \ - resources/mainwindow.ui \ - resources/settingswidget.ui \ - resources/popupwidget.ui \ - resources/controlbarwidget.ui \ - resources/statusbarwidget.ui \ - resources/applauncherwidget.ui - -TRANSLATIONS = \ - resources/translations/homescreen_en_US.ts \ - resources/translations/homescreen_de_DE.ts \ - resources/translations/homescreen_ja_JP.ts - OTHER_FILES += \ README.md - HEADERS += \ src2/statusbarmodel.h \ src2/statusbarserver.h \ @@ -72,9 +46,6 @@ SOURCES += \ src2/statusbarserver.cpp \ src2/applicationlauncher.cpp -RESOURCES += \ - resources/homescreen.qrc - RESOURCES += \ qml/images/Home/home.qrc \ qml/images/MediaPlayer/mediaplayer.qrc \ diff --git a/HomeScreen/resources/applauncherwidget.ui b/HomeScreen/resources/applauncherwidget.ui deleted file mode 100644 index bff4034..0000000 --- a/HomeScreen/resources/applauncherwidget.ui +++ /dev/null @@ -1,39 +0,0 @@ - - - AppLauncherWidget - - - - 0 - 0 - 1080 - 1800 - - - - Form_AppLauncher - - - - - 0 - 0 - 1080 - 1800 - - - - - - -40 - 1640 - 200 - 200 - - - - - - - - diff --git a/HomeScreen/resources/colorschemes/README b/HomeScreen/resources/colorschemes/README deleted file mode 100644 index 13984a8..0000000 --- a/HomeScreen/resources/colorschemes/README +++ /dev/null @@ -1,3 +0,0 @@ -0.ini for daymode settings -1.ini for nightmode settings - diff --git a/HomeScreen/resources/colorschemes/default/0/0.ini b/HomeScreen/resources/colorschemes/default/0/0.ini deleted file mode 100644 index 967ea37..0000000 --- a/HomeScreen/resources/colorschemes/default/0/0.ini +++ /dev/null @@ -1,40 +0,0 @@ -[ControlBarWidget] -pushButton_homeIcon_icon=:/icons/home_day.png -pushButton_homeIcon_css="background-image: url(:/images/transparency.png);border-image: url(:/images/transparency.png);" -pushButton_settingsIcon_icon=:/icons/settings_day.png -pushButton_settingsIcon_css="background-image: url(:/images/transparency.png);border-image: url(:/images/transparency.png);" -pushButton_navIcon_icon=:/icons/explore_day.png -pushButton_navIcon_css="background-image: url(:/images/transparency.png);border-image: url(:/images/transparency.png);" -widget_background_css=background-image: url(:/images/backgrounds/bg_green_day.png) - -[MainWindow] -widget_background_css="background-image: url(:/images/backgrounds/bg_blue_day.png);" -widget_homeIcon_css="border-image: url(:/icons/home_day.png) 0 0 0 0 stretch stretch;" - -[AppLauncherWidget] -common_css="QTableWidget {background-color: transparent;} QTableCornerButton::section {background-color: transparent;}" -widget_Background="background-image: url(:/images/backgrounds/bg_blue_day.png);" -widget_Home_Icon="border-image: url(:/icons/home_day.png) 0 0 0 0 stretch stretch;" - -[PopupWidget] -label_text_css="background-color: rgba(109, 109, 109, 0); background-image: url(:/images/transparency.png); border-image: url(:/images/transparency.png);" -widget_popup_css="QWidget { border: 1px solid #D3D3D3; border-radius: 8px; background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(242, 242, 249, 255), stop:1 rgba(255, 255, 255, 255)); color: #333; padding: 0px; } QWidget:on { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #D5D5D5, stop: 1 #EEEEEE); }" - -[SettingsWidget] -comboBox_language_css="QComboBox { border: 1px solid #D3D3D3; border-radius: 8px; background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(242, 242, 249, 255), stop:1 rgba(255, 255, 255, 255)); color: #333; padding: 0px; } QComboBox:on { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #D5D5D5, stop: 1 #EEEEEE); } QComboBox::drop-down { border: 0px solid; border-radius: 0px; } QComboBox::down-arrow:on { }" -comboBox_colorScheme_css="QComboBox { border: 1px solid #D3D3D3; border-radius: 8px; background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(242, 242, 249, 255), stop:1 rgba(255, 255, 255, 255)); color: #333; padding: 0px; } QComboBox:on { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #D5D5D5, stop: 1 #EEEEEE); } QComboBox::drop-down { border: 0px solid; border-radius: 0px; } QComboBox::down-arrow:on { }" -widget_background_css="background-image: url(:/images/backgrounds/bg_blue_day.png);" -widget_settingsIcon_css="border-image: url(:/icons/settings_day.png) 0 0 0 0 stretch stretch;" - -[StatusBarWidget] -label_1_css="color: rgb(238, 238, 238); background-image: url(:/images/transparency.png);" -label_1_icon_css="background-image: url(:/images/transparency.png);" -label_2_css="color: rgb(238, 238, 238); background-image: url(:/images/transparency.png);" -label_2_icon_css="background-image: url(:/images/transparency.png);" -label_3_css="color: rgb(238, 238, 238); background-image: url(:/images/transparency.png);" -label_3_icon_css="background-image: url(:/images/transparency.png);" -label_4_css="color: rgb(238, 238, 238); background-image: url(:/images/transparency.png);" -label_4_icon_css="background-image: url(:/images/transparency.png);" -label_5_css="color: rgb(238, 238, 238); background-image: url(:/images/transparency.png);" -label_5_icon_css="background-image: url(:/images/transparency.png);" -widget_background_css=background-image: url(:/images/backgrounds/bg_stripes_day.png) diff --git a/HomeScreen/resources/colorschemes/default/0/1.ini b/HomeScreen/resources/colorschemes/default/0/1.ini deleted file mode 100644 index 6fd2532..0000000 --- a/HomeScreen/resources/colorschemes/default/0/1.ini +++ /dev/null @@ -1,40 +0,0 @@ -[ControlBarWidget] -pushButton_homeIcon_icon=:/icons/home_night.png -pushButton_homeIcon_css="background-image: url(:/images/transparency.png);border-image: url(:/images/transparency.png);" -pushButton_settingsIcon_icon=:/icons/settings_night.png -pushButton_settingsIcon_css="background-image: url(:/images/transparency.png);border-image: url(:/images/transparency.png);" -pushButton_navIcon_icon=:/icons/explore_night.png -pushButton_navIcon_css="background-image: url(:/images/transparency.png);border-image: url(:/images/transparency.png);" -widget_background_css=background-image: url(:/images/backgrounds/bg_green_night.png) - -[MainWindow] -widget_background_css="background-image: url(:/images/backgrounds/bg_blue_night.png);" -widget_homeIcon_css="border-image: url(:/icons/home_night.png) 0 0 0 0 stretch stretch;" - -[AppLauncherWidget] -common_css="QTableWidget {background-color: transparent;} QTableCornerButton::section {background-color: transparent;}" -widget_Background="background-image: url(:/images/backgrounds/bg_blue_night.png);" -widget_Home_Icon="border-image: url(:/icons/home_night.png) 0 0 0 0 stretch stretch;" - -[PopupWidget] -label_text_css="background-color: rgba(109, 109, 109, 0); background-image: url(:/images/transparency.png); border-image: url(:/images/transparency.png);" -widget_popup_css="QWidget { border: 1px solid #D3D3D3; border-radius: 8px; background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(147, 147, 151, 255), stop:1 rgba(255, 255, 255, 255)); color: #333; padding: 0px; } QWidget:on { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #D5D5D5, stop: 1 #EEEEEE); }" - -[SettingsWidget] -comboBox_language_css="QComboBox { border: 1px solid #D3D3D3; border-radius: 8px; background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(147, 147, 151, 255), stop:1 rgba(255, 255, 255, 255)); color: #333; padding: 0px; } QComboBox:on { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #D5D5D5, stop: 1 #EEEEEE); } QComboBox::drop-down { border: 0px solid; border-radius: 0px; } QComboBox::down-arrow:on { }" -comboBox_colorScheme_css="QComboBox { border: 1px solid #D3D3D3; border-radius: 8px; background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(147, 147, 151, 255), stop:1 rgba(255, 255, 255, 255)); color: #333; padding: 0px; } QComboBox:on { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #D5D5D5, stop: 1 #EEEEEE); } QComboBox::drop-down { border: 0px solid; border-radius: 0px; } QComboBox::down-arrow:on { }" -widget_background_css="background-image: url(:/images/backgrounds/bg_blue_night.png);" -widget_settingsIcon_css="border-image: url(:/icons/settings_night.png) 0 0 0 0 stretch stretch;" - -[StatusBarWidget] -label_1_css="color: rgb(177, 177, 177); background-image: url(:/images/transparency.png);" -label_1_icon_css="background-image: url(:/images/transparency.png);" -label_2_css="color: rgb(177, 177, 177); background-image: url(:/images/transparency.png);" -label_2_icon_css="background-image: url(:/images/transparency.png);" -label_3_css="color: rgb(177, 177, 177); background-image: url(:/images/transparency.png);" -label_3_icon_css="background-image: url(:/images/transparency.png);" -label_4_css="color: rgb(177, 177, 177); background-image: url(:/images/transparency.png);" -label_4_icon_css="background-image: url(:/images/transparency.png);" -label_5_css="color: rgb(177, 177, 177); background-image: url(:/images/transparency.png);" -label_5_icon_css="background-image: url(:/images/transparency.png);" -widget_background_css=background-image: url(:/images/backgrounds/bg_stripes_night.png) diff --git a/HomeScreen/resources/colorschemes/default/1/0.ini b/HomeScreen/resources/colorschemes/default/1/0.ini deleted file mode 100644 index 8894e1f..0000000 --- a/HomeScreen/resources/colorschemes/default/1/0.ini +++ /dev/null @@ -1,40 +0,0 @@ -[ControlBarWidget] -pushButton_homeIcon_icon=:/icons/home_day.png -pushButton_homeIcon_css="background-image: url(:/images/transparency.png);" -pushButton_settingsIcon_icon=:/icons/settings_day.png -pushButton_settingsIcon_css="background-image: url(:/images/transparency.png);" -pushButton_navIcon_icon=:/icons/explore_day.png -pushButton_navIcon_css="background-image: url(:/images/transparency.png);" -widget_background_css=background-image: url(:/images/backgrounds/bg_green_day.png) - -[MainWindow] -widget_background_css="background-image: url(:/images/backgrounds/bg_blue_day.png);" -widget_homeIcon_css="border-image: url(:/icons/home_day.png) 0 0 0 0 stretch stretch;" - -[AppLauncherWidget] -common_css="QTableWidget {background-color: transparent;} QTableCornerButton::section {background-color: transparent;}" -widget_Background="background-image: url(:/images/backgrounds/bg_blue_day.png);" -widget_Home_Icon="border-image: url(:/icons/home_day.png) 0 0 0 0 stretch stretch;" - -[PopupWidget] -label_text_css="background-color: rgba(109, 109, 109, 0); background-image: url(:/images/transparency.png); border-image: url(:/images/transparency.png);" -widget_popup_css="QWidget { border: 1px solid #D3D3D3; border-radius: 8px; background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(242, 242, 249, 255), stop:1 rgba(255, 255, 255, 255)); color: #333; padding: 0px; } QWidget:on { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #D5D5D5, stop: 1 #EEEEEE); }" - -[SettingsWidget] -comboBox_language_css="QComboBox { border: 1px solid #D3D3D3; border-radius: 8px; background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(242, 242, 249, 255), stop:1 rgba(255, 255, 255, 255)); color: #333; padding: 0px; } QComboBox:on { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #D5D5D5, stop: 1 #EEEEEE); } QComboBox::drop-down { border: 0px solid; border-radius: 0px; } QComboBox::down-arrow:on { }" -comboBox_colorScheme_css="QComboBox { border: 1px solid #D3D3D3; border-radius: 8px; background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(242, 242, 249, 255), stop:1 rgba(255, 255, 255, 255)); color: #333; padding: 0px; } QComboBox:on { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #D5D5D5, stop: 1 #EEEEEE); } QComboBox::drop-down { border: 0px solid; border-radius: 0px; } QComboBox::down-arrow:on { }" -widget_background_css="background-image: url(:/images/backgrounds/bg_blue_day.png);" -widget_settingsIcon_css="border-image: url(:/icons/settings_day.png) 0 0 0 0 stretch stretch;" - -[StatusBarWidget] -label_1_css="color: rgb(238, 238, 238); background-image: url(:/images/transparency.png);" -label_1_icon_css="background-image: url(:/images/transparency.png);" -label_2_css="color: rgb(238, 238, 238); background-image: url(:/images/transparency.png);" -label_2_icon_css="background-image: url(:/images/transparency.png);" -label_3_css="color: rgb(238, 238, 238); background-image: url(:/images/transparency.png);" -label_3_icon_css="background-image: url(:/images/transparency.png);" -label_4_css="color: rgb(238, 238, 238); background-image: url(:/images/transparency.png);" -label_4_icon_css="background-image: url(:/images/transparency.png);" -label_5_css="color: rgb(238, 238, 238); background-image: url(:/images/transparency.png);" -label_5_icon_css="background-image: url(:/images/transparency.png);" -widget_background_css=background-image: url(:/images/backgrounds/bg_stripes_day.png) diff --git a/HomeScreen/resources/colorschemes/default/1/1.ini b/HomeScreen/resources/colorschemes/default/1/1.ini deleted file mode 100644 index 0117e84..0000000 --- a/HomeScreen/resources/colorschemes/default/1/1.ini +++ /dev/null @@ -1,40 +0,0 @@ -[ControlBarWidget] -pushButton_homeIcon_icon=:/icons/home_night.png -pushButton_homeIcon_css="background-image: url(:/images/transparency.png);" -pushButton_settingsIcon_icon=:/icons/settings_night.png -pushButton_settingsIcon_css="background-image: url(:/images/transparency.png);" -pushButton_navIcon_icon=:/icons/explore_night.png -pushButton_navIcon_css="background-image: url(:/images/transparency.png);" -widget_background_css=background-image: url(:/images/backgrounds/bg_green_night.png) - -[MainWindow] -widget_background_css="background-image: url(:/images/backgrounds/bg_blue_night.png);" -widget_homeIcon_css="border-image: url(:/icons/home_night.png) 0 0 0 0 stretch stretch;" - -[AppLauncherWidget] -common_css="QTableWidget {background-color: transparent;} QTableCornerButton::section {background-color: transparent;}" -widget_Background="background-image: url(:/images/backgrounds/bg_blue_night.png);" -widget_Home_Icon="border-image: url(:/icons/home_night.png) 0 0 0 0 stretch stretch;" - -[PopupWidget] -label_text_css="background-color: rgba(109, 109, 109, 0); background-image: url(:/images/transparency.png); border-image: url(:/images/transparency.png);" -widget_popup_css="QWidget { border: 1px solid #D3D3D3; border-radius: 8px; background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(147, 147, 151, 255), stop:1 rgba(255, 255, 255, 255)); color: #333; padding: 0px; } QWidget:on { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #D5D5D5, stop: 1 #EEEEEE); }" - -[SettingsWidget] -comboBox_language_css="QComboBox { border: 1px solid #D3D3D3; border-radius: 8px; background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(147, 147, 151, 255), stop:1 rgba(255, 255, 255, 255)); color: #333; padding: 0px; } QComboBox:on { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #D5D5D5, stop: 1 #EEEEEE); } QComboBox::drop-down { border: 0px solid; border-radius: 0px; } QComboBox::down-arrow:on { }" -comboBox_colorScheme_css="QComboBox { border: 1px solid #D3D3D3; border-radius: 8px; background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(147, 147, 151, 255), stop:1 rgba(255, 255, 255, 255)); color: #333; padding: 0px; } QComboBox:on { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #D5D5D5, stop: 1 #EEEEEE); } QComboBox::drop-down { border: 0px solid; border-radius: 0px; } QComboBox::down-arrow:on { }" -widget_background_css="background-image: url(:/images/backgrounds/bg_blue_night.png);" -widget_settingsIcon_css="border-image: url(:/icons/settings_night.png) 0 0 0 0 stretch stretch;" - -[StatusBarWidget] -label_1_css="color: rgb(177, 177, 177); background-image: url(:/images/transparency.png);" -label_1_icon_css="background-image: url(:/images/transparency.png);" -label_2_css="color: rgb(177, 177, 177); background-image: url(:/images/transparency.png);" -label_2_icon_css="background-image: url(:/images/transparency.png);" -label_3_css="color: rgb(177, 177, 177); background-image: url(:/images/transparency.png);" -label_3_icon_css="background-image: url(:/images/transparency.png);" -label_4_css="color: rgb(177, 177, 177); background-image: url(:/images/transparency.png);" -label_4_icon_css="background-image: url(:/images/transparency.png);" -label_5_css="color: rgb(177, 177, 177); background-image: url(:/images/transparency.png);" -label_5_icon_css="background-image: url(:/images/transparency.png);" -widget_background_css=background-image: url(:/images/backgrounds/bg_stripes_night.png) diff --git a/HomeScreen/resources/colorschemes/demo1/0/0.ini b/HomeScreen/resources/colorschemes/demo1/0/0.ini deleted file mode 100644 index 967ea37..0000000 --- a/HomeScreen/resources/colorschemes/demo1/0/0.ini +++ /dev/null @@ -1,40 +0,0 @@ -[ControlBarWidget] -pushButton_homeIcon_icon=:/icons/home_day.png -pushButton_homeIcon_css="background-image: url(:/images/transparency.png);border-image: url(:/images/transparency.png);" -pushButton_settingsIcon_icon=:/icons/settings_day.png -pushButton_settingsIcon_css="background-image: url(:/images/transparency.png);border-image: url(:/images/transparency.png);" -pushButton_navIcon_icon=:/icons/explore_day.png -pushButton_navIcon_css="background-image: url(:/images/transparency.png);border-image: url(:/images/transparency.png);" -widget_background_css=background-image: url(:/images/backgrounds/bg_green_day.png) - -[MainWindow] -widget_background_css="background-image: url(:/images/backgrounds/bg_blue_day.png);" -widget_homeIcon_css="border-image: url(:/icons/home_day.png) 0 0 0 0 stretch stretch;" - -[AppLauncherWidget] -common_css="QTableWidget {background-color: transparent;} QTableCornerButton::section {background-color: transparent;}" -widget_Background="background-image: url(:/images/backgrounds/bg_blue_day.png);" -widget_Home_Icon="border-image: url(:/icons/home_day.png) 0 0 0 0 stretch stretch;" - -[PopupWidget] -label_text_css="background-color: rgba(109, 109, 109, 0); background-image: url(:/images/transparency.png); border-image: url(:/images/transparency.png);" -widget_popup_css="QWidget { border: 1px solid #D3D3D3; border-radius: 8px; background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(242, 242, 249, 255), stop:1 rgba(255, 255, 255, 255)); color: #333; padding: 0px; } QWidget:on { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #D5D5D5, stop: 1 #EEEEEE); }" - -[SettingsWidget] -comboBox_language_css="QComboBox { border: 1px solid #D3D3D3; border-radius: 8px; background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(242, 242, 249, 255), stop:1 rgba(255, 255, 255, 255)); color: #333; padding: 0px; } QComboBox:on { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #D5D5D5, stop: 1 #EEEEEE); } QComboBox::drop-down { border: 0px solid; border-radius: 0px; } QComboBox::down-arrow:on { }" -comboBox_colorScheme_css="QComboBox { border: 1px solid #D3D3D3; border-radius: 8px; background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(242, 242, 249, 255), stop:1 rgba(255, 255, 255, 255)); color: #333; padding: 0px; } QComboBox:on { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #D5D5D5, stop: 1 #EEEEEE); } QComboBox::drop-down { border: 0px solid; border-radius: 0px; } QComboBox::down-arrow:on { }" -widget_background_css="background-image: url(:/images/backgrounds/bg_blue_day.png);" -widget_settingsIcon_css="border-image: url(:/icons/settings_day.png) 0 0 0 0 stretch stretch;" - -[StatusBarWidget] -label_1_css="color: rgb(238, 238, 238); background-image: url(:/images/transparency.png);" -label_1_icon_css="background-image: url(:/images/transparency.png);" -label_2_css="color: rgb(238, 238, 238); background-image: url(:/images/transparency.png);" -label_2_icon_css="background-image: url(:/images/transparency.png);" -label_3_css="color: rgb(238, 238, 238); background-image: url(:/images/transparency.png);" -label_3_icon_css="background-image: url(:/images/transparency.png);" -label_4_css="color: rgb(238, 238, 238); background-image: url(:/images/transparency.png);" -label_4_icon_css="background-image: url(:/images/transparency.png);" -label_5_css="color: rgb(238, 238, 238); background-image: url(:/images/transparency.png);" -label_5_icon_css="background-image: url(:/images/transparency.png);" -widget_background_css=background-image: url(:/images/backgrounds/bg_stripes_day.png) diff --git a/HomeScreen/resources/colorschemes/demo1/0/1.ini b/HomeScreen/resources/colorschemes/demo1/0/1.ini deleted file mode 100644 index 6fd2532..0000000 --- a/HomeScreen/resources/colorschemes/demo1/0/1.ini +++ /dev/null @@ -1,40 +0,0 @@ -[ControlBarWidget] -pushButton_homeIcon_icon=:/icons/home_night.png -pushButton_homeIcon_css="background-image: url(:/images/transparency.png);border-image: url(:/images/transparency.png);" -pushButton_settingsIcon_icon=:/icons/settings_night.png -pushButton_settingsIcon_css="background-image: url(:/images/transparency.png);border-image: url(:/images/transparency.png);" -pushButton_navIcon_icon=:/icons/explore_night.png -pushButton_navIcon_css="background-image: url(:/images/transparency.png);border-image: url(:/images/transparency.png);" -widget_background_css=background-image: url(:/images/backgrounds/bg_green_night.png) - -[MainWindow] -widget_background_css="background-image: url(:/images/backgrounds/bg_blue_night.png);" -widget_homeIcon_css="border-image: url(:/icons/home_night.png) 0 0 0 0 stretch stretch;" - -[AppLauncherWidget] -common_css="QTableWidget {background-color: transparent;} QTableCornerButton::section {background-color: transparent;}" -widget_Background="background-image: url(:/images/backgrounds/bg_blue_night.png);" -widget_Home_Icon="border-image: url(:/icons/home_night.png) 0 0 0 0 stretch stretch;" - -[PopupWidget] -label_text_css="background-color: rgba(109, 109, 109, 0); background-image: url(:/images/transparency.png); border-image: url(:/images/transparency.png);" -widget_popup_css="QWidget { border: 1px solid #D3D3D3; border-radius: 8px; background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(147, 147, 151, 255), stop:1 rgba(255, 255, 255, 255)); color: #333; padding: 0px; } QWidget:on { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #D5D5D5, stop: 1 #EEEEEE); }" - -[SettingsWidget] -comboBox_language_css="QComboBox { border: 1px solid #D3D3D3; border-radius: 8px; background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(147, 147, 151, 255), stop:1 rgba(255, 255, 255, 255)); color: #333; padding: 0px; } QComboBox:on { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #D5D5D5, stop: 1 #EEEEEE); } QComboBox::drop-down { border: 0px solid; border-radius: 0px; } QComboBox::down-arrow:on { }" -comboBox_colorScheme_css="QComboBox { border: 1px solid #D3D3D3; border-radius: 8px; background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(147, 147, 151, 255), stop:1 rgba(255, 255, 255, 255)); color: #333; padding: 0px; } QComboBox:on { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #D5D5D5, stop: 1 #EEEEEE); } QComboBox::drop-down { border: 0px solid; border-radius: 0px; } QComboBox::down-arrow:on { }" -widget_background_css="background-image: url(:/images/backgrounds/bg_blue_night.png);" -widget_settingsIcon_css="border-image: url(:/icons/settings_night.png) 0 0 0 0 stretch stretch;" - -[StatusBarWidget] -label_1_css="color: rgb(177, 177, 177); background-image: url(:/images/transparency.png);" -label_1_icon_css="background-image: url(:/images/transparency.png);" -label_2_css="color: rgb(177, 177, 177); background-image: url(:/images/transparency.png);" -label_2_icon_css="background-image: url(:/images/transparency.png);" -label_3_css="color: rgb(177, 177, 177); background-image: url(:/images/transparency.png);" -label_3_icon_css="background-image: url(:/images/transparency.png);" -label_4_css="color: rgb(177, 177, 177); background-image: url(:/images/transparency.png);" -label_4_icon_css="background-image: url(:/images/transparency.png);" -label_5_css="color: rgb(177, 177, 177); background-image: url(:/images/transparency.png);" -label_5_icon_css="background-image: url(:/images/transparency.png);" -widget_background_css=background-image: url(:/images/backgrounds/bg_stripes_night.png) diff --git a/HomeScreen/resources/colorschemes/demo1/1/0.ini b/HomeScreen/resources/colorschemes/demo1/1/0.ini deleted file mode 100644 index 8894e1f..0000000 --- a/HomeScreen/resources/colorschemes/demo1/1/0.ini +++ /dev/null @@ -1,40 +0,0 @@ -[ControlBarWidget] -pushButton_homeIcon_icon=:/icons/home_day.png -pushButton_homeIcon_css="background-image: url(:/images/transparency.png);" -pushButton_settingsIcon_icon=:/icons/settings_day.png -pushButton_settingsIcon_css="background-image: url(:/images/transparency.png);" -pushButton_navIcon_icon=:/icons/explore_day.png -pushButton_navIcon_css="background-image: url(:/images/transparency.png);" -widget_background_css=background-image: url(:/images/backgrounds/bg_green_day.png) - -[MainWindow] -widget_background_css="background-image: url(:/images/backgrounds/bg_blue_day.png);" -widget_homeIcon_css="border-image: url(:/icons/home_day.png) 0 0 0 0 stretch stretch;" - -[AppLauncherWidget] -common_css="QTableWidget {background-color: transparent;} QTableCornerButton::section {background-color: transparent;}" -widget_Background="background-image: url(:/images/backgrounds/bg_blue_day.png);" -widget_Home_Icon="border-image: url(:/icons/home_day.png) 0 0 0 0 stretch stretch;" - -[PopupWidget] -label_text_css="background-color: rgba(109, 109, 109, 0); background-image: url(:/images/transparency.png); border-image: url(:/images/transparency.png);" -widget_popup_css="QWidget { border: 1px solid #D3D3D3; border-radius: 8px; background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(242, 242, 249, 255), stop:1 rgba(255, 255, 255, 255)); color: #333; padding: 0px; } QWidget:on { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #D5D5D5, stop: 1 #EEEEEE); }" - -[SettingsWidget] -comboBox_language_css="QComboBox { border: 1px solid #D3D3D3; border-radius: 8px; background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(242, 242, 249, 255), stop:1 rgba(255, 255, 255, 255)); color: #333; padding: 0px; } QComboBox:on { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #D5D5D5, stop: 1 #EEEEEE); } QComboBox::drop-down { border: 0px solid; border-radius: 0px; } QComboBox::down-arrow:on { }" -comboBox_colorScheme_css="QComboBox { border: 1px solid #D3D3D3; border-radius: 8px; background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(242, 242, 249, 255), stop:1 rgba(255, 255, 255, 255)); color: #333; padding: 0px; } QComboBox:on { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #D5D5D5, stop: 1 #EEEEEE); } QComboBox::drop-down { border: 0px solid; border-radius: 0px; } QComboBox::down-arrow:on { }" -widget_background_css="background-image: url(:/images/backgrounds/bg_blue_day.png);" -widget_settingsIcon_css="border-image: url(:/icons/settings_day.png) 0 0 0 0 stretch stretch;" - -[StatusBarWidget] -label_1_css="color: rgb(238, 238, 238); background-image: url(:/images/transparency.png);" -label_1_icon_css="background-image: url(:/images/transparency.png);" -label_2_css="color: rgb(238, 238, 238); background-image: url(:/images/transparency.png);" -label_2_icon_css="background-image: url(:/images/transparency.png);" -label_3_css="color: rgb(238, 238, 238); background-image: url(:/images/transparency.png);" -label_3_icon_css="background-image: url(:/images/transparency.png);" -label_4_css="color: rgb(238, 238, 238); background-image: url(:/images/transparency.png);" -label_4_icon_css="background-image: url(:/images/transparency.png);" -label_5_css="color: rgb(238, 238, 238); background-image: url(:/images/transparency.png);" -label_5_icon_css="background-image: url(:/images/transparency.png);" -widget_background_css=background-image: url(:/images/backgrounds/bg_stripes_day.png) diff --git a/HomeScreen/resources/colorschemes/demo1/1/1.ini b/HomeScreen/resources/colorschemes/demo1/1/1.ini deleted file mode 100644 index 0117e84..0000000 --- a/HomeScreen/resources/colorschemes/demo1/1/1.ini +++ /dev/null @@ -1,40 +0,0 @@ -[ControlBarWidget] -pushButton_homeIcon_icon=:/icons/home_night.png -pushButton_homeIcon_css="background-image: url(:/images/transparency.png);" -pushButton_settingsIcon_icon=:/icons/settings_night.png -pushButton_settingsIcon_css="background-image: url(:/images/transparency.png);" -pushButton_navIcon_icon=:/icons/explore_night.png -pushButton_navIcon_css="background-image: url(:/images/transparency.png);" -widget_background_css=background-image: url(:/images/backgrounds/bg_green_night.png) - -[MainWindow] -widget_background_css="background-image: url(:/images/backgrounds/bg_blue_night.png);" -widget_homeIcon_css="border-image: url(:/icons/home_night.png) 0 0 0 0 stretch stretch;" - -[AppLauncherWidget] -common_css="QTableWidget {background-color: transparent;} QTableCornerButton::section {background-color: transparent;}" -widget_Background="background-image: url(:/images/backgrounds/bg_blue_night.png);" -widget_Home_Icon="border-image: url(:/icons/home_night.png) 0 0 0 0 stretch stretch;" - -[PopupWidget] -label_text_css="background-color: rgba(109, 109, 109, 0); background-image: url(:/images/transparency.png); border-image: url(:/images/transparency.png);" -widget_popup_css="QWidget { border: 1px solid #D3D3D3; border-radius: 8px; background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(147, 147, 151, 255), stop:1 rgba(255, 255, 255, 255)); color: #333; padding: 0px; } QWidget:on { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #D5D5D5, stop: 1 #EEEEEE); }" - -[SettingsWidget] -comboBox_language_css="QComboBox { border: 1px solid #D3D3D3; border-radius: 8px; background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(147, 147, 151, 255), stop:1 rgba(255, 255, 255, 255)); color: #333; padding: 0px; } QComboBox:on { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #D5D5D5, stop: 1 #EEEEEE); } QComboBox::drop-down { border: 0px solid; border-radius: 0px; } QComboBox::down-arrow:on { }" -comboBox_colorScheme_css="QComboBox { border: 1px solid #D3D3D3; border-radius: 8px; background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(147, 147, 151, 255), stop:1 rgba(255, 255, 255, 255)); color: #333; padding: 0px; } QComboBox:on { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #D5D5D5, stop: 1 #EEEEEE); } QComboBox::drop-down { border: 0px solid; border-radius: 0px; } QComboBox::down-arrow:on { }" -widget_background_css="background-image: url(:/images/backgrounds/bg_blue_night.png);" -widget_settingsIcon_css="border-image: url(:/icons/settings_night.png) 0 0 0 0 stretch stretch;" - -[StatusBarWidget] -label_1_css="color: rgb(177, 177, 177); background-image: url(:/images/transparency.png);" -label_1_icon_css="background-image: url(:/images/transparency.png);" -label_2_css="color: rgb(177, 177, 177); background-image: url(:/images/transparency.png);" -label_2_icon_css="background-image: url(:/images/transparency.png);" -label_3_css="color: rgb(177, 177, 177); background-image: url(:/images/transparency.png);" -label_3_icon_css="background-image: url(:/images/transparency.png);" -label_4_css="color: rgb(177, 177, 177); background-image: url(:/images/transparency.png);" -label_4_icon_css="background-image: url(:/images/transparency.png);" -label_5_css="color: rgb(177, 177, 177); background-image: url(:/images/transparency.png);" -label_5_icon_css="background-image: url(:/images/transparency.png);" -widget_background_css=background-image: url(:/images/backgrounds/bg_stripes_night.png) diff --git a/HomeScreen/resources/colorschemes/demo2/0/0.ini b/HomeScreen/resources/colorschemes/demo2/0/0.ini deleted file mode 100644 index 967ea37..0000000 --- a/HomeScreen/resources/colorschemes/demo2/0/0.ini +++ /dev/null @@ -1,40 +0,0 @@ -[ControlBarWidget] -pushButton_homeIcon_icon=:/icons/home_day.png -pushButton_homeIcon_css="background-image: url(:/images/transparency.png);border-image: url(:/images/transparency.png);" -pushButton_settingsIcon_icon=:/icons/settings_day.png -pushButton_settingsIcon_css="background-image: url(:/images/transparency.png);border-image: url(:/images/transparency.png);" -pushButton_navIcon_icon=:/icons/explore_day.png -pushButton_navIcon_css="background-image: url(:/images/transparency.png);border-image: url(:/images/transparency.png);" -widget_background_css=background-image: url(:/images/backgrounds/bg_green_day.png) - -[MainWindow] -widget_background_css="background-image: url(:/images/backgrounds/bg_blue_day.png);" -widget_homeIcon_css="border-image: url(:/icons/home_day.png) 0 0 0 0 stretch stretch;" - -[AppLauncherWidget] -common_css="QTableWidget {background-color: transparent;} QTableCornerButton::section {background-color: transparent;}" -widget_Background="background-image: url(:/images/backgrounds/bg_blue_day.png);" -widget_Home_Icon="border-image: url(:/icons/home_day.png) 0 0 0 0 stretch stretch;" - -[PopupWidget] -label_text_css="background-color: rgba(109, 109, 109, 0); background-image: url(:/images/transparency.png); border-image: url(:/images/transparency.png);" -widget_popup_css="QWidget { border: 1px solid #D3D3D3; border-radius: 8px; background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(242, 242, 249, 255), stop:1 rgba(255, 255, 255, 255)); color: #333; padding: 0px; } QWidget:on { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #D5D5D5, stop: 1 #EEEEEE); }" - -[SettingsWidget] -comboBox_language_css="QComboBox { border: 1px solid #D3D3D3; border-radius: 8px; background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(242, 242, 249, 255), stop:1 rgba(255, 255, 255, 255)); color: #333; padding: 0px; } QComboBox:on { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #D5D5D5, stop: 1 #EEEEEE); } QComboBox::drop-down { border: 0px solid; border-radius: 0px; } QComboBox::down-arrow:on { }" -comboBox_colorScheme_css="QComboBox { border: 1px solid #D3D3D3; border-radius: 8px; background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(242, 242, 249, 255), stop:1 rgba(255, 255, 255, 255)); color: #333; padding: 0px; } QComboBox:on { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #D5D5D5, stop: 1 #EEEEEE); } QComboBox::drop-down { border: 0px solid; border-radius: 0px; } QComboBox::down-arrow:on { }" -widget_background_css="background-image: url(:/images/backgrounds/bg_blue_day.png);" -widget_settingsIcon_css="border-image: url(:/icons/settings_day.png) 0 0 0 0 stretch stretch;" - -[StatusBarWidget] -label_1_css="color: rgb(238, 238, 238); background-image: url(:/images/transparency.png);" -label_1_icon_css="background-image: url(:/images/transparency.png);" -label_2_css="color: rgb(238, 238, 238); background-image: url(:/images/transparency.png);" -label_2_icon_css="background-image: url(:/images/transparency.png);" -label_3_css="color: rgb(238, 238, 238); background-image: url(:/images/transparency.png);" -label_3_icon_css="background-image: url(:/images/transparency.png);" -label_4_css="color: rgb(238, 238, 238); background-image: url(:/images/transparency.png);" -label_4_icon_css="background-image: url(:/images/transparency.png);" -label_5_css="color: rgb(238, 238, 238); background-image: url(:/images/transparency.png);" -label_5_icon_css="background-image: url(:/images/transparency.png);" -widget_background_css=background-image: url(:/images/backgrounds/bg_stripes_day.png) diff --git a/HomeScreen/resources/colorschemes/demo2/0/1.ini b/HomeScreen/resources/colorschemes/demo2/0/1.ini deleted file mode 100644 index 6fd2532..0000000 --- a/HomeScreen/resources/colorschemes/demo2/0/1.ini +++ /dev/null @@ -1,40 +0,0 @@ -[ControlBarWidget] -pushButton_homeIcon_icon=:/icons/home_night.png -pushButton_homeIcon_css="background-image: url(:/images/transparency.png);border-image: url(:/images/transparency.png);" -pushButton_settingsIcon_icon=:/icons/settings_night.png -pushButton_settingsIcon_css="background-image: url(:/images/transparency.png);border-image: url(:/images/transparency.png);" -pushButton_navIcon_icon=:/icons/explore_night.png -pushButton_navIcon_css="background-image: url(:/images/transparency.png);border-image: url(:/images/transparency.png);" -widget_background_css=background-image: url(:/images/backgrounds/bg_green_night.png) - -[MainWindow] -widget_background_css="background-image: url(:/images/backgrounds/bg_blue_night.png);" -widget_homeIcon_css="border-image: url(:/icons/home_night.png) 0 0 0 0 stretch stretch;" - -[AppLauncherWidget] -common_css="QTableWidget {background-color: transparent;} QTableCornerButton::section {background-color: transparent;}" -widget_Background="background-image: url(:/images/backgrounds/bg_blue_night.png);" -widget_Home_Icon="border-image: url(:/icons/home_night.png) 0 0 0 0 stretch stretch;" - -[PopupWidget] -label_text_css="background-color: rgba(109, 109, 109, 0); background-image: url(:/images/transparency.png); border-image: url(:/images/transparency.png);" -widget_popup_css="QWidget { border: 1px solid #D3D3D3; border-radius: 8px; background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(147, 147, 151, 255), stop:1 rgba(255, 255, 255, 255)); color: #333; padding: 0px; } QWidget:on { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #D5D5D5, stop: 1 #EEEEEE); }" - -[SettingsWidget] -comboBox_language_css="QComboBox { border: 1px solid #D3D3D3; border-radius: 8px; background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(147, 147, 151, 255), stop:1 rgba(255, 255, 255, 255)); color: #333; padding: 0px; } QComboBox:on { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #D5D5D5, stop: 1 #EEEEEE); } QComboBox::drop-down { border: 0px solid; border-radius: 0px; } QComboBox::down-arrow:on { }" -comboBox_colorScheme_css="QComboBox { border: 1px solid #D3D3D3; border-radius: 8px; background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(147, 147, 151, 255), stop:1 rgba(255, 255, 255, 255)); color: #333; padding: 0px; } QComboBox:on { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #D5D5D5, stop: 1 #EEEEEE); } QComboBox::drop-down { border: 0px solid; border-radius: 0px; } QComboBox::down-arrow:on { }" -widget_background_css="background-image: url(:/images/backgrounds/bg_blue_night.png);" -widget_settingsIcon_css="border-image: url(:/icons/settings_night.png) 0 0 0 0 stretch stretch;" - -[StatusBarWidget] -label_1_css="color: rgb(177, 177, 177); background-image: url(:/images/transparency.png);" -label_1_icon_css="background-image: url(:/images/transparency.png);" -label_2_css="color: rgb(177, 177, 177); background-image: url(:/images/transparency.png);" -label_2_icon_css="background-image: url(:/images/transparency.png);" -label_3_css="color: rgb(177, 177, 177); background-image: url(:/images/transparency.png);" -label_3_icon_css="background-image: url(:/images/transparency.png);" -label_4_css="color: rgb(177, 177, 177); background-image: url(:/images/transparency.png);" -label_4_icon_css="background-image: url(:/images/transparency.png);" -label_5_css="color: rgb(177, 177, 177); background-image: url(:/images/transparency.png);" -label_5_icon_css="background-image: url(:/images/transparency.png);" -widget_background_css=background-image: url(:/images/backgrounds/bg_stripes_night.png) diff --git a/HomeScreen/resources/colorschemes/demo2/1/0.ini b/HomeScreen/resources/colorschemes/demo2/1/0.ini deleted file mode 100644 index 8894e1f..0000000 --- a/HomeScreen/resources/colorschemes/demo2/1/0.ini +++ /dev/null @@ -1,40 +0,0 @@ -[ControlBarWidget] -pushButton_homeIcon_icon=:/icons/home_day.png -pushButton_homeIcon_css="background-image: url(:/images/transparency.png);" -pushButton_settingsIcon_icon=:/icons/settings_day.png -pushButton_settingsIcon_css="background-image: url(:/images/transparency.png);" -pushButton_navIcon_icon=:/icons/explore_day.png -pushButton_navIcon_css="background-image: url(:/images/transparency.png);" -widget_background_css=background-image: url(:/images/backgrounds/bg_green_day.png) - -[MainWindow] -widget_background_css="background-image: url(:/images/backgrounds/bg_blue_day.png);" -widget_homeIcon_css="border-image: url(:/icons/home_day.png) 0 0 0 0 stretch stretch;" - -[AppLauncherWidget] -common_css="QTableWidget {background-color: transparent;} QTableCornerButton::section {background-color: transparent;}" -widget_Background="background-image: url(:/images/backgrounds/bg_blue_day.png);" -widget_Home_Icon="border-image: url(:/icons/home_day.png) 0 0 0 0 stretch stretch;" - -[PopupWidget] -label_text_css="background-color: rgba(109, 109, 109, 0); background-image: url(:/images/transparency.png); border-image: url(:/images/transparency.png);" -widget_popup_css="QWidget { border: 1px solid #D3D3D3; border-radius: 8px; background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(242, 242, 249, 255), stop:1 rgba(255, 255, 255, 255)); color: #333; padding: 0px; } QWidget:on { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #D5D5D5, stop: 1 #EEEEEE); }" - -[SettingsWidget] -comboBox_language_css="QComboBox { border: 1px solid #D3D3D3; border-radius: 8px; background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(242, 242, 249, 255), stop:1 rgba(255, 255, 255, 255)); color: #333; padding: 0px; } QComboBox:on { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #D5D5D5, stop: 1 #EEEEEE); } QComboBox::drop-down { border: 0px solid; border-radius: 0px; } QComboBox::down-arrow:on { }" -comboBox_colorScheme_css="QComboBox { border: 1px solid #D3D3D3; border-radius: 8px; background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(242, 242, 249, 255), stop:1 rgba(255, 255, 255, 255)); color: #333; padding: 0px; } QComboBox:on { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #D5D5D5, stop: 1 #EEEEEE); } QComboBox::drop-down { border: 0px solid; border-radius: 0px; } QComboBox::down-arrow:on { }" -widget_background_css="background-image: url(:/images/backgrounds/bg_blue_day.png);" -widget_settingsIcon_css="border-image: url(:/icons/settings_day.png) 0 0 0 0 stretch stretch;" - -[StatusBarWidget] -label_1_css="color: rgb(238, 238, 238); background-image: url(:/images/transparency.png);" -label_1_icon_css="background-image: url(:/images/transparency.png);" -label_2_css="color: rgb(238, 238, 238); background-image: url(:/images/transparency.png);" -label_2_icon_css="background-image: url(:/images/transparency.png);" -label_3_css="color: rgb(238, 238, 238); background-image: url(:/images/transparency.png);" -label_3_icon_css="background-image: url(:/images/transparency.png);" -label_4_css="color: rgb(238, 238, 238); background-image: url(:/images/transparency.png);" -label_4_icon_css="background-image: url(:/images/transparency.png);" -label_5_css="color: rgb(238, 238, 238); background-image: url(:/images/transparency.png);" -label_5_icon_css="background-image: url(:/images/transparency.png);" -widget_background_css=background-image: url(:/images/backgrounds/bg_stripes_day.png) diff --git a/HomeScreen/resources/colorschemes/demo2/1/1.ini b/HomeScreen/resources/colorschemes/demo2/1/1.ini deleted file mode 100644 index 0117e84..0000000 --- a/HomeScreen/resources/colorschemes/demo2/1/1.ini +++ /dev/null @@ -1,40 +0,0 @@ -[ControlBarWidget] -pushButton_homeIcon_icon=:/icons/home_night.png -pushButton_homeIcon_css="background-image: url(:/images/transparency.png);" -pushButton_settingsIcon_icon=:/icons/settings_night.png -pushButton_settingsIcon_css="background-image: url(:/images/transparency.png);" -pushButton_navIcon_icon=:/icons/explore_night.png -pushButton_navIcon_css="background-image: url(:/images/transparency.png);" -widget_background_css=background-image: url(:/images/backgrounds/bg_green_night.png) - -[MainWindow] -widget_background_css="background-image: url(:/images/backgrounds/bg_blue_night.png);" -widget_homeIcon_css="border-image: url(:/icons/home_night.png) 0 0 0 0 stretch stretch;" - -[AppLauncherWidget] -common_css="QTableWidget {background-color: transparent;} QTableCornerButton::section {background-color: transparent;}" -widget_Background="background-image: url(:/images/backgrounds/bg_blue_night.png);" -widget_Home_Icon="border-image: url(:/icons/home_night.png) 0 0 0 0 stretch stretch;" - -[PopupWidget] -label_text_css="background-color: rgba(109, 109, 109, 0); background-image: url(:/images/transparency.png); border-image: url(:/images/transparency.png);" -widget_popup_css="QWidget { border: 1px solid #D3D3D3; border-radius: 8px; background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(147, 147, 151, 255), stop:1 rgba(255, 255, 255, 255)); color: #333; padding: 0px; } QWidget:on { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #D5D5D5, stop: 1 #EEEEEE); }" - -[SettingsWidget] -comboBox_language_css="QComboBox { border: 1px solid #D3D3D3; border-radius: 8px; background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(147, 147, 151, 255), stop:1 rgba(255, 255, 255, 255)); color: #333; padding: 0px; } QComboBox:on { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #D5D5D5, stop: 1 #EEEEEE); } QComboBox::drop-down { border: 0px solid; border-radius: 0px; } QComboBox::down-arrow:on { }" -comboBox_colorScheme_css="QComboBox { border: 1px solid #D3D3D3; border-radius: 8px; background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(147, 147, 151, 255), stop:1 rgba(255, 255, 255, 255)); color: #333; padding: 0px; } QComboBox:on { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #D5D5D5, stop: 1 #EEEEEE); } QComboBox::drop-down { border: 0px solid; border-radius: 0px; } QComboBox::down-arrow:on { }" -widget_background_css="background-image: url(:/images/backgrounds/bg_blue_night.png);" -widget_settingsIcon_css="border-image: url(:/icons/settings_night.png) 0 0 0 0 stretch stretch;" - -[StatusBarWidget] -label_1_css="color: rgb(177, 177, 177); background-image: url(:/images/transparency.png);" -label_1_icon_css="background-image: url(:/images/transparency.png);" -label_2_css="color: rgb(177, 177, 177); background-image: url(:/images/transparency.png);" -label_2_icon_css="background-image: url(:/images/transparency.png);" -label_3_css="color: rgb(177, 177, 177); background-image: url(:/images/transparency.png);" -label_3_icon_css="background-image: url(:/images/transparency.png);" -label_4_css="color: rgb(177, 177, 177); background-image: url(:/images/transparency.png);" -label_4_icon_css="background-image: url(:/images/transparency.png);" -label_5_css="color: rgb(177, 177, 177); background-image: url(:/images/transparency.png);" -label_5_icon_css="background-image: url(:/images/transparency.png);" -widget_background_css=background-image: url(:/images/backgrounds/bg_stripes_night.png) diff --git a/HomeScreen/resources/controlbarwidget.ui b/HomeScreen/resources/controlbarwidget.ui deleted file mode 100644 index 07f9f01..0000000 --- a/HomeScreen/resources/controlbarwidget.ui +++ /dev/null @@ -1,171 +0,0 @@ - - - ControlBarWidget - - - - 0 - 0 - 1080 - 60 - - - - Form - - - - - 0 - 0 - 1080 - 60 - - - - - - 10 - 10 - 40 - 40 - - - - Qt::NoFocus - - - background-image: url(:/images/transparency.png); -border-image: url(:/images/transparency.png); - - - - - - - :/icons/home_day.png:/icons/home_day.png - - - - 40 - 40 - - - - - - - 60 - 10 - 40 - 40 - - - - Qt::NoFocus - - - background-image: url(:/images/transparency.png); -border-image: url(:/images/transparency.png); - - - - - - - :/icons/settings_day.png:/icons/settings_day.png - - - - 40 - 40 - - - - - - - 160 - 10 - 40 - 40 - - - - Qt::NoFocus - - - background-image: url(:/images/transparency.png); -border-image: url(:/images/transparency.png); - - - - - - - :/icons/explore_day.png:/icons/explore_day.png - - - - 40 - 40 - - - - - - - 110 - 10 - 40 - 40 - - - - Qt::NoFocus - - - background-image: url(:/images/transparency.png); -border-image: url(:/images/transparency.png); - - - - - - - - - 210 - 10 - 40 - 40 - - - - Qt::NoFocus - - - background-image: url(:/images/transparency.png); -border-image: url(:/images/transparency.png); - - - - - - - :/icons/media_day.png:/icons/media_day.png - - - - 40 - 40 - - - - - - - - - - diff --git a/HomeScreen/resources/homescreen.qrc b/HomeScreen/resources/homescreen.qrc deleted file mode 100644 index ae302d0..0000000 --- a/HomeScreen/resources/homescreen.qrc +++ /dev/null @@ -1,22 +0,0 @@ - - - images/transparency.png - images/backgrounds/bg_stripes_day.png - images/backgrounds/bg_stripes_night.png - images/backgrounds/bg_blue_day.png - images/backgrounds/bg_blue_night.png - images/backgrounds/bg_green_day.png - images/backgrounds/bg_green_night.png - images/icons/White/01.Home.png - images/icons/Black/01.Home.png - images/icons/White/45.Settings.png - images/icons/Black/45.Settings.png - images/icons/White/47.Explore.png - images/icons/Black/47.Explore.png - images/icons/White/21.Music.png - images/icons/Black/21.Music.png - translations/homescreen_de_DE.qm - translations/homescreen_en_US.qm - translations/homescreen_ja_JP.qm - - diff --git a/HomeScreen/resources/images/backgrounds/bg_blue_day.png b/HomeScreen/resources/images/backgrounds/bg_blue_day.png deleted file mode 100755 index 1cbe79a..0000000 Binary files a/HomeScreen/resources/images/backgrounds/bg_blue_day.png and /dev/null differ diff --git a/HomeScreen/resources/images/backgrounds/bg_blue_night.png b/HomeScreen/resources/images/backgrounds/bg_blue_night.png deleted file mode 100755 index bd3f1e9..0000000 Binary files a/HomeScreen/resources/images/backgrounds/bg_blue_night.png and /dev/null differ diff --git a/HomeScreen/resources/images/backgrounds/bg_green_day.png b/HomeScreen/resources/images/backgrounds/bg_green_day.png deleted file mode 100755 index 9549399..0000000 Binary files a/HomeScreen/resources/images/backgrounds/bg_green_day.png and /dev/null differ diff --git a/HomeScreen/resources/images/backgrounds/bg_green_night.png b/HomeScreen/resources/images/backgrounds/bg_green_night.png deleted file mode 100755 index 0377283..0000000 Binary files a/HomeScreen/resources/images/backgrounds/bg_green_night.png and /dev/null differ diff --git a/HomeScreen/resources/images/backgrounds/bg_stripes_day.png b/HomeScreen/resources/images/backgrounds/bg_stripes_day.png deleted file mode 100755 index e2fdadd..0000000 Binary files a/HomeScreen/resources/images/backgrounds/bg_stripes_day.png and /dev/null differ diff --git a/HomeScreen/resources/images/backgrounds/bg_stripes_night.png b/HomeScreen/resources/images/backgrounds/bg_stripes_night.png deleted file mode 100755 index 3c08bd2..0000000 Binary files a/HomeScreen/resources/images/backgrounds/bg_stripes_night.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/Black/01.Home.png b/HomeScreen/resources/images/icons/Black/01.Home.png deleted file mode 100644 index 08323c8..0000000 Binary files a/HomeScreen/resources/images/icons/Black/01.Home.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/Black/02.Shop.png b/HomeScreen/resources/images/icons/Black/02.Shop.png deleted file mode 100644 index c50ae45..0000000 Binary files a/HomeScreen/resources/images/icons/Black/02.Shop.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/Black/03.Office.png b/HomeScreen/resources/images/icons/Black/03.Office.png deleted file mode 100644 index 6e74c74..0000000 Binary files a/HomeScreen/resources/images/icons/Black/03.Office.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/Black/04.Bank.png b/HomeScreen/resources/images/icons/Black/04.Bank.png deleted file mode 100644 index 07a724d..0000000 Binary files a/HomeScreen/resources/images/icons/Black/04.Bank.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/Black/05.Tag.png b/HomeScreen/resources/images/icons/Black/05.Tag.png deleted file mode 100644 index 5d09027..0000000 Binary files a/HomeScreen/resources/images/icons/Black/05.Tag.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/Black/06.Tags.png b/HomeScreen/resources/images/icons/Black/06.Tags.png deleted file mode 100644 index 6d85dde..0000000 Binary files a/HomeScreen/resources/images/icons/Black/06.Tags.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/Black/07.Wallet.png b/HomeScreen/resources/images/icons/Black/07.Wallet.png deleted file mode 100644 index 7c3be7f..0000000 Binary files a/HomeScreen/resources/images/icons/Black/07.Wallet.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/Black/08.Credit-Card.png b/HomeScreen/resources/images/icons/Black/08.Credit-Card.png deleted file mode 100644 index 690fb65..0000000 Binary files a/HomeScreen/resources/images/icons/Black/08.Credit-Card.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/Black/09.Handbag.png b/HomeScreen/resources/images/icons/Black/09.Handbag.png deleted file mode 100644 index d12348d..0000000 Binary files a/HomeScreen/resources/images/icons/Black/09.Handbag.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/Black/10.Folder.png b/HomeScreen/resources/images/icons/Black/10.Folder.png deleted file mode 100644 index eeb9a05..0000000 Binary files a/HomeScreen/resources/images/icons/Black/10.Folder.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/Black/11.Notebook.png b/HomeScreen/resources/images/icons/Black/11.Notebook.png deleted file mode 100644 index eb8bd67..0000000 Binary files a/HomeScreen/resources/images/icons/Black/11.Notebook.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/Black/12.File.png b/HomeScreen/resources/images/icons/Black/12.File.png deleted file mode 100644 index 6e2bd02..0000000 Binary files a/HomeScreen/resources/images/icons/Black/12.File.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/Black/13.Clipboard.png b/HomeScreen/resources/images/icons/Black/13.Clipboard.png deleted file mode 100644 index d1c6816..0000000 Binary files a/HomeScreen/resources/images/icons/Black/13.Clipboard.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/Black/14.News.png b/HomeScreen/resources/images/icons/Black/14.News.png deleted file mode 100644 index f5689c8..0000000 Binary files a/HomeScreen/resources/images/icons/Black/14.News.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/Black/15.Pencil.png b/HomeScreen/resources/images/icons/Black/15.Pencil.png deleted file mode 100644 index d9cbca9..0000000 Binary files a/HomeScreen/resources/images/icons/Black/15.Pencil.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/Black/16.Pen.png b/HomeScreen/resources/images/icons/Black/16.Pen.png deleted file mode 100644 index ce6e2e2..0000000 Binary files a/HomeScreen/resources/images/icons/Black/16.Pen.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/Black/17.Brush.png b/HomeScreen/resources/images/icons/Black/17.Brush.png deleted file mode 100644 index ca9b131..0000000 Binary files a/HomeScreen/resources/images/icons/Black/17.Brush.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/Black/18.Pictures-Day.png b/HomeScreen/resources/images/icons/Black/18.Pictures-Day.png deleted file mode 100644 index 75cee68..0000000 Binary files a/HomeScreen/resources/images/icons/Black/18.Pictures-Day.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/Black/19.Pictures-Night.png b/HomeScreen/resources/images/icons/Black/19.Pictures-Night.png deleted file mode 100644 index 532e5b3..0000000 Binary files a/HomeScreen/resources/images/icons/Black/19.Pictures-Night.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/Black/20.Photos.png b/HomeScreen/resources/images/icons/Black/20.Photos.png deleted file mode 100644 index c9f5fce..0000000 Binary files a/HomeScreen/resources/images/icons/Black/20.Photos.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/Black/21.Music.png b/HomeScreen/resources/images/icons/Black/21.Music.png deleted file mode 100644 index 4cab482..0000000 Binary files a/HomeScreen/resources/images/icons/Black/21.Music.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/Black/22.Music-Playlist.png b/HomeScreen/resources/images/icons/Black/22.Music-Playlist.png deleted file mode 100644 index 9b7a05d..0000000 Binary files a/HomeScreen/resources/images/icons/Black/22.Music-Playlist.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/Black/23.Videos.png b/HomeScreen/resources/images/icons/Black/23.Videos.png deleted file mode 100644 index 04b6575..0000000 Binary files a/HomeScreen/resources/images/icons/Black/23.Videos.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/Black/24.TV.png b/HomeScreen/resources/images/icons/Black/24.TV.png deleted file mode 100644 index 188bf42..0000000 Binary files a/HomeScreen/resources/images/icons/Black/24.TV.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/Black/25.Camera-Front.png b/HomeScreen/resources/images/icons/Black/25.Camera-Front.png deleted file mode 100644 index 0b32a56..0000000 Binary files a/HomeScreen/resources/images/icons/Black/25.Camera-Front.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/Black/26.Camera-Back.png b/HomeScreen/resources/images/icons/Black/26.Camera-Back.png deleted file mode 100644 index b6e6935..0000000 Binary files a/HomeScreen/resources/images/icons/Black/26.Camera-Back.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/Black/27.Phone.png b/HomeScreen/resources/images/icons/Black/27.Phone.png deleted file mode 100644 index afd67de..0000000 Binary files a/HomeScreen/resources/images/icons/Black/27.Phone.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/Black/28.Tablet.png b/HomeScreen/resources/images/icons/Black/28.Tablet.png deleted file mode 100644 index 6806fba..0000000 Binary files a/HomeScreen/resources/images/icons/Black/28.Tablet.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/Black/29.Mac.png b/HomeScreen/resources/images/icons/Black/29.Mac.png deleted file mode 100644 index 35125f1..0000000 Binary files a/HomeScreen/resources/images/icons/Black/29.Mac.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/Black/30.User.png b/HomeScreen/resources/images/icons/Black/30.User.png deleted file mode 100644 index ca34e59..0000000 Binary files a/HomeScreen/resources/images/icons/Black/30.User.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/Black/31.ID-Horizontal.png b/HomeScreen/resources/images/icons/Black/31.ID-Horizontal.png deleted file mode 100644 index ac20dc8..0000000 Binary files a/HomeScreen/resources/images/icons/Black/31.ID-Horizontal.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/Black/32.ID-Vertical.png b/HomeScreen/resources/images/icons/Black/32.ID-Vertical.png deleted file mode 100644 index 88c9787..0000000 Binary files a/HomeScreen/resources/images/icons/Black/32.ID-Vertical.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/Black/33.Thumbs-Up.png b/HomeScreen/resources/images/icons/Black/33.Thumbs-Up.png deleted file mode 100644 index 06e5c0d..0000000 Binary files a/HomeScreen/resources/images/icons/Black/33.Thumbs-Up.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/Black/34.Thumbs-Down.png b/HomeScreen/resources/images/icons/Black/34.Thumbs-Down.png deleted file mode 100644 index c37a621..0000000 Binary files a/HomeScreen/resources/images/icons/Black/34.Thumbs-Down.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/Black/35.Alarm-Clock.png b/HomeScreen/resources/images/icons/Black/35.Alarm-Clock.png deleted file mode 100644 index 12de647..0000000 Binary files a/HomeScreen/resources/images/icons/Black/35.Alarm-Clock.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/Black/36.Watch.png b/HomeScreen/resources/images/icons/Black/36.Watch.png deleted file mode 100644 index dec17c4..0000000 Binary files a/HomeScreen/resources/images/icons/Black/36.Watch.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/Black/37.Stopwatch.png b/HomeScreen/resources/images/icons/Black/37.Stopwatch.png deleted file mode 100644 index 0671df9..0000000 Binary files a/HomeScreen/resources/images/icons/Black/37.Stopwatch.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/Black/38.Location-Pin.png b/HomeScreen/resources/images/icons/Black/38.Location-Pin.png deleted file mode 100644 index d8ea41f..0000000 Binary files a/HomeScreen/resources/images/icons/Black/38.Location-Pin.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/Black/39.Heart.png b/HomeScreen/resources/images/icons/Black/39.Heart.png deleted file mode 100644 index f25ac7e..0000000 Binary files a/HomeScreen/resources/images/icons/Black/39.Heart.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/Black/40.Cloud.png b/HomeScreen/resources/images/icons/Black/40.Cloud.png deleted file mode 100644 index 5772739..0000000 Binary files a/HomeScreen/resources/images/icons/Black/40.Cloud.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/Black/41.Trophy.png b/HomeScreen/resources/images/icons/Black/41.Trophy.png deleted file mode 100644 index c78fb34..0000000 Binary files a/HomeScreen/resources/images/icons/Black/41.Trophy.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/Black/42.Badge.png b/HomeScreen/resources/images/icons/Black/42.Badge.png deleted file mode 100644 index dfbc6ed..0000000 Binary files a/HomeScreen/resources/images/icons/Black/42.Badge.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/Black/43.Bell.png b/HomeScreen/resources/images/icons/Black/43.Bell.png deleted file mode 100644 index 1ddcb40..0000000 Binary files a/HomeScreen/resources/images/icons/Black/43.Bell.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/Black/44.Share.png b/HomeScreen/resources/images/icons/Black/44.Share.png deleted file mode 100644 index 08b710f..0000000 Binary files a/HomeScreen/resources/images/icons/Black/44.Share.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/Black/45.Settings.png b/HomeScreen/resources/images/icons/Black/45.Settings.png deleted file mode 100644 index 2487c4f..0000000 Binary files a/HomeScreen/resources/images/icons/Black/45.Settings.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/Black/46.Calender.png b/HomeScreen/resources/images/icons/Black/46.Calender.png deleted file mode 100644 index 255cd76..0000000 Binary files a/HomeScreen/resources/images/icons/Black/46.Calender.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/Black/47.Explore.png b/HomeScreen/resources/images/icons/Black/47.Explore.png deleted file mode 100644 index 202f710..0000000 Binary files a/HomeScreen/resources/images/icons/Black/47.Explore.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/Black/48.Dashboard.png b/HomeScreen/resources/images/icons/Black/48.Dashboard.png deleted file mode 100644 index 3deb0a0..0000000 Binary files a/HomeScreen/resources/images/icons/Black/48.Dashboard.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/White/01.Home.png b/HomeScreen/resources/images/icons/White/01.Home.png deleted file mode 100644 index 0aca105..0000000 Binary files a/HomeScreen/resources/images/icons/White/01.Home.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/White/02.Shop.png b/HomeScreen/resources/images/icons/White/02.Shop.png deleted file mode 100644 index 21a33e3..0000000 Binary files a/HomeScreen/resources/images/icons/White/02.Shop.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/White/03.Office.png b/HomeScreen/resources/images/icons/White/03.Office.png deleted file mode 100644 index 105b516..0000000 Binary files a/HomeScreen/resources/images/icons/White/03.Office.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/White/04.Bank.png b/HomeScreen/resources/images/icons/White/04.Bank.png deleted file mode 100644 index 22d1bce..0000000 Binary files a/HomeScreen/resources/images/icons/White/04.Bank.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/White/05.Tag.png b/HomeScreen/resources/images/icons/White/05.Tag.png deleted file mode 100644 index a5d7e10..0000000 Binary files a/HomeScreen/resources/images/icons/White/05.Tag.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/White/06.Tags.png b/HomeScreen/resources/images/icons/White/06.Tags.png deleted file mode 100644 index d2dc4ff..0000000 Binary files a/HomeScreen/resources/images/icons/White/06.Tags.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/White/07.Wallet.png b/HomeScreen/resources/images/icons/White/07.Wallet.png deleted file mode 100644 index b713ae0..0000000 Binary files a/HomeScreen/resources/images/icons/White/07.Wallet.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/White/08.Credit-Card.png b/HomeScreen/resources/images/icons/White/08.Credit-Card.png deleted file mode 100644 index bb1499f..0000000 Binary files a/HomeScreen/resources/images/icons/White/08.Credit-Card.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/White/09.Handbag.png b/HomeScreen/resources/images/icons/White/09.Handbag.png deleted file mode 100644 index 4ff1b39..0000000 Binary files a/HomeScreen/resources/images/icons/White/09.Handbag.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/White/10.Folder.png b/HomeScreen/resources/images/icons/White/10.Folder.png deleted file mode 100644 index aa238d5..0000000 Binary files a/HomeScreen/resources/images/icons/White/10.Folder.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/White/11.Notebook.png b/HomeScreen/resources/images/icons/White/11.Notebook.png deleted file mode 100644 index f306b7f..0000000 Binary files a/HomeScreen/resources/images/icons/White/11.Notebook.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/White/12.File.png b/HomeScreen/resources/images/icons/White/12.File.png deleted file mode 100644 index 711af78..0000000 Binary files a/HomeScreen/resources/images/icons/White/12.File.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/White/13.Clipboard.png b/HomeScreen/resources/images/icons/White/13.Clipboard.png deleted file mode 100644 index 83c6af5..0000000 Binary files a/HomeScreen/resources/images/icons/White/13.Clipboard.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/White/14.News.png b/HomeScreen/resources/images/icons/White/14.News.png deleted file mode 100644 index 0e884c2..0000000 Binary files a/HomeScreen/resources/images/icons/White/14.News.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/White/15.Pencil.png b/HomeScreen/resources/images/icons/White/15.Pencil.png deleted file mode 100644 index b260f5b..0000000 Binary files a/HomeScreen/resources/images/icons/White/15.Pencil.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/White/16.Pen.png b/HomeScreen/resources/images/icons/White/16.Pen.png deleted file mode 100644 index 0447477..0000000 Binary files a/HomeScreen/resources/images/icons/White/16.Pen.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/White/17.Brush.png b/HomeScreen/resources/images/icons/White/17.Brush.png deleted file mode 100644 index 222c1c2..0000000 Binary files a/HomeScreen/resources/images/icons/White/17.Brush.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/White/18.Pictures-Day.png b/HomeScreen/resources/images/icons/White/18.Pictures-Day.png deleted file mode 100644 index fabf402..0000000 Binary files a/HomeScreen/resources/images/icons/White/18.Pictures-Day.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/White/19.Pictures-Night.png b/HomeScreen/resources/images/icons/White/19.Pictures-Night.png deleted file mode 100644 index 32850a8..0000000 Binary files a/HomeScreen/resources/images/icons/White/19.Pictures-Night.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/White/20.Photos.png b/HomeScreen/resources/images/icons/White/20.Photos.png deleted file mode 100644 index 7799b55..0000000 Binary files a/HomeScreen/resources/images/icons/White/20.Photos.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/White/21.Music.png b/HomeScreen/resources/images/icons/White/21.Music.png deleted file mode 100644 index 7ddeead..0000000 Binary files a/HomeScreen/resources/images/icons/White/21.Music.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/White/22.Music-Playlist.png b/HomeScreen/resources/images/icons/White/22.Music-Playlist.png deleted file mode 100644 index 3bde110..0000000 Binary files a/HomeScreen/resources/images/icons/White/22.Music-Playlist.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/White/23.Videos.png b/HomeScreen/resources/images/icons/White/23.Videos.png deleted file mode 100644 index e508572..0000000 Binary files a/HomeScreen/resources/images/icons/White/23.Videos.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/White/24.TV.png b/HomeScreen/resources/images/icons/White/24.TV.png deleted file mode 100644 index 6677e66..0000000 Binary files a/HomeScreen/resources/images/icons/White/24.TV.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/White/25.Camera-Front.png b/HomeScreen/resources/images/icons/White/25.Camera-Front.png deleted file mode 100644 index 4df0878..0000000 Binary files a/HomeScreen/resources/images/icons/White/25.Camera-Front.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/White/26.Camera-Back.png b/HomeScreen/resources/images/icons/White/26.Camera-Back.png deleted file mode 100644 index dbf46d7..0000000 Binary files a/HomeScreen/resources/images/icons/White/26.Camera-Back.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/White/27.Phone.png b/HomeScreen/resources/images/icons/White/27.Phone.png deleted file mode 100644 index 8590412..0000000 Binary files a/HomeScreen/resources/images/icons/White/27.Phone.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/White/28.Tablet.png b/HomeScreen/resources/images/icons/White/28.Tablet.png deleted file mode 100644 index f29fb36..0000000 Binary files a/HomeScreen/resources/images/icons/White/28.Tablet.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/White/29.Mac.png b/HomeScreen/resources/images/icons/White/29.Mac.png deleted file mode 100644 index 1916a6e..0000000 Binary files a/HomeScreen/resources/images/icons/White/29.Mac.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/White/30.User.png b/HomeScreen/resources/images/icons/White/30.User.png deleted file mode 100644 index 9e4a17f..0000000 Binary files a/HomeScreen/resources/images/icons/White/30.User.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/White/31.ID-Horizontal.png b/HomeScreen/resources/images/icons/White/31.ID-Horizontal.png deleted file mode 100644 index 36b5593..0000000 Binary files a/HomeScreen/resources/images/icons/White/31.ID-Horizontal.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/White/32.ID-Vertical.png b/HomeScreen/resources/images/icons/White/32.ID-Vertical.png deleted file mode 100644 index 7a9dcea..0000000 Binary files a/HomeScreen/resources/images/icons/White/32.ID-Vertical.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/White/33.Thumbs-Up.png b/HomeScreen/resources/images/icons/White/33.Thumbs-Up.png deleted file mode 100644 index 8e7a559..0000000 Binary files a/HomeScreen/resources/images/icons/White/33.Thumbs-Up.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/White/34.Thumbs-Down.png b/HomeScreen/resources/images/icons/White/34.Thumbs-Down.png deleted file mode 100644 index a41d54a..0000000 Binary files a/HomeScreen/resources/images/icons/White/34.Thumbs-Down.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/White/35.Alarm-Clock.png b/HomeScreen/resources/images/icons/White/35.Alarm-Clock.png deleted file mode 100644 index 1459802..0000000 Binary files a/HomeScreen/resources/images/icons/White/35.Alarm-Clock.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/White/36.Watch.png b/HomeScreen/resources/images/icons/White/36.Watch.png deleted file mode 100644 index bf8bcfa..0000000 Binary files a/HomeScreen/resources/images/icons/White/36.Watch.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/White/37.Stopwatch.png b/HomeScreen/resources/images/icons/White/37.Stopwatch.png deleted file mode 100644 index b94c702..0000000 Binary files a/HomeScreen/resources/images/icons/White/37.Stopwatch.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/White/38.Location-Pin.png b/HomeScreen/resources/images/icons/White/38.Location-Pin.png deleted file mode 100644 index b9817a3..0000000 Binary files a/HomeScreen/resources/images/icons/White/38.Location-Pin.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/White/39.Heart.png b/HomeScreen/resources/images/icons/White/39.Heart.png deleted file mode 100644 index 512a9d5..0000000 Binary files a/HomeScreen/resources/images/icons/White/39.Heart.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/White/40.Cloud.png b/HomeScreen/resources/images/icons/White/40.Cloud.png deleted file mode 100644 index bcfecf0..0000000 Binary files a/HomeScreen/resources/images/icons/White/40.Cloud.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/White/41.Trophy.png b/HomeScreen/resources/images/icons/White/41.Trophy.png deleted file mode 100644 index 2f3fb3a..0000000 Binary files a/HomeScreen/resources/images/icons/White/41.Trophy.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/White/42.Badge.png b/HomeScreen/resources/images/icons/White/42.Badge.png deleted file mode 100644 index 2140235..0000000 Binary files a/HomeScreen/resources/images/icons/White/42.Badge.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/White/43.Bell.png b/HomeScreen/resources/images/icons/White/43.Bell.png deleted file mode 100644 index cad88a2..0000000 Binary files a/HomeScreen/resources/images/icons/White/43.Bell.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/White/44.Share.png b/HomeScreen/resources/images/icons/White/44.Share.png deleted file mode 100644 index 4b7bd14..0000000 Binary files a/HomeScreen/resources/images/icons/White/44.Share.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/White/45.Settings.png b/HomeScreen/resources/images/icons/White/45.Settings.png deleted file mode 100644 index 7a2b809..0000000 Binary files a/HomeScreen/resources/images/icons/White/45.Settings.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/White/46.Calender.png b/HomeScreen/resources/images/icons/White/46.Calender.png deleted file mode 100644 index 737bf0d..0000000 Binary files a/HomeScreen/resources/images/icons/White/46.Calender.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/White/47.Explore.png b/HomeScreen/resources/images/icons/White/47.Explore.png deleted file mode 100644 index 83ac058..0000000 Binary files a/HomeScreen/resources/images/icons/White/47.Explore.png and /dev/null differ diff --git a/HomeScreen/resources/images/icons/White/48.Dashboard.png b/HomeScreen/resources/images/icons/White/48.Dashboard.png deleted file mode 100644 index 3f9cef5..0000000 Binary files a/HomeScreen/resources/images/icons/White/48.Dashboard.png and /dev/null differ diff --git a/HomeScreen/resources/images/transparency.png b/HomeScreen/resources/images/transparency.png deleted file mode 100644 index 989d3c5..0000000 Binary files a/HomeScreen/resources/images/transparency.png and /dev/null differ diff --git a/HomeScreen/resources/mainwindow.ui b/HomeScreen/resources/mainwindow.ui deleted file mode 100644 index 473cc92..0000000 --- a/HomeScreen/resources/mainwindow.ui +++ /dev/null @@ -1,59 +0,0 @@ - - - MainWindow - - - - 0 - 0 - 1080 - 1920 - - - - Qt::NoFocus - - - - - - - - - - - - 0 - 60 - 1080 - 1800 - - - - Qt::NoFocus - - - background-image: url(:/images/backgrounds/bg_blue_day.png) - - - - - - -40 - 1640 - 200 - 200 - - - - border-image: url(:/icons/home_day.png) 0 0 0 0 stretch stretch; - - - - - - - - - - diff --git a/HomeScreen/resources/popupwidget.ui b/HomeScreen/resources/popupwidget.ui deleted file mode 100644 index d9c60ad..0000000 --- a/HomeScreen/resources/popupwidget.ui +++ /dev/null @@ -1,101 +0,0 @@ - - - PopupWidget - - - Qt::WindowModal - - - - 0 - 0 - 1080 - 1920 - - - - Form_Popup - - - - - 350 - 430 - 400 - 200 - - - - QWidget { -border: 1px solid #D3D3D3; -border-radius: 8px; -background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(242, 242, 249, 255), stop:1 rgba(255, 255, 255, 255)); -color: #333; -padding: 0px; -} -QWidget:on { -background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #D5D5D5, stop: 1 #EEEEEE); -} - - - - - - 150 - 130 - 100 - 50 - - - - - 16777211 - 16777215 - - - - Qt::NoFocus - - - OK - - - - - - 10 - 10 - 380 - 100 - - - - background-color: rgba(109, 109, 109, 0); -background-image: url(:/images/transparency.png); -border-image: url(:/images/transparency.png); - - - - - - Qt::AlignCenter - - - true - - - - - - 90 - 90 - 211 - 27 - - - - - - - - diff --git a/HomeScreen/resources/settingswidget.ui b/HomeScreen/resources/settingswidget.ui deleted file mode 100644 index 7dc8a75..0000000 --- a/HomeScreen/resources/settingswidget.ui +++ /dev/null @@ -1,157 +0,0 @@ - - - SettingsWidget - - - - 0 - 0 - 1080 - 1800 - - - - Form - - - - - 0 - 0 - 1080 - 1800 - - - - background-image: url(:/images/backgrounds/bg_blue_day.png); - - - - - - 660 - 20 - 400 - 60 - - - - - 22 - - - - Qt::NoFocus - - - QComboBox { -border: 1px solid #D3D3D3; -border-radius: 8px; -background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(242, 242, 249, 255), stop:1 rgba(255, 255, 255, 255)); -color: #333; -padding: 0px; -} -QComboBox:on { -background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #D5D5D5, stop: 1 #EEEEEE); -} -QComboBox::drop-down { -border: 0px solid; -border-radius: 0px; -} -QComboBox::down-arrow:on { -} - - - - - - - -40 - 1640 - 200 - 200 - - - - border-image: url(:/icons/settings_day.png) 0 0 0 0 stretch stretch; - - - - - - - 20 - 120 - 300 - 60 - - - - - 22 - - - - Color Scheme - - - - - - 20 - 20 - 300 - 60 - - - - - 22 - - - - Language - - - - - - 660 - 120 - 400 - 60 - - - - - 22 - - - - Qt::NoFocus - - - QComboBox { -border: 1px solid #D3D3D3; -border-radius: 8px; -background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(242, 242, 249, 255), stop:1 rgba(255, 255, 255, 255)); -color: #333; -padding: 0px; -} -QComboBox:on { -background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #D5D5D5, stop: 1 #EEEEEE); -} -QComboBox::drop-down { -border: 0px solid; -border-radius: 0px; -} -QComboBox::down-arrow:on { -} - - - - - - - - diff --git a/HomeScreen/resources/statusbarwidget.ui b/HomeScreen/resources/statusbarwidget.ui deleted file mode 100644 index 44fb7b2..0000000 --- a/HomeScreen/resources/statusbarwidget.ui +++ /dev/null @@ -1,194 +0,0 @@ - - - StatusBarWidget - - - - 0 - 0 - 1080 - 60 - - - - - - - - - 0 - 0 - 1080 - 60 - - - - - - 20 - 10 - 200 - 40 - - - - - 12 - 75 - true - - - - Qt::AlignCenter - - - - - - 230 - 10 - 200 - 40 - - - - - 12 - 75 - true - - - - Qt::AlignCenter - - - - - - 440 - 10 - 200 - 40 - - - - - 12 - 75 - true - - - - Qt::AlignCenter - - - - - - 650 - 10 - 200 - 40 - - - - - 12 - 75 - true - - - - Qt::AlignCenter - - - - - - 860 - 10 - 200 - 40 - - - - - 12 - 75 - true - - - - Qt::AlignCenter - - - - - - 20 - 10 - 40 - 40 - - - - - - - - - - 230 - 10 - 40 - 40 - - - - - - - - - - 440 - 10 - 40 - 40 - - - - - - - - - - 650 - 10 - 40 - 40 - - - - - - - - - - 860 - 10 - 40 - 40 - - - - - - - - - - - diff --git a/HomeScreen/resources/translations/homescreen_de_DE.qm b/HomeScreen/resources/translations/homescreen_de_DE.qm deleted file mode 100644 index 856fc20..0000000 Binary files a/HomeScreen/resources/translations/homescreen_de_DE.qm and /dev/null differ diff --git a/HomeScreen/resources/translations/homescreen_de_DE.ts b/HomeScreen/resources/translations/homescreen_de_DE.ts deleted file mode 100644 index 4c43d67..0000000 --- a/HomeScreen/resources/translations/homescreen_de_DE.ts +++ /dev/null @@ -1,57 +0,0 @@ - - - - - ControlBarWidget - - - Form - - - - - MainWindow - - Exit - Beenden - - - - PopupWidget - - - Form - - - - - OK - - - - - SettingsWidget - - - Form - - - - - Color Scheme - Farbschema - - - - Language - Sprache - - - - SystemSettingsSimulator - - Exit - Beenden - - - diff --git a/HomeScreen/resources/translations/homescreen_en_US.qm b/HomeScreen/resources/translations/homescreen_en_US.qm deleted file mode 100644 index 2556083..0000000 Binary files a/HomeScreen/resources/translations/homescreen_en_US.qm and /dev/null differ diff --git a/HomeScreen/resources/translations/homescreen_en_US.ts b/HomeScreen/resources/translations/homescreen_en_US.ts deleted file mode 100644 index a7cb09e..0000000 --- a/HomeScreen/resources/translations/homescreen_en_US.ts +++ /dev/null @@ -1,57 +0,0 @@ - - - - - ControlBarWidget - - - Form - - - - - MainWindow - - Exit - Exit - - - - PopupWidget - - - Form - - - - - OK - - - - - SettingsWidget - - - Form - - - - - Color Scheme - Color Scheme - - - - Language - Language - - - - SystemSettingsSimulator - - Exit - Exit - - - diff --git a/HomeScreen/resources/translations/homescreen_ja_JP.qm b/HomeScreen/resources/translations/homescreen_ja_JP.qm deleted file mode 100644 index 497951a..0000000 Binary files a/HomeScreen/resources/translations/homescreen_ja_JP.qm and /dev/null differ diff --git a/HomeScreen/resources/translations/homescreen_ja_JP.ts b/HomeScreen/resources/translations/homescreen_ja_JP.ts deleted file mode 100644 index 3dd76b1..0000000 --- a/HomeScreen/resources/translations/homescreen_ja_JP.ts +++ /dev/null @@ -1,93 +0,0 @@ - - - - - ControlBarWidget - - - Form - - - - - InputDeviceSimulator - - Input Device Simulator - 入力デバイスシミュレータ - - - Up - アップ - - - Left - 左 - - - Right - 右 - - - Down - ダウン - - - OK - OK - - - - PopupWidget - - - Form - - - - - OK - OK - - - - SettingsWidget - - - Form - - - - - Color Scheme - 配色 - - - - Language - 言語 - - - - SystemSettingsSimulator - - System Settings - システム設定 - - - Exit - 出口 - - - Day/Night Mode - 昼/夜モード - - - Night Mode - ナイトモード - - - Day Mode - デイモード - - - diff --git a/HomeScreen/src/applauncher.cpp b/HomeScreen/src/applauncher.cpp deleted file mode 100644 index fd1ec94..0000000 --- a/HomeScreen/src/applauncher.cpp +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Copyright (C) 2016 Mentor Graphics Development (Deutschland) GmbH - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include "applauncher.h" -#include -#include -#include -#ifdef __i386__ - #include -#endif - -AppLauncher::AppLauncher(QObject *parent) : - QObject(parent), - m_appList(), - mp_dBusAppFrameworkProxy() -{ - /*AppInfo ai; - for (int i = 0; i < 100; ++i) - { - ai.setName("test" + QString::number(i)); - mp_appList->append(ai); - }*/ - - qDebug("D-Bus: connect to org.agl.homescreenappframeworkbinder /AppFramework"); - mp_dBusAppFrameworkProxy = new org::agl::appframework("org.agl.homescreenappframeworkbinder", - "/AppFramework", - QDBusConnection::sessionBus(), - 0); -} - -AppLauncher::~AppLauncher() -{ - delete mp_dBusAppFrameworkProxy; -} - -void AppLauncher::updateColorScheme() -{ - QSettings settings; - QSettings settings_cs(QApplication::applicationDirPath() + - "/colorschemes/" + - settings.value("systemsettings/colorscheme", "default").toString() + - "/" + - QString::number(settings.value("systemsettings/proximityobjectdetected", false).toBool()) + - "/" + - QString::number(settings.value("systemsettings/daynightmode", SystemDayNight::DAYNIGHTMODE_DAY).toInt()) + - ".ini", - QSettings::IniFormat); - - //mp_ui->widget_background->setStyleSheet(settings_cs.value("AppLauncherWidget/widget_Background").toString()); - //mp_ui->widget_homeIcon->setStyleSheet(settings_cs.value("AppLauncherWidget/widget_Home_Icon").toString()); - - //setStyleSheet(settings_cs.value("AppLauncherWidget/common_css").toString()); -} - -void AppLauncher::populateAppList() -{ - int i; - - m_appList = mp_dBusAppFrameworkProxy->getAvailableApps(); -} - -void AppLauncher::on_tableView_clicked(int row, int col) -{ -/* if (m_appList.size() > row * APP_LIST_COLUMN_COUNT + col) - { - int pid = mp_dBusAppFrameworkProxy->launchApp(m_appList.at(row * APP_LIST_COLUMN_COUNT + col).id()); - qDebug("%d, %d: start app %s", row, col, m_appList.at(row * APP_LIST_COLUMN_COUNT + col).id().toStdString().c_str()); - qDebug("pid: %d", pid); - - // the new app wants to be visible by default - emit newRequestsToBeVisibleApp(pid); - - emit showAppLayer(); - }*/ -} diff --git a/HomeScreen/src/applauncher.h b/HomeScreen/src/applauncher.h deleted file mode 100644 index a67c804..0000000 --- a/HomeScreen/src/applauncher.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2016 Mentor Graphics Development (Deutschland) GmbH - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef APPLAUNCHER_H -#define APPLAUNCHER_H - -#include -#include - -class AppLauncher : public QObject -{ - Q_OBJECT - -public: - explicit AppLauncher(QObject *parent); - ~AppLauncher(); - - void populateAppList(); - -public slots: - void updateColorScheme(); - -private slots: - void on_tableView_clicked(int row, int col); - -signals: - void newRequestsToBeVisibleApp(int pid); - void showAppLayer(); - -private: - QList m_appList; - org::agl::appframework *mp_dBusAppFrameworkProxy; -}; - -#endif // APPLAUNCHER_H diff --git a/HomeScreen/src/controlbarwidget.cpp b/HomeScreen/src/controlbarwidget.cpp deleted file mode 100644 index 0f4aca7..0000000 --- a/HomeScreen/src/controlbarwidget.cpp +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Copyright (C) 2016 Mentor Graphics Development (Deutschland) GmbH - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include "controlbarwidget.h" -#include "ui_controlbarwidget.h" -#include -#include -#include - -ControlBarWidget::ControlBarWidget(QWidget *parent) : - QWidget(parent), - mp_ui(new Ui::ControlBarWidget), - mp_dBusInputEventProxy() -{ - mp_ui->setupUi(this); - - qDebug("D-Bus: connect to org.agl.homescreenappframeworkbindertizen /AppFramework"); - mp_dBusInputEventProxy = new org::agl::inputevent("org.agl.inputeventmanager", - "/InputEvent", - QDBusConnection::sessionBus(), - 0); -} - -ControlBarWidget::~ControlBarWidget() -{ - delete mp_dBusInputEventProxy; - delete mp_ui; -} - -void ControlBarWidget::updateColorScheme() -{ - QSettings settings; - QSettings settings_cs(QApplication::applicationDirPath() + - "/colorschemes/" + - settings.value("systemsettings/colorscheme", "default").toString() + - "/" + - QString::number(settings.value("systemsettings/proximityobjectdetected", false).toBool()) + - "/" + - QString::number(settings.value("systemsettings/daynightmode", SystemDayNight::DAYNIGHTMODE_DAY).toInt()) + - ".ini", - QSettings::IniFormat); - - QIcon icon; - mp_ui->widget_background->setStyleSheet(settings_cs.value(QString("ControlBarWidget/widget_background_css")).toString()); - - icon.addFile(settings_cs.value(QString("ControlBarWidget/pushButton_homeIcon_icon")).toString(), QSize(), QIcon::Normal, QIcon::Off); - mp_ui->pushButton_home->setIcon(icon); - mp_ui->pushButton_home->setStyleSheet(settings_cs.value(QString("ControlBarWidget/pushButton_homeIcon_css")).toString()); - icon.addFile(settings_cs.value(QString("ControlBarWidget/pushButton_settingsIcon_icon")).toString(), QSize(), QIcon::Normal, QIcon::Off); - mp_ui->pushButton_settings->setIcon(icon); - mp_ui->pushButton_settings->setStyleSheet(settings_cs.value(QString("ControlBarWidget/pushButton_settingsIcon_css")).toString()); - icon.addFile(settings_cs.value(QString("ControlBarWidget/pushButton_navIcon_icon")).toString(), QSize(), QIcon::Normal, QIcon::Off); - mp_ui->pushButton_nav->setIcon(icon); - mp_ui->pushButton_nav->setStyleSheet(settings_cs.value(QString("ControlBarWidget/pushButton_navIcon_css")).toString()); -} - -void ControlBarWidget::on_pushButton_home_clicked() -{ - emit hideAppLayer(); - emit homeButtonPressed(); -} - -void ControlBarWidget::on_pushButton_settings_clicked() -{ - emit hideAppLayer(); - emit settingsButtonPressed(); -} - -void ControlBarWidget::on_pushButton_nav_clicked() -{ - mp_dBusInputEventProxy->hardKeyPressed(InputEvent::HARDKEY_NAV); -} - -void ControlBarWidget::on_pushButton_media_clicked() -{ - mp_dBusInputEventProxy->hardKeyPressed(InputEvent::HARDKEY_MEDIA); -} diff --git a/HomeScreen/src/controlbarwidget.h b/HomeScreen/src/controlbarwidget.h deleted file mode 100644 index 74067f8..0000000 --- a/HomeScreen/src/controlbarwidget.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2016 Mentor Graphics Development (Deutschland) GmbH - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef CONTROLBARWIDGET_H -#define CONTROLBARWIDGET_H - -#include -#include "inputevent_proxy.h" - -namespace Ui { -class ControlBarWidget; -} - -class ControlBarWidget : public QWidget -{ - Q_OBJECT - -public: - explicit ControlBarWidget(QWidget *parent = 0); - ~ControlBarWidget(); -public slots: - void updateColorScheme(); -signals: - void hideAppLayer(); - - void settingsButtonPressed(); - void homeButtonPressed(); - -private slots: - void on_pushButton_home_clicked(); - void on_pushButton_settings_clicked(); - void on_pushButton_nav_clicked(); - - void on_pushButton_media_clicked(); - -private: - Ui::ControlBarWidget *mp_ui; - org::agl::inputevent *mp_dBusInputEventProxy; -}; - -#endif // CONTROLBARWIDGET_H diff --git a/HomeScreen/src/main.cpp b/HomeScreen/src/main.cpp index c1f951e..dcad4c6 100644 --- a/HomeScreen/src/main.cpp +++ b/HomeScreen/src/main.cpp @@ -14,28 +14,27 @@ * limitations under the License. */ -#include "mainwindow.h" -#include +#include #include #include #include #include +#include "layouthandler.h" +#include "homescreencontrolinterface.h" #include "../src2/applicationlauncher.h" #include "../src2/statusbarmodel.h" -#include "layouthandler.h" #include "../src2/applicationmodel.h" -#include "homescreencontrolinterface.h" int main(int argc, char *argv[]) { - QApplication a(argc, argv); + QGuiApplication a(argc, argv); // used for application settings (QSettings) QCoreApplication::setOrganizationDomain("LinuxFoundation"); QCoreApplication::setOrganizationName("AutomotiveGradeLinux"); QCoreApplication::setApplicationName("HomeScreen"); - QCoreApplication::setApplicationVersion("0.6.0"); + QCoreApplication::setApplicationVersion("0.7.0"); qDebug("%s, v%s", QCoreApplication::applicationName().toStdString().c_str(), QCoreApplication::applicationVersion().toStdString().c_str()); @@ -51,7 +50,6 @@ int main(int argc, char *argv[]) LayoutHandler* layoutHandler = new LayoutHandler(); HomeScreenControlInterface* hsci = new HomeScreenControlInterface(); - // QObject::connect(hsci, SIGNAL(newRequestGetAllSurfacesOfProcess(int)), layoutHandler, SLOT(requestGetAllSurfacesOfProcess(int))); QObject::connect(hsci, SIGNAL(newRequestGetSurfaceStatus(int)), layoutHandler, SLOT(requestGetSurfaceStatus(int))); QObject::connect(hsci, SIGNAL(newRequestsToBeVisibleApp(int)), layoutHandler, SLOT(makeMeVisible(int))); QObject::connect(hsci, SIGNAL(newRequestRenderSurfaceToArea(int, int)), layoutHandler, SLOT(requestRenderSurfaceToArea(int,int))); diff --git a/HomeScreen/src/statusbarwidget.cpp b/HomeScreen/src/statusbarwidget.cpp deleted file mode 100644 index 6097f8d..0000000 --- a/HomeScreen/src/statusbarwidget.cpp +++ /dev/null @@ -1,151 +0,0 @@ -/* - * Copyright (C) 2016 Mentor Graphics Development (Deutschland) GmbH - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include "statusbarwidget.h" -#include "ui_statusbarwidget.h" -#include - -StatusBarWidget::StatusBarWidget(QWidget *parent) : - QWidget(parent), - mp_ui(new Ui::StatusBarWidget), - mp_statusbarAdaptor(0), - mp_statusbarIconURIs(new QMap) -{ - // publish statusbar interface - mp_statusbarAdaptor = new StatusbarAdaptor((QObject*)this); - - QDBusConnection dbus = QDBusConnection::sessionBus(); - dbus.registerObject("/StatusBar", this); - dbus.registerService("org.agl.homescreen"); - - mp_ui->setupUi(this); -} - -StatusBarWidget::~StatusBarWidget() -{ - delete mp_statusbarAdaptor; - delete mp_ui; -} - -void StatusBarWidget::updateColorScheme() -{ - QSettings settings; - QSettings settings_cs(QApplication::applicationDirPath() + - "/colorschemes/" + - settings.value("systemsettings/colorscheme", "default").toString() + - "/" + - QString::number(settings.value("systemsettings/proximityobjectdetected", false).toBool()) + - "/" + - QString::number(settings.value("systemsettings/daynightmode", SystemDayNight::DAYNIGHTMODE_DAY).toInt()) + - ".ini", - QSettings::IniFormat); - - mp_ui->widget_background->setStyleSheet(settings_cs.value(QString("StatusBarWidget/widget_background_css")).toString()); - mp_ui->label_1->setStyleSheet(settings_cs.value(QString("StatusBarWidget/label_1_css")).toString()); - mp_ui->label_2->setStyleSheet(settings_cs.value(QString("StatusBarWidget/label_2_css")).toString()); - mp_ui->label_3->setStyleSheet(settings_cs.value(QString("StatusBarWidget/label_3_css")).toString()); - mp_ui->label_4->setStyleSheet(settings_cs.value(QString("StatusBarWidget/label_4_css")).toString()); - mp_ui->label_5->setStyleSheet(settings_cs.value(QString("StatusBarWidget/label_5_css")).toString()); - - mp_ui->label_1_icon->setStyleSheet(settings_cs.value(QString("StatusBarWidget/label_1_icon_css")).toString() - + QString(" border-image: url(") + mp_statusbarIconURIs->value(1) + QString(") 0 0 0 0 stretch stretch;")); - mp_ui->label_2_icon->setStyleSheet(settings_cs.value(QString("StatusBarWidget/label_2_icon_css")).toString() - + QString(" border-image: url(") + mp_statusbarIconURIs->value(2) + QString(") 0 0 0 0 stretch stretch;")); - mp_ui->label_3_icon->setStyleSheet(settings_cs.value(QString("StatusBarWidget/label_3_icon_css")).toString() - + QString(" border-image: url(") + mp_statusbarIconURIs->value(3) + QString(") 0 0 0 0 stretch stretch;")); - mp_ui->label_4_icon->setStyleSheet(settings_cs.value(QString("StatusBarWidget/label_4_icon_css")).toString() - + QString(" border-image: url(") + mp_statusbarIconURIs->value(4) + QString(") 0 0 0 0 stretch stretch;")); - mp_ui->label_5_icon->setStyleSheet(settings_cs.value(QString("StatusBarWidget/label_5_icon_css")).toString() - + QString(" border-image: url(") + mp_statusbarIconURIs->value(5) + QString(") 0 0 0 0 stretch stretch;")); -} - -QList StatusBarWidget::getAvailablePlaceholders() -{ - QList result; - - // for now, all are available - result.append(1); - result.append(2); - result.append(3); - result.append(4); - result.append(5); - - return result; -} - -QString StatusBarWidget::getStatusIcon(int placeholderIndex) -{ - return mp_statusbarIconURIs->value(placeholderIndex); -} - -QString StatusBarWidget::getStatusText(int placeholderIndex) -{ - QString result = ""; - - switch (placeholderIndex) - { - case 1: - result = mp_ui->label_1->text(); - break; - case 2: - result = mp_ui->label_2->text(); - break; - case 3: - result = mp_ui->label_3->text(); - break; - case 4: - result = mp_ui->label_4->text(); - break; - case 5: - result = mp_ui->label_5->text(); - break; - default: - break; - } - - return result; -} - -void StatusBarWidget::setStatusIcon(int placeholderIndex, const QString &iconURI) -{ - mp_statusbarIconURIs->insert(placeholderIndex, iconURI); - - updateColorScheme(); -} - -void StatusBarWidget::setStatusText(int placeholderIndex, const QString &text) -{ - switch (placeholderIndex) - { - case 1: - mp_ui->label_1->setText(text); - break; - case 2: - mp_ui->label_2->setText(text); - break; - case 3: - mp_ui->label_3->setText(text); - break; - case 4: - mp_ui->label_4->setText(text); - break; - case 5: - mp_ui->label_5->setText(text); - break; - default: - break; - } -} diff --git a/HomeScreen/src/statusbarwidget.h b/HomeScreen/src/statusbarwidget.h deleted file mode 100644 index cac856d..0000000 --- a/HomeScreen/src/statusbarwidget.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (C) 2016 Mentor Graphics Development (Deutschland) GmbH - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef STATUSBARWIDGET_H -#define STATUSBARWIDGET_H - -#include -#include "statusbar_adaptor.h" - -namespace Ui { -class StatusBarWidget; -} - -class StatusBarWidget : public QWidget -{ - Q_OBJECT - -public: - explicit StatusBarWidget(QWidget *parent = 0); - ~StatusBarWidget(); -public slots: - void updateColorScheme(); - -// from statusbar_adaptor.h -public Q_SLOTS: // METHODS - QList getAvailablePlaceholders(); - QString getStatusIcon(int placeholderIndex); - QString getStatusText(int placeholderIndex); - void setStatusIcon(int placeholderIndex, const QString &iconURI); - void setStatusText(int placeholderIndex, const QString &text); - -private: - Ui::StatusBarWidget *mp_ui; - - StatusbarAdaptor *mp_statusbarAdaptor; - - QMap *mp_statusbarIconURIs; -}; - -#endif // STATUSBARWIDGET_H diff --git a/sample-qml/MainForm.ui.qml b/sample-qml/MainForm.ui.qml deleted file mode 100644 index 23f26fb..0000000 --- a/sample-qml/MainForm.ui.qml +++ /dev/null @@ -1,82 +0,0 @@ -import QtQuick 2.6 - -Rectangle { - id: rectangle1 - property alias mouseArea: mouseArea - - width: 360 - height: 360 - color: "#dfe259" - property alias layout_permission: layout_permission - z: 2147483646 - property alias image1: image1 - - MouseArea { - id: mouseArea - anchors.rightMargin: 0 - anchors.bottomMargin: 0 - anchors.leftMargin: 0 - anchors.topMargin: 0 - anchors.fill: parent - - Rectangle { - id: layout_permission - x: 35 - y: 53 - width: 160 - height: 47 - gradient: Gradient { - GradientStop { - position: 0 - color: "#ffffff" - } - - GradientStop { - position: 1 - color: "#ecfcec" - } - } - signal buttonClick() - - - Text { - id: text1 - x: 5 - y: 9 - width: 151 - height: 30 - color: "#f25728" - text: qsTr("Ask layout permission") - style: Text.Normal - styleColor: "#86ecae" - verticalAlignment: Text.AlignVCenter - horizontalAlignment: Text.AlignHCenter - wrapMode: Text.NoWrap - font.pixelSize: 12 - } - } - - Image { - id: image1 - x: -2 - y: 90 - width: 360 - height: 267 - opacity: 0.2 - z: 0 - source: "agl-image.png" - } - } - - Text { - text: "AGL sample app" - anchors.bottom: parent.bottom - anchors.bottomMargin: 326 - anchors.horizontalCenter: parent.horizontalCenter - anchors.top: parent.top - anchors.topMargin: 17 - font.italic: true - font.bold: true - anchors.horizontalCenterOffset: -104 - } -} diff --git a/sample-qml/README b/sample-qml/README deleted file mode 100644 index 9ff6d67..0000000 --- a/sample-qml/README +++ /dev/null @@ -1,16 +0,0 @@ -How to create and install sample qml application - -$ cd ${sample-qml-build-directory} // in build directory -Copy appropriate file to build-directory. See following example -$ ls ${sample-qml-build-directory} -MainForm.ui.qml apps dummyimports main.qml sample-qml -agl-image.png config.xml imports main2.qml - -$ zip -q -r sample-qml.wgt . -$ cp sample-qml.wgt ${SDCARD}/home/root - -then boot sd card -# afm-util install sample-qml.wgt -reboot -# afm-util start sample-qml@0.1 -or Click and start from HomeScreen diff --git a/sample-qml/agl-image.png b/sample-qml/agl-image.png deleted file mode 100644 index 799ae6f..0000000 Binary files a/sample-qml/agl-image.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/ClimateButton.qml b/sample-qml/apps/HVAC/ClimateButton.qml deleted file mode 100644 index 9a59202..0000000 --- a/sample-qml/apps/HVAC/ClimateButton.qml +++ /dev/null @@ -1,34 +0,0 @@ -/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -import QtQuick 2.0 -import "models" - -Rectangle { - id: root - - width: imageItem.width - height: imageItem.height - color: "#aa000000" - - property string target: "" - property string image: "" - property bool value: HVACModel[target] - - Image { - id: imageItem - source: "images/" + image + "_" + (value ? "on" : "off") + ".png" - } - - MouseArea { - anchors.fill: parent - onClicked: { - HVACModel[target] = !HVACModel[target] - hsa.consoleout() - hsa.refresh() - } - } -} diff --git a/sample-qml/apps/HVAC/FanControl.qml b/sample-qml/apps/HVAC/FanControl.qml deleted file mode 100644 index 00e6f9e..0000000 --- a/sample-qml/apps/HVAC/FanControl.qml +++ /dev/null @@ -1,54 +0,0 @@ -/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -import QtQuick 2.0 -import "models" - -Item { - width: childrenRect.width - height: childrenRect.height - - property real value: 0 - - Image { - y: 15 - source: "images/fan_icon_off.png" - } - - Image { - id: fanBar - x: 100 - source: "images/fan_bar_off.png" - } - - Image { - x: 100 - width: value * fanBar.width - fillMode: Image.PreserveAspectCrop - horizontalAlignment: Image.AlignLeft - source: "images/fan_bar_on.png" - - Image { - width: 20 - height: width - anchors.verticalCenter: parent.bottom - anchors.verticalCenterOffset: -1 - anchors.horizontalCenter: parent.right - source: "images/drag_knob.svg" - } - } - - MouseArea { - x: 100 - width: fanBar.width - height: parent.height - - onPositionChanged: { - value = Math.min(Math.max(mouse.x / fanBar.width, 0), 1) - HVACModel.fanSpeed = value; - } - } -} diff --git a/sample-qml/apps/HVAC/HVAC.qml b/sample-qml/apps/HVAC/HVAC.qml deleted file mode 100644 index bde9889..0000000 --- a/sample-qml/apps/HVAC/HVAC.qml +++ /dev/null @@ -1,93 +0,0 @@ -/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -import QtQuick 2.0 -import system 1.0 -import utils 1.0 -import "models" - -App { - appId: "hvac" - - HazardButton { - id: hazardButton - y: 100 - anchors.horizontalCenter: parent.horizontalCenter - } - - TempSlider { - id: lTempSlider - x: 30 - anchors.top: hazardButton.bottom - anchors.topMargin: 115 - side: "left" - } - - Row { - anchors.horizontalCenter: parent.horizontalCenter - anchors.top: hazardButton.bottom - anchors.topMargin: 90 - spacing: 200 - - - MiddleColumn { side: "left" } - MiddleColumn { side: "right" } - } - - TempSlider { - id: rTempSlider - anchors.top: hazardButton.bottom - anchors.topMargin: 115 - anchors.right: parent.right - anchors.rightMargin: 30 - side: "right" - } - - Image { - y: 1057 - source: "images/separator.png" - } - - FanControl { - x: 259 - y: 1092 - } - - Item { - anchors.horizontalCenter: parent.horizontalCenter - width: childrenRect.width - height: childrenRect.height - anchors.bottom: parent.bottom - anchors.bottomMargin: 40 - - Row { - spacing: 20 - - Column { - spacing: 10 - - ClimateButton { image: "fan_dir_down"; target: "fanDown" } - ClimateButton { image: "fan_dir_right"; target: "fanRight" } - ClimateButton { image: "fan_dir_up"; target: "fanUp" } - } - - ClimateButton { - y: 156 - image: "fan_control_ac"; target: "fanAC" - } - ClimateButton { y: 156; image: "fan_control_auto"; target: "fanAuto" } - ClimateButton { y: 156; image: "fan_control_circ"; target: "fanRecirc" } - - Column { - spacing: 10 - - ClimateButton { image: "defrost_max"; target: "defrostMax" } - ClimateButton { image: "defrost_rear"; target: "defrostRear" } - ClimateButton { image: "defrost_front"; target: "defrostFront" } - } - } - } -} diff --git a/sample-qml/apps/HVAC/HazardButton.qml b/sample-qml/apps/HVAC/HazardButton.qml deleted file mode 100644 index ffae370..0000000 --- a/sample-qml/apps/HVAC/HazardButton.qml +++ /dev/null @@ -1,37 +0,0 @@ -/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -import QtQuick 2.0 - -Rectangle { - id: hazardButton - width: 624 - height: 122 - color: "#aa000000" - border.color: "#ff53b5ce" - - property bool value: false - property bool flash: false - - Image { - id: image - source: "./images/hazard_" + (value ? (flash ? "blink" : "on") : "off") + ".png" - } - - MouseArea { - anchors.fill: parent - onClicked: value = !value - } - - Timer { - id: timer - interval: 500 - repeat: true - running: value - - onTriggered: flash = !flash - } -} diff --git a/sample-qml/apps/HVAC/MiddleColumn.qml b/sample-qml/apps/HVAC/MiddleColumn.qml deleted file mode 100644 index 89f0ebe..0000000 --- a/sample-qml/apps/HVAC/MiddleColumn.qml +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -import QtQuick 2.0 -import components 1.0 -import utils 1.0 - -Item { - id: root - - width: 239 - height: 800 - - property string side: "left" - - Column { - spacing: 50 - - BoxHeading { - color: Style.orangeViv - boxWidth: 45 - boxHeight: 19 - fontSize: 27 - text: (side === "left" ? "L" : "R" ) + " CLIMATE" - } - - SeatHeatButton { side: root.side } - TemperatureWheel { side: root.side } - } -} diff --git a/sample-qml/apps/HVAC/SeatHeatButton.qml b/sample-qml/apps/HVAC/SeatHeatButton.qml deleted file mode 100644 index fc5a2eb..0000000 --- a/sample-qml/apps/HVAC/SeatHeatButton.qml +++ /dev/null @@ -1,41 +0,0 @@ -/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -import QtQuick 2.0 -import "models" - -Rectangle { - width: 239 - height: 194 - color: "#aa000000" - border.color: "#ff53b5ce" - - property string side: "left" - property string propertyName: side + "SeatHeat" - property int seatHeat: HVACModel[propertyName] - - Image { - source: "./images/" + side + "_heat_seat_off.png" - } - - Image { - y: 150 - seatHeat*40 - height: implicitHeight - y - fillMode: Image.Tile - verticalAlignment: Image.AlignBottom - source: "./images/" + side + "_heat_seat_on.png" - } - - MouseArea { - anchors.fill: parent - onClicked: { - var value = HVACModel[propertyName] - HVACModel[propertyName] = value > 0 ? value - 1 : 3 - console.log("seatheatButton is pushed") - hsa.showup() - } - } -} diff --git a/sample-qml/apps/HVAC/TempSlider.qml b/sample-qml/apps/HVAC/TempSlider.qml deleted file mode 100644 index f5500e4..0000000 --- a/sample-qml/apps/HVAC/TempSlider.qml +++ /dev/null @@ -1,61 +0,0 @@ -/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -import QtQuick 2.0 -import utils 1.0 -import "models" - -Item { - id: root - width: 64 - height: 716 - - property real value: HVACModel[propertyName] - property string propertyName: side + "Temperature" - property string side: "left" - - function setProperty(v) { - HVACModel[propertyName] = Math.min(Math.max(v, 0), 1) - } - - Rectangle { - anchors.fill: parent - color: "#4a53b5ce" - } - - Rectangle { - width: parent.width - height: value * parent.height - color: Style.orangeViv - anchors.bottom: parent.bottom - } - - Rectangle { - x: side === "left" ? parent.width + 30 : -30 - width: 2 - height: value * parent.height - anchors.bottom: parent.bottom - color: Style.orangeLt - - Image { - width: 30 - height: width - anchors.verticalCenter: parent.top - anchors.horizontalCenter: parent.horizontalCenter - source: "images/drag_knob.svg" - } - } - - MouseArea { - x: side === "left" ? 0 : -45 - width: parent.width + 45 - height: parent.height - - onPressed: setProperty(1 - mouse.y / height) - onPositionChanged: setProperty(1 - mouse.y / height) - } -} - diff --git a/sample-qml/apps/HVAC/TemperatureWheel.qml b/sample-qml/apps/HVAC/TemperatureWheel.qml deleted file mode 100644 index 7a59dde..0000000 --- a/sample-qml/apps/HVAC/TemperatureWheel.qml +++ /dev/null @@ -1,56 +0,0 @@ -/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -import QtQuick 2.0 -import "models" - -Rectangle { - width: 237 - height: 350 - color: "#aa000000" - - property string side: "left" - property string propertyName: side + "Temperature" - property real value: HVACModel[propertyName] - - ListView { - anchors.fill: parent - clip: true - snapMode: ListView.SnapToItem - model: TemperatureModel - header: Item { height: 120 } - footer: Item { height: 120 } - currentIndex: Math.min(value * count, count - 1) - flickDeceleration: 5000 - onContentYChanged: { - if (dragging || flicking) { - var item = Math.round((contentY + 120) / 110) - item = Math.max(Math.min(item, count - 1), 0) - if (item != currentIndex) { - var temperature = item / (count - 1) - HVACModel[propertyName] = temperature - } - } - } - highlightMoveDuration: 100 - interactive: true - - delegate: Text { - x: side === "right" ? 40 : 10 - height: 110 - verticalAlignment: Text.AlignVCenter - color: "white" - font.pixelSize: 70 - text: model.text - } - } - - Image { - mirror: side === "left" - source: "./images/right_number_cover.svg" - anchors.fill: parent - } -} diff --git a/sample-qml/apps/HVAC/images/defrost_front_off.png b/sample-qml/apps/HVAC/images/defrost_front_off.png deleted file mode 100644 index fe7e5ac..0000000 Binary files a/sample-qml/apps/HVAC/images/defrost_front_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/defrost_front_off.svg b/sample-qml/apps/HVAC/images/defrost_front_off.svg deleted file mode 100644 index d2f0a6a..0000000 --- a/sample-qml/apps/HVAC/images/defrost_front_off.svg +++ /dev/null @@ -1,94 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -FRONT - - - diff --git a/sample-qml/apps/HVAC/images/defrost_front_on.png b/sample-qml/apps/HVAC/images/defrost_front_on.png deleted file mode 100644 index 5e5bf27..0000000 Binary files a/sample-qml/apps/HVAC/images/defrost_front_on.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/defrost_front_on.svg b/sample-qml/apps/HVAC/images/defrost_front_on.svg deleted file mode 100644 index c4ed46a..0000000 --- a/sample-qml/apps/HVAC/images/defrost_front_on.svg +++ /dev/null @@ -1,247 +0,0 @@ - - - -image/svg+xmlFRONT - \ No newline at end of file diff --git a/sample-qml/apps/HVAC/images/defrost_max_off.png b/sample-qml/apps/HVAC/images/defrost_max_off.png deleted file mode 100644 index 1ded238..0000000 Binary files a/sample-qml/apps/HVAC/images/defrost_max_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/defrost_max_off.svg b/sample-qml/apps/HVAC/images/defrost_max_off.svg deleted file mode 100644 index a027d25..0000000 --- a/sample-qml/apps/HVAC/images/defrost_max_off.svg +++ /dev/null @@ -1,189 +0,0 @@ - - - -image/svg+xmlMAX - \ No newline at end of file diff --git a/sample-qml/apps/HVAC/images/defrost_max_on.png b/sample-qml/apps/HVAC/images/defrost_max_on.png deleted file mode 100644 index 620d176..0000000 Binary files a/sample-qml/apps/HVAC/images/defrost_max_on.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/defrost_max_on.svg b/sample-qml/apps/HVAC/images/defrost_max_on.svg deleted file mode 100644 index 9385c42..0000000 --- a/sample-qml/apps/HVAC/images/defrost_max_on.svg +++ /dev/null @@ -1,267 +0,0 @@ - - - -image/svg+xmlMAX - \ No newline at end of file diff --git a/sample-qml/apps/HVAC/images/defrost_rear_off.png b/sample-qml/apps/HVAC/images/defrost_rear_off.png deleted file mode 100644 index d648a67..0000000 Binary files a/sample-qml/apps/HVAC/images/defrost_rear_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/defrost_rear_off.svg b/sample-qml/apps/HVAC/images/defrost_rear_off.svg deleted file mode 100644 index 0f5142e..0000000 --- a/sample-qml/apps/HVAC/images/defrost_rear_off.svg +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -REAR - - - - - diff --git a/sample-qml/apps/HVAC/images/defrost_rear_on.png b/sample-qml/apps/HVAC/images/defrost_rear_on.png deleted file mode 100644 index 205ec2a..0000000 Binary files a/sample-qml/apps/HVAC/images/defrost_rear_on.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/defrost_rear_on.svg b/sample-qml/apps/HVAC/images/defrost_rear_on.svg deleted file mode 100644 index a44e246..0000000 --- a/sample-qml/apps/HVAC/images/defrost_rear_on.svg +++ /dev/null @@ -1,244 +0,0 @@ - - - -image/svg+xmlREAR - \ No newline at end of file diff --git a/sample-qml/apps/HVAC/images/drag_knob.svg b/sample-qml/apps/HVAC/images/drag_knob.svg deleted file mode 100644 index 774c1b6..0000000 --- a/sample-qml/apps/HVAC/images/drag_knob.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - diff --git a/sample-qml/apps/HVAC/images/fan_bar_off.png b/sample-qml/apps/HVAC/images/fan_bar_off.png deleted file mode 100644 index 29e71e2..0000000 Binary files a/sample-qml/apps/HVAC/images/fan_bar_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/fan_bar_on.png b/sample-qml/apps/HVAC/images/fan_bar_on.png deleted file mode 100755 index 774897a..0000000 Binary files a/sample-qml/apps/HVAC/images/fan_bar_on.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/fan_bar_on.svg b/sample-qml/apps/HVAC/images/fan_bar_on.svg deleted file mode 100644 index f65fe74..0000000 --- a/sample-qml/apps/HVAC/images/fan_bar_on.svg +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - - - - - - - - - - 20° - 21° - 19° - 18° - 17° - 16° - - - - - - - - - - - diff --git a/sample-qml/apps/HVAC/images/fan_control_ac_off.png b/sample-qml/apps/HVAC/images/fan_control_ac_off.png deleted file mode 100644 index e109810..0000000 Binary files a/sample-qml/apps/HVAC/images/fan_control_ac_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/fan_control_ac_off.svg b/sample-qml/apps/HVAC/images/fan_control_ac_off.svg deleted file mode 100644 index 13af676..0000000 --- a/sample-qml/apps/HVAC/images/fan_control_ac_off.svg +++ /dev/null @@ -1,68 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - 20° - 21° - 19° - 18° - 17° - 16° - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A/C - - diff --git a/sample-qml/apps/HVAC/images/fan_control_ac_on.png b/sample-qml/apps/HVAC/images/fan_control_ac_on.png deleted file mode 100644 index 4a778bb..0000000 Binary files a/sample-qml/apps/HVAC/images/fan_control_ac_on.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/fan_control_ac_on.svg b/sample-qml/apps/HVAC/images/fan_control_ac_on.svg deleted file mode 100644 index 040fa44..0000000 --- a/sample-qml/apps/HVAC/images/fan_control_ac_on.svg +++ /dev/null @@ -1,275 +0,0 @@ - - - -image/svg+xml20° -21° -19° -18° -17° -16° -A/C - \ No newline at end of file diff --git a/sample-qml/apps/HVAC/images/fan_control_auto_off.png b/sample-qml/apps/HVAC/images/fan_control_auto_off.png deleted file mode 100644 index a98dae7..0000000 Binary files a/sample-qml/apps/HVAC/images/fan_control_auto_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/fan_control_auto_off.svg b/sample-qml/apps/HVAC/images/fan_control_auto_off.svg deleted file mode 100644 index f560a54..0000000 --- a/sample-qml/apps/HVAC/images/fan_control_auto_off.svg +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - 20° - 21° - 19° - 18° - 17° - 16° - - - - - - - - - - - - - - - - - - - - - - -AUTO - diff --git a/sample-qml/apps/HVAC/images/fan_control_auto_on.png b/sample-qml/apps/HVAC/images/fan_control_auto_on.png deleted file mode 100644 index 65a799a..0000000 Binary files a/sample-qml/apps/HVAC/images/fan_control_auto_on.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/fan_control_auto_on.svg b/sample-qml/apps/HVAC/images/fan_control_auto_on.svg deleted file mode 100644 index 2cdc613..0000000 --- a/sample-qml/apps/HVAC/images/fan_control_auto_on.svg +++ /dev/null @@ -1,282 +0,0 @@ - - - -image/svg+xml20° -21° -19° -18° -17° -16° -AUTO - \ No newline at end of file diff --git a/sample-qml/apps/HVAC/images/fan_control_circ_off.png b/sample-qml/apps/HVAC/images/fan_control_circ_off.png deleted file mode 100644 index 27745f7..0000000 Binary files a/sample-qml/apps/HVAC/images/fan_control_circ_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/fan_control_circ_off.svg b/sample-qml/apps/HVAC/images/fan_control_circ_off.svg deleted file mode 100644 index d37814b..0000000 --- a/sample-qml/apps/HVAC/images/fan_control_circ_off.svg +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/sample-qml/apps/HVAC/images/fan_control_circ_on.png b/sample-qml/apps/HVAC/images/fan_control_circ_on.png deleted file mode 100644 index 5d19029..0000000 Binary files a/sample-qml/apps/HVAC/images/fan_control_circ_on.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/fan_control_circ_on.svg b/sample-qml/apps/HVAC/images/fan_control_circ_on.svg deleted file mode 100644 index a55b0aa..0000000 --- a/sample-qml/apps/HVAC/images/fan_control_circ_on.svg +++ /dev/null @@ -1,173 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/sample-qml/apps/HVAC/images/fan_dir_down_off.png b/sample-qml/apps/HVAC/images/fan_dir_down_off.png deleted file mode 100644 index cbbc22a..0000000 Binary files a/sample-qml/apps/HVAC/images/fan_dir_down_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/fan_dir_down_off.svg b/sample-qml/apps/HVAC/images/fan_dir_down_off.svg deleted file mode 100644 index 616162b..0000000 --- a/sample-qml/apps/HVAC/images/fan_dir_down_off.svg +++ /dev/null @@ -1,196 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/sample-qml/apps/HVAC/images/fan_dir_down_on.png b/sample-qml/apps/HVAC/images/fan_dir_down_on.png deleted file mode 100644 index 71407e6..0000000 Binary files a/sample-qml/apps/HVAC/images/fan_dir_down_on.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/fan_dir_down_on.svg b/sample-qml/apps/HVAC/images/fan_dir_down_on.svg deleted file mode 100644 index f5e5771..0000000 --- a/sample-qml/apps/HVAC/images/fan_dir_down_on.svg +++ /dev/null @@ -1,201 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/sample-qml/apps/HVAC/images/fan_dir_right_off.png b/sample-qml/apps/HVAC/images/fan_dir_right_off.png deleted file mode 100644 index 90a0acf..0000000 Binary files a/sample-qml/apps/HVAC/images/fan_dir_right_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/fan_dir_right_off.svg b/sample-qml/apps/HVAC/images/fan_dir_right_off.svg deleted file mode 100644 index 7df2d2a..0000000 --- a/sample-qml/apps/HVAC/images/fan_dir_right_off.svg +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/sample-qml/apps/HVAC/images/fan_dir_right_on.png b/sample-qml/apps/HVAC/images/fan_dir_right_on.png deleted file mode 100644 index 7f59d9e..0000000 Binary files a/sample-qml/apps/HVAC/images/fan_dir_right_on.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/fan_dir_right_on.svg b/sample-qml/apps/HVAC/images/fan_dir_right_on.svg deleted file mode 100644 index 585dc61..0000000 --- a/sample-qml/apps/HVAC/images/fan_dir_right_on.svg +++ /dev/null @@ -1,227 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/sample-qml/apps/HVAC/images/fan_dir_up_off.png b/sample-qml/apps/HVAC/images/fan_dir_up_off.png deleted file mode 100644 index f5a0189..0000000 Binary files a/sample-qml/apps/HVAC/images/fan_dir_up_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/fan_dir_up_off.svg b/sample-qml/apps/HVAC/images/fan_dir_up_off.svg deleted file mode 100644 index a89f804..0000000 --- a/sample-qml/apps/HVAC/images/fan_dir_up_off.svg +++ /dev/null @@ -1,64 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/sample-qml/apps/HVAC/images/fan_dir_up_on.png b/sample-qml/apps/HVAC/images/fan_dir_up_on.png deleted file mode 100644 index e6dcb48..0000000 Binary files a/sample-qml/apps/HVAC/images/fan_dir_up_on.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/fan_dir_up_on.svg b/sample-qml/apps/HVAC/images/fan_dir_up_on.svg deleted file mode 100644 index e17278b..0000000 --- a/sample-qml/apps/HVAC/images/fan_dir_up_on.svg +++ /dev/null @@ -1,244 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/sample-qml/apps/HVAC/images/fan_icon_off.png b/sample-qml/apps/HVAC/images/fan_icon_off.png deleted file mode 100644 index a579c25..0000000 Binary files a/sample-qml/apps/HVAC/images/fan_icon_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/hazard_blink.png b/sample-qml/apps/HVAC/images/hazard_blink.png deleted file mode 100644 index bda2c88..0000000 Binary files a/sample-qml/apps/HVAC/images/hazard_blink.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/hazard_blink.svg b/sample-qml/apps/HVAC/images/hazard_blink.svg deleted file mode 100644 index 983c8e1..0000000 --- a/sample-qml/apps/HVAC/images/hazard_blink.svg +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - diff --git a/sample-qml/apps/HVAC/images/hazard_off.png b/sample-qml/apps/HVAC/images/hazard_off.png deleted file mode 100644 index 923bfb5..0000000 Binary files a/sample-qml/apps/HVAC/images/hazard_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/hazard_off.svg b/sample-qml/apps/HVAC/images/hazard_off.svg deleted file mode 100644 index e9ad198..0000000 --- a/sample-qml/apps/HVAC/images/hazard_off.svg +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - 53b5ce - - - - - - - - - - - - - - - diff --git a/sample-qml/apps/HVAC/images/hazard_on.png b/sample-qml/apps/HVAC/images/hazard_on.png deleted file mode 100644 index 7c5e314..0000000 Binary files a/sample-qml/apps/HVAC/images/hazard_on.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/hazard_on.svg b/sample-qml/apps/HVAC/images/hazard_on.svg deleted file mode 100644 index f2ba8e0..0000000 --- a/sample-qml/apps/HVAC/images/hazard_on.svg +++ /dev/null @@ -1,174 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/sample-qml/apps/HVAC/images/left_heat_seat_off.png b/sample-qml/apps/HVAC/images/left_heat_seat_off.png deleted file mode 100644 index ee3444b..0000000 Binary files a/sample-qml/apps/HVAC/images/left_heat_seat_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/left_heat_seat_off.svg b/sample-qml/apps/HVAC/images/left_heat_seat_off.svg deleted file mode 100644 index 5823221..0000000 --- a/sample-qml/apps/HVAC/images/left_heat_seat_off.svg +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/sample-qml/apps/HVAC/images/left_heat_seat_on.png b/sample-qml/apps/HVAC/images/left_heat_seat_on.png deleted file mode 100644 index 02627f9..0000000 Binary files a/sample-qml/apps/HVAC/images/left_heat_seat_on.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/left_heat_seat_on.svg b/sample-qml/apps/HVAC/images/left_heat_seat_on.svg deleted file mode 100644 index 4cd0841..0000000 --- a/sample-qml/apps/HVAC/images/left_heat_seat_on.svg +++ /dev/null @@ -1,66 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/sample-qml/apps/HVAC/images/left_number_bg.svg b/sample-qml/apps/HVAC/images/left_number_bg.svg deleted file mode 100644 index cdba6d5..0000000 --- a/sample-qml/apps/HVAC/images/left_number_bg.svg +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - - - 20° - 21° - 19° - 18° - 17° - 16° - - - - - - - - - - - - diff --git a/sample-qml/apps/HVAC/images/left_number_cover.svg b/sample-qml/apps/HVAC/images/left_number_cover.svg deleted file mode 100644 index 6bcfc16..0000000 --- a/sample-qml/apps/HVAC/images/left_number_cover.svg +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/sample-qml/apps/HVAC/images/right_heat_seat_off.png b/sample-qml/apps/HVAC/images/right_heat_seat_off.png deleted file mode 100644 index b803ea0..0000000 Binary files a/sample-qml/apps/HVAC/images/right_heat_seat_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/right_heat_seat_off.svg b/sample-qml/apps/HVAC/images/right_heat_seat_off.svg deleted file mode 100644 index a260e8a..0000000 --- a/sample-qml/apps/HVAC/images/right_heat_seat_off.svg +++ /dev/null @@ -1,52 +0,0 @@ - - - - - - - - - - - - - - - - - - 20° - 21° - 19° - 18° - 17° - - - - - - - - - - - - - - - - - - - diff --git a/sample-qml/apps/HVAC/images/right_heat_seat_on.png b/sample-qml/apps/HVAC/images/right_heat_seat_on.png deleted file mode 100644 index 60fb43b..0000000 Binary files a/sample-qml/apps/HVAC/images/right_heat_seat_on.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/right_heat_seat_on.svg b/sample-qml/apps/HVAC/images/right_heat_seat_on.svg deleted file mode 100644 index 893a546..0000000 --- a/sample-qml/apps/HVAC/images/right_heat_seat_on.svg +++ /dev/null @@ -1,117 +0,0 @@ - - - -image/svg+xml20° -21° -19° -18° -17° - \ No newline at end of file diff --git a/sample-qml/apps/HVAC/images/right_number_bg.svg b/sample-qml/apps/HVAC/images/right_number_bg.svg deleted file mode 100644 index f9b7d71..0000000 --- a/sample-qml/apps/HVAC/images/right_number_bg.svg +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - 20° - 21° - 19° - 18° - 17° - - - - - - - - - - - - - diff --git a/sample-qml/apps/HVAC/images/right_number_cover.svg b/sample-qml/apps/HVAC/images/right_number_cover.svg deleted file mode 100644 index 370acd3..0000000 --- a/sample-qml/apps/HVAC/images/right_number_cover.svg +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - 20° - 21° - 19° - 18° - 17° - - - - - - - - - - - - diff --git a/sample-qml/apps/HVAC/images/separator.png b/sample-qml/apps/HVAC/images/separator.png deleted file mode 100644 index 02466ff..0000000 Binary files a/sample-qml/apps/HVAC/images/separator.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/static_parts_bg.svg b/sample-qml/apps/HVAC/images/static_parts_bg.svg deleted file mode 100644 index f850fcb..0000000 --- a/sample-qml/apps/HVAC/images/static_parts_bg.svg +++ /dev/null @@ -1,1031 +0,0 @@ - - - -image/svg+xml20° -21° -19° -18° -17° -16° -20° -21° -19° -18° -17° -MAX - \ No newline at end of file diff --git a/sample-qml/apps/HVAC/images/temp_bar_on_left.svg b/sample-qml/apps/HVAC/images/temp_bar_on_left.svg deleted file mode 100644 index 66cac81..0000000 --- a/sample-qml/apps/HVAC/images/temp_bar_on_left.svg +++ /dev/null @@ -1,271 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/sample-qml/apps/HVAC/images/temp_bar_on_right.svg b/sample-qml/apps/HVAC/images/temp_bar_on_right.svg deleted file mode 100644 index 95bd894..0000000 --- a/sample-qml/apps/HVAC/images/temp_bar_on_right.svg +++ /dev/null @@ -1,282 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/sample-qml/apps/HVAC/models/HVACModel.qml b/sample-qml/apps/HVAC/models/HVACModel.qml deleted file mode 100644 index e737af4..0000000 --- a/sample-qml/apps/HVAC/models/HVACModel.qml +++ /dev/null @@ -1,47 +0,0 @@ -/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -pragma Singleton - -import QtQuick 2.0 -import vehicle 1.0 - -Item { - property bool fanUp: false - property bool fanRight: false - property bool fanDown: false - - property bool fanAC: false - property bool fanAuto: false - property bool fanRecirc: false - - property real fanSpeed: 0 - - property bool defrostMax: false - property bool defrostFront: false - property bool defrostRear: false - - property real leftTemperature: 0 - property real rightTemperature: 0 - - property int leftSeatHeat: 0 - property int rightSeatHeat: 0 - - onFanSpeedChanged: { - var currentFan = ClimateModel.getRangeValue(fanSpeed,ClimateModel.fanStepSize); - ClimateModel.fanSpeed = currentFan; - } - - onLeftTemperatureChanged: { - var temperature = ClimateModel.getRangeValue(leftTemperature,ClimateModel.temperatureStepSize); - ClimateModel.leftTemp = temperature; - } - - onRightTemperatureChanged: { - var temperature = ClimateModel.getRangeValue(rightTemperature,ClimateModel.temperatureStepSize); - ClimateModel.rightTemp = temperature; - } -} diff --git a/sample-qml/apps/HVAC/models/TemperatureModel.qml b/sample-qml/apps/HVAC/models/TemperatureModel.qml deleted file mode 100644 index 85ca415..0000000 --- a/sample-qml/apps/HVAC/models/TemperatureModel.qml +++ /dev/null @@ -1,28 +0,0 @@ -/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -pragma Singleton - -import QtQuick 2.0 - -ListModel { - ListElement { text: "LO" } - ListElement { text: "16\u00b0" } - ListElement { text: "17\u00b0" } - ListElement { text: "18\u00b0" } - ListElement { text: "19\u00b0" } - ListElement { text: "20\u00b0" } - ListElement { text: "21\u00b0" } - ListElement { text: "22\u00b0" } - ListElement { text: "23\u00b0" } - ListElement { text: "24\u00b0" } - ListElement { text: "25\u00b0" } - ListElement { text: "26\u00b0" } - ListElement { text: "27\u00b0" } - ListElement { text: "28\u00b0" } - ListElement { text: "29\u00b0" } - ListElement { text: "HI" } -} diff --git a/sample-qml/apps/HVAC/models/qmldir b/sample-qml/apps/HVAC/models/qmldir deleted file mode 100644 index d757168..0000000 --- a/sample-qml/apps/HVAC/models/qmldir +++ /dev/null @@ -1,8 +0,0 @@ -#/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved. -# * -# * This Source Code Form is subject to the terms of the Mozilla Public -# * License, v. 2.0. If a copy of the MPL was not distributed with this -# * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -singleton HVACModel 1.0 HVACModel.qml -singleton TemperatureModel 1.0 TemperatureModel.qml diff --git a/sample-qml/apps/HVAC_org/ClimateButton.qml b/sample-qml/apps/HVAC_org/ClimateButton.qml deleted file mode 100644 index 24802c7..0000000 --- a/sample-qml/apps/HVAC_org/ClimateButton.qml +++ /dev/null @@ -1,30 +0,0 @@ -/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -import QtQuick 2.0 -import "models" - -Rectangle { - id: root - - width: imageItem.width - height: imageItem.height - color: "#aa000000" - - property string target: "" - property string image: "" - property bool value: HVACModel[target] - - Image { - id: imageItem - source: "images/" + image + "_" + (value ? "on" : "off") + ".png" - } - - MouseArea { - anchors.fill: parent - onClicked: HVACModel[target] = !HVACModel[target] - } -} diff --git a/sample-qml/apps/HVAC_org/FanControl.qml b/sample-qml/apps/HVAC_org/FanControl.qml deleted file mode 100644 index 00e6f9e..0000000 --- a/sample-qml/apps/HVAC_org/FanControl.qml +++ /dev/null @@ -1,54 +0,0 @@ -/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -import QtQuick 2.0 -import "models" - -Item { - width: childrenRect.width - height: childrenRect.height - - property real value: 0 - - Image { - y: 15 - source: "images/fan_icon_off.png" - } - - Image { - id: fanBar - x: 100 - source: "images/fan_bar_off.png" - } - - Image { - x: 100 - width: value * fanBar.width - fillMode: Image.PreserveAspectCrop - horizontalAlignment: Image.AlignLeft - source: "images/fan_bar_on.png" - - Image { - width: 20 - height: width - anchors.verticalCenter: parent.bottom - anchors.verticalCenterOffset: -1 - anchors.horizontalCenter: parent.right - source: "images/drag_knob.svg" - } - } - - MouseArea { - x: 100 - width: fanBar.width - height: parent.height - - onPositionChanged: { - value = Math.min(Math.max(mouse.x / fanBar.width, 0), 1) - HVACModel.fanSpeed = value; - } - } -} diff --git a/sample-qml/apps/HVAC_org/HVAC.qml b/sample-qml/apps/HVAC_org/HVAC.qml deleted file mode 100644 index 8ca981e..0000000 --- a/sample-qml/apps/HVAC_org/HVAC.qml +++ /dev/null @@ -1,89 +0,0 @@ -/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -import QtQuick 2.0 -import system 1.0 -import utils 1.0 -import "models" - -App { - appId: "hvac" - - HazardButton { - id: hazardButton - y: 100 - anchors.horizontalCenter: parent.horizontalCenter - } - - TempSlider { - id: lTempSlider - x: 30 - anchors.top: hazardButton.bottom - anchors.topMargin: 115 - side: "left" - } - - Row { - anchors.horizontalCenter: parent.horizontalCenter - anchors.top: hazardButton.bottom - anchors.topMargin: 90 - spacing: 200 - - MiddleColumn { side: "left" } - MiddleColumn { side: "right" } - } - - TempSlider { - id: rTempSlider - anchors.top: hazardButton.bottom - anchors.topMargin: 115 - anchors.right: parent.right - anchors.rightMargin: 30 - side: "right" - } - - Image { - y: 1057 - source: "images/separator.png" - } - - FanControl { - x: 259 - y: 1092 - } - - Item { - anchors.horizontalCenter: parent.horizontalCenter - width: childrenRect.width - height: childrenRect.height - anchors.bottom: parent.bottom - anchors.bottomMargin: 40 - - Row { - spacing: 20 - - Column { - spacing: 10 - - ClimateButton { image: "fan_dir_down"; target: "fanDown" } - ClimateButton { image: "fan_dir_right"; target: "fanRight" } - ClimateButton { image: "fan_dir_up"; target: "fanUp" } - } - - ClimateButton { y: 156; image: "fan_control_ac"; target: "fanAC" } - ClimateButton { y: 156; image: "fan_control_auto"; target: "fanAuto" } - ClimateButton { y: 156; image: "fan_control_circ"; target: "fanRecirc" } - - Column { - spacing: 10 - - ClimateButton { image: "defrost_max"; target: "defrostMax" } - ClimateButton { image: "defrost_rear"; target: "defrostRear" } - ClimateButton { image: "defrost_front"; target: "defrostFront" } - } - } - } -} diff --git a/sample-qml/apps/HVAC_org/HazardButton.qml b/sample-qml/apps/HVAC_org/HazardButton.qml deleted file mode 100644 index ffae370..0000000 --- a/sample-qml/apps/HVAC_org/HazardButton.qml +++ /dev/null @@ -1,37 +0,0 @@ -/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -import QtQuick 2.0 - -Rectangle { - id: hazardButton - width: 624 - height: 122 - color: "#aa000000" - border.color: "#ff53b5ce" - - property bool value: false - property bool flash: false - - Image { - id: image - source: "./images/hazard_" + (value ? (flash ? "blink" : "on") : "off") + ".png" - } - - MouseArea { - anchors.fill: parent - onClicked: value = !value - } - - Timer { - id: timer - interval: 500 - repeat: true - running: value - - onTriggered: flash = !flash - } -} diff --git a/sample-qml/apps/HVAC_org/MiddleColumn.qml b/sample-qml/apps/HVAC_org/MiddleColumn.qml deleted file mode 100644 index 89f0ebe..0000000 --- a/sample-qml/apps/HVAC_org/MiddleColumn.qml +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -import QtQuick 2.0 -import components 1.0 -import utils 1.0 - -Item { - id: root - - width: 239 - height: 800 - - property string side: "left" - - Column { - spacing: 50 - - BoxHeading { - color: Style.orangeViv - boxWidth: 45 - boxHeight: 19 - fontSize: 27 - text: (side === "left" ? "L" : "R" ) + " CLIMATE" - } - - SeatHeatButton { side: root.side } - TemperatureWheel { side: root.side } - } -} diff --git a/sample-qml/apps/HVAC_org/SeatHeatButton.qml b/sample-qml/apps/HVAC_org/SeatHeatButton.qml deleted file mode 100644 index 43645fb..0000000 --- a/sample-qml/apps/HVAC_org/SeatHeatButton.qml +++ /dev/null @@ -1,39 +0,0 @@ -/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -import QtQuick 2.0 -import "models" - -Rectangle { - width: 239 - height: 194 - color: "#aa000000" - border.color: "#ff53b5ce" - - property string side: "left" - property string propertyName: side + "SeatHeat" - property int seatHeat: HVACModel[propertyName] - - Image { - source: "./images/" + side + "_heat_seat_off.png" - } - - Image { - y: 150 - seatHeat*40 - height: implicitHeight - y - fillMode: Image.Tile - verticalAlignment: Image.AlignBottom - source: "./images/" + side + "_heat_seat_on.png" - } - - MouseArea { - anchors.fill: parent - onClicked: { - var value = HVACModel[propertyName] - HVACModel[propertyName] = value > 0 ? value - 1 : 3 - } - } -} diff --git a/sample-qml/apps/HVAC_org/TempSlider.qml b/sample-qml/apps/HVAC_org/TempSlider.qml deleted file mode 100644 index f5500e4..0000000 --- a/sample-qml/apps/HVAC_org/TempSlider.qml +++ /dev/null @@ -1,61 +0,0 @@ -/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -import QtQuick 2.0 -import utils 1.0 -import "models" - -Item { - id: root - width: 64 - height: 716 - - property real value: HVACModel[propertyName] - property string propertyName: side + "Temperature" - property string side: "left" - - function setProperty(v) { - HVACModel[propertyName] = Math.min(Math.max(v, 0), 1) - } - - Rectangle { - anchors.fill: parent - color: "#4a53b5ce" - } - - Rectangle { - width: parent.width - height: value * parent.height - color: Style.orangeViv - anchors.bottom: parent.bottom - } - - Rectangle { - x: side === "left" ? parent.width + 30 : -30 - width: 2 - height: value * parent.height - anchors.bottom: parent.bottom - color: Style.orangeLt - - Image { - width: 30 - height: width - anchors.verticalCenter: parent.top - anchors.horizontalCenter: parent.horizontalCenter - source: "images/drag_knob.svg" - } - } - - MouseArea { - x: side === "left" ? 0 : -45 - width: parent.width + 45 - height: parent.height - - onPressed: setProperty(1 - mouse.y / height) - onPositionChanged: setProperty(1 - mouse.y / height) - } -} - diff --git a/sample-qml/apps/HVAC_org/TemperatureWheel.qml b/sample-qml/apps/HVAC_org/TemperatureWheel.qml deleted file mode 100644 index 7a59dde..0000000 --- a/sample-qml/apps/HVAC_org/TemperatureWheel.qml +++ /dev/null @@ -1,56 +0,0 @@ -/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -import QtQuick 2.0 -import "models" - -Rectangle { - width: 237 - height: 350 - color: "#aa000000" - - property string side: "left" - property string propertyName: side + "Temperature" - property real value: HVACModel[propertyName] - - ListView { - anchors.fill: parent - clip: true - snapMode: ListView.SnapToItem - model: TemperatureModel - header: Item { height: 120 } - footer: Item { height: 120 } - currentIndex: Math.min(value * count, count - 1) - flickDeceleration: 5000 - onContentYChanged: { - if (dragging || flicking) { - var item = Math.round((contentY + 120) / 110) - item = Math.max(Math.min(item, count - 1), 0) - if (item != currentIndex) { - var temperature = item / (count - 1) - HVACModel[propertyName] = temperature - } - } - } - highlightMoveDuration: 100 - interactive: true - - delegate: Text { - x: side === "right" ? 40 : 10 - height: 110 - verticalAlignment: Text.AlignVCenter - color: "white" - font.pixelSize: 70 - text: model.text - } - } - - Image { - mirror: side === "left" - source: "./images/right_number_cover.svg" - anchors.fill: parent - } -} diff --git a/sample-qml/apps/HVAC_org/images/defrost_front_off.png b/sample-qml/apps/HVAC_org/images/defrost_front_off.png deleted file mode 100644 index 7f12e77..0000000 Binary files a/sample-qml/apps/HVAC_org/images/defrost_front_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/defrost_front_off.svg b/sample-qml/apps/HVAC_org/images/defrost_front_off.svg deleted file mode 100644 index d2f0a6a..0000000 --- a/sample-qml/apps/HVAC_org/images/defrost_front_off.svg +++ /dev/null @@ -1,94 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -FRONT - - - diff --git a/sample-qml/apps/HVAC_org/images/defrost_front_on.png b/sample-qml/apps/HVAC_org/images/defrost_front_on.png deleted file mode 100644 index d8c9185..0000000 Binary files a/sample-qml/apps/HVAC_org/images/defrost_front_on.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/defrost_front_on.svg b/sample-qml/apps/HVAC_org/images/defrost_front_on.svg deleted file mode 100644 index c4ed46a..0000000 --- a/sample-qml/apps/HVAC_org/images/defrost_front_on.svg +++ /dev/null @@ -1,247 +0,0 @@ - - - -image/svg+xmlFRONT - \ No newline at end of file diff --git a/sample-qml/apps/HVAC_org/images/defrost_max_off.png b/sample-qml/apps/HVAC_org/images/defrost_max_off.png deleted file mode 100644 index baf93cc..0000000 Binary files a/sample-qml/apps/HVAC_org/images/defrost_max_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/defrost_max_off.svg b/sample-qml/apps/HVAC_org/images/defrost_max_off.svg deleted file mode 100644 index a027d25..0000000 --- a/sample-qml/apps/HVAC_org/images/defrost_max_off.svg +++ /dev/null @@ -1,189 +0,0 @@ - - - -image/svg+xmlMAX - \ No newline at end of file diff --git a/sample-qml/apps/HVAC_org/images/defrost_max_on.png b/sample-qml/apps/HVAC_org/images/defrost_max_on.png deleted file mode 100644 index 675d654..0000000 Binary files a/sample-qml/apps/HVAC_org/images/defrost_max_on.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/defrost_max_on.svg b/sample-qml/apps/HVAC_org/images/defrost_max_on.svg deleted file mode 100644 index 9385c42..0000000 --- a/sample-qml/apps/HVAC_org/images/defrost_max_on.svg +++ /dev/null @@ -1,267 +0,0 @@ - - - -image/svg+xmlMAX - \ No newline at end of file diff --git a/sample-qml/apps/HVAC_org/images/defrost_rear_off.png b/sample-qml/apps/HVAC_org/images/defrost_rear_off.png deleted file mode 100644 index 33d6cfd..0000000 Binary files a/sample-qml/apps/HVAC_org/images/defrost_rear_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/defrost_rear_off.svg b/sample-qml/apps/HVAC_org/images/defrost_rear_off.svg deleted file mode 100644 index 0f5142e..0000000 --- a/sample-qml/apps/HVAC_org/images/defrost_rear_off.svg +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -REAR - - - - - diff --git a/sample-qml/apps/HVAC_org/images/defrost_rear_on.png b/sample-qml/apps/HVAC_org/images/defrost_rear_on.png deleted file mode 100644 index 2dfab44..0000000 Binary files a/sample-qml/apps/HVAC_org/images/defrost_rear_on.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/defrost_rear_on.svg b/sample-qml/apps/HVAC_org/images/defrost_rear_on.svg deleted file mode 100644 index a44e246..0000000 --- a/sample-qml/apps/HVAC_org/images/defrost_rear_on.svg +++ /dev/null @@ -1,244 +0,0 @@ - - - -image/svg+xmlREAR - \ No newline at end of file diff --git a/sample-qml/apps/HVAC_org/images/drag_knob.svg b/sample-qml/apps/HVAC_org/images/drag_knob.svg deleted file mode 100644 index 774c1b6..0000000 --- a/sample-qml/apps/HVAC_org/images/drag_knob.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - diff --git a/sample-qml/apps/HVAC_org/images/fan_bar_off.png b/sample-qml/apps/HVAC_org/images/fan_bar_off.png deleted file mode 100644 index ec0f372..0000000 Binary files a/sample-qml/apps/HVAC_org/images/fan_bar_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/fan_bar_on.png b/sample-qml/apps/HVAC_org/images/fan_bar_on.png deleted file mode 100644 index 107c8fc..0000000 Binary files a/sample-qml/apps/HVAC_org/images/fan_bar_on.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/fan_bar_on.svg b/sample-qml/apps/HVAC_org/images/fan_bar_on.svg deleted file mode 100644 index f65fe74..0000000 --- a/sample-qml/apps/HVAC_org/images/fan_bar_on.svg +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - - - - - - - - - - 20° - 21° - 19° - 18° - 17° - 16° - - - - - - - - - - - diff --git a/sample-qml/apps/HVAC_org/images/fan_control_ac_off.png b/sample-qml/apps/HVAC_org/images/fan_control_ac_off.png deleted file mode 100644 index 728efe4..0000000 Binary files a/sample-qml/apps/HVAC_org/images/fan_control_ac_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/fan_control_ac_off.svg b/sample-qml/apps/HVAC_org/images/fan_control_ac_off.svg deleted file mode 100644 index 13af676..0000000 --- a/sample-qml/apps/HVAC_org/images/fan_control_ac_off.svg +++ /dev/null @@ -1,68 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - 20° - 21° - 19° - 18° - 17° - 16° - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A/C - - diff --git a/sample-qml/apps/HVAC_org/images/fan_control_ac_on.png b/sample-qml/apps/HVAC_org/images/fan_control_ac_on.png deleted file mode 100644 index b9d03e5..0000000 Binary files a/sample-qml/apps/HVAC_org/images/fan_control_ac_on.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/fan_control_ac_on.svg b/sample-qml/apps/HVAC_org/images/fan_control_ac_on.svg deleted file mode 100644 index 040fa44..0000000 --- a/sample-qml/apps/HVAC_org/images/fan_control_ac_on.svg +++ /dev/null @@ -1,275 +0,0 @@ - - - -image/svg+xml20° -21° -19° -18° -17° -16° -A/C - \ No newline at end of file diff --git a/sample-qml/apps/HVAC_org/images/fan_control_auto_off.png b/sample-qml/apps/HVAC_org/images/fan_control_auto_off.png deleted file mode 100644 index 2112b9c..0000000 Binary files a/sample-qml/apps/HVAC_org/images/fan_control_auto_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/fan_control_auto_off.svg b/sample-qml/apps/HVAC_org/images/fan_control_auto_off.svg deleted file mode 100644 index f560a54..0000000 --- a/sample-qml/apps/HVAC_org/images/fan_control_auto_off.svg +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - 20° - 21° - 19° - 18° - 17° - 16° - - - - - - - - - - - - - - - - - - - - - - -AUTO - diff --git a/sample-qml/apps/HVAC_org/images/fan_control_auto_on.png b/sample-qml/apps/HVAC_org/images/fan_control_auto_on.png deleted file mode 100644 index 2b7daf6..0000000 Binary files a/sample-qml/apps/HVAC_org/images/fan_control_auto_on.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/fan_control_auto_on.svg b/sample-qml/apps/HVAC_org/images/fan_control_auto_on.svg deleted file mode 100644 index 2cdc613..0000000 --- a/sample-qml/apps/HVAC_org/images/fan_control_auto_on.svg +++ /dev/null @@ -1,282 +0,0 @@ - - - -image/svg+xml20° -21° -19° -18° -17° -16° -AUTO - \ No newline at end of file diff --git a/sample-qml/apps/HVAC_org/images/fan_control_circ_off.png b/sample-qml/apps/HVAC_org/images/fan_control_circ_off.png deleted file mode 100644 index 08e2f11..0000000 Binary files a/sample-qml/apps/HVAC_org/images/fan_control_circ_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/fan_control_circ_off.svg b/sample-qml/apps/HVAC_org/images/fan_control_circ_off.svg deleted file mode 100644 index d37814b..0000000 --- a/sample-qml/apps/HVAC_org/images/fan_control_circ_off.svg +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/sample-qml/apps/HVAC_org/images/fan_control_circ_on.png b/sample-qml/apps/HVAC_org/images/fan_control_circ_on.png deleted file mode 100644 index 4245785..0000000 Binary files a/sample-qml/apps/HVAC_org/images/fan_control_circ_on.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/fan_control_circ_on.svg b/sample-qml/apps/HVAC_org/images/fan_control_circ_on.svg deleted file mode 100644 index a55b0aa..0000000 --- a/sample-qml/apps/HVAC_org/images/fan_control_circ_on.svg +++ /dev/null @@ -1,173 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/sample-qml/apps/HVAC_org/images/fan_dir_down_off.png b/sample-qml/apps/HVAC_org/images/fan_dir_down_off.png deleted file mode 100644 index 84d19f3..0000000 Binary files a/sample-qml/apps/HVAC_org/images/fan_dir_down_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/fan_dir_down_off.svg b/sample-qml/apps/HVAC_org/images/fan_dir_down_off.svg deleted file mode 100644 index 616162b..0000000 --- a/sample-qml/apps/HVAC_org/images/fan_dir_down_off.svg +++ /dev/null @@ -1,196 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/sample-qml/apps/HVAC_org/images/fan_dir_down_on.png b/sample-qml/apps/HVAC_org/images/fan_dir_down_on.png deleted file mode 100644 index 8b74473..0000000 Binary files a/sample-qml/apps/HVAC_org/images/fan_dir_down_on.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/fan_dir_down_on.svg b/sample-qml/apps/HVAC_org/images/fan_dir_down_on.svg deleted file mode 100644 index f5e5771..0000000 --- a/sample-qml/apps/HVAC_org/images/fan_dir_down_on.svg +++ /dev/null @@ -1,201 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/sample-qml/apps/HVAC_org/images/fan_dir_right_off.png b/sample-qml/apps/HVAC_org/images/fan_dir_right_off.png deleted file mode 100644 index a64cd81..0000000 Binary files a/sample-qml/apps/HVAC_org/images/fan_dir_right_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/fan_dir_right_off.svg b/sample-qml/apps/HVAC_org/images/fan_dir_right_off.svg deleted file mode 100644 index 7df2d2a..0000000 --- a/sample-qml/apps/HVAC_org/images/fan_dir_right_off.svg +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/sample-qml/apps/HVAC_org/images/fan_dir_right_on.png b/sample-qml/apps/HVAC_org/images/fan_dir_right_on.png deleted file mode 100644 index b6cbc9d..0000000 Binary files a/sample-qml/apps/HVAC_org/images/fan_dir_right_on.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/fan_dir_right_on.svg b/sample-qml/apps/HVAC_org/images/fan_dir_right_on.svg deleted file mode 100644 index 585dc61..0000000 --- a/sample-qml/apps/HVAC_org/images/fan_dir_right_on.svg +++ /dev/null @@ -1,227 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/sample-qml/apps/HVAC_org/images/fan_dir_up_off.png b/sample-qml/apps/HVAC_org/images/fan_dir_up_off.png deleted file mode 100644 index 0a0536e..0000000 Binary files a/sample-qml/apps/HVAC_org/images/fan_dir_up_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/fan_dir_up_off.svg b/sample-qml/apps/HVAC_org/images/fan_dir_up_off.svg deleted file mode 100644 index a89f804..0000000 --- a/sample-qml/apps/HVAC_org/images/fan_dir_up_off.svg +++ /dev/null @@ -1,64 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/sample-qml/apps/HVAC_org/images/fan_dir_up_on.png b/sample-qml/apps/HVAC_org/images/fan_dir_up_on.png deleted file mode 100644 index 6c64b82..0000000 Binary files a/sample-qml/apps/HVAC_org/images/fan_dir_up_on.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/fan_dir_up_on.svg b/sample-qml/apps/HVAC_org/images/fan_dir_up_on.svg deleted file mode 100644 index e17278b..0000000 --- a/sample-qml/apps/HVAC_org/images/fan_dir_up_on.svg +++ /dev/null @@ -1,244 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/sample-qml/apps/HVAC_org/images/fan_icon_off.png b/sample-qml/apps/HVAC_org/images/fan_icon_off.png deleted file mode 100644 index 5a1bf00..0000000 Binary files a/sample-qml/apps/HVAC_org/images/fan_icon_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/hazard_blink.png b/sample-qml/apps/HVAC_org/images/hazard_blink.png deleted file mode 100644 index a58ac33..0000000 Binary files a/sample-qml/apps/HVAC_org/images/hazard_blink.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/hazard_blink.svg b/sample-qml/apps/HVAC_org/images/hazard_blink.svg deleted file mode 100644 index 983c8e1..0000000 --- a/sample-qml/apps/HVAC_org/images/hazard_blink.svg +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - diff --git a/sample-qml/apps/HVAC_org/images/hazard_off.png b/sample-qml/apps/HVAC_org/images/hazard_off.png deleted file mode 100644 index c261e13..0000000 Binary files a/sample-qml/apps/HVAC_org/images/hazard_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/hazard_off.svg b/sample-qml/apps/HVAC_org/images/hazard_off.svg deleted file mode 100644 index e9ad198..0000000 --- a/sample-qml/apps/HVAC_org/images/hazard_off.svg +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - 53b5ce - - - - - - - - - - - - - - - diff --git a/sample-qml/apps/HVAC_org/images/hazard_on.png b/sample-qml/apps/HVAC_org/images/hazard_on.png deleted file mode 100644 index c6a6790..0000000 Binary files a/sample-qml/apps/HVAC_org/images/hazard_on.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/hazard_on.svg b/sample-qml/apps/HVAC_org/images/hazard_on.svg deleted file mode 100644 index f2ba8e0..0000000 --- a/sample-qml/apps/HVAC_org/images/hazard_on.svg +++ /dev/null @@ -1,174 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/sample-qml/apps/HVAC_org/images/left_heat_seat_off.png b/sample-qml/apps/HVAC_org/images/left_heat_seat_off.png deleted file mode 100644 index e9b9977..0000000 Binary files a/sample-qml/apps/HVAC_org/images/left_heat_seat_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/left_heat_seat_off.svg b/sample-qml/apps/HVAC_org/images/left_heat_seat_off.svg deleted file mode 100644 index 5823221..0000000 --- a/sample-qml/apps/HVAC_org/images/left_heat_seat_off.svg +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/sample-qml/apps/HVAC_org/images/left_heat_seat_on.png b/sample-qml/apps/HVAC_org/images/left_heat_seat_on.png deleted file mode 100644 index 65cc992..0000000 Binary files a/sample-qml/apps/HVAC_org/images/left_heat_seat_on.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/left_heat_seat_on.svg b/sample-qml/apps/HVAC_org/images/left_heat_seat_on.svg deleted file mode 100644 index 4cd0841..0000000 --- a/sample-qml/apps/HVAC_org/images/left_heat_seat_on.svg +++ /dev/null @@ -1,66 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/sample-qml/apps/HVAC_org/images/left_number_bg.svg b/sample-qml/apps/HVAC_org/images/left_number_bg.svg deleted file mode 100644 index cdba6d5..0000000 --- a/sample-qml/apps/HVAC_org/images/left_number_bg.svg +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - - - 20° - 21° - 19° - 18° - 17° - 16° - - - - - - - - - - - - diff --git a/sample-qml/apps/HVAC_org/images/left_number_cover.svg b/sample-qml/apps/HVAC_org/images/left_number_cover.svg deleted file mode 100644 index 6bcfc16..0000000 --- a/sample-qml/apps/HVAC_org/images/left_number_cover.svg +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/sample-qml/apps/HVAC_org/images/right_heat_seat_off.png b/sample-qml/apps/HVAC_org/images/right_heat_seat_off.png deleted file mode 100644 index d44e5f8..0000000 Binary files a/sample-qml/apps/HVAC_org/images/right_heat_seat_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/right_heat_seat_off.svg b/sample-qml/apps/HVAC_org/images/right_heat_seat_off.svg deleted file mode 100644 index a260e8a..0000000 --- a/sample-qml/apps/HVAC_org/images/right_heat_seat_off.svg +++ /dev/null @@ -1,52 +0,0 @@ - - - - - - - - - - - - - - - - - - 20° - 21° - 19° - 18° - 17° - - - - - - - - - - - - - - - - - - - diff --git a/sample-qml/apps/HVAC_org/images/right_heat_seat_on.png b/sample-qml/apps/HVAC_org/images/right_heat_seat_on.png deleted file mode 100644 index 64f54c8..0000000 Binary files a/sample-qml/apps/HVAC_org/images/right_heat_seat_on.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/right_heat_seat_on.svg b/sample-qml/apps/HVAC_org/images/right_heat_seat_on.svg deleted file mode 100644 index 893a546..0000000 --- a/sample-qml/apps/HVAC_org/images/right_heat_seat_on.svg +++ /dev/null @@ -1,117 +0,0 @@ - - - -image/svg+xml20° -21° -19° -18° -17° - \ No newline at end of file diff --git a/sample-qml/apps/HVAC_org/images/right_number_bg.svg b/sample-qml/apps/HVAC_org/images/right_number_bg.svg deleted file mode 100644 index f9b7d71..0000000 --- a/sample-qml/apps/HVAC_org/images/right_number_bg.svg +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - 20° - 21° - 19° - 18° - 17° - - - - - - - - - - - - - diff --git a/sample-qml/apps/HVAC_org/images/right_number_cover.svg b/sample-qml/apps/HVAC_org/images/right_number_cover.svg deleted file mode 100644 index 370acd3..0000000 --- a/sample-qml/apps/HVAC_org/images/right_number_cover.svg +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - 20° - 21° - 19° - 18° - 17° - - - - - - - - - - - - diff --git a/sample-qml/apps/HVAC_org/images/separator.png b/sample-qml/apps/HVAC_org/images/separator.png deleted file mode 100644 index 920ea80..0000000 Binary files a/sample-qml/apps/HVAC_org/images/separator.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/static_parts_bg.svg b/sample-qml/apps/HVAC_org/images/static_parts_bg.svg deleted file mode 100644 index f850fcb..0000000 --- a/sample-qml/apps/HVAC_org/images/static_parts_bg.svg +++ /dev/null @@ -1,1031 +0,0 @@ - - - -image/svg+xml20° -21° -19° -18° -17° -16° -20° -21° -19° -18° -17° -MAX - \ No newline at end of file diff --git a/sample-qml/apps/HVAC_org/images/temp_bar_on_left.svg b/sample-qml/apps/HVAC_org/images/temp_bar_on_left.svg deleted file mode 100644 index 66cac81..0000000 --- a/sample-qml/apps/HVAC_org/images/temp_bar_on_left.svg +++ /dev/null @@ -1,271 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/sample-qml/apps/HVAC_org/images/temp_bar_on_right.svg b/sample-qml/apps/HVAC_org/images/temp_bar_on_right.svg deleted file mode 100644 index 95bd894..0000000 --- a/sample-qml/apps/HVAC_org/images/temp_bar_on_right.svg +++ /dev/null @@ -1,282 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/sample-qml/apps/HVAC_org/models/HVACModel.qml b/sample-qml/apps/HVAC_org/models/HVACModel.qml deleted file mode 100644 index e737af4..0000000 --- a/sample-qml/apps/HVAC_org/models/HVACModel.qml +++ /dev/null @@ -1,47 +0,0 @@ -/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -pragma Singleton - -import QtQuick 2.0 -import vehicle 1.0 - -Item { - property bool fanUp: false - property bool fanRight: false - property bool fanDown: false - - property bool fanAC: false - property bool fanAuto: false - property bool fanRecirc: false - - property real fanSpeed: 0 - - property bool defrostMax: false - property bool defrostFront: false - property bool defrostRear: false - - property real leftTemperature: 0 - property real rightTemperature: 0 - - property int leftSeatHeat: 0 - property int rightSeatHeat: 0 - - onFanSpeedChanged: { - var currentFan = ClimateModel.getRangeValue(fanSpeed,ClimateModel.fanStepSize); - ClimateModel.fanSpeed = currentFan; - } - - onLeftTemperatureChanged: { - var temperature = ClimateModel.getRangeValue(leftTemperature,ClimateModel.temperatureStepSize); - ClimateModel.leftTemp = temperature; - } - - onRightTemperatureChanged: { - var temperature = ClimateModel.getRangeValue(rightTemperature,ClimateModel.temperatureStepSize); - ClimateModel.rightTemp = temperature; - } -} diff --git a/sample-qml/apps/HVAC_org/models/TemperatureModel.qml b/sample-qml/apps/HVAC_org/models/TemperatureModel.qml deleted file mode 100644 index 85ca415..0000000 --- a/sample-qml/apps/HVAC_org/models/TemperatureModel.qml +++ /dev/null @@ -1,28 +0,0 @@ -/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -pragma Singleton - -import QtQuick 2.0 - -ListModel { - ListElement { text: "LO" } - ListElement { text: "16\u00b0" } - ListElement { text: "17\u00b0" } - ListElement { text: "18\u00b0" } - ListElement { text: "19\u00b0" } - ListElement { text: "20\u00b0" } - ListElement { text: "21\u00b0" } - ListElement { text: "22\u00b0" } - ListElement { text: "23\u00b0" } - ListElement { text: "24\u00b0" } - ListElement { text: "25\u00b0" } - ListElement { text: "26\u00b0" } - ListElement { text: "27\u00b0" } - ListElement { text: "28\u00b0" } - ListElement { text: "29\u00b0" } - ListElement { text: "HI" } -} diff --git a/sample-qml/apps/HVAC_org/models/qmldir b/sample-qml/apps/HVAC_org/models/qmldir deleted file mode 100644 index d757168..0000000 --- a/sample-qml/apps/HVAC_org/models/qmldir +++ /dev/null @@ -1,8 +0,0 @@ -#/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved. -# * -# * This Source Code Form is subject to the terms of the Mozilla Public -# * License, v. 2.0. If a copy of the MPL was not distributed with this -# * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -singleton HVACModel 1.0 HVACModel.qml -singleton TemperatureModel 1.0 TemperatureModel.qml diff --git a/sample-qml/calledbyqml.cpp b/sample-qml/calledbyqml.cpp deleted file mode 100644 index 5df584a..0000000 --- a/sample-qml/calledbyqml.cpp +++ /dev/null @@ -1,38 +0,0 @@ -#include "calledbyqml.h" -#include -#include -#include -#include - - -CalledByQml::CalledByQml(QObject *parent) : - QObject(parent) -{ -} - -int CalledByQml::consoleout() -{ - qDebug("consoleout method is called"); - LibHomeScreen libHomeScreen; - libHomeScreen.hardKeyPressed(1); - return 0; -} - -int CalledByQml::showup() -{ - qDebug("showup method is called"); - QGuiApplication app2(); - QQmlApplicationEngine engine2; - QString target(getenv("AFM_APP_INSTALL_DIR")); - qDebug("AFM_APP_INSTALL_DIR is " + target.toLatin1()); - - if(NULL == target) - { - target = "."; - } - - QString load_path; - load_path = target + "/main2.qml"; - //engine2.load(QUrl(load_path)); - return 0; -} diff --git a/sample-qml/calledbyqml.h b/sample-qml/calledbyqml.h deleted file mode 100644 index fbb5ef5..0000000 --- a/sample-qml/calledbyqml.h +++ /dev/null @@ -1,22 +0,0 @@ -#ifndef CALLEDBYQML_H -#define CALLEDBYQML_H -#include - -class CalledByQml : public QObject -{ - Q_OBJECT - -public: - explicit CalledByQml(QObject *parent = 0); - Q_INVOKABLE int consoleout(); - Q_INVOKABLE int showup(); - -signals: - -public slots: - void refresh() { - qDebug("Called the C++ slot"); - } -}; - -#endif // CALLEDBYQML_H diff --git a/sample-qml/config.xml b/sample-qml/config.xml deleted file mode 100644 index 9703e68..0000000 --- a/sample-qml/config.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - App Framework - sample-qml with homescreen - - - This application is used for ... confirm homescreen functionality - Sample Company <sample.agl.xxxx@mail.domain.sample.xxxxxx> - APL 2.0 - diff --git a/sample-qml/deployment.pri b/sample-qml/deployment.pri deleted file mode 100644 index 265ce71..0000000 --- a/sample-qml/deployment.pri +++ /dev/null @@ -1,13 +0,0 @@ -unix:!android { - isEmpty(target.path) { - qnx { - target.path = /tmp/$${TARGET}/bin - } else { - target.path = /opt/$${TARGET}/bin - } - export(target.path) - } - INSTALLS += target -} - -export(INSTALLS) diff --git a/sample-qml/dummyimports/Automotive/ClimateControl/ClimateControlItem.qml b/sample-qml/dummyimports/Automotive/ClimateControl/ClimateControlItem.qml deleted file mode 100644 index 2688db6..0000000 --- a/sample-qml/dummyimports/Automotive/ClimateControl/ClimateControlItem.qml +++ /dev/null @@ -1,13 +0,0 @@ -import QtQuick 2.0 - -QtObject { - property int zone: 0 - property int fanSpeedLevel: 0 - property int targetTemperature: 0 - property bool airConditioning: false - property bool heater: false - property int seatHeater: 0 - property int seatCooler: 0 - property bool airCirculation: false - property int steeringWheelHeater: 0 -} diff --git a/sample-qml/dummyimports/Automotive/ClimateControl/ClimateControlItem.qmlc b/sample-qml/dummyimports/Automotive/ClimateControl/ClimateControlItem.qmlc deleted file mode 100644 index 9961cde..0000000 Binary files a/sample-qml/dummyimports/Automotive/ClimateControl/ClimateControlItem.qmlc and /dev/null differ diff --git a/sample-qml/dummyimports/Automotive/ClimateControl/qmldir b/sample-qml/dummyimports/Automotive/ClimateControl/qmldir deleted file mode 100644 index 8a44272..0000000 --- a/sample-qml/dummyimports/Automotive/ClimateControl/qmldir +++ /dev/null @@ -1 +0,0 @@ -ClimateControlItem 1.0 ClimateControlItem.qml diff --git a/sample-qml/dummyimports/amb/AutomotivePropertyItem.qml b/sample-qml/dummyimports/amb/AutomotivePropertyItem.qml deleted file mode 100644 index 158ad57..0000000 --- a/sample-qml/dummyimports/amb/AutomotivePropertyItem.qml +++ /dev/null @@ -1,7 +0,0 @@ -import QtQuick 2.0 - -Item { - property string propertyName: "" - property real value: 1.0 - function connect() {} -} diff --git a/sample-qml/dummyimports/amb/qmldir b/sample-qml/dummyimports/amb/qmldir deleted file mode 100644 index 1582652..0000000 --- a/sample-qml/dummyimports/amb/qmldir +++ /dev/null @@ -1,2 +0,0 @@ -AutomotivePropertyItem 0.1 AutomotivePropertyItem.qml - diff --git a/sample-qml/dummyimports/com/pelagicore/qmldevinfo/DevInfo.qml b/sample-qml/dummyimports/com/pelagicore/qmldevinfo/DevInfo.qml deleted file mode 100644 index e81b44d..0000000 --- a/sample-qml/dummyimports/com/pelagicore/qmldevinfo/DevInfo.qml +++ /dev/null @@ -1,18 +0,0 @@ -/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -import QtQuick 2.0 - -Item { - id: root - - property var ipAddresses: [] - property var ip6addresses: [] - property string softwareVersion - property string buildId - property string nameServer - property string defaultGateway -} diff --git a/sample-qml/dummyimports/com/pelagicore/qmldevinfo/qmldir b/sample-qml/dummyimports/com/pelagicore/qmldevinfo/qmldir deleted file mode 100644 index 1caf203..0000000 --- a/sample-qml/dummyimports/com/pelagicore/qmldevinfo/qmldir +++ /dev/null @@ -1,7 +0,0 @@ -#/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved. -# * -# * This Source Code Form is subject to the terms of the Mozilla Public -# * License, v. 2.0. If a copy of the MPL was not distributed with this -# * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -DevInfo 0.1 DevInfo.qml diff --git a/sample-qml/dummyimports/radio/Radio.qml b/sample-qml/dummyimports/radio/Radio.qml deleted file mode 100644 index cea2e1a..0000000 --- a/sample-qml/dummyimports/radio/Radio.qml +++ /dev/null @@ -1,6 +0,0 @@ -import QtQuick 2.0 - -Item { - signal stopped - signal playing -} diff --git a/sample-qml/dummyimports/radio/qmldir b/sample-qml/dummyimports/radio/qmldir deleted file mode 100644 index e334188..0000000 --- a/sample-qml/dummyimports/radio/qmldir +++ /dev/null @@ -1,2 +0,0 @@ -Radio 1.0 Radio.qml -RadioPropertyItem 1.0 Radio.qml diff --git a/sample-qml/imports/components/AwesomeIcon.qml b/sample-qml/imports/components/AwesomeIcon.qml deleted file mode 100644 index 542fb0f..0000000 --- a/sample-qml/imports/components/AwesomeIcon.qml +++ /dev/null @@ -1,26 +0,0 @@ -/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -import QtQuick 2.0 -import system 1.0 -import components 1.0 -import utils 1.0 - -Item { - height: icon.height - width: icon.height - - property alias iconSize: icon.font.pixelSize - property alias ucKey: icon.text - property alias iconColor: icon.color - - Text { - id: icon - font.family: "FontAwesome" - color: "white" - } -} - diff --git a/sample-qml/imports/components/Box.qml b/sample-qml/imports/components/Box.qml deleted file mode 100644 index a2f2ae0..0000000 --- a/sample-qml/imports/components/Box.qml +++ /dev/null @@ -1,49 +0,0 @@ -/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -import QtQuick 2.0 -import utils 1.0 - -Item { - id: root - - opacity: 0.8 - property color color: Style.grey - property color border: color - property string shadow: "" - - OutShadow { - color: root.color - visible: root.shadow === "out" - } - - Rectangle { - id: rect - anchors.fill: parent - color: Style.black - border.width: 1 - border.color: root.border - } - - InsetShadow { - color: root.color - visible: root.shadow === "fill" - } - - InShadow { - color: root.color - visible: root.shadow === "in" - } - - Rectangle { - visible: root.shadow === "fill" - anchors.fill: parent - color: "transparent" - border.width: 1 - border.color: root.border - } - -} diff --git a/sample-qml/imports/components/BoxButton.qml b/sample-qml/imports/components/BoxButton.qml deleted file mode 100644 index 0969f46..0000000 --- a/sample-qml/imports/components/BoxButton.qml +++ /dev/null @@ -1,36 +0,0 @@ -/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -import QtQuick 2.0 -import components 1.0 - -Item { - id: root - - property alias shadow: box.shadow - property alias color: box.color - property alias text: textItem.text - - signal clicked() - - Box { - id: box - anchors.fill: parent - - Text { - id: textItem - anchors.centerIn: parent - horizontalAlignment: Text.AlignHCenter - font.pixelSize: 28 - color: "white" - } - - MouseArea { - anchors.fill: parent - onClicked: root.clicked() - } - } -} diff --git a/sample-qml/imports/components/BoxHeading.qml b/sample-qml/imports/components/BoxHeading.qml deleted file mode 100644 index bb2c62a..0000000 --- a/sample-qml/imports/components/BoxHeading.qml +++ /dev/null @@ -1,37 +0,0 @@ -/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -import QtQuick 2.0 -import utils 1.0 - -Row { - id: root - - property color color: Style.blueViv - property alias fontSize: headingText.font.pixelSize - property alias text: headingText.text - property alias boxWidth: box.width - property alias boxHeight: box.height - - spacing: 10 - - Rectangle { - id: box - anchors.bottom: headingText.baseline - anchors.bottomMargin: 0 - width: 100 - height: 16 - color: root.color - } - - Text { - id: headingText - font.family: "Source Sans Pro" - font.pixelSize: 22 - font.weight: Font.Bold - color: root.color - } -} diff --git a/sample-qml/imports/components/Button.qml b/sample-qml/imports/components/Button.qml deleted file mode 100644 index 9d5c495..0000000 --- a/sample-qml/imports/components/Button.qml +++ /dev/null @@ -1,30 +0,0 @@ -/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -import QtQuick 2.0 - -Rectangle { - id: root - border.color: "#cccccc" - color:"#222" - border.width: 2 - height: pairText.height + 20 - width: pairText.width + 20 - - property string buttonText - - - Text { - id: pairText - anchors.centerIn: parent - font.family: "Source Sans Pro" - font.pixelSize: 48 - font.weight: Font.Bold - color: "white" - font.capitalization: Font.AllUppercase - text: buttonText - } -} diff --git a/sample-qml/imports/components/DateTime.qml b/sample-qml/imports/components/DateTime.qml deleted file mode 100644 index 6203712..0000000 --- a/sample-qml/imports/components/DateTime.qml +++ /dev/null @@ -1,35 +0,0 @@ -/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -import QtQuick 2.0 -import utils 1.0 - -Item { - id: dateTime - anchors.left: parent.left - anchors.right: parent.right - height: 120 - property var timeStamp: new Date() - - Timer { - interval: 1000 - running: true - repeat: true - onTriggered: timeStamp = new Date() - } - - Label { - fontColor: Style.grey - text: Qt.formatDate(timeStamp, "ddd MMM d") - } - - Label { - anchors.right: parent.right - fontColor: Style.grey - text: Qt.formatTime(timeStamp, "h:mm AP") - } -} - diff --git a/sample-qml/imports/components/HexGrid.qml b/sample-qml/imports/components/HexGrid.qml deleted file mode 100644 index b81a09a..0000000 --- a/sample-qml/imports/components/HexGrid.qml +++ /dev/null @@ -1,32 +0,0 @@ -/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -import QtQuick 2.0 - -Item { - property real spacing: 0 - property int columns: 3 - - width: childrenRect.width - height: childrenRect.height - - Component.onCompleted: { - var sizeX = childrenRect.height - var sizeY = childrenRect.width - var column = 0 - var row = 0 - - for (var n = 0; n < children.length; n++) { - children[n].x = column * (sizeX + spacing) - children[n].y = row * (0.5 * sizeY + spacing) - column += 2 - if (column >= columns) { - row++ - column = row % 2 - } - } - } -} diff --git a/sample-qml/imports/components/HexSwitch.qml b/sample-qml/imports/components/HexSwitch.qml deleted file mode 100644 index d0b7909..0000000 --- a/sample-qml/imports/components/HexSwitch.qml +++ /dev/null @@ -1,80 +0,0 @@ -/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -import QtQuick 2.0 -import QtGraphicalEffects 1.0 - -Item { - width: 170 * height / 80 - height: 80 - - property bool value - property bool showLabels: false - - Image { - anchors.fill: parent - source: "../../images/switchplate_" + (value ? "on" : "off") + ".png" - } - - Item { - id: shadowTarget - x: value ? parent.width * 0.375 : -11 - width: parent.width * 0.7 - height: parent.height - - Image { - id: control - anchors.centerIn: parent - width: parent.height * 0.9 - fillMode: Image.PreserveAspectFit - source: "../../images/switchcontrol.png" - } - } - - DropShadow { - anchors.fill: shadowTarget - cached: true - horizontalOffset: parent.height * 0.05 - verticalOffset: parent.height * 0.05 - radius: 16 - samples: 32 - color: Qt.rgba(0, 0, 0, 0.35) - smooth: true - source: shadowTarget - } - - Text { - text: qsTr("OFF") - font.family: "Source Sans Pro" - anchors.right: parent.left - anchors.rightMargin: 30 - anchors.verticalCenter: parent.verticalCenter - font.pointSize: 25 - font.letterSpacing: -0.5 - font.weight: value ? Font.Normal : Font.Bold - color: value ? "#C4C4C4" : "#FE9C00" - visible: showLabels - } - - Text { - id: onText - text: qsTr("ON") - font.family: "Source Sans Pro" - anchors.left: parent.right - anchors.leftMargin: 30 - font.pointSize: 25 - anchors.verticalCenter: parent.verticalCenter - font.letterSpacing: -0.5 - font.weight: value ? Font.Bold : Font.Normal - color: value ? "#59FF00" : "#C4C4C4" - visible: showLabels - } - - MouseArea { - anchors.fill: parent - onClicked: value = !value - } -} diff --git a/sample-qml/imports/components/InShadow.qml b/sample-qml/imports/components/InShadow.qml deleted file mode 100644 index 2d64c2a..0000000 --- a/sample-qml/imports/components/InShadow.qml +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -import QtQuick 2.0 - -ShaderEffect { - anchors.fill: parent - property color color - property real radius: 16 - - fragmentShader: " -uniform lowp float radius; -uniform lowp float height; -uniform lowp float width; -uniform lowp float qt_Opacity; -uniform lowp vec4 color; -varying highp vec2 qt_TexCoord0; - -void main(void) { - lowp vec2 dist = min(qt_TexCoord0, vec2(1.0) - qt_TexCoord0); - // Border shadow - lowp float xval = smoothstep(0.0, radius, dist.x * width); - lowp float yval = smoothstep(0.0, radius, dist.y * height); - lowp float borderVal = sqrt(yval * xval) * 0.5 + 0.5; - - lowp vec4 borderColor = mix(color, vec4(0.0, 0.0, 0.0, 1.0), borderVal); - gl_FragColor = borderColor * qt_Opacity; -} - " -} diff --git a/sample-qml/imports/components/InsetShadow.qml b/sample-qml/imports/components/InsetShadow.qml deleted file mode 100644 index 6ad17cd..0000000 --- a/sample-qml/imports/components/InsetShadow.qml +++ /dev/null @@ -1,40 +0,0 @@ -/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -import QtQuick 2.0 - -ShaderEffect { - anchors.fill: parent - property color color - property real radius: 100 - property real border: 20 - - fragmentShader: " -uniform lowp float radius; -uniform lowp float border; -uniform lowp float height; -uniform lowp float width; -uniform lowp float qt_Opacity; -uniform lowp vec4 color; -varying highp vec2 qt_TexCoord0; - -void main(void) { - lowp vec2 dist = min(qt_TexCoord0, vec2(1.0) - qt_TexCoord0); - // Border shadow - lowp float xval = smoothstep(0.0, border, dist.x * width); - lowp float yval = smoothstep(0.0, border, dist.y * height); - lowp float borderVal = sqrt(yval * xval) * 0.5 + 0.5; - // Inner shadow - xval = smoothstep(0.0, radius, dist.x * width); - yval = smoothstep(0.0, radius, dist.y * width); - lowp float innerVal = sqrt(yval * xval) * 0.5 + 0.5; - - lowp vec4 innerColor = mix(vec4(0.0, 0.0, 0.0, 0.5), color, innerVal); - lowp vec4 borderColor = mix(vec4(0.0, 0.0, 0.0, 1.0), innerColor, borderVal); - gl_FragColor = borderColor * qt_Opacity; -} - " -} diff --git a/sample-qml/imports/components/Label.qml b/sample-qml/imports/components/Label.qml deleted file mode 100644 index e1e0b30..0000000 --- a/sample-qml/imports/components/Label.qml +++ /dev/null @@ -1,27 +0,0 @@ -/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -import QtQuick 2.0 -import utils 1.0 - -Item { - // Tracer {} - width: childrenRect.width - height: childrenRect.height - property alias text: text.text - property alias label: text - property alias fontSize: text.font.pixelSize - property alias fontColor: text.color - - Text { - id: text - color: "#ddd" - font.family: "Source Sans Pro" - font.pixelSize: 40 - font.capitalization: Font.AllUppercase - font.weight: Font.Bold - } -} diff --git a/sample-qml/imports/components/NumberPad.qml b/sample-qml/imports/components/NumberPad.qml deleted file mode 100644 index b7763ca..0000000 --- a/sample-qml/imports/components/NumberPad.qml +++ /dev/null @@ -1,101 +0,0 @@ -/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -import QtQuick 2.0 -import utils 1.0 - -Item { - id: root - height: childrenRect.height - property var letters: ["","abc","def","ghi","jkl","mno","pqrs","tuv","wxyz"] - property var bottomRow: ["*","0","#"] - - signal number(string number) - - Grid { - id: numberGrid - columns: 3 - spacing: 20 - - Repeater { - model: 9 - delegate: Item { - id: numberKey - width: (root.width - ( numberGrid.spacing*(numberGrid.columns-1)))/numberGrid.columns - height: numberKey.width * 0.8 - anchors.margins: 10 - - Rectangle { - id: shadowTarget - anchors.fill: parent - border.width: 1 - border.color: "white" - color: "#6653b5ce" - } - - Item { - height: childrenRect.height - width: parent.width - anchors.centerIn: parent - - Label { - anchors.horizontalCenter: parent.horizontalCenter - id: keypadNumber - text: index + 1 - } - - Label { - anchors.horizontalCenter: parent.horizontalCenter - id: keypadLetters - anchors.top: keypadNumber.bottom - fontSize: 30 - fontColor: "#53b5ce" - text: letters[index] - } - } - - MouseArea { - anchors.fill: parent - onClicked: root.number(keypadNumber.text) - } - } - } - - Repeater { - model: 3 - delegate: Item { - width: (root.width - ( numberGrid.spacing*(numberGrid.columns-1)))/numberGrid.columns - height: width * 0.8 - anchors.margins: 10 - - Rectangle { - id: shadowTarget - anchors.fill: parent - border.width: 1 - border.color: "white" - color: "#6653b5ce" - } - - Item { - height: childrenRect.height - width: parent.width - anchors.centerIn: parent - - Label { - anchors.horizontalCenter: parent.horizontalCenter - id: keypadNumber - text: bottomRow[index] - } - } - - MouseArea { - anchors.fill: parent - onClicked: root.number(keypadNumber.text) - } - } - } - } -} diff --git a/sample-qml/imports/components/OutShadow.qml b/sample-qml/imports/components/OutShadow.qml deleted file mode 100644 index f4d8407..0000000 --- a/sample-qml/imports/components/OutShadow.qml +++ /dev/null @@ -1,41 +0,0 @@ -/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -import QtQuick 2.0 -import QtGraphicalEffects 1.0 - -Item { - id: root - - anchors.fill: parent - property alias color: shadow.color - property alias radius: shadow.radius - - Item { - id: shadowTarget - x: -radius - y: -radius - width: parent.width + 2 * radius - height: parent.height + 2 * radius - - Rectangle { - anchors.centerIn: parent - width: root.width - height: root.height - color: "black" - } - } - - DropShadow { - id: shadow - anchors.fill: shadowTarget - horizontalOffset: 0 - verticalOffset: 0 - radius: 16 - samples: 32 - source: shadowTarget - } -} diff --git a/sample-qml/imports/components/Switch.qml b/sample-qml/imports/components/Switch.qml deleted file mode 100644 index 6cd50c7..0000000 --- a/sample-qml/imports/components/Switch.qml +++ /dev/null @@ -1,13 +0,0 @@ -/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -import QtQuick 2.0 - -Switch { - width: 100 - height: 62 -} - diff --git a/sample-qml/imports/components/qmldir b/sample-qml/imports/components/qmldir deleted file mode 100644 index 57e4d2d..0000000 --- a/sample-qml/imports/components/qmldir +++ /dev/null @@ -1,16 +0,0 @@ -#/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved. -# * -# * This Source Code Form is subject to the terms of the Mozilla Public -# * License, v. 2.0. If a copy of the MPL was not distributed with this -# * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -AwesomeIcon 1.0 AwesomeIcon.qml -Box 1.0 Box.qml -BoxButton 1.0 BoxButton.qml -BoxHeading 1.0 BoxHeading.qml -DateTime 1.0 DateTime.qml -HexGrid 1.0 HexGrid.qml -HexSwitch 1.0 HexSwitch.qml -Label 1.0 Label.qml -NumberPad 1.0 NumberPad.qml -Button 1.0 Button.qml diff --git a/sample-qml/imports/radio/Radio.qml b/sample-qml/imports/radio/Radio.qml deleted file mode 100644 index cea2e1a..0000000 --- a/sample-qml/imports/radio/Radio.qml +++ /dev/null @@ -1,6 +0,0 @@ -import QtQuick 2.0 - -Item { - signal stopped - signal playing -} diff --git a/sample-qml/imports/radio/qmldir b/sample-qml/imports/radio/qmldir deleted file mode 100644 index e334188..0000000 --- a/sample-qml/imports/radio/qmldir +++ /dev/null @@ -1,2 +0,0 @@ -Radio 1.0 Radio.qml -RadioPropertyItem 1.0 Radio.qml diff --git a/sample-qml/imports/system/App.qml b/sample-qml/imports/system/App.qml deleted file mode 100644 index d99e7f8..0000000 --- a/sample-qml/imports/system/App.qml +++ /dev/null @@ -1,35 +0,0 @@ -/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -import QtQuick 2.0 -import system 1.0 - -FocusScope { - id: root - property string appId - width: 1080 - height: 1920 - visible: true - property bool hasKeyFocus: false - focus: visible - onFocusChanged: if (focus) hasKeyFocus = true - - Rectangle{ - anchors.fill: parent - color: 'black' - } - - Keys.onPressed: { - switch (event.key) { - case Qt.Key_Left: - case Qt.Key_Right: - root.hasKeyFocus = false - break - default: - break - } - } -} diff --git a/sample-qml/imports/system/App.qml.org b/sample-qml/imports/system/App.qml.org deleted file mode 100644 index d7da73c..0000000 --- a/sample-qml/imports/system/App.qml.org +++ /dev/null @@ -1,29 +0,0 @@ -/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -import QtQuick 2.0 -import system 1.0 - -FocusScope { - id: root - property string appId - anchors.fill: parent - visible: System.activeApp === appId - property bool hasKeyFocus: false - focus: visible - onFocusChanged: if (focus) hasKeyFocus = true - - Keys.onPressed: { - switch (event.key) { - case Qt.Key_Left: - case Qt.Key_Right: - root.hasKeyFocus = false - break - default: - break - } - } -} diff --git a/sample-qml/imports/system/System.qml b/sample-qml/imports/system/System.qml deleted file mode 100644 index 8e155fd..0000000 --- a/sample-qml/imports/system/System.qml +++ /dev/null @@ -1,15 +0,0 @@ -/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -pragma Singleton -import QtQuick 2.0 - -Item { - property string activeApp: "home" - property string activeSetting: "settings" - property bool showKeyboard: false - property bool showSettings: false -} diff --git a/sample-qml/imports/system/qmldir b/sample-qml/imports/system/qmldir deleted file mode 100644 index afa0f56..0000000 --- a/sample-qml/imports/system/qmldir +++ /dev/null @@ -1,8 +0,0 @@ -#/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved. -# * -# * This Source Code Form is subject to the terms of the Mozilla Public -# * License, v. 2.0. If a copy of the MPL was not distributed with this -# * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -singleton System 1.0 System.qml -App 1.0 App.qml diff --git a/sample-qml/imports/utils/Marker.qml b/sample-qml/imports/utils/Marker.qml deleted file mode 100644 index c7a377e..0000000 --- a/sample-qml/imports/utils/Marker.qml +++ /dev/null @@ -1,60 +0,0 @@ -/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -import QtQuick 2.0 -import utils 1.0 - -Item { - id: root - width: 120 - height: 120 - property string text - signal clicked() - property alias pressed: area.pressed - property alias color: background.color - property alias fontSize: label.font.pixelSize - property bool fill: false - - Rectangle { - id: background - anchors.fill: parent - color: Style.backgroundColor - opacity: root.fill ? 1.0: 0.2 - } - - Rectangle { - id: frame - anchors.fill: parent - color: 'transparent' - border.color: Qt.darker(background.color, 1.4) - border.width: 2 - opacity: 1.0 - } - - - Rectangle { - anchors.fill: label - anchors.margins: -2 - color: Style.backgroundColor - opacity: root.text ? 1.0 : 0.0 - } - - Text { - id: label - anchors.centerIn: parent - font.pixelSize: 14 - color: Style.greyDarkColor - opacity: 0.75 - text: root.text - } - MouseArea { - id: area - anchors.fill: parent - onClicked: root.clicked() - onPressed: background.color = Qt.darker(background.color, 1.5) - onReleased: background.color = Qt.lighter(background.color, 1.5) - } -} diff --git a/sample-qml/imports/utils/Style.qml b/sample-qml/imports/utils/Style.qml deleted file mode 100644 index f9d9c16..0000000 --- a/sample-qml/imports/utils/Style.qml +++ /dev/null @@ -1,37 +0,0 @@ -/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -pragma Singleton -import QtQuick 2.2 - -QtObject { - property bool debugMode: false - property bool debugFill: false - - // Primary colors - property color orangeLt: "#ffd38c" - property color orangeViv: "#fe9c00" - property color blueLt: "#b2f0ff" - property color blueViv: "#53b5ce" - // Secondary colors - property color yellowLt: "#ffffb2" - property color yellowViv: "#ffff00" - property color greenLt: "#cdffb2" - property color greenViv: "#59ff00" - // Neutral colors - property color white: "#ffffff" - property color grey: "#c4c4c4" - property color black: "#000000" - property color overlay: Qt.rgba(0, 0, 0, 0.8) - - function getGfxPath() { - return Qt.resolvedUrl("../assets/") - } - - function gfx(name) { - return Qt.resolvedUrl("../../images/" + name ) - } -} diff --git a/sample-qml/imports/utils/qmldir b/sample-qml/imports/utils/qmldir deleted file mode 100644 index c2df9de..0000000 --- a/sample-qml/imports/utils/qmldir +++ /dev/null @@ -1,8 +0,0 @@ -#/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved. -# * -# * This Source Code Form is subject to the terms of the Mozilla Public -# * License, v. 2.0. If a copy of the MPL was not distributed with this -# * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -singleton Style 1.0 Style.qml -Marker 1.0 Marker.qml diff --git a/sample-qml/imports/vehicle/ClimateModel.qml b/sample-qml/imports/vehicle/ClimateModel.qml deleted file mode 100644 index 9633f16..0000000 --- a/sample-qml/imports/vehicle/ClimateModel.qml +++ /dev/null @@ -1,44 +0,0 @@ -/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -pragma Singleton - -import QtQuick 2.0 -import Automotive.ClimateControl 1.0 - -Item { - property real fanStepSize:1/255 //Represents the stepSize for a given Climate control. - property alias fanSpeed: fanControl.fanSpeedLevel - - property real temperatureStepSize:1/15 //0== 15c, 15 == 30c - - property alias leftTemp: leftFront.targetTemperature - property alias rightTemp: rightFront.targetTemperature - - ClimateControlItem { - id:fanControl - } - - ClimateControlItem { - id: leftFront - zone: 9 - } - - ClimateControlItem { - id: rightFront - zone: 5 - } - - function getRangeValue(inputVal,stepSize){ - if(inputVal > 0){ - return Math.ceil(inputVal/stepSize); - }else{ - return 0; - } - } - -} - diff --git a/sample-qml/imports/vehicle/FuelModel.qml b/sample-qml/imports/vehicle/FuelModel.qml deleted file mode 100644 index fa064e2..0000000 --- a/sample-qml/imports/vehicle/FuelModel.qml +++ /dev/null @@ -1,46 +0,0 @@ -/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -pragma Singleton - -import QtQuick 2.0 - -Item { - property bool metric: false - - function galToL(value) { - return (metric ? 3.78541 : 1) * value - } - - function mpgToLp100(value) { - return metric ? 235.214583571 / value : value - } - - property real baseTank: 25 - property real tankSize: galToL(baseTank) - property real level: tankSize * percentage * 0.01 - property real percentage: 100 - property real range: metric ? 100 * level / average : level * average - property real baseAverage: 20.7 - property real average: mpgToLp100(baseAverage + mpgDiff) - property real mpgDiff: 0 - - NumberAnimation on percentage { - from: 100 - to: 0 - duration: 5000 - loops: Animation.Infinite - easing.type: Easing.CosineCurve - } - - NumberAnimation on mpgDiff { - from: -2 - to: 2 - duration: 11200 - loops: Animation.Infinite - easing.type: Easing.CosineCurve - } -} diff --git a/sample-qml/imports/vehicle/PositionModel.qml b/sample-qml/imports/vehicle/PositionModel.qml deleted file mode 100644 index 00956aa..0000000 --- a/sample-qml/imports/vehicle/PositionModel.qml +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright (C) 2015, Jaguar Land Rover, IoT.bzh. All Rights Reserved. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -pragma Singleton - -import QtQuick 2.0 -import amb 0.1 - -Item { - property string nmeaString: nmea.value - property real satellites: satsUsed.value - - AutomotivePropertyItem { - id: nmea - - objectName: "GpsNmea" - propertyName: "Nmea" - - Component.onCompleted: nmea.connect(); - } - - AutomotivePropertyItem { - id: satsUsed - - objectName: "GpsSatsUsed" - propertyName: "SatsUsed" - - Component.onCompleted: satsUsed.connect(); - } -} diff --git a/sample-qml/imports/vehicle/SpeedModel.qml b/sample-qml/imports/vehicle/SpeedModel.qml deleted file mode 100644 index 03422b0..0000000 --- a/sample-qml/imports/vehicle/SpeedModel.qml +++ /dev/null @@ -1,38 +0,0 @@ -/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -pragma Singleton - -import QtQuick 2.0 -import amb 0.1 - -Item { - property bool metric: false - - function mphToKph(value) { - return (metric ? 1.60934 : 1 ) * value - } - - property real max:Math.ceil(mphToKph(baseMaxSpeed)/30)*30 - property real baseMaxSpeed: 255 - property real textSpeed: prop.value - property real percentage: textSpeed / max * 100 - - AutomotivePropertyItem { - id: prop - - objectName: "VehicleSpeed" - propertyName: "Speed" - - Component.onCompleted: prop.connect(); - } - - Behavior on percentage { - SmoothedAnimation { - velocity: 100 - } - } -} diff --git a/sample-qml/imports/vehicle/TemperatureModel.qml b/sample-qml/imports/vehicle/TemperatureModel.qml deleted file mode 100644 index 2bfbbf4..0000000 --- a/sample-qml/imports/vehicle/TemperatureModel.qml +++ /dev/null @@ -1,26 +0,0 @@ -/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -pragma Singleton - -import QtQuick 2.0 - -Item { - property bool metric: true - - function unit(value) { - return celsiusToFahrenheit(value).toFixed(1) + "\u00b0" + (metric ? "C" : "F") - } - - function celsiusToFahrenheit(value) { - return (metric ? value : 1.8 * value + 32) - } - - property real indoor: 20.4 - property string indoorString: unit(indoor) - property real outdoor: 28.9 - property string outdoorString: unit(outdoor) -} diff --git a/sample-qml/imports/vehicle/qmldir b/sample-qml/imports/vehicle/qmldir deleted file mode 100644 index 6538e95..0000000 --- a/sample-qml/imports/vehicle/qmldir +++ /dev/null @@ -1,11 +0,0 @@ -#/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved. -# * -# * This Source Code Form is subject to the terms of the Mozilla Public -# * License, v. 2.0. If a copy of the MPL was not distributed with this -# * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -singleton FuelModel 1.0 FuelModel.qml -singleton SpeedModel 1.0 SpeedModel.qml -singleton TemperatureModel 1.0 TemperatureModel.qml -singleton PositionModel 1.0 PositionModel.qml -singleton ClimateModel 1.0 ClimateModel.qml diff --git a/sample-qml/main.cpp b/sample-qml/main.cpp deleted file mode 100644 index 670decc..0000000 --- a/sample-qml/main.cpp +++ /dev/null @@ -1,63 +0,0 @@ -#include -#include -#include -#include -#include -#include // use libhomescreen -#include "calledbyqml.h" - - -#define FULLSCREEN 1 // assume 1 is "fullscreen" - - -int main(int argc, char *argv[]) -{ - QGuiApplication app(argc, argv); - - /* use libhomescreen - To use libhomescreen, add library path in project file(.pro) - */ - LibHomeScreen *mp_libHomeScreen; - mp_libHomeScreen = new LibHomeScreen(); - - QQmlApplicationEngine engine; - CalledByQml call_hsa; - engine.rootContext()->setContextProperty("hsa",&call_hsa); - - int appcategory = 0 ; - - bool enabled = true; - enabled = mp_libHomeScreen->renderAppToAreaAllowed(appcategory, FULLSCREEN); - if(enabled) - { - engine.addImportPath(QStringLiteral(":/imports")); - engine.addImportPath(QStringLiteral(":/dummyimports")); - - engine.load(QUrl(QStringLiteral("qrc:/main.qml"))); - - std::vector surfaceIdList; - int pid = getpid(); - //maybe we can't call this function... - //surfaceIdList = mp_libHomeScreen->getAllSurfacesOfProcess(pid); - if(surfaceIdList.empty()) - { - qDebug("surface list is empty"); - } - else - { - qDebug("surface list is contained"); - // it will be implemented as soon as possible - //mp_libHomeScreen->renderSurfaceToArea(surfaceIdList.at(0),FULLSCREEN); - } - } - else - { - qDebug("renderAppToAreaAllowed is denied"); - delete mp_libHomeScreen; - return 0; - } - - app.exec(); - delete mp_libHomeScreen; - return 0; -} diff --git a/sample-qml/main.qml b/sample-qml/main.qml deleted file mode 100644 index e2af15f..0000000 --- a/sample-qml/main.qml +++ /dev/null @@ -1,38 +0,0 @@ -import QtQuick 2.6 -import QtQuick.Window 2.2 -import "apps/HVAC" -import "imports" -import "dummyimports" - -Window { - visible: true - width: 1080 - height: 1920 - title: qsTr("AGL sample qml app") - - //MainForm { - // anchors.fill: parent - // mouseArea.onClicked: { - // Qt.quit(); - // } - //} - HVAC { - id: hvc - width: 1080 - height: 1920 - visible: true - } - onVisibleChanged: { - if(visible == true) - { - console.log("visible true") - console.log("maybe it is okay") - hsa.consoleout() - hsa.refresh(); - } - else{ - console.log("visible false") - } - } - -} diff --git a/sample-qml/main2.qml b/sample-qml/main2.qml deleted file mode 100644 index f2ff4c9..0000000 --- a/sample-qml/main2.qml +++ /dev/null @@ -1,27 +0,0 @@ -import QtQuick 2.6 -import QtQuick.Window 2.2 - -Window { - visible: true - width: 1080 - height: 1920 - title: qsTr("AGL sample qml app") - - MainForm { - anchors.fill: parent - mouseArea.onClicked: { - Qt.quit(); - } - } - onVisibleChanged: { - if(visible == true) - { - console.log("2:visible true") - console.log("maybe it is okay") - } - else{ - console.log("visible2 false") - } - } - -} diff --git a/sample-qml/qml.qrc b/sample-qml/qml.qrc deleted file mode 100644 index 52e2f08..0000000 --- a/sample-qml/qml.qrc +++ /dev/null @@ -1,118 +0,0 @@ - - - main.qml - MainForm.ui.qml - apps/HVAC/TemperatureWheel.qml - apps/HVAC/TempSlider.qml - apps/HVAC/SeatHeatButton.qml - apps/HVAC/MiddleColumn.qml - apps/HVAC/HazardButton.qml - apps/HVAC/HVAC.qml - apps/HVAC/FanControl.qml - apps/HVAC/ClimateButton.qml - imports/vehicle/qmldir - imports/utils/qmldir - imports/system/qmldir - imports/radio/qmldir - imports/components/qmldir - dummyimports/radio/qmldir - dummyimports/com/pelagicore/qmldevinfo/qmldir - dummyimports/amb/qmldir - apps/HVAC/models/HVACModel.qml - apps/HVAC/models/qmldir - apps/HVAC/models/TemperatureModel.qml - imports/system/App.qml - imports/system/System.qml - imports/components/AwesomeIcon.qml - imports/components/Box.qml - imports/components/BoxButton.qml - imports/components/BoxHeading.qml - imports/components/Button.qml - imports/components/DateTime.qml - imports/components/HexGrid.qml - imports/components/HexSwitch.qml - imports/components/InsetShadow.qml - imports/components/InShadow.qml - imports/components/Label.qml - imports/components/NumberPad.qml - imports/components/OutShadow.qml - imports/components/Switch.qml - imports/radio/Radio.qml - imports/utils/Marker.qml - imports/utils/Style.qml - imports/vehicle/ClimateModel.qml - imports/vehicle/FuelModel.qml - imports/vehicle/PositionModel.qml - imports/vehicle/SpeedModel.qml - imports/vehicle/TemperatureModel.qml - dummyimports/amb/AutomotivePropertyItem.qml - dummyimports/com/pelagicore/qmldevinfo/DevInfo.qml - dummyimports/radio/Radio.qml - dummyimports/Automotive/ClimateControl/ClimateControlItem.qml - dummyimports/Automotive/ClimateControl/ClimateControlItem.qmlc - dummyimports/Automotive/ClimateControl/qmldir - apps/HVAC/images/defrost_front_off.png - apps/HVAC/images/defrost_front_on.png - apps/HVAC/images/defrost_max_off.png - apps/HVAC/images/defrost_max_on.png - apps/HVAC/images/defrost_rear_off.png - apps/HVAC/images/defrost_rear_on.png - apps/HVAC/images/fan_bar_off.png - apps/HVAC/images/fan_bar_on.png - apps/HVAC/images/fan_control_ac_off.png - apps/HVAC/images/fan_control_ac_on.png - apps/HVAC/images/fan_control_auto_off.png - apps/HVAC/images/fan_control_auto_on.png - apps/HVAC/images/fan_control_circ_off.png - apps/HVAC/images/fan_control_circ_on.png - apps/HVAC/images/fan_dir_down_off.png - apps/HVAC/images/fan_dir_down_on.png - apps/HVAC/images/fan_dir_right_off.png - apps/HVAC/images/fan_dir_right_on.png - apps/HVAC/images/fan_dir_up_off.png - apps/HVAC/images/fan_dir_up_on.png - apps/HVAC/images/fan_icon_off.png - apps/HVAC/images/hazard_blink.png - apps/HVAC/images/hazard_off.png - apps/HVAC/images/hazard_on.png - apps/HVAC/images/left_heat_seat_off.png - apps/HVAC/images/left_heat_seat_on.png - apps/HVAC/images/right_heat_seat_off.png - apps/HVAC/images/right_heat_seat_on.png - apps/HVAC/images/separator.png - apps/HVAC/images/defrost_front_off.svg - apps/HVAC/images/defrost_front_on.svg - apps/HVAC/images/defrost_max_off.svg - apps/HVAC/images/defrost_max_on.svg - apps/HVAC/images/defrost_rear_off.svg - apps/HVAC/images/defrost_rear_on.svg - apps/HVAC/images/drag_knob.svg - apps/HVAC/images/fan_bar_on.svg - apps/HVAC/images/fan_control_ac_off.svg - apps/HVAC/images/fan_control_ac_on.svg - apps/HVAC/images/fan_control_auto_off.svg - apps/HVAC/images/fan_control_auto_on.svg - apps/HVAC/images/fan_control_circ_off.svg - apps/HVAC/images/fan_control_circ_on.svg - apps/HVAC/images/fan_dir_down_off.svg - apps/HVAC/images/fan_dir_down_on.svg - apps/HVAC/images/fan_dir_right_off.svg - apps/HVAC/images/fan_dir_right_on.svg - apps/HVAC/images/fan_dir_up_off.svg - apps/HVAC/images/fan_dir_up_on.svg - apps/HVAC/images/hazard_blink.svg - apps/HVAC/images/hazard_off.svg - apps/HVAC/images/hazard_on.svg - apps/HVAC/images/left_heat_seat_off.svg - apps/HVAC/images/left_heat_seat_on.svg - apps/HVAC/images/left_number_bg.svg - apps/HVAC/images/left_number_cover.svg - apps/HVAC/images/right_heat_seat_off.svg - apps/HVAC/images/right_heat_seat_on.svg - apps/HVAC/images/right_number_bg.svg - apps/HVAC/images/right_number_cover.svg - apps/HVAC/images/static_parts_bg.svg - apps/HVAC/images/temp_bar_on_left.svg - apps/HVAC/images/temp_bar_on_right.svg - - diff --git a/sample-qml/sample-qml.pro b/sample-qml/sample-qml.pro deleted file mode 100644 index e26bef6..0000000 --- a/sample-qml/sample-qml.pro +++ /dev/null @@ -1,22 +0,0 @@ -TEMPLATE = app - -QT += qml quick -CONFIG += c++11 - -SOURCES += main.cpp \ - calledbyqml.cpp - -RESOURCES += qml.qrc - -# Additional import path used to resolve QML modules in Qt Creator's code model -QML_IMPORT_PATH = - -INCLUDEPATH += $$PWD/../libhomescreen/include/ - -LIBS += -L$$OUT_PWD/../libhomescreen -lhomescreen - -# Default rules for deployment. -include(deployment.pri) - -HEADERS += \ - calledbyqml.h diff --git a/sample-qml/zip-command b/sample-qml/zip-command deleted file mode 100644 index c5108cf..0000000 --- a/sample-qml/zip-command +++ /dev/null @@ -1 +0,0 @@ -zip -q -r sample.wgt .