|
|
|
@ -7,95 +7,187 @@
|
|
|
|
|
<x>0</x>
|
|
|
|
|
<y>0</y>
|
|
|
|
|
<width>959</width>
|
|
|
|
|
<height>531</height>
|
|
|
|
|
<height>582</height>
|
|
|
|
|
</rect>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="windowTitle">
|
|
|
|
|
<string>Form</string>
|
|
|
|
|
</property>
|
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_4">
|
|
|
|
|
<item>
|
|
|
|
|
<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>
|
|
|
|
|
<widget class="QLabel" name="commodity">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Commodity</string>
|
|
|
|
|
<widget class="QWidget" name="widgetComodity" native="true">
|
|
|
|
|
<property name="maximumSize">
|
|
|
|
|
<size>
|
|
|
|
|
<width>500</width>
|
|
|
|
|
<height>16777215</height>
|
|
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</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">
|
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QLabel" name="label">
|
|
|
|
|
<widget class="QLabel" name="commodity">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Count</string>
|
|
|
|
|
<string>Commodity</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>
|
|
|
|
|
<widget class="QLineEdit" name="commoditySearch"/>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QPushButton" name="pushButton">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Add Item</string>
|
|
|
|
|
</property>
|
|
|
|
|
<widget class="QTableView" name="commodityTable"/>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<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>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QWidget" name="widget_2" native="true">
|
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QWidget" name="favorites1" native="true">
|
|
|
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
|
|
|
<item row="0" column="0">
|
|
|
|
|
<widget class="QPushButton" name="directSale">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Direct Sale</string>
|
|
|
|
|
</property>
|
|
|
|
|
<widget class="QWidget" name="widgetButtons" native="true">
|
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QWidget" name="favorites1" native="true">
|
|
|
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
|
|
|
<item row="0" column="1">
|
|
|
|
|
<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>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QWidget" name="widget_5" native="true">
|
|
|
|
|
<layout class="QGridLayout" name="gridLayout_3">
|
|
|
|
|
<item row="0" column="0">
|
|
|
|
|
<layout class="QGridLayout" name="favorites2"/>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QWidget" name="widget_5" native="true">
|
|
|
|
|
<layout class="QGridLayout" name="gridLayout_3">
|
|
|
|
|
<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>
|
|
|
|
|
<property name="spacing">
|
|
|
|
|
<number>0</number>
|
|
|
|
|
</property>
|
|
|
|
|
<item row="0" column="0">
|
|
|
|
|
<layout class="QGridLayout" name="favorites2"/>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QWidget" name="widget_6" native="true">
|
|
|
|
|
<layout class="QGridLayout" name="gridLayout_5">
|
|
|
|
|
<item row="0" column="0">
|
|
|
|
|
<layout class="QGridLayout" name="favorites3"/>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QWidget" name="widget_6" native="true">
|
|
|
|
|
<layout class="QGridLayout" name="gridLayout_5">
|
|
|
|
|
<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>
|
|
|
|
|
<property name="spacing">
|
|
|
|
|
<number>0</number>
|
|
|
|
|
</property>
|
|
|
|
|
<item row="0" column="0">
|
|
|
|
|
<layout class="QGridLayout" name="favorites3"/>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</widget>
|
|
|
|
@ -104,7 +196,7 @@
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QWidget" name="widget_3" native="true">
|
|
|
|
|
<widget class="QWidget" name="widgetReceipt" native="true">
|
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QLabel" name="receipt">
|
|
|
|
@ -122,6 +214,19 @@
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QWidget" name="widget_7" native="true">
|
|
|
|
|
<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>
|
|
|
|
|
<widget class="QLabel" name="label_2">
|
|
|
|
|
<property name="font">
|
|
|
|
@ -196,6 +301,8 @@
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</widget>
|
|
|
|
|
<resources/>
|
|
|
|
|
<resources>
|
|
|
|
|
<include location="shoprc.qrc"/>
|
|
|
|
|
</resources>
|
|
|
|
|
<connections/>
|
|
|
|
|
</ui>
|
|
|
|
|