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.
pytqt/examples3/SQL/form2.ui

328 lines
12 KiB

<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
<class>Form2</class>
<widget class="TQDialog">
<property name="name">
<cstring>Form2</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>367</width>
<height>152</height>
</rect>
</property>
<property name="caption">
<string>Form2</string>
</property>
<widget class="TQDataBrowser">
<property name="name">
<cstring>DataBrowser1</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>366</width>
<height>150</height>
</rect>
</property>
<property name="sort">
<stringlist>
<string>surname ASC</string>
<string>forename ASC</string>
</stringlist>
</property>
<property name="database" stdset="0">
<stringlist>
<string>(default)</string>
<string>staff</string>
</stringlist>
</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>Layout2</cstring>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>labelSurname</cstring>
</property>
<property name="text">
<string>Surname</string>
</property>
</widget>
<widget class="TQSpinBox" row="1" column="3">
<property name="name">
<cstring>TQSpinBoxStatusid</cstring>
</property>
<property name="maxValue">
<number>2147483647</number>
</property>
<property name="database" stdset="0">
<stringlist>
<string>(default)</string>
<string>staff</string>
<string>statusid</string>
</stringlist>
</property>
</widget>
<widget class="TQLineEdit" row="1" column="1">
<property name="name">
<cstring>TQLineEditSurname</cstring>
</property>
<property name="database" stdset="0">
<stringlist>
<string>(default)</string>
<string>staff</string>
<string>surname</string>
</stringlist>
</property>
</widget>
<widget class="TQLabel" row="1" column="2">
<property name="name">
<cstring>labelStatusid</cstring>
</property>
<property name="text">
<string>Statusid</string>
</property>
</widget>
<widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>labelForename</cstring>
</property>
<property name="text">
<string>Forename</string>
</property>
</widget>
<widget class="TQLineEdit" row="0" column="3">
<property name="name">
<cstring>TQLineEditSalary</cstring>
</property>
<property name="alignment">
<set>AlignRight</set>
</property>
<property name="database" stdset="0">
<stringlist>
<string>(default)</string>
<string>staff</string>
<string>salary</string>
</stringlist>
</property>
</widget>
<widget class="TQLabel" row="0" column="2">
<property name="name">
<cstring>labelSalary</cstring>
</property>
<property name="text">
<string>Salary</string>
</property>
</widget>
<widget class="TQLineEdit" row="0" column="1">
<property name="name">
<cstring>TQLineEditForename</cstring>
</property>
<property name="database" stdset="0">
<stringlist>
<string>(default)</string>
<string>staff</string>
<string>forename</string>
</stringlist>
</property>
</widget>
</grid>
</widget>
<widget class="TQLayoutWidget" row="1" column="0">
<property name="name">
<cstring>Layout3</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="TQPushButton">
<property name="name">
<cstring>PushButtonFirst</cstring>
</property>
<property name="text">
<string>|&lt; &amp;First</string>
</property>
</widget>
<widget class="TQPushButton">
<property name="name">
<cstring>PushButtonPrev</cstring>
</property>
<property name="text">
<string>&lt;&lt; &amp;Prev</string>
</property>
</widget>
<widget class="TQPushButton">
<property name="name">
<cstring>PushButtonNext</cstring>
</property>
<property name="text">
<string>&amp;Next &gt;&gt;</string>
</property>
</widget>
<widget class="TQPushButton">
<property name="name">
<cstring>PushButtonLast</cstring>
</property>
<property name="text">
<string>&amp;Last &gt;|</string>
</property>
</widget>
</hbox>
</widget>
<widget class="TQLayoutWidget" row="2" column="0">
<property name="name">
<cstring>Layout4</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="TQPushButton">
<property name="name">
<cstring>PushButtonInsert</cstring>
</property>
<property name="text">
<string>&amp;Insert</string>
</property>
</widget>
<widget class="TQPushButton">
<property name="name">
<cstring>PushButtonUpdate</cstring>
</property>
<property name="text">
<string>&amp;Update</string>
</property>
</widget>
<widget class="TQPushButton">
<property name="name">
<cstring>PushButtonDelete</cstring>
</property>
<property name="text">
<string>&amp;Delete</string>
</property>
</widget>
</hbox>
</widget>
</grid>
</widget>
</widget>
<connections>
<connection>
<sender>PushButtonFirst</sender>
<signal>clicked()</signal>
<receiver>DataBrowser1</receiver>
<slot>first()</slot>
</connection>
<connection>
<sender>DataBrowser1</sender>
<signal>firstRecordAvailable( bool )</signal>
<receiver>PushButtonFirst</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>PushButtonPrev</sender>
<signal>clicked()</signal>
<receiver>DataBrowser1</receiver>
<slot>prev()</slot>
</connection>
<connection>
<sender>DataBrowser1</sender>
<signal>prevRecordAvailable( bool )</signal>
<receiver>PushButtonPrev</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>PushButtonNext</sender>
<signal>clicked()</signal>
<receiver>DataBrowser1</receiver>
<slot>next()</slot>
</connection>
<connection>
<sender>DataBrowser1</sender>
<signal>nextRecordAvailable( bool )</signal>
<receiver>PushButtonNext</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>PushButtonLast</sender>
<signal>clicked()</signal>
<receiver>DataBrowser1</receiver>
<slot>last()</slot>
</connection>
<connection>
<sender>DataBrowser1</sender>
<signal>lastRecordAvailable( bool )</signal>
<receiver>PushButtonLast</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>PushButtonInsert</sender>
<signal>clicked()</signal>
<receiver>DataBrowser1</receiver>
<slot>insert()</slot>
</connection>
<connection>
<sender>PushButtonUpdate</sender>
<signal>clicked()</signal>
<receiver>DataBrowser1</receiver>
<slot>update()</slot>
</connection>
<connection>
<sender>PushButtonDelete</sender>
<signal>clicked()</signal>
<receiver>DataBrowser1</receiver>
<slot>del()</slot>
</connection>
</connections>
<tabstops>
<tabstop>TQLineEditForename</tabstop>
<tabstop>TQLineEditSurname</tabstop>
<tabstop>TQLineEditSalary</tabstop>
<tabstop>TQSpinBoxStatusid</tabstop>
<tabstop>PushButtonFirst</tabstop>
<tabstop>PushButtonPrev</tabstop>
<tabstop>PushButtonNext</tabstop>
<tabstop>PushButtonLast</tabstop>
<tabstop>PushButtonInsert</tabstop>
<tabstop>PushButtonUpdate</tabstop>
<tabstop>PushButtonDelete</tabstop>
</tabstops>
<layoutdefaults spacing="6" margin="11"/>
</UI>