diff options
| author | 2023-04-30 18:30:36 -0400 | |
|---|---|---|
| committer | 2023-04-30 18:30:36 -0400 | |
| commit | 3565aad630864ecdbe53fdaa501ea708555b3c7c (patch) | |
| tree | c743e4ad0bad39ebdb2f514c7cc52d34a257ebbe /Plugins/SqlExport/SqlExportQuery.ui | |
| parent | 1fdc150116cad39aae5c5da407c3312b47a59e3a (diff) | |
New upstream version 3.4.4+dfsg.upstream/3.4.4+dfsg
Diffstat (limited to 'Plugins/SqlExport/SqlExportQuery.ui')
| -rw-r--r-- | Plugins/SqlExport/SqlExportQuery.ui | 62 |
1 files changed, 36 insertions, 26 deletions
diff --git a/Plugins/SqlExport/SqlExportQuery.ui b/Plugins/SqlExport/SqlExportQuery.ui index ff874bd..51569c0 100644 --- a/Plugins/SqlExport/SqlExportQuery.ui +++ b/Plugins/SqlExport/SqlExportQuery.ui @@ -7,57 +7,47 @@ <x>0</x> <y>0</y> <width>467</width> - <height>163</height> + <height>210</height> </rect> </property> <property name="windowTitle"> <string notr="true">Form</string> </property> <layout class="QGridLayout" name="gridLayout"> - <item row="3" column="0" colspan="2"> - <widget class="QCheckBox" name="formatCheck"> + <item row="2" column="0" colspan="2"> + <widget class="QCheckBox" name="queryInCommentsCheck"> <property name="text"> - <string>Use SQL formatter to format exported SQL statements</string> + <string>Include the query in comments</string> </property> <property name="cfg" stdset="0"> - <string notr="true">SqlExport.UseFormatter</string> - </property> - </widget> - </item> - <item row="0" column="0"> - <widget class="QLabel" name="tableLabel"> - <property name="text"> - <string>Table name to use for INSERT statements:</string> + <string notr="true">SqlExport.IncludeQueryInComments</string> </property> </widget> </item> - <item row="1" column="0" colspan="2"> - <widget class="QCheckBox" name="createTableCheck"> + <item row="6" column="0" colspan="2"> + <widget class="QCheckBox" name="dropCheck"> <property name="text"> - <string>Generate "CREATE TABLE" statement at the begining</string> + <string>Generate "DROP IF EXISTS" statement before "CREATE" statement</string> </property> <property name="cfg" stdset="0"> - <string notr="true">SqlExport.GenerateCreateTable</string> + <string notr="true">SqlExport.GenerateDrop</string> </property> </widget> </item> - <item row="2" column="0" colspan="2"> - <widget class="QCheckBox" name="queryInCommentsCheck"> + <item row="0" column="0"> + <widget class="QLabel" name="tableLabel"> <property name="text"> - <string>Include the query in comments</string> - </property> - <property name="cfg" stdset="0"> - <string notr="true">SqlExport.IncludeQueryInComments</string> + <string>Table name to use for INSERT statements:</string> </property> </widget> </item> - <item row="5" column="0" colspan="2"> - <widget class="QCheckBox" name="dropCheck"> + <item row="3" column="0" colspan="2"> + <widget class="QCheckBox" name="formatCheck"> <property name="text"> - <string>Generate "DROP IF EXISTS" statement before "CREATE" statement</string> + <string>Use SQL formatter to format exported SQL statements</string> </property> <property name="cfg" stdset="0"> - <string notr="true">SqlExport.GenerateDrop</string> + <string notr="true">SqlExport.UseFormatter</string> </property> </widget> </item> @@ -68,6 +58,16 @@ </property> </widget> </item> + <item row="1" column="0" colspan="2"> + <widget class="QCheckBox" name="createTableCheck"> + <property name="text"> + <string>Generate "CREATE TABLE" statement at the begining</string> + </property> + <property name="cfg" stdset="0"> + <string notr="true">SqlExport.GenerateCreateTable</string> + </property> + </widget> + </item> <item row="4" column="0" colspan="2"> <widget class="QCheckBox" name="formatDdlOnlyCheck"> <property name="text"> @@ -78,6 +78,16 @@ </property> </widget> </item> + <item row="5" column="0" colspan="2"> + <widget class="QCheckBox" name="ifNotExistsCheck"> + <property name="text"> + <string>Add "IF NOT EXISTS" clause to "CREATE" statement</string> + </property> + <property name="cfg" stdset="0"> + <string notr="true">SqlExport.GenerateIfNotExists</string> + </property> + </widget> + </item> </layout> </widget> <resources/> |
