From 58a6dba1005fd3457aeb35721bf83d79b3af7f86 Mon Sep 17 00:00:00 2001 From: mgrojo Date: Sat, 23 Jun 2018 19:04:27 +0200 Subject: [PATCH] Pref: "SQL editor font" and its size on the same row and other improvements "SQL editor font" and "SQL editor font size" are located at the same row for saving vertical space in the Preferences dialog. Accelerator keys for "Wrap lines" and "Quotes for identifiers" have been added. Some buddies have been fixed. --- src/PreferencesDialog.ui | 112 +++++++++++++++++++-------------------- 1 file changed, 54 insertions(+), 58 deletions(-) diff --git a/src/PreferencesDialog.ui b/src/PreferencesDialog.ui index 0d180cff..91986182 100644 --- a/src/PreferencesDialog.ui +++ b/src/PreferencesDialog.ui @@ -128,7 +128,7 @@ Toolbar style - languageComboBox + toolbarStyleComboBox @@ -187,6 +187,9 @@ Show remote options + + checkUseRemotes + @@ -221,6 +224,9 @@ DB file extensions + + buttonManageFileExtension + @@ -382,6 +388,9 @@ Default field type + + defaultFieldTypeComboBox + @@ -931,20 +940,23 @@ - - - - - - SQL &editor font size - - - spinEditorFontSize - - - - + + + + + + + SQL &editor font size + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + spinEditorFontSize + + + @@ -952,41 +964,25 @@ - - - - Qt::Horizontal - - - QSizePolicy::Minimum - - - - 40 - 20 - - - - - - - - SQL &results font size - - - spinLogFontSize - - - - - - - 1 - - - + + + + SQL &results font size + + + spinLogFontSize + + + + + + + 1 + + + @@ -1013,7 +1009,7 @@ - Wrap lines + &Wrap lines wrapComboBox @@ -1044,6 +1040,16 @@ + + + + &Quotes for identifiers + + + quoteComboBox + + + @@ -1146,16 +1152,6 @@ - - - - Quotes for identifiers - - - quoteComboBox - - -