mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-11-29 19:06:55 -05:00
Clean up various parts of the UI and rearrange settings
- Unify widget layouts and margins - Fix tab order on a bunch of widgets - Fix broken entry/group edit form layout and replace with grid layout - Rearrange some settings for better logical grouping - Fix some settings checkboxes not being enabled/disabled on load - Fix "General" settings tab scrolling - Rename "Root" group to "Passwords" - Update demo.kdbx accordingly and redownload favicons - Change entry path display to use slash separators - Reduce Medium and Large icon sizes slightly
This commit is contained in:
parent
5c69875b59
commit
9d2e066aca
35 changed files with 1869 additions and 1351 deletions
|
|
@ -190,6 +190,7 @@ void ApplicationSettingsWidget::loadSettings()
|
|||
m_generalUi->minimizeAfterUnlockCheckBox->setChecked(config()->get(Config::MinimizeAfterUnlock).toBool());
|
||||
m_generalUi->minimizeOnOpenUrlCheckBox->setChecked(config()->get(Config::MinimizeOnOpenUrl).toBool());
|
||||
m_generalUi->hideWindowOnCopyCheckBox->setChecked(config()->get(Config::HideWindowOnCopy).toBool());
|
||||
hideWindowOnCopyCheckBoxToggled(m_generalUi->hideWindowOnCopyCheckBox->isChecked());
|
||||
m_generalUi->minimizeOnCopyRadioButton->setChecked(config()->get(Config::MinimizeOnCopy).toBool());
|
||||
m_generalUi->dropToBackgroundOnCopyRadioButton->setChecked(config()->get(Config::DropToBackgroundOnCopy).toBool());
|
||||
m_generalUi->useGroupIconOnEntryCreationCheckBox->setChecked(
|
||||
|
|
@ -199,10 +200,6 @@ void ApplicationSettingsWidget::loadSettings()
|
|||
m_generalUi->trackNonDataChangesCheckBox->setChecked(config()->get(Config::TrackNonDataChanges).toBool());
|
||||
m_generalUi->faviconTimeoutSpinBox->setValue(config()->get(Config::FaviconDownloadTimeout).toInt());
|
||||
|
||||
if (!m_generalUi->hideWindowOnCopyCheckBox->isChecked()) {
|
||||
hideWindowOnCopyCheckBoxToggled(false);
|
||||
}
|
||||
|
||||
m_generalUi->languageComboBox->clear();
|
||||
QList<QPair<QString, QString>> languages = Translator::availableLanguages();
|
||||
for (const auto& language : languages) {
|
||||
|
|
@ -215,6 +212,7 @@ void ApplicationSettingsWidget::loadSettings()
|
|||
|
||||
m_generalUi->previewHideCheckBox->setChecked(config()->get(Config::GUI_HidePreviewPanel).toBool());
|
||||
m_generalUi->toolbarHideCheckBox->setChecked(config()->get(Config::GUI_HideToolbar).toBool());
|
||||
toolbarSettingsToggled(m_generalUi->toolbarHideCheckBox->isChecked());
|
||||
m_generalUi->toolbarMovableCheckBox->setChecked(config()->get(Config::GUI_MovableToolbar).toBool());
|
||||
m_generalUi->monospaceNotesCheckBox->setChecked(config()->get(Config::GUI_MonospaceNotes).toBool());
|
||||
|
||||
|
|
@ -239,13 +237,16 @@ void ApplicationSettingsWidget::loadSettings()
|
|||
}
|
||||
|
||||
m_generalUi->systrayShowCheckBox->setChecked(config()->get(Config::GUI_ShowTrayIcon).toBool());
|
||||
systrayToggled(m_generalUi->systrayShowCheckBox->isChecked());
|
||||
m_generalUi->systrayDarkIconCheckBox->setChecked(config()->get(Config::GUI_DarkTrayIcon).toBool());
|
||||
m_generalUi->systrayMinimizeToTrayCheckBox->setChecked(config()->get(Config::GUI_MinimizeToTray).toBool());
|
||||
m_generalUi->minimizeOnCloseCheckBox->setChecked(config()->get(Config::GUI_MinimizeOnClose).toBool());
|
||||
m_generalUi->systrayMinimizeOnStartup->setChecked(config()->get(Config::GUI_MinimizeOnStartup).toBool());
|
||||
m_generalUi->checkForUpdatesOnStartupCheckBox->setChecked(config()->get(Config::GUI_CheckForUpdates).toBool());
|
||||
checkUpdatesToggled(m_generalUi->checkForUpdatesOnStartupCheckBox->isChecked());
|
||||
m_generalUi->checkForUpdatesIncludeBetasCheckBox->setChecked(
|
||||
config()->get(Config::GUI_CheckForUpdatesIncludeBetas).toBool());
|
||||
|
||||
m_generalUi->autoTypeAskCheckBox->setChecked(config()->get(Config::Security_AutoTypeAsk).toBool());
|
||||
|
||||
if (autoType()->isAvailable()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue