Commit f8915e85 by 李定达

Merge branch 'feature/mainshowchange' into develop

parents 6e3fc6fd bb54d3fc
...@@ -29,5 +29,13 @@ ...@@ -29,5 +29,13 @@
<file>loginlogin.png</file> <file>loginlogin.png</file>
<file>pickupclose.png</file> <file>pickupclose.png</file>
<file>pickupwar.png</file> <file>pickupwar.png</file>
<file>yy.png</file>
<file>orders_off.png</file>
<file>orders_on.png</file>
<file>refund_off.png</file>
<file>refund_on.png</file>
<file>setting_off.png</file>
<file>setting_on.png</file>
<file>mainlogo.png</file>
</qresource> </qresource>
</RCC> </RCC>
\ No newline at end of file
...@@ -689,7 +689,14 @@ QWidget ...@@ -689,7 +689,14 @@ QWidget
/*---------------------------------PickUpForm[end]-------------------------------------*/ /*---------------------------------PickUpForm[end]-------------------------------------*/
/*---------------------------------NewMainForm[end]-------------------------------------*/
#newmainlabel_logo
{
border-image: url(:mainlogo.png);
}
/*---------------------------------NewMainForm[end]-------------------------------------*/
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
#include "model/posorderpool.h" #include "model/posorderpool.h"
#include "view/mainForm.h" #include "view/mainForm.h"
#include "view/floatForm.h" #include "view/floatForm.h"
#include "view/newmainform.h"
#include "control/orderlocalizework.h" #include "control/orderlocalizework.h"
#include "control/orderpushwork.h" #include "control/orderpushwork.h"
#include "control/orderprintwork.h" #include "control/orderprintwork.h"
...@@ -163,12 +164,17 @@ int main(int argc, char *argv[]) ...@@ -163,12 +164,17 @@ int main(int argc, char *argv[])
prtthreadt.start(); prtthreadt.start();
prtthreadpickup.start(); prtthreadpickup.start();
//界面类定义及初始化 //界面类定义及初始化
#ifndef FM_NEW_UI
MainForm mainform; MainForm mainform;
LoginForm loginform; LoginForm loginform;
FloatForm floatform; FloatForm floatform;
//开始展示界面 //开始展示界面
mainform.MyShow(); mainform.MyShow();
loginform.showfull(); loginform.showfull();
#else
NewMainForm mainform;
mainform.FullShow();
#endif
//回归事件循环 //回归事件循环
return a.exec(); return a.exec();
} }
......
...@@ -728,5 +728,3 @@ void PosOrderPool::UpdateOrderNum(const OrderObject *order, const OrderObject *o ...@@ -728,5 +728,3 @@ void PosOrderPool::UpdateOrderNum(const OrderObject *order, const OrderObject *o
} }
} }
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
#include <QMutex> #include <QMutex>
#include <QTimer> #include <QTimer>
#include <QMap> #include <QMap>
#include <functional>
#include <QDateTime> #include <QDateTime>
...@@ -180,6 +181,7 @@ typedef struct ...@@ -180,6 +181,7 @@ typedef struct
} Order_Info; } Order_Info;
class PosOrderPool : public QObject class PosOrderPool : public QObject
{ {
Q_OBJECT Q_OBJECT
...@@ -206,6 +208,19 @@ public: ...@@ -206,6 +208,19 @@ public:
static bool GetOrderStatusAndOrderType(QString key, int &status, int &refund_status, int &order_type, bool &oldorder); static bool GetOrderStatusAndOrderType(QString key, int &status, int &refund_status, int &order_type, bool &oldorder);
template <typename T>
static bool GetOrderIndex(T &t, std::function<bool (OrderObject &order, T &)> fun)
{
QMutexLocker loker(&s_mutex);
if(!s_order_pool.contains(key))
return false;
Order_Info info = s_order_pool[key];
return fun(info.order_data, t);
}
virtual bool event(QEvent *e); virtual bool event(QEvent *e);
private: private:
static void UpdateOrderNum(const OrderObject *order, const OrderObject *orderold = NULL); static void UpdateOrderNum(const OrderObject *order, const OrderObject *orderold = NULL);
......
...@@ -64,6 +64,7 @@ ...@@ -64,6 +64,7 @@
#define INI_DELEORDERTIMER "all/dltordertimer" #define INI_DELEORDERTIMER "all/dltordertimer"
#define INI_NEEDPTRNUM "all/needothernum"
#define INI_NEEDPTR "all/needotherprt" #define INI_NEEDPTR "all/needotherprt"
#define INI_NEEDLABEL "all/needlabel" #define INI_NEEDLABEL "all/needlabel"
......
...@@ -22,9 +22,11 @@ LIBS += -lWs2_32 ...@@ -22,9 +22,11 @@ LIBS += -lWs2_32
LIBS += -lDbghelp LIBS += -lDbghelp
#DEFINES += USE_QAACTION #DEFINES += USE_QAACTION
DEFINES += FM_NEW_UI
#DEFINES += FM_TEST #DEFINES += FM_TEST
#DEFINES += FM_MAIN_TEST #DEFINES += FM_MAIN_TEST
DEFINES += FM_ORDER_TEST
RC_FILE += takeout.rc RC_FILE += takeout.rc
CONFIG += c++11 CONFIG += c++11
...@@ -62,7 +64,11 @@ SOURCES += main.cpp \ ...@@ -62,7 +64,11 @@ SOURCES += main.cpp \
view/prtsettingform.cpp \ view/prtsettingform.cpp \
control/workobject.cpp \ control/workobject.cpp \
view/pickupform.cpp \ view/pickupform.cpp \
control/pickuporderwork.cpp control/pickuporderwork.cpp \
view/newmainform.cpp \
view/ordertypeform.cpp \
view/orderoptform.cpp \
view/mainbtn.cpp
HEADERS += \ HEADERS += \
event/fmapplication.h \ event/fmapplication.h \
...@@ -102,7 +108,11 @@ HEADERS += \ ...@@ -102,7 +108,11 @@ HEADERS += \
base/System/GetPrinters.h \ base/System/GetPrinters.h \
control/workobject.h \ control/workobject.h \
view/pickupform.h \ view/pickupform.h \
control/pickuporderwork.h control/pickuporderwork.h \
view/newmainform.h \
view/ordertypeform.h \
view/orderoptform.h \
view/mainbtn.h
DISTFILES += takeout.rc DISTFILES += takeout.rc
...@@ -117,4 +127,8 @@ FORMS += \ ...@@ -117,4 +127,8 @@ FORMS += \
view/detailForm.ui \ view/detailForm.ui \
view/loginform.ui \ view/loginform.ui \
view/prtsettingform.ui \ view/prtsettingform.ui \
view/pickupform.ui view/pickupform.ui \
view/newmainform.ui \
view/ordertypeform.ui \
view/orderoptform.ui \
view/mainbtn.ui
#include "mainbtn.h"
#include "ui_mainbtn.h"
#include <QMouseEvent>
#include <qDebug>
MainBtn::MainBtn(QWidget *parent) :
QWidget(parent),
ui(new Ui::MainBtn)
{
ui->setupUi(this);
_checked = false;
}
MainBtn::~MainBtn()
{
delete ui;
}
void MainBtn::setChecked(bool check)
{
_checked = check;
QString type = this->property("type").toString();
//qDebug() << "====" << type << ";" << check << _type;
if(type.compare("order",Qt::CaseInsensitive) == 0)
{
if(check)
{
ui->mainbtnlabel_name->setStyleSheet("#mainbtnlabel_name{color:rgba(255,255,255,1)}");
ui->mainbtnlabel_lg->setStyleSheet("#mainbtnlabel_lg{ border-image: url(:orders_on.png)}");
}
else
{
ui->mainbtnlabel_name->setStyleSheet("#mainbtnlabel_name{color:rgba(54,60,66,1)}");
ui->mainbtnlabel_lg->setStyleSheet("#mainbtnlabel_lg{ border-image: url(:orders_off.png)}");
}
return ;
}
if(type.compare("refund",Qt::CaseInsensitive) == 0)
{
if(check)
{
ui->mainbtnlabel_name->setStyleSheet("#mainbtnlabel_name{color:rgba(255,255,255,1)}");
ui->mainbtnlabel_lg->setStyleSheet("#mainbtnlabel_lg{ border-image: url(:refund_on.png)}");
}
else
{
ui->mainbtnlabel_name->setStyleSheet("#mainbtnlabel_name{color:rgba(54,60,66,1)}");
ui->mainbtnlabel_lg->setStyleSheet("#mainbtnlabel_lg{ border-image: url(:refund_off.png)}");
}
return ;
}
if(type.compare("set",Qt::CaseInsensitive) == 0)
{
if(check)
{
ui->mainbtnlabel_name->setStyleSheet("#mainbtnlabel_name{color:rgba(255,255,255,1)}");
ui->mainbtnlabel_lg->setStyleSheet("#mainbtnlabel_lg{ border-image: url(:setting_on.png)}");
}
else
{
ui->mainbtnlabel_name->setStyleSheet("#mainbtnlabel_name{color:rgba(54,60,66,1)}");
ui->mainbtnlabel_lg->setStyleSheet("#mainbtnlabel_lg{ border-image: url(:setting_off.png)}");
}
return ;
}
}
void MainBtn::mousePressEvent(QMouseEvent *e)
{
if(e->buttons()&Qt::LeftButton)
{
emit clicked();
return ;
}
return QWidget::mousePressEvent(e);
}
void MainBtn::SetText(QString data, QString type)
{
_type = type;
ui->mainbtnlabel_name->setText(data);
ui->mainbtnlabel_name->setStyleSheet("#mainbtnlabel_name{color:rgba(255,255,255,1)}");
if(type.compare("order",Qt::CaseInsensitive) == 0)
{
ui->mainbtnlabel_lg->setStyleSheet("#mainbtnlabel_lg{ border-image: url(:orders_off.png)}");
return ;
}
if(type.compare("refund",Qt::CaseInsensitive) == 0)
{
ui->mainbtnlabel_lg->setStyleSheet("#mainbtnlabel_lg{ border-image: url(:refund_off.png)}");
return ;
}
if(type.compare("set",Qt::CaseInsensitive) == 0)
{
ui->mainbtnlabel_lg->setStyleSheet("#mainbtnlabel_lg{ border-image: url(:setting_off.png)}");
return ;
}
}
#ifndef MAINBTN_H
#define MAINBTN_H
#include <QWidget>
namespace Ui {
class MainBtn;
}
class MainBtn : public QWidget
{
Q_OBJECT
public:
explicit MainBtn(QWidget *parent = 0);
~MainBtn();
void setChecked(bool check);
void mousePressEvent(QMouseEvent *e);
void SetText(QString data, QString type);
signals:
void clicked();
private:
Ui::MainBtn *ui;
bool _checked;
QString _type;
};
#endif // MAINBTN_H
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainBtn</class>
<widget class="QWidget" name="MainBtn">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>160</width>
<height>80</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>160</width>
<height>80</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>160</width>
<height>80</height>
</size>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<property name="styleSheet">
<string notr="true">#mainbtnlabel_name
{
color: rgb(255, 255, 255);
font: 16px &quot;微软雅黑&quot;;
}
#MainBtn
{
background-color: rgb(23,28,23);
}</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<property name="spacing">
<number>0</number>
</property>
<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>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>16</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
<number>0</number>
</property>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>13</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="mainbtnlabel_lg">
<property name="minimumSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>13</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>14</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="mainbtnlabel_name">
<property name="text">
<string>订单管理</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>89</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>
This source diff could not be displayed because it is too large. You can view the blob instead.
#include "orderoptform.h"
#include "ui_orderoptform.h"
OrderOptForm::OrderOptForm(QWidget *parent) :
QWidget(parent),
ui(new Ui::OrderOptForm)
{
ui->setupUi(this);
}
OrderOptForm::~OrderOptForm()
{
delete ui;
}
#ifndef ORDEROPTFORM_H
#define ORDEROPTFORM_H
#include <QWidget>
namespace Ui {
class OrderOptForm;
}
class OrderOptForm : public QWidget
{
Q_OBJECT
public:
explicit OrderOptForm(QWidget *parent = 0);
~OrderOptForm();
private:
Ui::OrderOptForm *ui;
};
#endif // ORDEROPTFORM_H
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>OrderOptForm</class>
<widget class="QWidget" name="OrderOptForm">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>114</width>
<height>26</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<property name="styleSheet">
<string notr="true">#OrderOptForm
{
background-color: rgb(255, 255, 255);
}
#btn_orderinfo
{
width:48px;
height:20px;
border:1px solid rgba(230,230,230,1);
border-radius:4px;
}
#btn_orderopt
{
width:48px;
height:20px;
background:rgba(25,166,119,1);
border:1px solid rgba(25,166,119,1);
border-radius:4px;
}</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>2</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>2</number>
</property>
<item>
<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>
<widget class="QPushButton" name="btn_orderopt">
<property name="minimumSize">
<size>
<width>50</width>
<height>22</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>50</width>
<height>22</height>
</size>
</property>
<property name="text">
<string>完成</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>2</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="btn_orderinfo">
<property name="minimumSize">
<size>
<width>50</width>
<height>22</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>50</width>
<height>22</height>
</size>
</property>
<property name="text">
<string>详情</string>
</property>
</widget>
</item>
<item>
<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>
<resources/>
<connections/>
</ui>
#include "ordertypeform.h"
#include "ui_ordertypeform.h"
OrderTypeForm::OrderTypeForm(QWidget *parent) :
QWidget(parent),
ui(new Ui::OrderTypeForm)
{
ui->setupUi(this);
_order_id = "";
_order_status = DefaultOrder;
_refund_status = DefaultOrder;
_order_type = DefaultOrderType;
}
OrderTypeForm::~OrderTypeForm()
{
delete ui;
}
void OrderTypeForm::InitShow(QString order_id, int order_status, int refund_status, int order_type)
{
_order_id = order_id;
_order_status = order_status;
_refund_status = refund_status;
_order_type = order_type;
if(_order_type == AppointmentTakeout || _order_type == AppointmentDining || _order_type == AppointmentInvite)
{
ui->ordertypelabel_type->setStyleSheet("#ordertypelabel_type{ border-image: url(:yy.png)}");
}
int ordertype = GetOrderStatus();
SetNameStyle(ordertype);
}
void OrderTypeForm::SetNameStyle(int status)
{
switch (status) {
case NewOrder:
ui->ordertypelabel_name->setText(QString::fromUtf8("\xE6\x96\xB0\xE8\xAE\xA2\xE5\x8D\x95"));
ui->ordertypelabel_name->setStyleSheet("#ordertypelabel_name{border:1px solid rgba(236,67,56,1);border-radius:4px;color:rgba(236,67,56,1);}");
break;
case FirmOrder:
ui->ordertypelabel_name->setText(QString::fromUtf8("\xE5\x88\xB6\xE4\xBD\x9C\xE4\xB8\xAD"));
ui->ordertypelabel_name->setStyleSheet("#ordertypelabel_name{border:1px solid rgba(25,166,119,1);border-radius:4px;color:rgba(25,166,119,1);}");
break;
case CancelOrder:
case CompleteRefundOrder:
case ApprovalRefundOrder:
ui->ordertypelabel_name->setText(QString::fromUtf8("\xE5\xB7\xB2\xE9\x80\x80\xE5\x8D\x95"));
ui->ordertypelabel_name->setStyleSheet("#ordertypelabel_name{border:1px solid rgba(170,170,170,1);border-radius:4px;color:rgba(170,170,170,1);}");
break;
case DispatchingOrder:
ui->ordertypelabel_name->setText(QString::fromUtf8("\xE9\x85\x8D\xE9\x80\x81\xE4\xB8\xAD"));
ui->ordertypelabel_name->setStyleSheet("#ordertypelabel_name{border:1px solid rgba(25,108,166,1);border-radius:4px;color:rgba(25,108,166,1);}");
break;
case InDevelopment:
ui->ordertypelabel_name->setText(QString::fromUtf8("\xE5\xAE\x8C\xE6\x88\x90\xE4\xB8\xAD"));
ui->ordertypelabel_name->setStyleSheet("#ordertypelabel_name{border:1px solid rgba(25,108,166,1);border-radius:4px;color:rgba(25,108,166,1);}");
break;
case ApplicationRefundOrder:
case ApplicationPartialRefundOrder:
ui->ordertypelabel_name->setText(QString::fromUtf8("\xE9\x9C\x80\xE9\x80\x80\xE5\x8D\x95"));
ui->ordertypelabel_name->setStyleSheet("#ordertypelabel_name{border:1px solid rgba(236,67,56,1);border-radius:4px;color:rgba(236,67,56,1);}");
break;
case CompleteOrder:
case ServiceOrder:
ui->ordertypelabel_name->setText(QString::fromUtf8("\xE5\xB7\xB2\xE5\xAE\x8C\xE6\x88\x90"));
ui->ordertypelabel_name->setStyleSheet("#ordertypelabel_name{border:1px solid rgba(170,170,170,1);border-radius:4px;color:rgba(170,170,170,1);}");
break;
default:
ui->ordertypelabel_name->setText(QString::fromUtf8("\xE6\x97\xA0\xE6\x95\x88\xE5\x8D\x95"));
ui->ordertypelabel_name->setStyleSheet("#ordertypelabel_name{border:1px solid rgba(170,170,170,1);border-radius:4px;color:rgba(170,170,170,1);}");
break;
}
}
void OrderTypeForm::on_orderstatus_changed(int order_status, int refund_status)
{
}
int OrderTypeForm::order_type() const
{
return _order_type;
}
int OrderTypeForm::refund_status() const
{
return _refund_status;
}
int OrderTypeForm::GetOrderStatus() const
{
if(_refund_status == ApplicationRefundOrder ||
_refund_status == ApplicationPartialRefundOrder ||
_refund_status == CompleteRefundOrder ||
_refund_status == ApprovalRefundOrder)
return _refund_status;
else
return _order_status;
}
int OrderTypeForm::order_status() const
{
return _order_status;
}
QString OrderTypeForm::order_id() const
{
return _order_id;
}
#ifndef ORDERTYPEFORM_H
#define ORDERTYPEFORM_H
#include <QWidget>
#include "model/posorderpool.h"
namespace Ui {
class OrderTypeForm;
}
class OrderTypeForm : public QWidget
{
Q_OBJECT
public:
explicit OrderTypeForm(QWidget *parent = 0);
~OrderTypeForm();
void InitShow(QString order_id, int order_status, int refund_status, int order_type);
QString order_id() const;
int order_status() const;
int refund_status() const;
int GetOrderStatus() const;
int order_type() const;
void SetNameStyle(int status);
public slots:
void on_orderstatus_changed(int order_status, int refund_status);
private:
Ui::OrderTypeForm *ui;
QString _order_id;
int _order_status;
int _refund_status;
int _order_type;
};
#endif // ORDERTYPEFORM_H
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>OrderTypeForm</class>
<widget class="QWidget" name="OrderTypeForm">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>74</width>
<height>28</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<property name="styleSheet">
<string notr="true">#ordertypelabel_name
{
font: 10pt &quot;微软雅黑&quot;;
}</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout" stretch="0,3,0,0,0">
<property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
<number>4</number>
</property>
<property name="topMargin">
<number>4</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>4</number>
</property>
<item>
<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>
<item>
<widget class="QLabel" name="ordertypelabel_name">
<property name="minimumSize">
<size>
<width>48</width>
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>48</width>
<height>20</height>
</size>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>新订单</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>2</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="ordertypelabel_type">
<property name="minimumSize">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<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>
</layout>
</widget>
<resources/>
<connections/>
</ui>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment