relational/relational_gui/maingui.ui

1951 lines
51 KiB
Plaintext

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<author>Salvo 'LtWorf' Tomaselli</author>
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>637</width>
<height>496</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="windowTitle">
<string>Relational</string>
</property>
<property name="windowIcon">
<iconset>
<normaloff>:/icon</normaloff>:/icon</iconset>
</property>
<widget class="QWidget" name="centralwidget">
<layout class="QVBoxLayout" name="verticalLayout">
<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>
<widget class="QSplitter" name="splitter">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<widget class="QTreeWidget" name="table">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Maximum">
<horstretch>0</horstretch>
<verstretch>10</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>150</width>
<height>150</height>
</size>
</property>
<property name="sizeIncrement">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="alternatingRowColors">
<bool>true</bool>
</property>
<property name="selectionMode">
<enum>QAbstractItemView::NoSelection</enum>
</property>
<property name="rootIsDecorated">
<bool>false</bool>
</property>
<column>
<property name="text">
<string notr="true">Empty relation</string>
</property>
</column>
</widget>
<widget class="QStackedWidget" name="stackedWidget">
<property name="lineWidth">
<number>0</number>
</property>
<property name="currentIndex">
2015-12-31 05:58:47 +07:00
<number>1</number>
</property>
<widget class="QWidget" name="multiline">
<layout class="QHBoxLayout" name="horizontalLayout">
<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>
<widget class="QPlainTextEdit" name="txtMultiQuery">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>120</width>
<height>60</height>
</size>
</property>
<property name="font">
<font>
<family>DejaVu Sans</family>
<pointsize>11</pointsize>
<weight>50</weight>
<italic>false</italic>
<bold>false</bold>
<underline>false</underline>
<strikeout>false</strikeout>
<kerning>true</kerning>
</font>
</property>
<property name="plainText">
<string/>
</property>
<property name="backgroundVisible">
<bool>false</bool>
</property>
<property name="placeholderText">
<string>result=query</string>
</property>
</widget>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_2">
<property name="spacing">
<number>3</number>
</property>
<item>
<widget class="QPushButton" name="cmdClearMultilineQuery">
<property name="text">
<string>⌫</string>
</property>
2016-01-02 08:39:31 +07:00
<property name="shortcut">
<string>Ctrl+Shift+Backspace</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="cmdExecuteMultiline">
<property name="text">
<string>Execute</string>
</property>
2016-01-02 08:39:31 +07:00
<property name="shortcut">
<string>Ctrl+Return</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
<property name="default">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="cmdOptimizeProgram">
<property name="text">
<string>Optimize</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="cmdUndoOptimizeProgram">
<property name="text">
<string>Undo optimize</string>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer">
<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>
</item>
</layout>
</widget>
<widget class="QWidget" name="single_line">
<layout class="QVBoxLayout" name="verticalLayout_4">
<property name="spacing">
<number>2</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>
<widget class="QListWidget" name="lstHistory">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>2</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>120</width>
<height>60</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="baseSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer_3">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::MinimumExpanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>0</height>
</size>
</property>
</spacer>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_5">
<property name="spacing">
<number>1</number>
</property>
<item>
<widget class="QPushButton" name="cmdOptimize">
<property name="text">
<string>Optimize</string>
</property>
2016-01-02 08:34:56 +07:00
<property name="shortcut">
<string>Ctrl+Shift+O</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="cmdUndoOptimize">
<property name="text">
<string>Undo optimize</string>
</property>
2016-01-02 08:34:56 +07:00
<property name="shortcut">
<string>Ctrl+Shift+U</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="cmdClearHistory">
<property name="text">
<string>Clear history</string>
</property>
2016-01-02 08:34:56 +07:00
<property name="shortcut">
<string>Ctrl+Shift+C</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<property name="spacing">
<number>0</number>
</property>
<item>
<widget class="QLineEdit" name="txtQuery"/>
</item>
<item>
<widget class="QPushButton" name="cmdClearQuery">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>50</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>⌫</string>
</property>
2016-01-02 08:39:31 +07:00
<property name="shortcut">
<string>Ctrl+Shift+Backspace</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="cmdExecute">
<property name="text">
<string>Execute</string>
</property>
2016-01-02 08:39:31 +07:00
<property name="shortcut">
<string>Ctrl+Return</string>
</property>
<property name="autoDefault">
<bool>true</bool>
</property>
<property name="default">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<widget class="QWidget" name="processing">
<layout class="QVBoxLayout" name="verticalLayout_6">
<item>
<widget class="QLabel" name="label_2">
<property name="text">
<string>Processing…</string>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
</widget>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
2015-12-31 05:58:47 +07:00
<width>637</width>
<height>27</height>
</rect>
</property>
<widget class="QMenu" name="menuFile">
<property name="title">
<string>&amp;File</string>
</property>
<addaction name="separator"/>
<addaction name="action_Quit"/>
</widget>
<widget class="QMenu" name="menuAbout">
<property name="title">
2015-12-31 05:58:47 +07:00
<string>Help</string>
</property>
<addaction name="actionAbout"/>
<addaction name="actionCheck_for_new_versions"/>
</widget>
2013-06-30 04:47:26 +07:00
<widget class="QMenu" name="menuRelations">
<property name="title">
<string>Relations</string>
</property>
<addaction name="actionNew_relation"/>
<addaction name="action_Load_relation"/>
<addaction name="action_Save_relation"/>
<addaction name="actionEdit_relation"/>
<addaction name="actionUnload_relation"/>
</widget>
<widget class="QMenu" name="menuSettings">
<property name="title">
<string>Setti&amp;ngs</string>
</property>
<addaction name="actionMulti_line_mode"/>
<addaction name="actionShow_history"/>
</widget>
<addaction name="menuFile"/>
2013-06-30 04:47:26 +07:00
<addaction name="menuRelations"/>
<addaction name="menuSettings"/>
<addaction name="menuAbout"/>
</widget>
<widget class="QDockWidget" name="dock_operators">
<property name="features">
<set>QDockWidget::DockWidgetMovable</set>
</property>
<property name="allowedAreas">
<set>Qt::LeftDockWidgetArea|Qt::RightDockWidgetArea</set>
</property>
<property name="windowTitle">
2015-12-31 05:58:47 +07:00
<string>Operators</string>
</property>
<attribute name="dockWidgetArea">
<number>1</number>
</attribute>
<widget class="QWidget" name="dock_operators_content">
<layout class="QHBoxLayout" name="horizontalLayout_4">
<property name="spacing">
<number>0</number>
</property>
<property name="sizeConstraint">
<enum>QLayout::SetMinimumSize</enum>
</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>
<widget class="QFrame" name="groupOperators">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Plain</enum>
</property>
<property name="lineWidth">
<number>0</number>
</property>
<layout class="QGridLayout" name="gridLayout">
<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>
<property name="horizontalSpacing">
<number>0</number>
</property>
<property name="verticalSpacing">
<number>3</number>
</property>
<item row="4" column="0">
<widget class="QPushButton" name="cmdOuterLeft">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>40</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<string>Left outer join</string>
</property>
<property name="text">
<string notr="true">⧑</string>
</property>
2015-12-31 05:58:47 +07:00
<property name="shortcut">
<string>Alt+J, Alt+L</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
<item row="7" column="1">
<widget class="QPushButton" name="cmdArrow">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>40</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string notr="true">➡</string>
</property>
2015-12-31 05:58:47 +07:00
<property name="shortcut">
<string>Alt+A</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QPushButton" name="cmdUnion">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>40</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<string>Union</string>
</property>
<property name="text">
<string notr="true"></string>
</property>
2015-12-31 05:58:47 +07:00
<property name="shortcut">
<string>Alt+U</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QPushButton" name="cmdDifference">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>40</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<string>Difference</string>
</property>
<property name="text">
<string notr="true">-</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
<item row="7" column="0">
<widget class="QPushButton" name="cmdRename">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>40</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<string>Rename</string>
</property>
<property name="text">
<string notr="true">ρ</string>
</property>
2015-12-31 05:58:47 +07:00
<property name="shortcut">
<string>Alt+R</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QPushButton" name="cmdDivision">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>40</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<string>Division</string>
</property>
<property name="text">
<string notr="true">÷</string>
</property>
2015-12-31 05:58:47 +07:00
<property name="shortcut">
<string>Alt+D</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QPushButton" name="cmdOuter">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>40</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<string>Full outer join</string>
</property>
<property name="text">
<string notr="true">⧓</string>
</property>
2015-12-31 05:58:47 +07:00
<property name="shortcut">
<string>Alt+J, Alt+O</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QPushButton" name="cmdIntersection">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>40</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<string>Intersection</string>
</property>
<property name="text">
<string notr="true">∩</string>
</property>
2015-12-31 05:58:47 +07:00
<property name="shortcut">
<string>Alt+I</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QPushButton" name="cmdProduct">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>40</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<string>Product</string>
</property>
<property name="text">
<string notr="true">*</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QPushButton" name="cmdOuterRight">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>40</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<string>Right outer join</string>
</property>
<property name="text">
<string notr="true">⧒</string>
</property>
2015-12-31 05:58:47 +07:00
<property name="shortcut">
<string>Alt+J, Alt+R</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
<item row="6" column="1">
<widget class="QPushButton" name="cmdProjection">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>40</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<string>Projection</string>
</property>
<property name="text">
<string notr="true">π</string>
</property>
2015-12-31 05:58:47 +07:00
<property name="shortcut">
<string>Alt+P</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
<item row="6" column="0">
<widget class="QPushButton" name="cmdSelection">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>40</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<string>Selection</string>
</property>
<property name="text">
<string notr="true">σ</string>
</property>
2015-12-31 05:58:47 +07:00
<property name="shortcut">
<string>Alt+S</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QPushButton" name="cmdJoin">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>40</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<string>Natural join</string>
</property>
<property name="text">
<string notr="true">⋈</string>
</property>
2015-12-31 05:58:47 +07:00
<property name="shortcut">
<string>Alt+J, Alt+J</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
<item row="8" column="0">
<spacer name="verticalSpacer_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>25</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</widget>
<widget class="QDockWidget" name="attributes_dock">
<property name="features">
<set>QDockWidget::DockWidgetMovable</set>
</property>
<property name="allowedAreas">
<set>Qt::LeftDockWidgetArea|Qt::RightDockWidgetArea</set>
</property>
<property name="windowTitle">
<string>Attrib&amp;utes</string>
</property>
<attribute name="dockWidgetArea">
<number>2</number>
</attribute>
<widget class="QWidget" name="dockWidgetContents_3">
<layout class="QVBoxLayout" name="verticalLayout_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>
<widget class="QListWidget" name="lstAttributes">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Plain</enum>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
<widget class="QDockWidget" name="dock_relations">
<property name="minimumSize">
<size>
<width>195</width>
<height>254</height>
</size>
</property>
<property name="features">
<set>QDockWidget::DockWidgetMovable</set>
</property>
<property name="allowedAreas">
<set>Qt::LeftDockWidgetArea|Qt::RightDockWidgetArea</set>
</property>
<property name="windowTitle">
<string>Re&amp;lations</string>
</property>
<attribute name="dockWidgetArea">
<number>2</number>
</attribute>
<widget class="QWidget" name="dockWidgetContents_4">
<layout class="QVBoxLayout" name="verticalLayout_9">
<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>
<widget class="QListWidget" name="lstRelations">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="sortingEnabled">
<bool>true</bool>
</property>
</widget>
</item>
<item>
2015-12-31 05:58:47 +07:00
<layout class="QGridLayout" name="gridLayout_4">
<property name="leftMargin">
<number>2</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>2</number>
</property>
<property name="spacing">
<number>3</number>
</property>
<item row="1" column="0">
<widget class="QPushButton" name="cmdNew">
<property name="text">
<string>New</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QPushButton" name="cmdEdit">
<property name="text">
<string>Edit</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QPushButton" name="cmdLoad">
<property name="text">
<string>Load</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QPushButton" name="cmdSave">
<property name="text">
<string>Save</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QPushButton" name="cmdNewSession">
<property name="text">
<string>Unload all</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QPushButton" name="cmdUnload">
<property name="text">
<string>Unload</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</widget>
<widget class="QDockWidget" name="dockWidget">
<property name="minimumSize">
<size>
<width>99</width>
<height>101</height>
</size>
</property>
<property name="features">
<set>QDockWidget::DockWidgetMovable</set>
</property>
<property name="allowedAreas">
<set>Qt::LeftDockWidgetArea|Qt::RightDockWidgetArea</set>
</property>
<property name="windowTitle">
2015-12-31 05:58:47 +07:00
<string>Menu</string>
</property>
<attribute name="dockWidgetArea">
<number>1</number>
</attribute>
<widget class="QWidget" name="dockWidgetContents_5">
<layout class="QVBoxLayout" name="verticalLayout_5">
<property name="spacing">
<number>3</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>
<widget class="QPushButton" name="cmdAbout">
<property name="text">
<string>About</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="cmdSurvey">
<property name="text">
<string>Survey</string>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
<action name="actionAbout">
<property name="text">
<string>&amp;About</string>
</property>
<property name="menuRole">
<enum>QAction::AboutRole</enum>
</property>
</action>
<action name="action_Load_relation">
<property name="text">
<string>&amp;Load relation</string>
</property>
<property name="shortcut">
<string>Ctrl+O</string>
</property>
</action>
<action name="action_Save_relation">
<property name="text">
<string>&amp;Save relation</string>
</property>
<property name="shortcut">
<string>Ctrl+S</string>
</property>
</action>
<action name="action_Quit">
<property name="text">
<string>&amp;Quit</string>
</property>
<property name="shortcut">
<string>Ctrl+Q</string>
</property>
<property name="menuRole">
<enum>QAction::QuitRole</enum>
</property>
</action>
<action name="actionCheck_for_new_versions">
<property name="text">
<string>&amp;Check for new versions</string>
</property>
</action>
<action name="actionNew_relation">
<property name="text">
<string>&amp;New relation</string>
</property>
<property name="shortcut">
<string>Ctrl+N</string>
</property>
</action>
<action name="actionEdit_relation">
<property name="text">
<string>&amp;Edit relation</string>
</property>
<property name="shortcut">
<string>Ctrl+E</string>
</property>
</action>
2013-06-30 04:47:26 +07:00
<action name="actionUnload_relation">
<property name="text">
<string>&amp;Unload relation</string>
2013-06-30 04:47:26 +07:00
</property>
</action>
<action name="actionMulti_line_mode">
<property name="checkable">
<bool>true</bool>
</property>
<property name="text">
<string>&amp;Multi-line mode</string>
</property>
<property name="shortcut">
<string>Ctrl+L</string>
</property>
</action>
<action name="actionShow_history">
<property name="checkable">
<bool>true</bool>
</property>
<property name="text">
<string>Show history</string>
</property>
</action>
</widget>
<tabstops>
<tabstop>table</tabstop>
<tabstop>cmdProduct</tabstop>
<tabstop>cmdDifference</tabstop>
<tabstop>cmdUnion</tabstop>
<tabstop>cmdIntersection</tabstop>
<tabstop>cmdJoin</tabstop>
<tabstop>cmdOuter</tabstop>
<tabstop>cmdOuterLeft</tabstop>
<tabstop>cmdOuterRight</tabstop>
<tabstop>cmdDivision</tabstop>
<tabstop>cmdSelection</tabstop>
<tabstop>cmdProjection</tabstop>
<tabstop>cmdRename</tabstop>
<tabstop>cmdArrow</tabstop>
<tabstop>cmdAbout</tabstop>
<tabstop>cmdSurvey</tabstop>
<tabstop>lstAttributes</tabstop>
<tabstop>lstRelations</tabstop>
<tabstop>cmdLoad</tabstop>
<tabstop>cmdSave</tabstop>
<tabstop>cmdNew</tabstop>
<tabstop>cmdEdit</tabstop>
<tabstop>cmdUnload</tabstop>
<tabstop>cmdNewSession</tabstop>
<tabstop>txtMultiQuery</tabstop>
<tabstop>cmdClearMultilineQuery</tabstop>
<tabstop>cmdExecuteMultiline</tabstop>
<tabstop>cmdOptimizeProgram</tabstop>
<tabstop>cmdUndoOptimizeProgram</tabstop>
<tabstop>cmdUndoOptimize</tabstop>
<tabstop>cmdClearHistory</tabstop>
<tabstop>txtQuery</tabstop>
<tabstop>cmdClearQuery</tabstop>
<tabstop>cmdExecute</tabstop>
<tabstop>lstHistory</tabstop>
<tabstop>cmdOptimize</tabstop>
</tabstops>
<resources/>
<connections>
<connection>
<sender>cmdAbout</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>showAbout()</slot>
<hints>
<hint type="sourcelabel">
<x>95</x>
<y>444</y>
</hint>
<hint type="destinationlabel">
<x>79</x>
<y>495</y>
</hint>
</hints>
</connection>
<connection>
<sender>cmdSurvey</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>showSurvey()</slot>
<hints>
<hint type="sourcelabel">
<x>78</x>
<y>484</y>
</hint>
<hint type="destinationlabel">
<x>99</x>
<y>495</y>
</hint>
</hints>
</connection>
<connection>
<sender>cmdUnload</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>unloadRelation()</slot>
<hints>
<hint type="sourcelabel">
<x>516</x>
<y>491</y>
</hint>
<hint type="destinationlabel">
<x>636</x>
<y>495</y>
</hint>
</hints>
</connection>
<connection>
<sender>cmdSave</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>saveRelation()</slot>
<hints>
<hint type="sourcelabel">
<x>631</x>
<y>423</y>
</hint>
<hint type="destinationlabel">
<x>636</x>
<y>495</y>
</hint>
</hints>
</connection>
<connection>
<sender>cmdLoad</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>loadRelation()</slot>
<hints>
<hint type="sourcelabel">
<x>516</x>
<y>423</y>
</hint>
<hint type="destinationlabel">
<x>636</x>
<y>495</y>
</hint>
</hints>
</connection>
<connection>
<sender>lstRelations</sender>
<signal>itemDoubleClicked(QListWidgetItem*)</signal>
<receiver>MainWindow</receiver>
<slot>printRelation(QListWidgetItem*)</slot>
<hints>
<hint type="sourcelabel">
<x>633</x>
<y>328</y>
</hint>
<hint type="destinationlabel">
<x>636</x>
<y>495</y>
</hint>
</hints>
</connection>
<connection>
<sender>lstRelations</sender>
<signal>itemClicked(QListWidgetItem*)</signal>
<receiver>MainWindow</receiver>
<slot>showAttributes(QListWidgetItem*)</slot>
<hints>
<hint type="sourcelabel">
<x>633</x>
<y>384</y>
</hint>
<hint type="destinationlabel">
<x>510</x>
<y>495</y>
</hint>
</hints>
</connection>
<connection>
<sender>actionAbout</sender>
<signal>triggered()</signal>
<receiver>MainWindow</receiver>
<slot>showAbout()</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>399</x>
<y>305</y>
</hint>
</hints>
</connection>
<connection>
<sender>action_Load_relation</sender>
<signal>triggered()</signal>
<receiver>MainWindow</receiver>
<slot>loadRelation()</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>399</x>
<y>305</y>
</hint>
</hints>
</connection>
<connection>
<sender>action_Save_relation</sender>
<signal>triggered()</signal>
<receiver>MainWindow</receiver>
<slot>saveRelation()</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>399</x>
<y>305</y>
</hint>
</hints>
</connection>
<connection>
<sender>action_Quit</sender>
<signal>triggered()</signal>
<receiver>MainWindow</receiver>
<slot>close()</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>399</x>
<y>305</y>
</hint>
</hints>
</connection>
<connection>
<sender>actionCheck_for_new_versions</sender>
<signal>triggered()</signal>
<receiver>MainWindow</receiver>
<slot>checkVersion()</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>399</x>
<y>305</y>
</hint>
</hints>
</connection>
<connection>
<sender>cmdEdit</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>editRelation()</slot>
<hints>
<hint type="sourcelabel">
<x>631</x>
<y>457</y>
</hint>
<hint type="destinationlabel">
<x>399</x>
<y>305</y>
</hint>
</hints>
</connection>
<connection>
<sender>actionEdit_relation</sender>
<signal>triggered()</signal>
<receiver>MainWindow</receiver>
<slot>editRelation()</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>399</x>
<y>305</y>
</hint>
</hints>
</connection>
<connection>
<sender>cmdNew</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>newRelation()</slot>
<hints>
<hint type="sourcelabel">
<x>516</x>
<y>457</y>
</hint>
<hint type="destinationlabel">
<x>399</x>
<y>305</y>
</hint>
</hints>
</connection>
<connection>
<sender>actionNew_relation</sender>
<signal>triggered()</signal>
<receiver>MainWindow</receiver>
<slot>newRelation()</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>399</x>
<y>305</y>
</hint>
</hints>
</connection>
2013-06-30 04:47:26 +07:00
<connection>
<sender>actionUnload_relation</sender>
<signal>triggered()</signal>
<receiver>MainWindow</receiver>
<slot>unloadRelation()</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>399</x>
<y>305</y>
</hint>
</hints>
</connection>
<connection>
<sender>actionMulti_line_mode</sender>
<signal>toggled(bool)</signal>
<receiver>MainWindow</receiver>
<slot>setMultiline(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>399</x>
<y>305</y>
</hint>
</hints>
</connection>
<connection>
<sender>cmdClearMultilineQuery</sender>
<signal>clicked()</signal>
<receiver>txtMultiQuery</receiver>
<slot>clear()</slot>
<hints>
<hint type="sourcelabel">
<x>394</x>
<y>262</y>
</hint>
<hint type="destinationlabel">
<x>221</x>
<y>286</y>
</hint>
</hints>
</connection>
<connection>
<sender>cmdExecuteMultiline</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>execute()</slot>
<hints>
<hint type="sourcelabel">
<x>394</x>
<y>296</y>
</hint>
<hint type="destinationlabel">
<x>636</x>
<y>495</y>
</hint>
</hints>
</connection>
<connection>
<sender>cmdClearQuery</sender>
<signal>clicked()</signal>
<receiver>txtQuery</receiver>
<slot>clear()</slot>
<hints>
<hint type="sourcelabel">
<x>310</x>
<y>494</y>
</hint>
<hint type="destinationlabel">
<x>260</x>
<y>493</y>
</hint>
</hints>
</connection>
<connection>
<sender>cmdClearHistory</sender>
<signal>clicked()</signal>
<receiver>lstHistory</receiver>
<slot>clear()</slot>
<hints>
<hint type="sourcelabel">
<x>394</x>
<y>459</y>
</hint>
<hint type="destinationlabel">
<x>395</x>
<y>418</y>
</hint>
</hints>
</connection>
<connection>
<sender>cmdOptimize</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>optimize()</slot>
<hints>
<hint type="sourcelabel">
<x>186</x>
<y>459</y>
</hint>
<hint type="destinationlabel">
<x>130</x>
<y>495</y>
</hint>
</hints>
</connection>
<connection>
<sender>cmdUndoOptimize</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>undoOptimize()</slot>
<hints>
<hint type="sourcelabel">
<x>296</x>
<y>459</y>
</hint>
<hint type="destinationlabel">
<x>544</x>
<y>495</y>
</hint>
</hints>
</connection>
<connection>
<sender>cmdExecute</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>execute()</slot>
<hints>
<hint type="sourcelabel">
<x>394</x>
<y>494</y>
</hint>
<hint type="destinationlabel">
<x>636</x>
<y>495</y>
</hint>
</hints>
</connection>
<connection>
<sender>txtQuery</sender>
<signal>returnPressed()</signal>
<receiver>MainWindow</receiver>
<slot>execute()</slot>
<hints>
<hint type="sourcelabel">
<x>260</x>
<y>493</y>
</hint>
<hint type="destinationlabel">
<x>636</x>
<y>495</y>
</hint>
</hints>
</connection>
2015-06-02 08:12:41 +07:00
<connection>
<sender>lstHistory</sender>
<signal>itemDoubleClicked(QListWidgetItem*)</signal>
<receiver>MainWindow</receiver>
<slot>resumeHistory(QListWidgetItem*)</slot>
<hints>
<hint type="sourcelabel">
<x>384</x>
<y>418</y>
2015-06-02 08:12:41 +07:00
</hint>
<hint type="destinationlabel">
<x>297</x>
<y>495</y>
2015-06-02 08:12:41 +07:00
</hint>
</hints>
</connection>
2015-06-07 18:14:56 +07:00
<connection>
<sender>cmdProduct</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>addProduct()</slot>
<hints>
<hint type="sourcelabel">
<x>46</x>
<y>87</y>
2015-06-07 18:14:56 +07:00
</hint>
<hint type="destinationlabel">
<x>399</x>
<y>335</y>
</hint>
</hints>
</connection>
<connection>
<sender>cmdDifference</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>addDifference()</slot>
<hints>
<hint type="sourcelabel">
<x>90</x>
<y>87</y>
2015-06-07 18:14:56 +07:00
</hint>
<hint type="destinationlabel">
<x>399</x>
<y>335</y>
</hint>
</hints>
</connection>
<connection>
<sender>cmdUnion</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>addUnion()</slot>
<hints>
<hint type="sourcelabel">
<x>46</x>
<y>121</y>
2015-06-07 18:14:56 +07:00
</hint>
<hint type="destinationlabel">
<x>399</x>
<y>335</y>
</hint>
</hints>
</connection>
<connection>
<sender>cmdIntersection</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>addIntersection()</slot>
<hints>
<hint type="sourcelabel">
<x>90</x>
<y>121</y>
2015-06-07 18:14:56 +07:00
</hint>
<hint type="destinationlabel">
<x>399</x>
<y>335</y>
</hint>
</hints>
</connection>
<connection>
<sender>cmdDivision</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>addDivision()</slot>
<hints>
<hint type="sourcelabel">
<x>46</x>
<y>223</y>
2015-06-07 18:14:56 +07:00
</hint>
<hint type="destinationlabel">
<x>399</x>
<y>335</y>
</hint>
</hints>
</connection>
<connection>
<sender>cmdOuter</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>addOuter()</slot>
<hints>
<hint type="sourcelabel">
<x>90</x>
<y>155</y>
2015-06-07 18:14:56 +07:00
</hint>
<hint type="destinationlabel">
<x>399</x>
<y>335</y>
</hint>
</hints>
</connection>
<connection>
<sender>cmdOuterLeft</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>addOLeft()</slot>
<hints>
<hint type="sourcelabel">
<x>46</x>
<y>189</y>
2015-06-07 18:14:56 +07:00
</hint>
<hint type="destinationlabel">
<x>399</x>
<y>335</y>
</hint>
</hints>
</connection>
<connection>
<sender>cmdOuterRight</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>addORight()</slot>
<hints>
<hint type="sourcelabel">
<x>90</x>
<y>189</y>
2015-06-07 18:14:56 +07:00
</hint>
<hint type="destinationlabel">
<x>399</x>
<y>335</y>
</hint>
</hints>
</connection>
<connection>
<sender>cmdJoin</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>addJoin()</slot>
<hints>
<hint type="sourcelabel">
<x>46</x>
<y>155</y>
2015-06-07 18:14:56 +07:00
</hint>
<hint type="destinationlabel">
<x>399</x>
<y>335</y>
</hint>
</hints>
</connection>
<connection>
<sender>cmdProjection</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>addProjection()</slot>
<hints>
<hint type="sourcelabel">
<x>90</x>
<y>257</y>
2015-06-07 18:14:56 +07:00
</hint>
<hint type="destinationlabel">
<x>399</x>
<y>335</y>
</hint>
</hints>
</connection>
<connection>
<sender>cmdSelection</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>addSelection()</slot>
<hints>
<hint type="sourcelabel">
<x>46</x>
<y>257</y>
2015-06-07 18:14:56 +07:00
</hint>
<hint type="destinationlabel">
<x>399</x>
<y>335</y>
</hint>
</hints>
</connection>
<connection>
<sender>cmdRename</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>addRename()</slot>
<hints>
<hint type="sourcelabel">
<x>46</x>
<y>291</y>
2015-06-07 18:14:56 +07:00
</hint>
<hint type="destinationlabel">
<x>399</x>
<y>335</y>
</hint>
</hints>
</connection>
<connection>
<sender>cmdArrow</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>addArrow()</slot>
<hints>
<hint type="sourcelabel">
<x>90</x>
<y>291</y>
2015-06-07 18:14:56 +07:00
</hint>
<hint type="destinationlabel">
<x>399</x>
<y>335</y>
</hint>
</hints>
</connection>
<connection>
<sender>cmdNewSession</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>newSession()</slot>
<hints>
<hint type="sourcelabel">
<x>631</x>
<y>491</y>
</hint>
<hint type="destinationlabel">
<x>636</x>
<y>396</y>
</hint>
</hints>
</connection>
<connection>
<sender>actionShow_history</sender>
<signal>toggled(bool)</signal>
<receiver>MainWindow</receiver>
<slot>setHistoryShown(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>318</x>
<y>247</y>
</hint>
</hints>
</connection>
<connection>
<sender>cmdOptimizeProgram</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>optimizeProgram()</slot>
<hints>
<hint type="sourcelabel">
<x>357</x>
<y>313</y>
</hint>
<hint type="destinationlabel">
<x>398</x>
<y>360</y>
</hint>
</hints>
</connection>
<connection>
<sender>cmdUndoOptimizeProgram</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>undoOptimizeProgram()</slot>
<hints>
<hint type="sourcelabel">
<x>371</x>
<y>353</y>
</hint>
<hint type="destinationlabel">
<x>397</x>
<y>44</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>execute()</slot>
<slot>checkVersion()</slot>
<slot>showAbout()</slot>
<slot>showSurvey()</slot>
<slot>addProduct()</slot>
<slot>addDifference()</slot>
<slot>addUnion()</slot>
<slot>addIntersection()</slot>
<slot>addDivision()</slot>
<slot>addOLeft()</slot>
<slot>addORight()</slot>
<slot>addOuter()</slot>
<slot>addJoin()</slot>
<slot>addProjection()</slot>
<slot>addSelection()</slot>
<slot>addRename()</slot>
<slot>addArrow()</slot>
<slot>optimize()</slot>
<slot>undoOptimize()</slot>
<slot>loadRelation()</slot>
<slot>unloadRelation()</slot>
<slot>saveRelation()</slot>
<slot>insertTuple()</slot>
<slot>deleteTuple()</slot>
<slot>printRelation(QListWidgetItem*)</slot>
<slot>showAttributes(QListWidgetItem*)</slot>
<slot>loadQuery()</slot>
<slot>resumeHistory(QListWidgetItem*)</slot>
<slot>editRelation()</slot>
<slot>newRelation()</slot>
2013-06-30 04:47:26 +07:00
<slot>newSession()</slot>
<slot>saveSessionAs()</slot>
<slot>manageSessions()</slot>
<slot>setMultiline(bool)</slot>
<slot>setHistoryShown(bool)</slot>
<slot>optimizeProgram()</slot>
<slot>undoOptimizeProgram()</slot>
</slots>
</ui>