Preferences: Port the default preferences to the new system

Simple port of the default preferences to the new preferences structure.

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2015-09-25 16:15:37 -03:00 committed by Dirk Hohndel
parent 7cd9e2b7bb
commit 1d2d046c0f
8 changed files with 402 additions and 361 deletions

View file

@ -3,6 +3,7 @@
#include "abstractpreferenceswidget.h"
#include "preferences_language.h"
#include "preferences_georeference.h"
#include "preferences_defaults.h"
#include <QVBoxLayout>
#include <QHBoxLayout>
@ -35,6 +36,7 @@ PreferencesDialogV2::PreferencesDialogV2()
addPreferencePage(new PreferencesLanguage());
addPreferencePage(new PreferencesGeoreference());
addPreferencePage(new PreferencesDefaults());
refreshPages();
connect(pagesList, &QListWidget::currentRowChanged,