You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
579 lines
18 KiB
XML
579 lines
18 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>ShopForm</class>
|
|
<widget class="QWidget" name="ShopForm">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>959</width>
|
|
<height>643</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Form</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_4">
|
|
<item>
|
|
<widget class="QWidget" name="widget" native="true">
|
|
<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="QWidget" name="widgetComodity" native="true">
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>500</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
<item>
|
|
<widget class="QLabel" name="commodity">
|
|
<property name="text">
|
|
<string>Commodity</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="commoditySearch"/>
|
|
</item>
|
|
<item>
|
|
<widget class="QTableView" name="commodityTable">
|
|
<property name="selectionMode">
|
|
<enum>QAbstractItemView::SingleSelection</enum>
|
|
</property>
|
|
<property name="selectionBehavior">
|
|
<enum>QAbstractItemView::SelectRows</enum>
|
|
</property>
|
|
</widget>
|
|
</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="spnCount">
|
|
<property name="wrapping">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="buttonSymbols">
|
|
<enum>QAbstractSpinBox::UpDownArrows</enum>
|
|
</property>
|
|
<property name="showGroupSeparator" stdset="0">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>1</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="btnAddItem">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Add Item</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../core/rc.qrc">
|
|
<normaloff>:/icons/new.svg</normaloff>:/icons/new.svg</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<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="font">
|
|
<font>
|
|
<pointsize>10</pointsize>
|
|
</font>
|
|
</property>
|
|
<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>
|
|
<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">
|
|
<widget class="QToolButton" name="toolFav1">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>75</width>
|
|
<height>75</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="4">
|
|
<widget class="QToolButton" name="toolFav5">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>75</width>
|
|
<height>75</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QToolButton" name="toolFav2">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>75</width>
|
|
<height>75</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2">
|
|
<widget class="QToolButton" name="toolFav3">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>75</width>
|
|
<height>75</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="3">
|
|
<widget class="QToolButton" name="toolFav4">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>75</width>
|
|
<height>75</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="5">
|
|
<spacer name="horizontalSpacer_3">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<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="1">
|
|
<widget class="QToolButton" name="toolFav7">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>75</width>
|
|
<height>75</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QToolButton" name="toolFav6">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>75</width>
|
|
<height>75</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2">
|
|
<widget class="QToolButton" name="toolFav8">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>75</width>
|
|
<height>75</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="3">
|
|
<widget class="QToolButton" name="toolFav9">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>75</width>
|
|
<height>75</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="4">
|
|
<widget class="QToolButton" name="toolFav10">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>75</width>
|
|
<height>75</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="5">
|
|
<spacer name="horizontalSpacer_4">
|
|
<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="1" column="3">
|
|
<spacer name="verticalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>40</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QWidget" name="widgetReceipt" native="true">
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<item>
|
|
<widget class="QLabel" name="receipt">
|
|
<property name="text">
|
|
<string>Receipt</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QComboBox" name="receiptCombo"/>
|
|
</item>
|
|
<item>
|
|
<widget class="QTableView" name="actualReceipt"/>
|
|
</item>
|
|
<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">
|
|
<font>
|
|
<pointsize>12</pointsize>
|
|
<weight>75</weight>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>Total:</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="total">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>12</pointsize>
|
|
<weight>75</weight>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>0</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QWidget" name="widget_4" native="true">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<item>
|
|
<widget class="QPushButton" name="temporarySaveButton">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>10</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>Temporary Save</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="shoprc.qrc">
|
|
<normaloff>:/icons/tempSave.svg</normaloff>:/icons/tempSave.svg</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>32</width>
|
|
<height>32</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="saveButton">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>10</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>Save</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../core/rc.qrc">
|
|
<normaloff>:/icons/save.svg</normaloff>:/icons/save.svg</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>32</width>
|
|
<height>32</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="loadButton">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>10</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>Load</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../core/rc.qrc">
|
|
<normaloff>:/icons/edit.svg</normaloff>:/icons/edit.svg</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>32</width>
|
|
<height>32</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="showPaiedButton">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>10</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>Show paied</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="shoprc.qrc">
|
|
<normaloff>:/icons/paied.svg</normaloff>:/icons/paied.svg</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>32</width>
|
|
<height>32</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="payButton">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>10</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>Pay</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="shoprc.qrc">
|
|
<normaloff>:/icons/pay.svg</normaloff>:/icons/pay.svg</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>32</width>
|
|
<height>32</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<resources>
|
|
<include location="../core/rc.qrc"/>
|
|
<include location="shoprc.qrc"/>
|
|
</resources>
|
|
<connections/>
|
|
</ui>
|