aboutsummaryrefslogtreecommitdiffstats
path: root/SQLiteStudio3/guiSQLiteStudio/dialogs/configdialog.ui
diff options
context:
space:
mode:
Diffstat (limited to 'SQLiteStudio3/guiSQLiteStudio/dialogs/configdialog.ui')
-rw-r--r--SQLiteStudio3/guiSQLiteStudio/dialogs/configdialog.ui716
1 files changed, 621 insertions, 95 deletions
diff --git a/SQLiteStudio3/guiSQLiteStudio/dialogs/configdialog.ui b/SQLiteStudio3/guiSQLiteStudio/dialogs/configdialog.ui
index 4452f63..475d7b0 100644
--- a/SQLiteStudio3/guiSQLiteStudio/dialogs/configdialog.ui
+++ b/SQLiteStudio3/guiSQLiteStudio/dialogs/configdialog.ui
@@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
- <width>770</width>
- <height>539</height>
+ <width>866</width>
+ <height>580</height>
</rect>
</property>
<property name="windowTitle">
@@ -148,6 +148,18 @@
<normaloff>:/icons/img/config_font.png</normaloff>:/icons/img/config_font.png</iconset>
</property>
</item>
+ <item>
+ <property name="text">
+ <string>Code colors</string>
+ </property>
+ <property name="statusTip">
+ <string notr="true">codeColorsPage</string>
+ </property>
+ <property name="icon">
+ <iconset resource="../icons.qrc">
+ <normaloff>:/icons/img/config_colors.png</normaloff>:/icons/img/config_colors.png</iconset>
+ </property>
+ </item>
</item>
<item>
<property name="text">
@@ -163,6 +175,18 @@
</item>
<item>
<property name="text">
+ <string>Code assistant</string>
+ </property>
+ <property name="statusTip">
+ <string notr="true">codeAssistantPage</string>
+ </property>
+ <property name="icon">
+ <iconset resource="../icons.qrc">
+ <normaloff>:/icons/img/code_assistant.png</normaloff>:/icons/img/code_assistant.png</iconset>
+ </property>
+ </item>
+ <item>
+ <property name="text">
<string>Data browsing</string>
</property>
<property name="statusTip">
@@ -217,7 +241,7 @@
</sizepolicy>
</property>
<property name="currentIndex">
- <number>1</number>
+ <number>4</number>
</property>
<widget class="QWidget" name="databaseListPage">
<layout class="QVBoxLayout" name="verticalLayout_36">
@@ -395,8 +419,8 @@
<rect>
<x>0</x>
<y>0</y>
- <width>564</width>
- <height>540</height>
+ <width>433</width>
+ <height>718</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_34">
@@ -406,41 +430,16 @@
<string>Data browsing and editing</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
- <item row="0" column="2">
- <widget class="QSpinBox" name="rowsPerPageSpin">
- <property name="maximumSize">
- <size>
- <width>150</width>
- <height>16777215</height>
- </size>
- </property>
- <property name="minimum">
- <number>1</number>
- </property>
- <property name="maximum">
- <number>99999</number>
- </property>
- <property name="cfg" stdset="0">
- <string notr="true">General.NumberOfRowsPerPage</string>
- </property>
- </widget>
- </item>
<item row="2" column="2">
- <widget class="QSpinBox" name="initColWidthLimitSpin">
+ <widget class="QSpinBox" name="memPopulConfigsCheck">
<property name="toolTip">
- <string>&lt;p&gt;When the data is read into grid view columns width is automatically adjusted. This value limits the initial width for the adjustment, but user can still resize the column manually over this limit.&lt;/p&gt;</string>
- </property>
- <property name="minimum">
- <number>10</number>
+ <string>&lt;p&gt;Maximum number of configurations of Populate Table dialog stored in configuration. Value of 100 should be sufficient.&lt;/p&gt;</string>
</property>
<property name="maximum">
- <number>99999</number>
- </property>
- <property name="value">
- <number>600</number>
+ <number>999999</number>
</property>
<property name="cfg" stdset="0">
- <string notr="true">General.MaxInitialColumnWith</string>
+ <string notr="true">General.PopulateHistorySize</string>
</property>
</widget>
</item>
@@ -452,16 +451,42 @@
</widget>
</item>
<item row="2" column="0" colspan="2">
- <widget class="QLabel" name="initColWidthLimitLabel">
+ <widget class="QLabel" name="memPopulConfigsLabel">
<property name="toolTip">
- <string>&lt;p&gt;When the data is read into grid view columns width is automatically adjusted. This value limits the initial width for the adjustment, but user can still resize the column manually over this limit.&lt;/p&gt;</string>
+ <string>&lt;p&gt;Maximum number of configurations of Populate Table dialog stored in configuration. Value of 100 should be sufficient.&lt;/p&gt;</string>
+ </property>
+ <property name="text">
+ <string>Number of memorized table populating configurations</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0" colspan="3">
+ <widget class="QCheckBox" name="limitColumnsVsRowsCheck">
+ <property name="toolTip">
+ <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;If query results contain dozens (or hundreds) of columns, it is more likely that it will exhaust free memory of your computer by loading several gigabytes of data at once. SQLiteStudio may try to limit number of results displayed on one page in such cases to protect your computer. If you know that you don't work with big values in database, you can disable this limit and you will always see as many rows as defined per page.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
- <string>Limit initial data column width to (in pixels):</string>
+ <string>Limit number of rows for in case of dozens of columns</string>
+ </property>
+ <property name="cfg" stdset="0">
+ <string notr="true">General.LimitRowsForManyColumns</string>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="0" colspan="3">
+ <widget class="QCheckBox" name="tolltipInDataViewCheck">
+ <property name="toolTip">
+ <string>&lt;p&gt;When this is enabled and user holds mouse pointer over a cell in any data view (query results, a table data, a view data) a tooltip will appear with details about the cell - it includes details like column data type, constraints, ROWID and others.&lt;/p&gt;</string>
+ </property>
+ <property name="text">
+ <string>Show column and row details tooltip in data view</string>
+ </property>
+ <property name="cfg" stdset="0">
+ <string notr="true">General.ShowDataViewTooltips</string>
</property>
</widget>
</item>
- <item row="6" column="0" colspan="3">
+ <item row="5" column="0" colspan="3">
<widget class="QCheckBox" name="useDefaultForNullCheck">
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Enable this to always enforce DEFAULT value when committing a NULL value for a column that has DEFAULT value defined, even though the column is allowed to contain NULL values.&lt;/p&gt;&lt;p&gt;Disable this option to use DEFAULT value exclusively when NULL value is committed for column with NOT NULL constraint.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
@@ -474,65 +499,118 @@
</property>
</widget>
</item>
- <item row="3" column="2">
- <widget class="QSpinBox" name="spinBox">
- <property name="toolTip">
- <string>&lt;p&gt;Maximum number of configurations of Populate Table dialog stored in configuration. Value of 100 should be sufficient.&lt;/p&gt;</string>
+ <item row="0" column="2">
+ <widget class="QSpinBox" name="rowsPerPageSpin">
+ <property name="maximumSize">
+ <size>
+ <width>150</width>
+ <height>16777215</height>
+ </size>
+ </property>
+ <property name="minimum">
+ <number>1</number>
</property>
<property name="maximum">
- <number>999999</number>
+ <number>99999</number>
</property>
<property name="cfg" stdset="0">
- <string notr="true">General.PopulateHistorySize</string>
+ <string notr="true">General.NumberOfRowsPerPage</string>
</property>
</widget>
</item>
- <item row="3" column="0" colspan="2">
- <widget class="QLabel" name="label_2">
+ <item row="4" column="0" colspan="3">
+ <widget class="QCheckBox" name="keepNullWhenEmptyCheck">
<property name="toolTip">
- <string>&lt;p&gt;Maximum number of configurations of Populate Table dialog stored in configuration. Value of 100 should be sufficient.&lt;/p&gt;</string>
+ <string>&lt;p&gt;When editing a cell which used to have NULL value and entering empty string as new value, then this option determinates whether the new value should remain NULL (have this option enabled), or should it be overwritten with empty string value (have this option disabled).&lt;/p&gt;</string>
</property>
<property name="text">
- <string>Number of memorized table populating configurations</string>
+ <string>Keep NULL value when entering empty value</string>
+ </property>
+ <property name="cfg" stdset="0">
+ <string notr="true">General.KeepNullWhenEmptyValue</string>
</property>
</widget>
</item>
- <item row="4" column="0" colspan="3">
- <widget class="QCheckBox" name="tolltipInDataViewCheck">
+ <item row="6" column="0">
+ <widget class="QCheckBox" name="useSciFormatForDoublesCheck">
<property name="toolTip">
- <string>&lt;p&gt;When this is enabled and user holds mouse pointer over a cell in any data view (query results, a table data, a view data) a tooltip will appear with details about the cell - it includes details like column data type, constraints, ROWID and others.&lt;/p&gt;</string>
+ <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;By default (when this option is disabled) a real number is displayed in the format of decimals with decimal point. In some cases, when the number is really small (several places after decimal point), the default representation may appear inaccurate. In such case you may want to enable this option to use the scientific notation (i.e. &lt;span style=&quot; font-style:italic;&quot;&gt;5.3e-21&lt;/span&gt;).&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
- <string>Show column and row details tooltip in data view</string>
+ <string>Use scientific notation for real numbers in the grid view</string>
</property>
<property name="cfg" stdset="0">
- <string notr="true">General.ShowDataViewTooltips</string>
+ <string notr="true">General.UseSciFormatForDoubles</string>
</property>
</widget>
</item>
- <item row="5" column="0" colspan="3">
- <widget class="QCheckBox" name="keepNullWhenEmptyCheck">
+ </layout>
+ </widget>
+ </item>
+ <item>
+ <widget class="QGroupBox" name="dataColumnWdGroup">
+ <property name="title">
+ <string>Data column width</string>
+ </property>
+ <layout class="QGridLayout" name="gridLayout_9">
+ <item row="1" column="0" colspan="2">
+ <widget class="QCheckBox" name="enlargeColumnCheck">
<property name="toolTip">
- <string>&lt;p&gt;When editing a cell which used to have NULL value and entering empty string as new value, then this option determinates whether the new value should remain NULL (have this option enabled), or should it be overwritten with empty string value (have this option disabled).&lt;/p&gt;</string>
+ <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;When user enters new value into column and the value is bigger than the current column width, the application will enlarge the column to fit the new value, but not wider than the limit defined in the option above.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
- <string>Keep NULL value when entering empty value</string>
+ <string>Enlarge column when entering value longer than current width</string>
</property>
<property name="cfg" stdset="0">
- <string notr="true">General.KeepNullWhenEmptyValue</string>
+ <string notr="true">General.EnlargeColumnForValue</string>
</property>
</widget>
</item>
- <item row="1" column="0" colspan="3">
- <widget class="QCheckBox" name="checkBox">
+ <item row="0" column="1">
+ <widget class="QSpinBox" name="initColWidthLimitSpin">
+ <property name="maximumSize">
+ <size>
+ <width>150</width>
+ <height>16777215</height>
+ </size>
+ </property>
<property name="toolTip">
- <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;If query results contain dozens (or hundreds) of columns, it is more likely that it will exhaust free memory of your computer by loading several gigabytes of data at once. SQLiteStudio may try to limit number of results displayed on one page in such cases to protect your computer. If you know that you don't work with big values in database, you can disable this limit and you will always see as many rows as defined per page.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
+ <string>&lt;p&gt;When the data is read into grid view columns width is automatically adjusted. This value limits the initial width for the adjustment, but user can still resize the column manually over this limit.&lt;/p&gt;</string>
+ </property>
+ <property name="minimum">
+ <number>10</number>
+ </property>
+ <property name="maximum">
+ <number>99999</number>
+ </property>
+ <property name="value">
+ <number>600</number>
+ </property>
+ <property name="cfg" stdset="0">
+ <string notr="true">General.MaxInitialColumnWith</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="0">
+ <widget class="QLabel" name="initColWidthLimitLabel">
+ <property name="toolTip">
+ <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;When the data is read into grid view columns width is automatically adjusted. This value limits the initial width for the adjustment, but user can still resize the column manually over this limit. This value is also used when enlarging column upon new, longer value entered by the user (see option below).&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
- <string>Limit number of rows for in case of dozens of columns</string>
+ <string>Limit automatic data column width to (in pixels):</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="0" colspan="2">
+ <widget class="QCheckBox" name="keepColNameCheck">
+ <property name="toolTip">
+ <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Initial width of data columns will be set to at least show complete name of the column in the header. This can still be overwritten by the initial limit of column width specified in pixels (the setting above).&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
+ </property>
+ <property name="text">
+ <string>Keep at least the width to show complete column name</string>
</property>
<property name="cfg" stdset="0">
- <string>General.LimitRowsForManyColumns</string>
+ <string notr="true">General.ColumnWidthForName</string>
</property>
</widget>
</item>
@@ -851,13 +929,13 @@
</property>
</widget>
</item>
- <item row="1" column="0">
- <widget class="QLabel" name="queryHistorySizeLabel">
+ <item row="2" column="0">
+ <widget class="QLabel" name="bindParamLimitLabel">
<property name="toolTip">
- <string>Number of queries kept in the history.</string>
+ <string>&lt;p&gt;Maximum number of query parameters (:param, @param, $param, ?) stored in history. When you re-use parameter with the same name/position, SQLiteStudio will pre-initialize it with most recent memorized value (you will still be able to change it). Value of 1000 should be sufficient.&lt;/p&gt;</string>
</property>
<property name="text">
- <string>History size:</string>
+ <string>Number of memorized query parameters</string>
</property>
</widget>
</item>
@@ -877,7 +955,7 @@
<item row="3" column="0">
<widget class="QCheckBox" name="execQueryUnderCursorCheck">
<property name="toolTip">
- <string>&lt;p&gt;If there is more than one query in the SQL editor window, then (if this option is enabled) only a single query will be executed - the one under the keyboard insertion cursor. Otherwise all queries will be executed. You can always limit queries to be executed by selecting those queries before calling to execute.&lt;/p&gt;</string>
+ <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;If there is more than one query in the SQL editor window, then (if this option is enabled) only a single query will be executed - the one under the keyboard insertion cursor. Otherwise all queries will be executed. You can always limit queries to be executed by selecting those queries before calling to execute. You can also use dedicated shortcuts for executing in one mode or the other (currently configured to %1 for single query execution and %2 for all queries execution).&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string>Execute only the query under the cursor</string>
@@ -887,13 +965,39 @@
</property>
</widget>
</item>
- <item row="2" column="0">
- <widget class="QLabel" name="bindParamLimitLabel">
+ <item row="1" column="0">
+ <widget class="QLabel" name="queryHistorySizeLabel">
<property name="toolTip">
- <string>&lt;p&gt;Maximum number of query parameters (:param, @param, $param, ?) stored in history. When you re-use parameter with the same name/position, SQLiteStudio will pre-initialize it with most recent memorized value (you will still be able to change it). Value of 1000 should be sufficient.&lt;/p&gt;</string>
+ <string>Number of queries kept in the history.</string>
</property>
<property name="text">
- <string>Number of memorized query parameters</string>
+ <string>History size:</string>
+ </property>
+ </widget>
+ </item>
+ <item row="5" column="0">
+ <widget class="QCheckBox" name="wrapLinesInSqlEditorCheck">
+ <property name="toolTip">
+ <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;If enabled, lines longer than the editor width will be wrapped, so horizontal scrolling will not be needed.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
+ </property>
+ <property name="text">
+ <string>Wrap lines in SQL editor</string>
+ </property>
+ <property name="cfg" stdset="0">
+ <string notr="true">General.SqlEditorWrapWords</string>
+ </property>
+ </widget>
+ </item>
+ <item row="4" column="0">
+ <widget class="QCheckBox" name="highlightCurrentQueryCheck">
+ <property name="toolTip">
+ <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Highlights entire query that is currently under the insertion cursor. It's the same query that will be executed when you hit &amp;quot;Execute query&amp;quot; hotkey or button (unless configured otherwise).&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
+ </property>
+ <property name="text">
+ <string>Highlight current query</string>
+ </property>
+ <property name="cfg" stdset="0">
+ <string notr="true">General.SqlEditorCurrQueryHighlight</string>
</property>
</widget>
</item>
@@ -941,7 +1045,7 @@
<string>Allow multiple instances of the application at the same time</string>
</property>
<property name="cfg" stdset="0">
- <string>General.AllowMultipleSessions</string>
+ <string notr="true">General.AllowMultipleSessions</string>
</property>
</widget>
</item>
@@ -985,6 +1089,387 @@
</item>
</layout>
</widget>
+ <widget class="QWidget" name="codeColorsPage">
+ <layout class="QGridLayout" name="gridLayout_6">
+ <property name="horizontalSpacing">
+ <number>15</number>
+ </property>
+ <item row="0" column="2">
+ <widget class="QTabWidget" name="codeColorsPreviewTabWidget"/>
+ </item>
+ <item row="2" column="0" colspan="3">
+ <spacer name="codeColorsSpacer">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>20</width>
+ <height>40</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item row="0" column="0" colspan="2">
+ <widget class="QGroupBox" name="commonCodeColorsGroup">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="title">
+ <string>Code syntax colors</string>
+ </property>
+ <layout class="QGridLayout" name="gridLayout_3">
+ <item row="3" column="0">
+ <widget class="QCheckBox" name="keywordFgCheck">
+ <property name="text">
+ <string>Keyword foreground</string>
+ </property>
+ <property name="cfg" stdset="0">
+ <string notr="true">Colors.SyntaxKeywordFgCustom</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="1">
+ <widget class="ColorButton" name="regularFgBtn">
+ <property name="maximumSize">
+ <size>
+ <width>50</width>
+ <height>16777215</height>
+ </size>
+ </property>
+ <property name="text">
+ <string notr="true"/>
+ </property>
+ <property name="cfg" stdset="0">
+ <string notr="true">Colors.SyntaxForeground</string>
+ </property>
+ </widget>
+ </item>
+ <item row="11" column="1">
+ <widget class="ColorButton" name="blobFgBtn">
+ <property name="maximumSize">
+ <size>
+ <width>50</width>
+ <height>16777215</height>
+ </size>
+ </property>
+ <property name="text">
+ <string notr="true"/>
+ </property>
+ <property name="cfg" stdset="0">
+ <string notr="true">Colors.SyntaxBlobFg</string>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="1">
+ <widget class="ColorButton" name="keywordFgBtn">
+ <property name="maximumSize">
+ <size>
+ <width>50</width>
+ <height>16777215</height>
+ </size>
+ </property>
+ <property name="text">
+ <string notr="true"/>
+ </property>
+ <property name="cfg" stdset="0">
+ <string notr="true">Colors.SyntaxKeywordFg</string>
+ </property>
+ </widget>
+ </item>
+ <item row="9" column="1">
+ <widget class="ColorButton" name="validObjectsFgBtn">
+ <property name="maximumSize">
+ <size>
+ <width>50</width>
+ <height>16777215</height>
+ </size>
+ </property>
+ <property name="text">
+ <string notr="true"/>
+ </property>
+ <property name="cfg" stdset="0">
+ <string notr="true">Colors.SyntaxValidObject</string>
+ </property>
+ </widget>
+ </item>
+ <item row="7" column="1">
+ <widget class="ColorButton" name="commentFgBtn">
+ <property name="maximumSize">
+ <size>
+ <width>50</width>
+ <height>16777215</height>
+ </size>
+ </property>
+ <property name="text">
+ <string notr="true"/>
+ </property>
+ <property name="cfg" stdset="0">
+ <string notr="true">Colors.SyntaxCommentFg</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="0">
+ <widget class="QCheckBox" name="regularFgCheck">
+ <property name="text">
+ <string>Regular foreground</string>
+ </property>
+ <property name="cfg" stdset="0">
+ <string notr="true">Colors.SyntaxForegroundCustom</string>
+ </property>
+ </widget>
+ </item>
+ <item row="7" column="0">
+ <widget class="QCheckBox" name="commentFgCheck">
+ <property name="text">
+ <string>Comment foreground</string>
+ </property>
+ <property name="cfg" stdset="0">
+ <string notr="true">Colors.SyntaxCommentFgCustom</string>
+ </property>
+ </widget>
+ </item>
+ <item row="5" column="1">
+ <widget class="ColorButton" name="numberFgBtn">
+ <property name="maximumSize">
+ <size>
+ <width>50</width>
+ <height>16777215</height>
+ </size>
+ </property>
+ <property name="text">
+ <string notr="true"/>
+ </property>
+ <property name="cfg" stdset="0">
+ <string notr="true">Colors.SyntaxNumberFg</string>
+ </property>
+ </widget>
+ </item>
+ <item row="5" column="0">
+ <widget class="QCheckBox" name="numberFgCheck">
+ <property name="text">
+ <string>Number foreground</string>
+ </property>
+ <property name="cfg" stdset="0">
+ <string notr="true">Colors.SyntaxNumberFgCustom</string>
+ </property>
+ </widget>
+ </item>
+ <item row="19" column="1">
+ <widget class="ColorButton" name="matchedParBgBtn">
+ <property name="maximumSize">
+ <size>
+ <width>50</width>
+ <height>16777215</height>
+ </size>
+ </property>
+ <property name="text">
+ <string notr="true"/>
+ </property>
+ <property name="cfg" stdset="0">
+ <string notr="true">Colors.SyntaxParenthesisBg</string>
+ </property>
+ </widget>
+ </item>
+ <item row="9" column="0">
+ <widget class="QCheckBox" name="validObjectsFkCheck">
+ <property name="text">
+ <string>Valid objects foreground</string>
+ </property>
+ <property name="cfg" stdset="0">
+ <string notr="true">Colors.SyntaxValidObjectCustom</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <widget class="ColorButton" name="stringFgBtn">
+ <property name="maximumSize">
+ <size>
+ <width>50</width>
+ <height>16777215</height>
+ </size>
+ </property>
+ <property name="text">
+ <string notr="true"/>
+ </property>
+ <property name="cfg" stdset="0">
+ <string notr="true">Colors.SyntaxStringFg</string>
+ </property>
+ </widget>
+ </item>
+ <item row="17" column="1">
+ <widget class="ColorButton" name="currQueryBgBtn">
+ <property name="maximumSize">
+ <size>
+ <width>50</width>
+ <height>16777215</height>
+ </size>
+ </property>
+ <property name="toolTip">
+ <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;You can disable current query highlighting entirely on the General settings page.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
+ </property>
+ <property name="text">
+ <string notr="true"/>
+ </property>
+ <property name="cfg" stdset="0">
+ <string notr="true">Colors.SyntaxCurrentQueryBg</string>
+ </property>
+ </widget>
+ </item>
+ <item row="11" column="0">
+ <widget class="QCheckBox" name="blobFgCheck">
+ <property name="text">
+ <string>BLOB value foreground</string>
+ </property>
+ <property name="cfg" stdset="0">
+ <string notr="true">Colors.SyntaxBlobFgCustom</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0">
+ <widget class="QCheckBox" name="stringFgCheck">
+ <property name="text">
+ <string>String foreground</string>
+ </property>
+ <property name="cfg" stdset="0">
+ <string notr="true">Colors.SyntaxStringFgCustom</string>
+ </property>
+ </widget>
+ </item>
+ <item row="15" column="1">
+ <widget class="ColorButton" name="currLineBgBtn">
+ <property name="maximumSize">
+ <size>
+ <width>50</width>
+ <height>16777215</height>
+ </size>
+ </property>
+ <property name="text">
+ <string notr="true"/>
+ </property>
+ <property name="cfg" stdset="0">
+ <string notr="true">Colors.SyntaxCurrentLineBg</string>
+ </property>
+ </widget>
+ </item>
+ <item row="21" column="1">
+ <widget class="ColorButton" name="matchedParFgBtn">
+ <property name="text">
+ <string notr="true"/>
+ </property>
+ <property name="cfg" stdset="0">
+ <string notr="true">Colors.SyntaxParenthesisFg</string>
+ </property>
+ </widget>
+ </item>
+ <item row="13" column="0">
+ <widget class="QCheckBox" name="bindParamFgCheck">
+ <property name="text">
+ <string>Bind parameter foreground</string>
+ </property>
+ <property name="cfg" stdset="0">
+ <string notr="true">Colors.SyntaxBindParamFgCustom</string>
+ </property>
+ </widget>
+ </item>
+ <item row="13" column="1">
+ <widget class="ColorButton" name="bindParamFgBtn">
+ <property name="maximumSize">
+ <size>
+ <width>50</width>
+ <height>16777215</height>
+ </size>
+ </property>
+ <property name="text">
+ <string notr="true"/>
+ </property>
+ <property name="cfg" stdset="0">
+ <string notr="true">Colors.SyntaxBindParamFg</string>
+ </property>
+ </widget>
+ </item>
+ <item row="15" column="0">
+ <widget class="QCheckBox" name="currLineBgCheck">
+ <property name="text">
+ <string>Current line background</string>
+ </property>
+ <property name="cfg" stdset="0">
+ <string notr="true">Colors.SyntaxCurrentLineBgCustom</string>
+ </property>
+ </widget>
+ </item>
+ <item row="17" column="0">
+ <widget class="QCheckBox" name="currQueryBgCheck">
+ <property name="text">
+ <string>Current query background</string>
+ </property>
+ <property name="cfg" stdset="0">
+ <string notr="true">Colors.SyntaxCurrentQueryBgCustom</string>
+ </property>
+ </widget>
+ </item>
+ <item row="19" column="0">
+ <widget class="QCheckBox" name="matchedParBgCheck">
+ <property name="text">
+ <string>Matched parenthesis background</string>
+ </property>
+ <property name="cfg" stdset="0">
+ <string notr="true">Colors.SyntaxParenthesisBgCustom</string>
+ </property>
+ </widget>
+ </item>
+ <item row="21" column="0">
+ <widget class="QCheckBox" name="matchedParFgCheck">
+ <property name="text">
+ <string>Matched parenthesis foreground</string>
+ </property>
+ <property name="cfg" stdset="0">
+ <string notr="true">Colors.SyntaxParenthesisFgCustom</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item row="1" column="0" colspan="3">
+ <widget class="QFrame" name="frame">
+ <property name="frameShape">
+ <enum>QFrame::NoFrame</enum>
+ </property>
+ <property name="frameShadow">
+ <enum>QFrame::Raised</enum>
+ </property>
+ <layout class="QHBoxLayout" name="horizontalLayout_3">
+ <property name="spacing">
+ <number>0</number>
+ </property>
+ <property name="leftMargin">
+ <number>0</number>
+ </property>
+ <property name="topMargin">
+ <number>0</number>
+ </property>
+ <property name="rightMargin">
+ <number>0</number>
+ </property>
+ <property name="bottomMargin">
+ <number>0</number>
+ </property>
+ <item alignment="Qt::AlignRight">
+ <widget class="QPushButton" name="codeColorsResetBtn">
+ <property name="text">
+ <string>Reset to defaults</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ </layout>
+ </widget>
<widget class="QWidget" name="shortcutsPage">
<layout class="QVBoxLayout" name="verticalLayout_28">
<property name="leftMargin">
@@ -1053,7 +1538,12 @@
</column>
<column>
<property name="text">
- <string/>
+ <string notr="true"/>
+ </property>
+ </column>
+ <column>
+ <property name="text">
+ <string notr="true"/>
</property>
</column>
</widget>
@@ -1084,8 +1574,8 @@
<rect>
<x>0</x>
<y>0</y>
- <width>339</width>
- <height>264</height>
+ <width>364</width>
+ <height>283</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_31">
@@ -1503,10 +1993,13 @@
<widget class="QTextEdit" name="previewTextEdit">
<property name="html">
<string notr="true">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
-&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
+&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;meta charset=&quot;utf-8&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
-&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;&quot;&gt;
-&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:8pt;&quot;&gt;Abcdefgh&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
+hr { height: 1px; border-width: 0; }
+li.unchecked::marker { content: &quot;\2610&quot;; }
+li.checked::marker { content: &quot;\2612&quot;; }
+&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Segoe UI'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
+&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:8pt;&quot;&gt;Abcdefgh&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
</item>
@@ -1596,8 +2089,8 @@ p, li { white-space: pre-wrap; }
<rect>
<x>0</x>
<y>0</y>
- <width>206</width>
- <height>298</height>
+ <width>222</width>
+ <height>313</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_9">
@@ -1700,6 +2193,45 @@ p, li { white-space: pre-wrap; }
</item>
</layout>
</widget>
+ <widget class="QWidget" name="codeAssistantPage">
+ <layout class="QGridLayout" name="gridLayout_10">
+ <item row="0" column="0">
+ <widget class="QGroupBox" name="codeAssistantGroup">
+ <property name="title">
+ <string>Code assistant settings</string>
+ </property>
+ <layout class="QGridLayout" name="gridLayout_14">
+ <item row="0" column="0">
+ <widget class="QCheckBox" name="autoTriggerAssistantCheck">
+ <property name="toolTip">
+ <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;If this option is enabled, the code assistant will be triggered in cases, when user types for example &lt;span style=&quot; font-weight:700;&quot;&gt;tableName.&lt;/span&gt; to propose columns of the table. If the option is disabled, user will have to hit the assistant hotkey explicitly.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
+ </property>
+ <property name="text">
+ <string>Automatically trigger the assistant after a dot is typed after an object name</string>
+ </property>
+ <property name="cfg" stdset="0">
+ <string notr="true">CodeAssistant.AutoTrigger</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0">
+ <spacer name="codeAssistantSpacer">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>20</width>
+ <height>40</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ </layout>
+ </widget>
</widget>
</widget>
</item>
@@ -1717,29 +2249,23 @@ p, li { white-space: pre-wrap; }
</widget>
</item>
</layout>
- <widget class="QWidget" name="layoutWidget">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>100</width>
- <height>30</height>
- </rect>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_25"/>
- </widget>
</widget>
<customwidgets>
<customwidget>
+ <class>ConfigRadioButton</class>
+ <extends>QRadioButton</extends>
+ <header>common/configradiobutton.h</header>
+ </customwidget>
+ <customwidget>
<class>FontEdit</class>
<extends>QWidget</extends>
<header>common/fontedit.h</header>
<container>1</container>
</customwidget>
<customwidget>
- <class>ConfigRadioButton</class>
- <extends>QRadioButton</extends>
- <header>common/configradiobutton.h</header>
+ <class>ColorButton</class>
+ <extends>QPushButton</extends>
+ <header>common/colorbutton.h</header>
</customwidget>
</customwidgets>
<tabstops>