From ec688535558c31989e7da221b858328b2e0766c8 Mon Sep 17 00:00:00 2001 From: "Bocklage, Jens" Date: Thu, 3 Nov 2016 20:23:10 +0100 Subject: New concept of dynamically placing surfaces in static defined layout areas. 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 --- HomeScreenSimulator/resources/mainwindow.ui | 18 ------------------ HomeScreenSimulator/src/main.cpp | 2 +- HomeScreenSimulator/src/mainwindow.cpp | 5 ----- HomeScreenSimulator/src/mainwindow.h | 2 -- 4 files changed, 1 insertion(+), 26 deletions(-) (limited to 'HomeScreenSimulator') 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 @@ - - - FullScreen - - - - - 80 - 50 - 161 - 27 - - - - Toggle full screen - - - Future features 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; -- cgit 1.2.3-korg