Create a toolbox on the left side of the new profile

For quick acess of preferences the show / hide stuff from the Settings
dialog is now in that toolbox and in the future we can put a few more,
like 'Show Notifications Panel' and 'Enable Legend'

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2014-02-06 11:38:28 -02:00 committed by Dirk Hohndel
parent 2a9289ac99
commit c84ef319a2
5 changed files with 524 additions and 11 deletions

View file

@ -223,8 +223,6 @@ void PreferencesDialog::buttonClicked(QAbstractButton* button)
break; // ignore warnings.
}
}
#undef SB
void PreferencesDialog::on_chooseFile_clicked()
@ -232,3 +230,8 @@ void PreferencesDialog::on_chooseFile_clicked()
QFileInfo fi(system_default_filename());
ui.defaultfilename->setText(QFileDialog::getOpenFileName(this, tr("Open Default Log File"), fi.absolutePath(), tr("Subsurface XML files (*.ssrf *.xml *.XML)")));
}
void PreferencesDialog::emitSettingsChanged()
{
emit settingsChanged();
}