Settings dialog categories.
[yandex-traffic] / settingsDialog.cpp
1 #include <QtGui>
2 #include <QtMaemo5>
3 #include "settingsDialog.hpp"
4
5
6 // --------------------------------------------------
7 // SettingsDialog
8 // --------------------------------------------------
9 SettingsDialog::SettingsDialog (Settings *settings)
10     : QDialog ()
11 {
12     setWindowTitle (tr ("Settings"));
13
14     QVBoxLayout *layout = new QVBoxLayout (this);
15
16     displayButton = new QMaemo5ValueButton (tr ("Display"), this);
17     layout->addWidget (displayButton);
18     updateButton = new QMaemo5ValueButton (tr ("Update"), this);
19     layout->addWidget (updateButton);
20     alertsButton = new QMaemo5ValueButton (tr ("Alerts"), this);
21     layout->addWidget (alertsButton);
22 }