mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
2a9289ac99
commit
c84ef319a2
5 changed files with 524 additions and 11 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue