2012-02-15 10:23:54 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
2011-04-27 10:05:43 +00:00
|
|
|
<class>Browser</class>
|
2012-02-15 10:23:54 +00:00
|
|
|
<widget class="QWidget" name="Browser">
|
|
|
|
<property name="geometry">
|
2011-04-27 10:05:43 +00:00
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>765</width>
|
|
|
|
<height>515</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
2012-02-15 10:23:54 +00:00
|
|
|
<property name="windowTitle">
|
2011-04-27 10:05:43 +00:00
|
|
|
<string>Qt SQL Browser</string>
|
|
|
|
</property>
|
2012-02-15 10:23:54 +00:00
|
|
|
<layout class="QVBoxLayout">
|
|
|
|
<property name="spacing">
|
2011-04-27 10:05:43 +00:00
|
|
|
<number>6</number>
|
|
|
|
</property>
|
2012-02-15 10:23:54 +00:00
|
|
|
<property name="margin">
|
|
|
|
<number>8</number>
|
|
|
|
</property>
|
2011-04-27 10:05:43 +00:00
|
|
|
<item>
|
2012-02-15 10:23:54 +00:00
|
|
|
<widget class="QSplitter" name="splitter_2">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
2011-04-27 10:05:43 +00:00
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
2012-02-15 10:23:54 +00:00
|
|
|
<property name="orientation">
|
2011-04-27 10:05:43 +00:00
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
2012-02-15 10:23:54 +00:00
|
|
|
<widget class="ConnectionWidget" name="connectionWidget">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Ignored" vsizetype="Expanding">
|
2011-04-27 10:05:43 +00:00
|
|
|
<horstretch>1</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
</widget>
|
2012-02-15 10:23:54 +00:00
|
|
|
<widget class="QTableView" name="table">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
2011-04-27 10:05:43 +00:00
|
|
|
<horstretch>2</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
2012-02-15 10:23:54 +00:00
|
|
|
<property name="contextMenuPolicy">
|
2011-04-27 10:05:43 +00:00
|
|
|
<enum>Qt::ActionsContextMenu</enum>
|
|
|
|
</property>
|
2012-02-15 10:23:54 +00:00
|
|
|
<property name="selectionBehavior">
|
2011-04-27 10:05:43 +00:00
|
|
|
<enum>QAbstractItemView::SelectRows</enum>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
2012-02-15 10:23:54 +00:00
|
|
|
<widget class="QGroupBox" name="groupBox">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
|
2011-04-27 10:05:43 +00:00
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
2012-02-15 10:23:54 +00:00
|
|
|
<property name="maximumSize">
|
2011-04-27 10:05:43 +00:00
|
|
|
<size>
|
|
|
|
<width>16777215</width>
|
|
|
|
<height>180</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
2012-02-15 10:23:54 +00:00
|
|
|
<property name="title">
|
2011-04-27 10:05:43 +00:00
|
|
|
<string>SQL Query</string>
|
|
|
|
</property>
|
2012-02-15 10:23:54 +00:00
|
|
|
<layout class="QVBoxLayout">
|
|
|
|
<property name="spacing">
|
2011-04-27 10:05:43 +00:00
|
|
|
<number>6</number>
|
|
|
|
</property>
|
2012-02-15 10:23:54 +00:00
|
|
|
<property name="margin">
|
|
|
|
<number>9</number>
|
|
|
|
</property>
|
2011-04-27 10:05:43 +00:00
|
|
|
<item>
|
2012-02-15 10:23:54 +00:00
|
|
|
<widget class="QTextEdit" name="sqlEdit">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="MinimumExpanding">
|
2011-04-27 10:05:43 +00:00
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
2012-02-15 10:23:54 +00:00
|
|
|
<property name="minimumSize">
|
2011-04-27 10:05:43 +00:00
|
|
|
<size>
|
|
|
|
<width>0</width>
|
|
|
|
<height>18</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
2012-02-15 10:23:54 +00:00
|
|
|
<property name="baseSize">
|
2011-04-27 10:05:43 +00:00
|
|
|
<size>
|
|
|
|
<width>0</width>
|
|
|
|
<height>120</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
2012-02-15 10:23:54 +00:00
|
|
|
<layout class="QHBoxLayout">
|
|
|
|
<property name="spacing">
|
2011-04-27 10:05:43 +00:00
|
|
|
<number>6</number>
|
|
|
|
</property>
|
2012-02-15 10:23:54 +00:00
|
|
|
<property name="margin">
|
|
|
|
<number>1</number>
|
|
|
|
</property>
|
2011-04-27 10:05:43 +00:00
|
|
|
<item>
|
|
|
|
<spacer>
|
2012-02-15 10:23:54 +00:00
|
|
|
<property name="orientation">
|
2011-04-27 10:05:43 +00:00
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
2012-02-15 10:23:54 +00:00
|
|
|
<property name="sizeHint" stdset="0">
|
2011-04-27 10:05:43 +00:00
|
|
|
<size>
|
|
|
|
<width>40</width>
|
|
|
|
<height>20</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
<item>
|
2012-02-15 10:23:54 +00:00
|
|
|
<widget class="QPushButton" name="clearButton">
|
|
|
|
<property name="text">
|
2011-04-27 10:05:43 +00:00
|
|
|
<string>&Clear</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
2012-02-15 10:23:54 +00:00
|
|
|
<widget class="QPushButton" name="submitButton">
|
|
|
|
<property name="text">
|
2011-04-27 10:05:43 +00:00
|
|
|
<string>&Submit</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
2012-02-15 10:23:54 +00:00
|
|
|
<action name="insertRowAction">
|
|
|
|
<property name="enabled">
|
2011-04-27 10:05:43 +00:00
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
2012-02-15 10:23:54 +00:00
|
|
|
<property name="text">
|
2011-04-27 10:05:43 +00:00
|
|
|
<string>&Insert Row</string>
|
|
|
|
</property>
|
2012-02-15 10:23:54 +00:00
|
|
|
<property name="statusTip">
|
2011-04-27 10:05:43 +00:00
|
|
|
<string>Inserts a new Row</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
2012-02-15 10:23:54 +00:00
|
|
|
<action name="deleteRowAction">
|
|
|
|
<property name="enabled">
|
2011-04-27 10:05:43 +00:00
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
2012-02-15 10:23:54 +00:00
|
|
|
<property name="text">
|
2011-04-27 10:05:43 +00:00
|
|
|
<string>&Delete Row</string>
|
|
|
|
</property>
|
2012-02-15 10:23:54 +00:00
|
|
|
<property name="statusTip">
|
2011-04-27 10:05:43 +00:00
|
|
|
<string>Deletes the current Row</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
2012-02-15 10:23:54 +00:00
|
|
|
<action name="fieldStrategyAction">
|
|
|
|
<property name="checkable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Submit on &Field Change</string>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Commit on Field Change</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
|
|
|
<action name="rowStrategyAction">
|
|
|
|
<property name="checkable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Submit on &Row Change</string>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Commit on Row Change</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
|
|
|
<action name="manualStrategyAction">
|
|
|
|
<property name="checkable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Submit &Manually</string>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Commit Manually</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
|
|
|
<action name="submitAction">
|
|
|
|
<property name="text">
|
|
|
|
<string>&Submit All</string>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Submit Changes</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
|
|
|
<action name="revertAction">
|
|
|
|
<property name="text">
|
|
|
|
<string>&Revert All</string>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Revert</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
|
|
|
<action name="selectAction">
|
|
|
|
<property name="text">
|
|
|
|
<string>S&elect</string>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Refresh Data from Database</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
2011-04-27 10:05:43 +00:00
|
|
|
</widget>
|
|
|
|
<customwidgets>
|
|
|
|
<customwidget>
|
|
|
|
<class>ConnectionWidget</class>
|
|
|
|
<extends>QTreeView</extends>
|
|
|
|
<header>connectionwidget.h</header>
|
|
|
|
</customwidget>
|
|
|
|
</customwidgets>
|
|
|
|
<tabstops>
|
|
|
|
<tabstop>sqlEdit</tabstop>
|
|
|
|
<tabstop>clearButton</tabstop>
|
|
|
|
<tabstop>submitButton</tabstop>
|
|
|
|
<tabstop>connectionWidget</tabstop>
|
|
|
|
<tabstop>table</tabstop>
|
|
|
|
</tabstops>
|
|
|
|
<resources/>
|
|
|
|
<connections/>
|
|
|
|
</ui>
|