2016-12-26 16:06:55 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
<ui version="4.0">
|
|
|
|
|
<class>MainWindow</class>
|
|
|
|
|
<widget class="QMainWindow" name="MainWindow">
|
|
|
|
|
<property name="geometry">
|
|
|
|
|
<rect>
|
|
|
|
|
<x>0</x>
|
|
|
|
|
<y>0</y>
|
|
|
|
|
<width>726</width>
|
|
|
|
|
<height>589</height>
|
|
|
|
|
</rect>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="windowTitle">
|
2017-01-15 21:01:40 +01:00
|
|
|
<string>pglab - database</string>
|
2016-12-26 16:06:55 +01:00
|
|
|
</property>
|
|
|
|
|
<widget class="QWidget" name="centralWidget">
|
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
2016-12-29 13:48:35 +01:00
|
|
|
<property name="leftMargin">
|
|
|
|
|
<number>8</number>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="topMargin">
|
|
|
|
|
<number>8</number>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="rightMargin">
|
|
|
|
|
<number>8</number>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="bottomMargin">
|
|
|
|
|
<number>8</number>
|
|
|
|
|
</property>
|
2016-12-26 16:06:55 +01:00
|
|
|
<item>
|
|
|
|
|
<widget class="QSplitter" name="splitter">
|
|
|
|
|
<property name="orientation">
|
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
|
</property>
|
2017-01-16 17:31:46 +01:00
|
|
|
<widget class="QPlainTextEdit" name="queryEdit"/>
|
2016-12-29 13:48:35 +01:00
|
|
|
<widget class="QTabWidget" name="tabWidget">
|
|
|
|
|
<property name="currentIndex">
|
2017-01-13 19:09:58 +01:00
|
|
|
<number>1</number>
|
2016-12-26 16:06:55 +01:00
|
|
|
</property>
|
2016-12-29 13:48:35 +01:00
|
|
|
<widget class="QWidget" name="messageTab">
|
|
|
|
|
<attribute name="title">
|
|
|
|
|
<string>Messages</string>
|
|
|
|
|
</attribute>
|
|
|
|
|
<layout class="QGridLayout" name="gridLayout_2">
|
|
|
|
|
<property name="leftMargin">
|
|
|
|
|
<number>4</number>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="topMargin">
|
|
|
|
|
<number>4</number>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="rightMargin">
|
|
|
|
|
<number>4</number>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="bottomMargin">
|
|
|
|
|
<number>4</number>
|
|
|
|
|
</property>
|
|
|
|
|
<item row="0" column="0">
|
|
|
|
|
<widget class="QTextEdit" name="messagesEdit">
|
|
|
|
|
<property name="readOnly">
|
|
|
|
|
<bool>true</bool>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</widget>
|
|
|
|
|
<widget class="QWidget" name="dataTab">
|
|
|
|
|
<attribute name="title">
|
|
|
|
|
<string>Data</string>
|
|
|
|
|
</attribute>
|
|
|
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
|
|
|
<property name="leftMargin">
|
|
|
|
|
<number>4</number>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="topMargin">
|
|
|
|
|
<number>4</number>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="rightMargin">
|
|
|
|
|
<number>4</number>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="bottomMargin">
|
|
|
|
|
<number>4</number>
|
|
|
|
|
</property>
|
|
|
|
|
<item row="0" column="0">
|
|
|
|
|
<widget class="QTableView" name="ResultView">
|
|
|
|
|
<property name="font">
|
|
|
|
|
<font>
|
|
|
|
|
<family>Source Sans Pro</family>
|
|
|
|
|
<pointsize>10</pointsize>
|
|
|
|
|
</font>
|
|
|
|
|
</property>
|
2017-01-08 15:16:16 +01:00
|
|
|
<property name="editTriggers">
|
|
|
|
|
<set>QAbstractItemView::NoEditTriggers</set>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="alternatingRowColors">
|
|
|
|
|
<bool>true</bool>
|
|
|
|
|
</property>
|
2016-12-29 13:48:35 +01:00
|
|
|
<property name="verticalScrollMode">
|
|
|
|
|
<enum>QAbstractItemView::ScrollPerPixel</enum>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="horizontalScrollMode">
|
|
|
|
|
<enum>QAbstractItemView::ScrollPerPixel</enum>
|
|
|
|
|
</property>
|
2017-01-08 15:16:16 +01:00
|
|
|
<property name="wordWrap">
|
|
|
|
|
<bool>false</bool>
|
|
|
|
|
</property>
|
|
|
|
|
<attribute name="verticalHeaderMinimumSectionSize">
|
|
|
|
|
<number>20</number>
|
|
|
|
|
</attribute>
|
2016-12-29 13:48:35 +01:00
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</widget>
|
|
|
|
|
<widget class="QWidget" name="explainTab">
|
|
|
|
|
<attribute name="title">
|
|
|
|
|
<string>Explain</string>
|
|
|
|
|
</attribute>
|
|
|
|
|
<layout class="QGridLayout" name="gridLayout_3">
|
|
|
|
|
<property name="leftMargin">
|
|
|
|
|
<number>2</number>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="topMargin">
|
|
|
|
|
<number>2</number>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="rightMargin">
|
|
|
|
|
<number>2</number>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="bottomMargin">
|
|
|
|
|
<number>2</number>
|
|
|
|
|
</property>
|
2017-01-08 15:16:16 +01:00
|
|
|
<item row="1" column="0">
|
2016-12-29 13:48:35 +01:00
|
|
|
<widget class="QTreeView" name="explainTreeView">
|
|
|
|
|
<property name="editTriggers">
|
|
|
|
|
<set>QAbstractItemView::NoEditTriggers</set>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="showDropIndicator" stdset="0">
|
|
|
|
|
<bool>false</bool>
|
|
|
|
|
</property>
|
2017-01-08 15:16:16 +01:00
|
|
|
<property name="alternatingRowColors">
|
|
|
|
|
<bool>true</bool>
|
|
|
|
|
</property>
|
2016-12-29 13:48:35 +01:00
|
|
|
<property name="indentation">
|
|
|
|
|
<number>10</number>
|
|
|
|
|
</property>
|
2017-01-08 15:16:16 +01:00
|
|
|
<property name="uniformRowHeights">
|
|
|
|
|
<bool>false</bool>
|
|
|
|
|
</property>
|
2016-12-29 13:48:35 +01:00
|
|
|
<attribute name="headerStretchLastSection">
|
|
|
|
|
<bool>false</bool>
|
|
|
|
|
</attribute>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
2017-01-08 15:16:16 +01:00
|
|
|
<item row="0" column="0">
|
|
|
|
|
<widget class="QLabel" name="lblTimes">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string/>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</widget>
|
|
|
|
|
<widget class="QWidget" name="logTab">
|
|
|
|
|
<attribute name="title">
|
|
|
|
|
<string>Log</string>
|
|
|
|
|
</attribute>
|
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QPlainTextEdit" name="edtLog"/>
|
|
|
|
|
</item>
|
2016-12-29 13:48:35 +01:00
|
|
|
</layout>
|
|
|
|
|
</widget>
|
2016-12-26 16:06:55 +01:00
|
|
|
</widget>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</widget>
|
|
|
|
|
<widget class="QMenuBar" name="menuBar">
|
|
|
|
|
<property name="geometry">
|
|
|
|
|
<rect>
|
|
|
|
|
<x>0</x>
|
|
|
|
|
<y>0</y>
|
|
|
|
|
<width>726</width>
|
2017-01-08 09:58:34 +01:00
|
|
|
<height>25</height>
|
2016-12-26 16:06:55 +01:00
|
|
|
</rect>
|
|
|
|
|
</property>
|
|
|
|
|
<widget class="QMenu" name="menuTest">
|
|
|
|
|
<property name="title">
|
2017-01-09 07:39:09 +01:00
|
|
|
<string>File</string>
|
2016-12-26 16:06:55 +01:00
|
|
|
</property>
|
2017-01-09 07:39:09 +01:00
|
|
|
<addaction name="actionLoad_SQL"/>
|
|
|
|
|
<addaction name="actionSave_SQL"/>
|
|
|
|
|
<addaction name="actionExport_data"/>
|
|
|
|
|
<addaction name="separator"/>
|
|
|
|
|
<addaction name="actionClose"/>
|
|
|
|
|
</widget>
|
|
|
|
|
<widget class="QMenu" name="menuHelp">
|
|
|
|
|
<property name="title">
|
|
|
|
|
<string>Help</string>
|
|
|
|
|
</property>
|
|
|
|
|
<addaction name="actionAbout"/>
|
2016-12-26 16:06:55 +01:00
|
|
|
</widget>
|
|
|
|
|
<addaction name="menuTest"/>
|
2017-01-09 07:39:09 +01:00
|
|
|
<addaction name="menuHelp"/>
|
2016-12-26 16:06:55 +01:00
|
|
|
</widget>
|
|
|
|
|
<widget class="QToolBar" name="mainToolBar">
|
|
|
|
|
<attribute name="toolBarArea">
|
|
|
|
|
<enum>TopToolBarArea</enum>
|
|
|
|
|
</attribute>
|
|
|
|
|
<attribute name="toolBarBreak">
|
|
|
|
|
<bool>false</bool>
|
|
|
|
|
</attribute>
|
2017-01-15 21:01:40 +01:00
|
|
|
<addaction name="actionLoad_SQL"/>
|
|
|
|
|
<addaction name="actionSave_SQL"/>
|
|
|
|
|
<addaction name="actionExport_data"/>
|
|
|
|
|
<addaction name="separator"/>
|
|
|
|
|
<addaction name="actionExecute_SQL"/>
|
|
|
|
|
<addaction name="actionExplain_Analyze"/>
|
|
|
|
|
<addaction name="actionCancel"/>
|
2016-12-26 16:06:55 +01:00
|
|
|
</widget>
|
|
|
|
|
<widget class="QStatusBar" name="statusBar"/>
|
2017-01-09 07:39:09 +01:00
|
|
|
<action name="actionLoad_SQL">
|
2017-01-15 21:01:40 +01:00
|
|
|
<property name="icon">
|
|
|
|
|
<iconset resource="resources.qrc">
|
|
|
|
|
<normaloff>:/icons/folder.png</normaloff>:/icons/folder.png</iconset>
|
|
|
|
|
</property>
|
2017-01-09 07:39:09 +01:00
|
|
|
<property name="text">
|
|
|
|
|
<string>Load SQL</string>
|
|
|
|
|
</property>
|
2017-01-16 16:48:40 +01:00
|
|
|
<property name="shortcut">
|
|
|
|
|
<string>Ctrl+O</string>
|
|
|
|
|
</property>
|
2017-01-09 07:39:09 +01:00
|
|
|
</action>
|
|
|
|
|
<action name="actionSave_SQL">
|
2017-01-15 21:01:40 +01:00
|
|
|
<property name="icon">
|
|
|
|
|
<iconset resource="resources.qrc">
|
|
|
|
|
<normaloff>:/icons/script_save.png</normaloff>:/icons/script_save.png</iconset>
|
|
|
|
|
</property>
|
2017-01-09 07:39:09 +01:00
|
|
|
<property name="text">
|
|
|
|
|
<string>Save SQL</string>
|
|
|
|
|
</property>
|
2017-01-16 16:48:40 +01:00
|
|
|
<property name="shortcut">
|
|
|
|
|
<string>Ctrl+S</string>
|
|
|
|
|
</property>
|
2017-01-09 07:39:09 +01:00
|
|
|
</action>
|
|
|
|
|
<action name="actionExport_data">
|
2017-01-15 21:01:40 +01:00
|
|
|
<property name="icon">
|
|
|
|
|
<iconset resource="resources.qrc">
|
|
|
|
|
<normaloff>:/icons/table_save.png</normaloff>:/icons/table_save.png</iconset>
|
|
|
|
|
</property>
|
2017-01-09 07:39:09 +01:00
|
|
|
<property name="text">
|
|
|
|
|
<string>Export data</string>
|
|
|
|
|
</property>
|
|
|
|
|
</action>
|
|
|
|
|
<action name="actionClose">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Close</string>
|
|
|
|
|
</property>
|
|
|
|
|
</action>
|
|
|
|
|
<action name="actionAbout">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>About</string>
|
|
|
|
|
</property>
|
|
|
|
|
</action>
|
2017-01-15 21:01:40 +01:00
|
|
|
<action name="actionExecute_SQL">
|
|
|
|
|
<property name="icon">
|
|
|
|
|
<iconset>
|
|
|
|
|
<normalon>:/icons/script_go.png</normalon>
|
|
|
|
|
</iconset>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Execute SQL</string>
|
|
|
|
|
</property>
|
2017-01-16 16:48:40 +01:00
|
|
|
<property name="shortcut">
|
|
|
|
|
<string>F5</string>
|
|
|
|
|
</property>
|
2017-01-15 21:01:40 +01:00
|
|
|
</action>
|
|
|
|
|
<action name="actionCancel">
|
|
|
|
|
<property name="icon">
|
|
|
|
|
<iconset>
|
|
|
|
|
<normalon>:/icons/script_delete.png</normalon>
|
|
|
|
|
</iconset>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Cancel</string>
|
|
|
|
|
</property>
|
2017-01-16 16:48:40 +01:00
|
|
|
<property name="shortcut">
|
|
|
|
|
<string>Alt+Pause</string>
|
|
|
|
|
</property>
|
2017-01-15 21:01:40 +01:00
|
|
|
</action>
|
|
|
|
|
<action name="actionExplain_Analyze">
|
|
|
|
|
<property name="icon">
|
|
|
|
|
<iconset resource="resources.qrc">
|
|
|
|
|
<normaloff>:/icons/lightbulb.png</normaloff>:/icons/lightbulb.png</iconset>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Explain Analyze</string>
|
|
|
|
|
</property>
|
2017-01-16 16:48:40 +01:00
|
|
|
<property name="shortcut">
|
|
|
|
|
<string>Shift+F7</string>
|
|
|
|
|
</property>
|
2017-01-15 21:01:40 +01:00
|
|
|
</action>
|
2016-12-26 16:06:55 +01:00
|
|
|
</widget>
|
|
|
|
|
<layoutdefault spacing="6" margin="11"/>
|
2017-01-15 21:01:40 +01:00
|
|
|
<resources>
|
|
|
|
|
<include location="resources.qrc"/>
|
|
|
|
|
</resources>
|
2016-12-26 16:06:55 +01:00
|
|
|
<connections/>
|
|
|
|
|
</ui>
|