iosql/tableform.ui
2011-06-24 13:05:56 +02:00

331 lines
9.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>TableForm</class>
<widget class="QWidget" name="TableForm">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>638</width>
<height>440</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<property name="windowIcon">
<iconset resource="IoSQL.qrc">
<normaloff>:/Table/images/table/table.png</normaloff>:/Table/images/table/table.png</iconset>
</property>
<layout class="QVBoxLayout" name="TableLayout">
<property name="spacing">
<number>0</number>
</property>
<property name="margin">
<number>0</number>
</property>
<item>
<widget class="QTabWidget" name="TableTabWidget">
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="DataTab">
<attribute name="title">
<string>Data</string>
</attribute>
<layout class="QVBoxLayout" name="DataLayout">
<property name="spacing">
<number>0</number>
</property>
<property name="margin">
<number>0</number>
</property>
<item>
<widget class="QToolBar" name="DataToolBar">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="baseSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="iconSize">
<size>
<width>22</width>
<height>22</height>
</size>
</property>
<addaction name="DataNewRecordAction"/>
<addaction name="DataRemoveAction"/>
<addaction name="separator"/>
<addaction name="DataCommitAction"/>
<addaction name="DataRollbackAction"/>
<addaction name="separator"/>
<addaction name="DataRefreshAction"/>
</widget>
</item>
<item>
<widget class="QTableView" name="DataTableView">
<property name="alternatingRowColors">
<bool>true</bool>
</property>
<attribute name="verticalHeaderVisible">
<bool>false</bool>
</attribute>
<attribute name="verticalHeaderDefaultSectionSize">
<number>20</number>
</attribute>
<attribute name="verticalHeaderMinimumSectionSize">
<number>18</number>
</attribute>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="StructureTab">
<attribute name="title">
<string>Structure</string>
</attribute>
<layout class="QVBoxLayout" name="StructureLayout">
<property name="spacing">
<number>0</number>
</property>
<property name="margin">
<number>0</number>
</property>
<item>
<widget class="QToolBar" name="StructureToolBar">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>32</height>
</size>
</property>
<property name="baseSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<addaction name="StructureNewColumnAction"/>
</widget>
</item>
<item>
<widget class="QTableWidget" name="StructureTableWidget">
<attribute name="verticalHeaderVisible">
<bool>false</bool>
</attribute>
<attribute name="verticalHeaderDefaultSectionSize">
<number>20</number>
</attribute>
<column>
<property name="text">
<string>Column</string>
</property>
</column>
<column>
<property name="text">
<string>Type</string>
</property>
</column>
<column>
<property name="text">
<string>Size</string>
</property>
</column>
<column>
<property name="text">
<string>Not Null</string>
</property>
</column>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="QueryTab">
<attribute name="title">
<string>Query</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
<number>0</number>
</property>
<property name="margin">
<number>0</number>
</property>
<item>
<widget class="QToolBar" name="QueryToolBar">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>32</height>
</size>
</property>
<property name="baseSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<addaction name="QueryRunAction"/>
</widget>
</item>
<item>
<widget class="QSplitter" name="QuerySplitter">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<widget class="QsciScintilla" name="QueryTextEdit">
<property name="toolTip">
<string/>
</property>
<property name="whatsThis">
<string/>
</property>
</widget>
<widget class="QTableView" name="ResultsTableView">
<attribute name="verticalHeaderVisible">
<bool>false</bool>
</attribute>
<attribute name="verticalHeaderDefaultSectionSize">
<number>20</number>
</attribute>
</widget>
</widget>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
<action name="DataNewRecordAction">
<property name="icon">
<iconset resource="IoSQL.qrc">
<normaloff>:/Table/images/table/insert-row.png</normaloff>:/Table/images/table/insert-row.png</iconset>
</property>
<property name="text">
<string>New Record</string>
</property>
</action>
<action name="StructureNewColumnAction">
<property name="icon">
<iconset resource="IoSQL.qrc">
<normaloff>:/Table/images/table/insert-column.png</normaloff>:/Table/images/table/insert-column.png</iconset>
</property>
<property name="text">
<string>New Column</string>
</property>
<property name="toolTip">
<string>Add a new column</string>
</property>
</action>
<action name="DataRemoveAction">
<property name="icon">
<iconset resource="IoSQL.qrc">
<normaloff>:/Table/images/table/delete-row.png</normaloff>:/Table/images/table/delete-row.png</iconset>
</property>
<property name="text">
<string>Remove Record</string>
</property>
</action>
<action name="StructureRemoveAction">
<property name="icon">
<iconset resource="IoSQL.qrc">
<normaloff>:/Table/images/table/delete-column.png</normaloff>:/Table/images/table/delete-column.png</iconset>
</property>
<property name="text">
<string>Remove Column</string>
</property>
</action>
<action name="DataCommitAction">
<property name="enabled">
<bool>false</bool>
</property>
<property name="icon">
<iconset resource="IoSQL.qrc">
<normaloff>:/Table/images/table/commit.png</normaloff>:/Table/images/table/commit.png</iconset>
</property>
<property name="text">
<string>Commit</string>
</property>
</action>
<action name="DataRollbackAction">
<property name="enabled">
<bool>false</bool>
</property>
<property name="icon">
<iconset resource="IoSQL.qrc">
<normaloff>:/Table/images/table/rollback.png</normaloff>:/Table/images/table/rollback.png</iconset>
</property>
<property name="text">
<string>Rollback</string>
</property>
</action>
<action name="DataRefreshAction">
<property name="icon">
<iconset resource="IoSQL.qrc">
<normaloff>:/General/images/general/refresh.png</normaloff>:/General/images/general/refresh.png</iconset>
</property>
<property name="text">
<string>Refresh</string>
</property>
</action>
<action name="QueryRunAction">
<property name="icon">
<iconset resource="IoSQL.qrc">
<normaloff>:/Table/images/run-build.png</normaloff>:/Table/images/run-build.png</iconset>
</property>
<property name="text">
<string>Run Query</string>
</property>
<property name="toolTip">
<string>Run an SQL query</string>
</property>
<property name="shortcut">
<string>F5</string>
</property>
</action>
</widget>
<customwidgets>
<customwidget>
<class>QsciScintilla</class>
<extends>QFrame</extends>
<header>Qsci/qsciscintilla.h</header>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>TableTabWidget</tabstop>
<tabstop>DataTableView</tabstop>
<tabstop>StructureTableWidget</tabstop>
<tabstop>QueryTextEdit</tabstop>
<tabstop>ResultsTableView</tabstop>
</tabstops>
<resources>
<include location="IoSQL.qrc"/>
</resources>
<connections/>
</ui>