summer/summer/QtDesignerFiles/ProductDetail.ui

189 lines
4.7 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>ProductDetails</class>
<widget class="QDialog" name="ProductDetails">
<property name="windowModality">
<enum>Qt::WindowModal</enum>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>397</width>
<height>417</height>
</rect>
</property>
<property name="windowTitle">
<string>Product Details</string>
</property>
<property name="modal">
<bool>true</bool>
</property>
<layout class="QFormLayout" name="formLayout_2">
<property name="fieldGrowthPolicy">
<enum>QFormLayout::AllNonFixedFieldsGrow</enum>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Name</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="txtName"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Units</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="txtUnits"/>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_6">
<property name="text">
<string>Group</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QComboBox" name="cmbProductGroup"/>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Price</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QDoubleSpinBox" name="dsbPrice"/>
</item>
<item row="5" column="1">
<widget class="QCheckBox" name="chkHasHappyHour">
<property name="text">
<string>Has Happy Hour?</string>
</property>
</widget>
</item>
<item row="6" column="0">
<widget class="QLabel" name="label_9">
<property name="text">
<string>Service Charge</string>
</property>
</widget>
</item>
<item row="6" column="1">
<widget class="QDoubleSpinBox" name="dsbServiceCharge"/>
</item>
<item row="7" column="1">
<widget class="QCheckBox" name="chkScTaxable">
<property name="text">
<string>Is Service Charge Taxable?</string>
</property>
</widget>
</item>
<item row="8" column="0">
<widget class="QLabel" name="label_7">
<property name="text">
<string>Service Tax</string>
</property>
</widget>
</item>
<item row="8" column="1">
<widget class="QComboBox" name="cmbServiceTax"/>
</item>
<item row="9" column="0">
<widget class="QLabel" name="label_8">
<property name="text">
<string>VAT</string>
</property>
</widget>
</item>
<item row="9" column="1">
<widget class="QComboBox" name="cmbVat"/>
</item>
<item row="10" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Sort Order</string>
</property>
</widget>
</item>
<item row="10" column="1">
<widget class="QSpinBox" name="sbSortOrder"/>
</item>
<item row="11" column="1">
<widget class="QCheckBox" name="chkIsActive">
<property name="text">
<string>Is Active?</string>
</property>
</widget>
</item>
<item row="15" column="0" colspan="2">
<widget class="QDialogButtonBox" name="buttonBox">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
</layout>
</widget>
<tabstops>
<tabstop>txtName</tabstop>
<tabstop>txtUnits</tabstop>
<tabstop>cmbProductGroup</tabstop>
<tabstop>dsbPrice</tabstop>
<tabstop>chkHasHappyHour</tabstop>
<tabstop>dsbServiceCharge</tabstop>
<tabstop>chkScTaxable</tabstop>
<tabstop>cmbServiceTax</tabstop>
<tabstop>cmbVat</tabstop>
<tabstop>sbSortOrder</tabstop>
<tabstop>chkIsActive</tabstop>
<tabstop>buttonBox</tabstop>
</tabstops>
<resources/>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>ProductDetails</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>227</x>
<y>331</y>
</hint>
<hint type="destinationlabel">
<x>157</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>ProductDetails</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>295</x>
<y>337</y>
</hint>
<hint type="destinationlabel">
<x>286</x>
<y>274</y>
</hint>
</hints>
</connection>
</connections>
</ui>