|
|
|
|
@ -1,42 +1,129 @@
|
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
<ui version="4.0">
|
|
|
|
|
<author/>
|
|
|
|
|
<comment/>
|
|
|
|
|
<exportmacro/>
|
|
|
|
|
<class>cPartlistItemEditDialog</class>
|
|
|
|
|
<widget name="cPartlistItemEditDialog" class="QDialog">
|
|
|
|
|
<widget class="QDialog" name="cPartlistItemEditDialog">
|
|
|
|
|
<property name="geometry">
|
|
|
|
|
<rect>
|
|
|
|
|
<x>0</x>
|
|
|
|
|
<y>0</y>
|
|
|
|
|
<width>400</width>
|
|
|
|
|
<height>300</height>
|
|
|
|
|
<width>500</width>
|
|
|
|
|
<height>350</height>
|
|
|
|
|
</rect>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="windowTitle">
|
|
|
|
|
<string>Dialog</string>
|
|
|
|
|
</property>
|
|
|
|
|
<widget name="buttonBox" class="QDialogButtonBox">
|
|
|
|
|
<property name="geometry">
|
|
|
|
|
<rect>
|
|
|
|
|
<x>30</x>
|
|
|
|
|
<y>240</y>
|
|
|
|
|
<width>341</width>
|
|
|
|
|
<height>32</height>
|
|
|
|
|
</rect>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="orientation">
|
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="standardButtons">
|
|
|
|
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
<layout class="QGridLayout" name="gridLayout_2">
|
|
|
|
|
<item row="0" column="0">
|
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
|
|
|
<item>
|
|
|
|
|
<layout class="QGridLayout" name="gridLayout_4" columnstretch="0,1,0,1">
|
|
|
|
|
<item row="2" column="0">
|
|
|
|
|
<widget class="QLabel" name="label_4">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Price:</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="2" column="1">
|
|
|
|
|
<widget class="QDoubleSpinBox" name="m_lpPrice"/>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="0" column="0">
|
|
|
|
|
<widget class="QLabel" name="label">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Part:</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="3" column="1" colspan="3">
|
|
|
|
|
<widget class="QTreeWidget" name="m_lpReplacement">
|
|
|
|
|
<attribute name="headerVisible">
|
|
|
|
|
<bool>false</bool>
|
|
|
|
|
</attribute>
|
|
|
|
|
<column>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string notr="true">1</string>
|
|
|
|
|
</property>
|
|
|
|
|
</column>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="2" column="2">
|
|
|
|
|
<widget class="QLabel" name="label_5">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Order state:</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="1" column="0">
|
|
|
|
|
<widget class="QLabel" name="label_2">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Distributor:</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="3" column="0">
|
|
|
|
|
<widget class="QLabel" name="label_3">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Replacement:</string>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="alignment">
|
|
|
|
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="2" column="3">
|
|
|
|
|
<widget class="QComboBox" name="m_lpOrderState"/>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="0" column="1" colspan="3">
|
|
|
|
|
<widget class="QComboBox" name="m_lpPartList"/>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="1" column="1" colspan="3">
|
|
|
|
|
<widget class="QComboBox" name="m_lpDistributorList"/>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="4" column="2" colspan="2">
|
|
|
|
|
<widget class="QGroupBox" name="groupBox_2">
|
|
|
|
|
<property name="title">
|
|
|
|
|
<string>Description</string>
|
|
|
|
|
</property>
|
|
|
|
|
<layout class="QGridLayout" name="gridLayout_3">
|
|
|
|
|
<item row="0" column="0">
|
|
|
|
|
<widget class="QTextEdit" name="m_lpDescription"/>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="4" column="0" colspan="2">
|
|
|
|
|
<widget class="QGroupBox" name="groupBox_3">
|
|
|
|
|
<property name="title">
|
|
|
|
|
<string>Reference</string>
|
|
|
|
|
</property>
|
|
|
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
|
|
|
<item row="0" column="0">
|
|
|
|
|
<widget class="QTextEdit" name="m_lpReference"/>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QDialogButtonBox" name="m_lpButtonBox">
|
|
|
|
|
<property name="orientation">
|
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="standardButtons">
|
|
|
|
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</widget>
|
|
|
|
|
<pixmapfunction/>
|
|
|
|
|
<resources/>
|
|
|
|
|
<connections>
|
|
|
|
|
<connection>
|
|
|
|
|
<sender>buttonBox</sender>
|
|
|
|
|
<sender>m_lpButtonBox</sender>
|
|
|
|
|
<signal>accepted()</signal>
|
|
|
|
|
<receiver>cPartlistItemEditDialog</receiver>
|
|
|
|
|
<slot>accept()</slot>
|
|
|
|
|
@ -52,7 +139,7 @@
|
|
|
|
|
</hints>
|
|
|
|
|
</connection>
|
|
|
|
|
<connection>
|
|
|
|
|
<sender>buttonBox</sender>
|
|
|
|
|
<sender>m_lpButtonBox</sender>
|
|
|
|
|
<signal>rejected()</signal>
|
|
|
|
|
<receiver>cPartlistItemEditDialog</receiver>
|
|
|
|
|
<slot>reject()</slot>
|
|
|
|
|
|