aboutsummaryrefslogtreecommitdiffstats
path: root/Plugins/SqlExport/SqlExportQuery.ui
diff options
context:
space:
mode:
Diffstat (limited to 'Plugins/SqlExport/SqlExportQuery.ui')
-rw-r--r--Plugins/SqlExport/SqlExportQuery.ui62
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 &quot;CREATE TABLE&quot; statement at the begining</string>
+ <string>Generate &quot;DROP IF EXISTS&quot; statement before &quot;CREATE&quot; 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 &quot;DROP IF EXISTS&quot; statement before &quot;CREATE&quot; 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 &quot;CREATE TABLE&quot; 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 &quot;IF NOT EXISTS&quot; clause to &quot;CREATE&quot; statement</string>
+ </property>
+ <property name="cfg" stdset="0">
+ <string notr="true">SqlExport.GenerateIfNotExists</string>
+ </property>
+ </widget>
+ </item>
</layout>
</widget>
<resources/>