You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
310 lines
13 KiB
310 lines
13 KiB
13 years ago
|
<!DOCTYPE UI><UI version="3.1" stdsetdef="1">
|
||
|
<class>SqlEx</class>
|
||
|
<widget class="TQWidget">
|
||
|
<property name="name">
|
||
|
<cstring>SqlEx</cstring>
|
||
|
</property>
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>0</x>
|
||
|
<y>0</y>
|
||
|
<width>654</width>
|
||
|
<height>438</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="caption">
|
||
|
<string>Form1</string>
|
||
|
</property>
|
||
|
<vbox>
|
||
|
<property name="name">
|
||
|
<cstring>unnamed</cstring>
|
||
|
</property>
|
||
|
<property name="margin">
|
||
|
<number>11</number>
|
||
|
</property>
|
||
|
<property name="spacing">
|
||
|
<number>6</number>
|
||
|
</property>
|
||
|
<widget class="TQSplitter">
|
||
|
<property name="name">
|
||
|
<cstring>vsplit</cstring>
|
||
|
</property>
|
||
|
<property name="orientation">
|
||
|
<enum>Vertical</enum>
|
||
|
</property>
|
||
|
<widget class="TQSplitter">
|
||
|
<property name="name">
|
||
|
<cstring>hsplit</cstring>
|
||
|
</property>
|
||
|
<property name="orientation">
|
||
|
<enum>Horizontal</enum>
|
||
|
</property>
|
||
|
<widget class="TQListView">
|
||
|
<column>
|
||
|
<property name="text">
|
||
|
<string>Tables</string>
|
||
|
</property>
|
||
|
<property name="clickable">
|
||
|
<bool>true</bool>
|
||
|
</property>
|
||
|
<property name="resizable">
|
||
|
<bool>true</bool>
|
||
|
</property>
|
||
|
</column>
|
||
|
<column>
|
||
|
<property name="text">
|
||
|
<string>Type</string>
|
||
|
</property>
|
||
|
<property name="clickable">
|
||
|
<bool>true</bool>
|
||
|
</property>
|
||
|
<property name="resizable">
|
||
|
<bool>true</bool>
|
||
|
</property>
|
||
|
</column>
|
||
|
<column>
|
||
|
<property name="text">
|
||
|
<string>Retquired</string>
|
||
|
</property>
|
||
|
<property name="clickable">
|
||
|
<bool>true</bool>
|
||
|
</property>
|
||
|
<property name="resizable">
|
||
|
<bool>true</bool>
|
||
|
</property>
|
||
|
</column>
|
||
|
<property name="name">
|
||
|
<cstring>lv</cstring>
|
||
|
</property>
|
||
|
<property name="margin">
|
||
|
<number>0</number>
|
||
|
</property>
|
||
|
<property name="allColumnsShowFocus">
|
||
|
<bool>true</bool>
|
||
|
</property>
|
||
|
<property name="rootIsDecorated">
|
||
|
<bool>true</bool>
|
||
|
</property>
|
||
|
<property name="resizeMode">
|
||
|
<enum>LastColumn</enum>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="TQDataTable">
|
||
|
<property name="name">
|
||
|
<cstring>dt</cstring>
|
||
|
</property>
|
||
|
<property name="frameworkCode" stdset="0">
|
||
|
<bool>false</bool>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</widget>
|
||
|
<widget class="TQGroupBox">
|
||
|
<property name="name">
|
||
|
<cstring>gb</cstring>
|
||
|
</property>
|
||
|
<property name="title">
|
||
|
<string>SQL Query</string>
|
||
|
</property>
|
||
|
<grid>
|
||
|
<property name="name">
|
||
|
<cstring>unnamed</cstring>
|
||
|
</property>
|
||
|
<property name="margin">
|
||
|
<number>11</number>
|
||
|
</property>
|
||
|
<property name="spacing">
|
||
|
<number>6</number>
|
||
|
</property>
|
||
|
<widget class="TQLayoutWidget" row="0" column="0">
|
||
|
<property name="name">
|
||
|
<cstring>Layout22</cstring>
|
||
|
</property>
|
||
|
<vbox>
|
||
|
<property name="name">
|
||
|
<cstring>unnamed</cstring>
|
||
|
</property>
|
||
|
<property name="margin">
|
||
|
<number>0</number>
|
||
|
</property>
|
||
|
<property name="spacing">
|
||
|
<number>6</number>
|
||
|
</property>
|
||
|
<widget class="TQTextEdit">
|
||
|
<property name="name">
|
||
|
<cstring>te</cstring>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="TQLayoutWidget">
|
||
|
<property name="name">
|
||
|
<cstring>Layout21</cstring>
|
||
|
</property>
|
||
|
<hbox>
|
||
|
<property name="name">
|
||
|
<cstring>unnamed</cstring>
|
||
|
</property>
|
||
|
<property name="margin">
|
||
|
<number>0</number>
|
||
|
</property>
|
||
|
<property name="spacing">
|
||
|
<number>6</number>
|
||
|
</property>
|
||
|
<spacer>
|
||
|
<property name="name">
|
||
|
<cstring>Spacer3</cstring>
|
||
|
</property>
|
||
|
<property name="orientation">
|
||
|
<enum>Horizontal</enum>
|
||
|
</property>
|
||
|
<property name="sizeType">
|
||
|
<enum>Expanding</enum>
|
||
|
</property>
|
||
|
<property name="sizeHint">
|
||
|
<size>
|
||
|
<width>20</width>
|
||
|
<height>20</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
</spacer>
|
||
|
<widget class="TQPushButton">
|
||
|
<property name="name">
|
||
|
<cstring>submitBtn</cstring>
|
||
|
</property>
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy>
|
||
|
<hsizetype>5</hsizetype>
|
||
|
<vsizetype>0</vsizetype>
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
<property name="minimumSize">
|
||
|
<size>
|
||
|
<width>80</width>
|
||
|
<height>0</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>&Submit</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="TQPushButton">
|
||
|
<property name="name">
|
||
|
<cstring>clearBtn</cstring>
|
||
|
</property>
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy>
|
||
|
<hsizetype>5</hsizetype>
|
||
|
<vsizetype>0</vsizetype>
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
<property name="minimumSize">
|
||
|
<size>
|
||
|
<width>80</width>
|
||
|
<height>0</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>C&lear</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</hbox>
|
||
|
</widget>
|
||
|
</vbox>
|
||
|
</widget>
|
||
|
</grid>
|
||
|
</widget>
|
||
|
</widget>
|
||
|
<widget class="TQLayoutWidget">
|
||
|
<property name="name">
|
||
|
<cstring>Layout23</cstring>
|
||
|
</property>
|
||
|
<hbox>
|
||
|
<property name="name">
|
||
|
<cstring>unnamed</cstring>
|
||
|
</property>
|
||
|
<property name="margin">
|
||
|
<number>0</number>
|
||
|
</property>
|
||
|
<property name="spacing">
|
||
|
<number>6</number>
|
||
|
</property>
|
||
|
<widget class="TQLabel">
|
||
|
<property name="name">
|
||
|
<cstring>lbl</cstring>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>Press "Connect" to open a database</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="TQPushButton">
|
||
|
<property name="name">
|
||
|
<cstring>conBtn</cstring>
|
||
|
</property>
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy>
|
||
|
<hsizetype>0</hsizetype>
|
||
|
<vsizetype>0</vsizetype>
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
<property name="minimumSize">
|
||
|
<size>
|
||
|
<width>80</width>
|
||
|
<height>0</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>&Connect...</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</hbox>
|
||
|
</widget>
|
||
|
</vbox>
|
||
|
</widget>
|
||
|
<connections>
|
||
|
<connection>
|
||
|
<sender>clearBtn</sender>
|
||
|
<signal>clicked()</signal>
|
||
|
<receiver>te</receiver>
|
||
|
<slot>clear()</slot>
|
||
|
</connection>
|
||
|
<connection>
|
||
|
<sender>conBtn</sender>
|
||
|
<signal>clicked()</signal>
|
||
|
<receiver>SqlEx</receiver>
|
||
|
<slot>dbConnect()</slot>
|
||
|
</connection>
|
||
|
<connection>
|
||
|
<sender>lv</sender>
|
||
|
<signal>returnPressed(TQListViewItem*)</signal>
|
||
|
<receiver>SqlEx</receiver>
|
||
|
<slot>showTable(TQListViewItem*)</slot>
|
||
|
</connection>
|
||
|
<connection>
|
||
|
<sender>lv</sender>
|
||
|
<signal>doubleClicked(TQListViewItem*)</signal>
|
||
|
<receiver>SqlEx</receiver>
|
||
|
<slot>showTable(TQListViewItem*)</slot>
|
||
|
</connection>
|
||
|
<connection>
|
||
|
<sender>submitBtn</sender>
|
||
|
<signal>clicked()</signal>
|
||
|
<receiver>SqlEx</receiver>
|
||
|
<slot>execQuery()</slot>
|
||
|
</connection>
|
||
|
</connections>
|
||
|
<includes>
|
||
|
<include location="local" impldecl="in implementation">sqlex.ui.h</include>
|
||
|
</includes>
|
||
|
<slots>
|
||
|
<slot>init()</slot>
|
||
|
<slot>dbConnect()</slot>
|
||
|
<slot>execQuery()</slot>
|
||
|
<slot>showTable( TQListViewItem * item )</slot>
|
||
|
</slots>
|
||
|
<layoutdefaults spacing="6" margin="11"/>
|
||
|
</UI>
|