diff options
author | Bocklage, Jens <Jens_Bocklage@mentor.com> | 2016-11-03 20:23:10 +0100 |
---|---|---|
committer | Bocklage, Jens <Jens_Bocklage@mentor.com> | 2016-11-03 20:23:10 +0100 |
commit | ec688535558c31989e7da221b858328b2e0766c8 (patch) | |
tree | 4ca00a485bdb4ecd8aebe87398e324510400b4c0 /HomeScreenSimulator | |
parent | 6656309e1ddf27c3e62fe5d599bee2beeddcbff1 (diff) |
New concept of dynamically placing surfaces in static defined layout areas.v0.4.0
This is useful if an application wants to render more than one surface.
By default, one surface is placed in one layout render area. With the new homescreen.xml
introspection, apps can place their surfaces as they wish (limited to the boundries
of the assigned layou render area!).
The functionality is not fully implemented, but the shared lib already provides the interface.
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
Diffstat (limited to 'HomeScreenSimulator')
-rw-r--r-- | HomeScreenSimulator/resources/mainwindow.ui | 18 | ||||
-rw-r--r-- | HomeScreenSimulator/src/main.cpp | 2 | ||||
-rw-r--r-- | HomeScreenSimulator/src/mainwindow.cpp | 5 | ||||
-rw-r--r-- | HomeScreenSimulator/src/mainwindow.h | 2 |
4 files changed, 1 insertions, 26 deletions
diff --git a/HomeScreenSimulator/resources/mainwindow.ui b/HomeScreenSimulator/resources/mainwindow.ui index dcdf2e7..4f7ccf8 100644 --- a/HomeScreenSimulator/resources/mainwindow.ui +++ b/HomeScreenSimulator/resources/mainwindow.ui @@ -214,24 +214,6 @@ </property> </widget> </widget> - <widget class="QWidget" name="tab_FullScreen"> - <attribute name="title"> - <string>FullScreen</string> - </attribute> - <widget class="QPushButton" name="pushButton_ToggleFullScreen"> - <property name="geometry"> - <rect> - <x>80</x> - <y>50</y> - <width>161</width> - <height>27</height> - </rect> - </property> - <property name="text"> - <string>Toggle full screen</string> - </property> - </widget> - </widget> <widget class="QWidget" name="tab_FutureFeatures"> <attribute name="title"> <string>Future features</string> diff --git a/HomeScreenSimulator/src/main.cpp b/HomeScreenSimulator/src/main.cpp index c4d794c..101eedc 100644 --- a/HomeScreenSimulator/src/main.cpp +++ b/HomeScreenSimulator/src/main.cpp @@ -36,7 +36,7 @@ int main(int argc, char *argv[]) QCoreApplication::setOrganizationDomain("LinuxFoundation"); QCoreApplication::setOrganizationName("AutomotiveGradeLinux"); QCoreApplication::setApplicationName("HomeScreenSimulator"); - QCoreApplication::setApplicationVersion("0.3.1"); + QCoreApplication::setApplicationVersion("0.4.0"); qDebug("%s, v%s", QCoreApplication::applicationName().toStdString().c_str(), QCoreApplication::applicationVersion().toStdString().c_str()); diff --git a/HomeScreenSimulator/src/mainwindow.cpp b/HomeScreenSimulator/src/mainwindow.cpp index 272adfc..6c0dc2f 100644 --- a/HomeScreenSimulator/src/mainwindow.cpp +++ b/HomeScreenSimulator/src/mainwindow.cpp @@ -177,8 +177,3 @@ void MainWindow::on_checkBox_ObjectDetected_clicked() { mp_dBusProximityProxy->setObjectDetected(Qt::Checked == mp_ui->checkBox_ObjectDetected->checkState()); } - -void MainWindow::on_pushButton_ToggleFullScreen_clicked() -{ - mp_dBusHomeScreenProxy->toggleFullScreen(); -} diff --git a/HomeScreenSimulator/src/mainwindow.h b/HomeScreenSimulator/src/mainwindow.h index ca368f0..3b1855c 100644 --- a/HomeScreenSimulator/src/mainwindow.h +++ b/HomeScreenSimulator/src/mainwindow.h @@ -63,8 +63,6 @@ private slots: void on_checkBox_ObjectDetected_clicked(); - void on_pushButton_ToggleFullScreen_clicked(); - private: Ui::MainWindow *mp_ui; DaynightmodeAdaptor *mp_dBusDayNightModeAdapter; |