Settings dialog categories.
[yandex-traffic] / settingsDialog.cpp
index a64dd59..dabe604 100644 (file)
@@ -1,12 +1,22 @@
 #include <QtGui>
+#include <QtMaemo5>
 #include "settingsDialog.hpp"
 
 
 // --------------------------------------------------
 // SettingsDialog
 // --------------------------------------------------
-SettingsDialog::SettingsDialog (QWidget *parent, Settings *settings)
-    : QDialog (parent)
+SettingsDialog::SettingsDialog (Settings *settings)
+    : QDialog ()
 {
     setWindowTitle (tr ("Settings"));
+
+    QVBoxLayout *layout = new QVBoxLayout (this);
+
+    displayButton = new QMaemo5ValueButton (tr ("Display"), this);
+    layout->addWidget (displayButton);
+    updateButton = new QMaemo5ValueButton (tr ("Update"), this);
+    layout->addWidget (updateButton);
+    alertsButton = new QMaemo5ValueButton (tr ("Alerts"), this);
+    layout->addWidget (alertsButton);
 }