summaryrefslogtreecommitdiffstats
path: root/HomeScreenSimulator/src/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'HomeScreenSimulator/src/mainwindow.cpp')
-rw-r--r--HomeScreenSimulator/src/mainwindow.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/HomeScreenSimulator/src/mainwindow.cpp b/HomeScreenSimulator/src/mainwindow.cpp
index 74c02d7..d670154 100644
--- a/HomeScreenSimulator/src/mainwindow.cpp
+++ b/HomeScreenSimulator/src/mainwindow.cpp
@@ -149,3 +149,13 @@ void MainWindow::on_pushButton_PopupExample_clicked()
{
mp_dBusPopupProxy->showPopup(0, "Hello Popup!\nNice to see you!");
}
+
+void MainWindow::on_pushButton_comboBoxExample_clicked()
+{
+ QStringList choices;
+ choices.append("Item1");
+ choices.append("Item2");
+ choices.append("Item3");
+ choices.append("Item4");
+ mp_dBusPopupProxy->showPopupComboBox("Make your choice!", choices);
+}