|
|
@ -7,95 +7,187 @@
|
|
|
|
<x>0</x>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<y>0</y>
|
|
|
|
<width>959</width>
|
|
|
|
<width>959</width>
|
|
|
|
<height>531</height>
|
|
|
|
<height>582</height>
|
|
|
|
</rect>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
|
|
|
<property name="windowTitle">
|
|
|
|
<string>Form</string>
|
|
|
|
<string>Form</string>
|
|
|
|
</property>
|
|
|
|
</property>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_4">
|
|
|
|
<item>
|
|
|
|
<item>
|
|
|
|
<widget class="QWidget" name="widget" native="true">
|
|
|
|
<widget class="QWidget" name="widget" native="true">
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
|
|
<property name="minimumSize">
|
|
|
|
|
|
|
|
<size>
|
|
|
|
|
|
|
|
<width>0</width>
|
|
|
|
|
|
|
|
<height>100</height>
|
|
|
|
|
|
|
|
</size>
|
|
|
|
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
|
|
|
|
|
|
<property name="leftMargin">
|
|
|
|
|
|
|
|
<number>0</number>
|
|
|
|
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property name="topMargin">
|
|
|
|
|
|
|
|
<number>0</number>
|
|
|
|
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property name="rightMargin">
|
|
|
|
|
|
|
|
<number>0</number>
|
|
|
|
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property name="bottomMargin">
|
|
|
|
|
|
|
|
<number>0</number>
|
|
|
|
|
|
|
|
</property>
|
|
|
|
<item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="commodity">
|
|
|
|
<widget class="QWidget" name="widgetComodity" native="true">
|
|
|
|
<property name="text">
|
|
|
|
<property name="maximumSize">
|
|
|
|
<string>Commodity</string>
|
|
|
|
<size>
|
|
|
|
|
|
|
|
<width>500</width>
|
|
|
|
|
|
|
|
<height>16777215</height>
|
|
|
|
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
|
|
</item>
|
|
|
|
|
|
|
|
<item>
|
|
|
|
|
|
|
|
<widget class="QLineEdit" name="commoditySearch"/>
|
|
|
|
|
|
|
|
</item>
|
|
|
|
|
|
|
|
<item>
|
|
|
|
|
|
|
|
<widget class="QTableView" name="commodityTable"/>
|
|
|
|
|
|
|
|
</item>
|
|
|
|
|
|
|
|
<item>
|
|
|
|
|
|
|
|
<widget class="QWidget" name="widget_8" native="true">
|
|
|
|
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
|
|
|
|
|
|
|
<item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label">
|
|
|
|
<widget class="QLabel" name="commodity">
|
|
|
|
<property name="text">
|
|
|
|
<property name="text">
|
|
|
|
<string>Count</string>
|
|
|
|
<string>Commodity</string>
|
|
|
|
</property>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<item>
|
|
|
|
<widget class="QSpinBox" name="spinBox">
|
|
|
|
<widget class="QLineEdit" name="commoditySearch"/>
|
|
|
|
<property name="wrapping">
|
|
|
|
|
|
|
|
<bool>false</bool>
|
|
|
|
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property name="buttonSymbols">
|
|
|
|
|
|
|
|
<enum>QAbstractSpinBox::UpDownArrows</enum>
|
|
|
|
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property name="showGroupSeparator" stdset="0">
|
|
|
|
|
|
|
|
<bool>false</bool>
|
|
|
|
|
|
|
|
</property>
|
|
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
|
|
</item>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="pushButton">
|
|
|
|
<widget class="QTableView" name="commodityTable"/>
|
|
|
|
<property name="text">
|
|
|
|
</item>
|
|
|
|
<string>Add Item</string>
|
|
|
|
<item>
|
|
|
|
</property>
|
|
|
|
<widget class="QWidget" name="widget_8" native="true">
|
|
|
|
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
|
|
|
|
|
|
|
<item>
|
|
|
|
|
|
|
|
<widget class="QLabel" name="label">
|
|
|
|
|
|
|
|
<property name="text">
|
|
|
|
|
|
|
|
<string>Count</string>
|
|
|
|
|
|
|
|
</property>
|
|
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
|
|
</item>
|
|
|
|
|
|
|
|
<item>
|
|
|
|
|
|
|
|
<widget class="QSpinBox" name="spinBox">
|
|
|
|
|
|
|
|
<property name="wrapping">
|
|
|
|
|
|
|
|
<bool>false</bool>
|
|
|
|
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property name="buttonSymbols">
|
|
|
|
|
|
|
|
<enum>QAbstractSpinBox::UpDownArrows</enum>
|
|
|
|
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property name="showGroupSeparator" stdset="0">
|
|
|
|
|
|
|
|
<bool>false</bool>
|
|
|
|
|
|
|
|
</property>
|
|
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
|
|
</item>
|
|
|
|
|
|
|
|
<item>
|
|
|
|
|
|
|
|
<widget class="QPushButton" name="pushButton">
|
|
|
|
|
|
|
|
<property name="text">
|
|
|
|
|
|
|
|
<string>Add Item</string>
|
|
|
|
|
|
|
|
</property>
|
|
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
|
|
</item>
|
|
|
|
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
|
|
</item>
|
|
|
|
|
|
|
|
<item>
|
|
|
|
|
|
|
|
<widget class="QWidget" name="widget_2" native="true">
|
|
|
|
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
|
|
|
|
|
|
<item>
|
|
|
|
<item>
|
|
|
|
<widget class="QWidget" name="favorites1" native="true">
|
|
|
|
<widget class="QWidget" name="widgetButtons" native="true">
|
|
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
|
|
<item row="0" column="0">
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="directSale">
|
|
|
|
<widget class="QWidget" name="favorites1" native="true">
|
|
|
|
<property name="text">
|
|
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
|
|
<string>Direct Sale</string>
|
|
|
|
<item row="0" column="1">
|
|
|
|
</property>
|
|
|
|
<spacer name="horizontalSpacer_2">
|
|
|
|
|
|
|
|
<property name="orientation">
|
|
|
|
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
|
|
|
|
<size>
|
|
|
|
|
|
|
|
<width>40</width>
|
|
|
|
|
|
|
|
<height>20</height>
|
|
|
|
|
|
|
|
</size>
|
|
|
|
|
|
|
|
</property>
|
|
|
|
|
|
|
|
</spacer>
|
|
|
|
|
|
|
|
</item>
|
|
|
|
|
|
|
|
<item row="0" column="0">
|
|
|
|
|
|
|
|
<widget class="QToolButton" name="directSale">
|
|
|
|
|
|
|
|
<property name="text">
|
|
|
|
|
|
|
|
<string>Direct Sale</string>
|
|
|
|
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property name="icon">
|
|
|
|
|
|
|
|
<iconset resource="shoprc.qrc">
|
|
|
|
|
|
|
|
<normaloff>:/icons/shop.svg</normaloff>:/icons/shop.svg</iconset>
|
|
|
|
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property name="iconSize">
|
|
|
|
|
|
|
|
<size>
|
|
|
|
|
|
|
|
<width>45</width>
|
|
|
|
|
|
|
|
<height>45</height>
|
|
|
|
|
|
|
|
</size>
|
|
|
|
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property name="shortcut">
|
|
|
|
|
|
|
|
<string>Ctrl+D</string>
|
|
|
|
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property name="toolButtonStyle">
|
|
|
|
|
|
|
|
<enum>Qt::ToolButtonTextUnderIcon</enum>
|
|
|
|
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property name="autoRaise">
|
|
|
|
|
|
|
|
<bool>true</bool>
|
|
|
|
|
|
|
|
</property>
|
|
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
|
|
</item>
|
|
|
|
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
<item>
|
|
|
|
</widget>
|
|
|
|
<widget class="QWidget" name="widget_5" native="true">
|
|
|
|
</item>
|
|
|
|
<layout class="QGridLayout" name="gridLayout_3">
|
|
|
|
<item>
|
|
|
|
<property name="leftMargin">
|
|
|
|
<widget class="QWidget" name="widget_5" native="true">
|
|
|
|
<number>0</number>
|
|
|
|
<layout class="QGridLayout" name="gridLayout_3">
|
|
|
|
</property>
|
|
|
|
<item row="0" column="0">
|
|
|
|
<property name="topMargin">
|
|
|
|
<layout class="QGridLayout" name="favorites2"/>
|
|
|
|
<number>0</number>
|
|
|
|
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property name="rightMargin">
|
|
|
|
|
|
|
|
<number>0</number>
|
|
|
|
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property name="bottomMargin">
|
|
|
|
|
|
|
|
<number>0</number>
|
|
|
|
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property name="spacing">
|
|
|
|
|
|
|
|
<number>0</number>
|
|
|
|
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<item row="0" column="0">
|
|
|
|
|
|
|
|
<layout class="QGridLayout" name="favorites2"/>
|
|
|
|
|
|
|
|
</item>
|
|
|
|
|
|
|
|
</layout>
|
|
|
|
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
<item>
|
|
|
|
</widget>
|
|
|
|
<widget class="QWidget" name="widget_6" native="true">
|
|
|
|
</item>
|
|
|
|
<layout class="QGridLayout" name="gridLayout_5">
|
|
|
|
<item>
|
|
|
|
<property name="leftMargin">
|
|
|
|
<widget class="QWidget" name="widget_6" native="true">
|
|
|
|
<number>0</number>
|
|
|
|
<layout class="QGridLayout" name="gridLayout_5">
|
|
|
|
</property>
|
|
|
|
<item row="0" column="0">
|
|
|
|
<property name="topMargin">
|
|
|
|
<layout class="QGridLayout" name="favorites3"/>
|
|
|
|
<number>0</number>
|
|
|
|
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property name="rightMargin">
|
|
|
|
|
|
|
|
<number>0</number>
|
|
|
|
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property name="bottomMargin">
|
|
|
|
|
|
|
|
<number>0</number>
|
|
|
|
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property name="spacing">
|
|
|
|
|
|
|
|
<number>0</number>
|
|
|
|
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<item row="0" column="0">
|
|
|
|
|
|
|
|
<layout class="QGridLayout" name="favorites3"/>
|
|
|
|
|
|
|
|
</item>
|
|
|
|
|
|
|
|
</layout>
|
|
|
|
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</widget>
|
|
|
@ -104,7 +196,7 @@
|
|
|
|
</widget>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<item>
|
|
|
|
<widget class="QWidget" name="widget_3" native="true">
|
|
|
|
<widget class="QWidget" name="widgetReceipt" native="true">
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
|
|
<item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="receipt">
|
|
|
|
<widget class="QLabel" name="receipt">
|
|
|
@ -122,6 +214,19 @@
|
|
|
|
<item>
|
|
|
|
<item>
|
|
|
|
<widget class="QWidget" name="widget_7" native="true">
|
|
|
|
<widget class="QWidget" name="widget_7" native="true">
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
|
|
|
|
|
|
<item>
|
|
|
|
|
|
|
|
<spacer name="horizontalSpacer">
|
|
|
|
|
|
|
|
<property name="orientation">
|
|
|
|
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
|
|
|
|
<size>
|
|
|
|
|
|
|
|
<width>40</width>
|
|
|
|
|
|
|
|
<height>20</height>
|
|
|
|
|
|
|
|
</size>
|
|
|
|
|
|
|
|
</property>
|
|
|
|
|
|
|
|
</spacer>
|
|
|
|
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_2">
|
|
|
|
<widget class="QLabel" name="label_2">
|
|
|
|
<property name="font">
|
|
|
|
<property name="font">
|
|
|
@ -196,6 +301,8 @@
|
|
|
|
</item>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</widget>
|
|
|
|
<resources/>
|
|
|
|
<resources>
|
|
|
|
|
|
|
|
<include location="shoprc.qrc"/>
|
|
|
|
|
|
|
|
</resources>
|
|
|
|
<connections/>
|
|
|
|
<connections/>
|
|
|
|
</ui>
|
|
|
|
</ui>
|
|
|
|