From 56a9f4f1442f613a108ce227884ba3bc5a0491bc Mon Sep 17 00:00:00 2001 From: donovaly Date: Sun, 3 Oct 2021 03:10:43 +0200 Subject: [PATCH] [Spreadsheet] fix preferences UI - add missing layouts (Qt's designer warns too) - add spacers to assure a compact layout on all screens --- src/Mod/Spreadsheet/Gui/DlgSettings.ui | 314 ++++++++++++------------- 1 file changed, 154 insertions(+), 160 deletions(-) diff --git a/src/Mod/Spreadsheet/Gui/DlgSettings.ui b/src/Mod/Spreadsheet/Gui/DlgSettings.ui index 8d140c0b2c..39eaa4d4ed 100644 --- a/src/Mod/Spreadsheet/Gui/DlgSettings.ui +++ b/src/Mod/Spreadsheet/Gui/DlgSettings.ui @@ -6,181 +6,175 @@ 0 0 - 555 - 413 + 322 + 149 + + + 0 + 0 + + Spreadsheet - - - - 10 - 10 - 531 - 161 - - - - Import/Export Settings - - - - - 156 - 70 - 142 - 25 - - - - <html><head/><body><p>Character used to delimit strings, typically is single quote (') or double quote (&quot;). Must be a single character.</p></body></html> - - - - - - " - - - ImportExportQuoteCharacter - - - Mod/Spreadsheet - - - - - - 13 - 33 - 137 - 17 - - - - - 0 - 0 - - - - Delimiter Character: - - - - - - 156 - 113 - 142 - 25 - - - - <html><head/><body><p>Escape character, typically the backslash (\), used to indicate special unprintable characters, e.g. \t = tab. Must be a single character.</p></body></html> - - - \ - - - ImportExportEscapeCharacter - - - Mod/Spreadsheet - - - - - - 13 - 113 - 124 - 17 - - - - - 0 - 0 - - - - Escape Character: - - - - - - 156 - 33 - 142 - 25 - - - - <html><head/><body><p>Character to use as field delimiter. Default is tab, but also commonly used are commas (,) and semicolons (;). Select from the list or enter your own in the field. Must be a single character or the words <span style=" font-style:italic;">tab</span>, <span style=" font-style:italic;">comma</span>, or <span style=" font-style:italic;">semicolon</span>.</p></body></html> - - - true - - - tab - - - ImportExportDelimiter - - - Mod/Spreadsheet - - - - tab + + + + + Import/Export Settings - - - - ; + + + + + + 0 + 0 + + + + Escape Character: + + + + + + + <html><head/><body><p>Character used to delimit strings, typically is single quote (') or double quote (&quot;). Must be a single character.</p></body></html> + + + + + + " + + + ImportExportQuoteCharacter + + + Mod/Spreadsheet + + + + + + + + 0 + 0 + + + + Delimiter Character: + + + + + + + <html><head/><body><p>Escape character, typically the backslash (\), used to indicate special unprintable characters, e.g. \t = tab. Must be a single character.</p></body></html> + + + \ + + + ImportExportEscapeCharacter + + + Mod/Spreadsheet + + + + + + + + 0 + 0 + + + + Quote Character: + + + + + + + <html><head/><body><p>Character to use as field delimiter. Default is tab, but also commonly used are commas (,) and semicolons (;). Select from the list or enter your own in the field. Must be a single character or the words <span style=" font-style:italic;">tab</span>, <span style=" font-style:italic;">comma</span>, or <span style=" font-style:italic;">semicolon</span>.</p></body></html> + + + true + + + tab + + + ImportExportDelimiter + + + Mod/Spreadsheet + + + + tab + + + + + ; + + + + + , + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + + + Qt::Vertical - - - - , + + + 20 + 20 + - - - - - - 13 - 70 - 117 - 17 - - - - - 0 - 0 - - - - Quote Character: - - - + + + - Gui::PrefLineEdit - QLineEdit + Gui::PrefComboBox + QComboBox
Gui/PrefWidgets.h
- Gui::PrefComboBox - QComboBox + Gui::PrefLineEdit + QLineEdit
Gui/PrefWidgets.h