Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
takeout_sbk
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yunpeng.song
takeout_sbk
Commits
31070969
Commit
31070969
authored
Sep 17, 2018
by
wuyang.zou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug: 1、控制悬浮框的位置的可移动范围 2、支持第三方订单号的检索;
parent
acf01b49
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
116 additions
and
1391 deletions
+116
-1391
fmTakeout/Control/flowControl.cpp
+29
-9
fmTakeout/Control/flowControl.h
+6
-0
fmTakeout/floatForm.cpp
+56
-6
fmTakeout/floatForm.h
+12
-0
fmTakeout/floatForm.ui
+3
-1374
fmTakeout/main.cpp
+1
-0
fmTakeout/mainForm.cpp
+3
-2
fmTakeout/preDefine.h
+2
-0
run/skin/deaufult.qrc
+1
-0
run/skin/deaufult.rcc
+0
-0
run/skin/float_storeCloseStatus.png
+0
-0
run/skin/fm.png
+0
-0
run/skin/make.bat
+3
-0
No files found.
fmTakeout/Control/flowControl.cpp
View file @
31070969
...
@@ -671,8 +671,8 @@ bool FlowControl::_PullOrderDetail(const QString& orderId)
...
@@ -671,8 +671,8 @@ bool FlowControl::_PullOrderDetail(const QString& orderId)
}
else
}
else
{
{
//获取门店营业状态
//获取门店营业状态
QString
strOpeStatus
=
QString
::
fromLocal8Bit
(
"正常
"
);
//QString strOpeStatus=QString::fromLocal8Bit("开店
");
emit
setOpeStatus
(
strOpeStatus
);
//
emit setOpeStatus(strOpeStatus);
QJsonObject
order
=
recvJson
[
JSON_DATA
].
toObject
();
QJsonObject
order
=
recvJson
[
JSON_DATA
].
toObject
();
_OrderAnalysis
(
order
);
_OrderAnalysis
(
order
);
}
}
...
@@ -735,8 +735,8 @@ bool FlowControl::_PullOrderList(const int &pageSize, const int &pageNo)
...
@@ -735,8 +735,8 @@ bool FlowControl::_PullOrderList(const int &pageSize, const int &pageNo)
}
else
}
else
{
{
//获取门店营业状态
//获取门店营业状态
QString
strOpeStatus
=
QString
::
fromLocal8Bit
(
"正常
"
);
//QString strOpeStatus=QString::fromLocal8Bit("开店
");
emit
setOpeStatus
(
strOpeStatus
);
//
emit setOpeStatus(strOpeStatus);
QJsonArray
orders
=
recvJson
[
JSON_DATA
].
toObject
()[
JSON_ORDERS
].
toArray
();
QJsonArray
orders
=
recvJson
[
JSON_DATA
].
toObject
()[
JSON_ORDERS
].
toArray
();
foreach
(
QJsonValue
order
,
orders
)
foreach
(
QJsonValue
order
,
orders
)
{
{
...
@@ -787,7 +787,6 @@ bool FlowControl::_SendHeart()
...
@@ -787,7 +787,6 @@ bool FlowControl::_SendHeart()
.
arg
(
result
).
arg
(
error
)
<<
recvJson
;
.
arg
(
result
).
arg
(
error
)
<<
recvJson
;
if
(
!
result
)
if
(
!
result
)
{
{
//emit showAlert(AlertForm::MSGERROR, QString::fromLocal8Bit("发送心跳失败![网络错误]"));
emit
setNetStatus
(
QString
::
fromLocal8Bit
(
"<font color='#ff0000'>网络不稳定,正在重试</font>"
));
emit
setNetStatus
(
QString
::
fromLocal8Bit
(
"<font color='#ff0000'>网络不稳定,正在重试</font>"
));
}
else
}
else
{
{
...
@@ -795,11 +794,23 @@ bool FlowControl::_SendHeart()
...
@@ -795,11 +794,23 @@ bool FlowControl::_SendHeart()
if
(
JSON_STATUSCODE_OK
!=
recvJson
[
JSON_LOGINCODE
].
toInt
())
if
(
JSON_STATUSCODE_OK
!=
recvJson
[
JSON_LOGINCODE
].
toInt
())
{
{
result
=
false
;
result
=
false
;
//emit showAlert(AlertForm::MSGERROR, QString::fromLocal8Bit("发送心跳失败![%1]").arg(recvJson[JSON_MESSAGE].toString()));
emit
setNetStatus
(
QString
::
fromLocal8Bit
(
"<font color='#ff0000'>网络不稳定,正在重试</font>"
));
emit
setNetStatus
(
QString
::
fromLocal8Bit
(
"<font color='#ff0000'>网络不稳定,正在重试</font>"
));
}
else
{
}
else
{
result
=
true
;
result
=
true
;
emit
setNetStatus
(
QString
::
fromLocal8Bit
(
"<font color='#f5f5f5'>正常</font>"
));
emit
setNetStatus
(
QString
::
fromLocal8Bit
(
"<font color='#f5f5f5'>正常</font>"
));
/* //根据心跳来展示门店营业状态 [数据延迟比较严重:需要通过OMS推门店状态给我]
QJsonObject storeStatusData = recvJson[JSON_DATA].toObject();
int appStoreStatus = storeStatusData[JSON_APPSTORESTS].toInt();
int eleStoreStatus = storeStatusData[JSON_ELESTORESTS].toInt();
QLOG_INFO() << QString("[<<<<---FlowControl::_SendHeart appStoreStatus:%1 ;eleStoreStatus:%2 --->>>>]").arg(appStoreStatus).arg(eleStoreStatus);
if(1==appStoreStatus || 1==eleStoreStatus){
emit doUpdateStoreStatus(true);
emit setOpeStatus(QString::fromLocal8Bit("开店"));
}else{
emit doUpdateStoreStatus(false);
emit setOpeStatus(QString::fromLocal8Bit("关店"));
}
*/
}
}
}
}
return
result
;
return
result
;
...
@@ -1833,8 +1844,8 @@ bool FlowControl::_ResponseHM21Request(const QJsonObject &content, QJsonObject &
...
@@ -1833,8 +1844,8 @@ bool FlowControl::_ResponseHM21Request(const QJsonObject &content, QJsonObject &
if
(
result
){
if
(
result
){
//<1>:更新 OrderObject 中的数据;
//<1>:更新 OrderObject 中的数据;
//获取门店营业状态
//获取门店营业状态
QString
strOpeStatus
=
QString
::
fromLocal8Bit
(
"正常
"
);
//QString strOpeStatus=QString::fromLocal8Bit("开店
");
emit
setOpeStatus
(
strOpeStatus
);
//
emit setOpeStatus(strOpeStatus);
//增加筛选条件,判断当前POS系统录单的订单是否还没录单完成:如果该订单录单没有完成,不返回100,务必让服务的等待;
//增加筛选条件,判断当前POS系统录单的订单是否还没录单完成:如果该订单录单没有完成,不返回100,务必让服务的等待;
if
(
content
[
JSON_ORDER_ID
].
toString
().
isEmpty
())
{
if
(
content
[
JSON_ORDER_ID
].
toString
().
isEmpty
())
{
error
=
QString
::
fromLocal8Bit
(
"订单号不能为空"
);
error
=
QString
::
fromLocal8Bit
(
"订单号不能为空"
);
...
@@ -2217,18 +2228,27 @@ void FlowControl::onSerachOrder(const QString &text)
...
@@ -2217,18 +2228,27 @@ void FlowControl::onSerachOrder(const QString &text)
{
{
QString
orderId
=
order
.
key
();
QString
orderId
=
order
.
key
();
QString
phoneId
=
order
.
value
()
->
consigneePhone
;
QString
phoneId
=
order
.
value
()
->
consigneePhone
;
QString
thirdPartyOrderId
=
order
.
value
()
->
thirdPartyOrderId
;
while
(
!
orderId
.
at
(
0
).
isDigit
())
while
(
!
orderId
.
at
(
0
).
isDigit
())
{
{
orderId
=
orderId
.
mid
(
1
);
orderId
=
orderId
.
mid
(
1
);
}
}
if
(
orderId
.
startsWith
(
text
))
if
(
orderId
.
startsWith
(
text
))
{
{
orderMap
.
insert
(
QString
::
fromLocal8Bit
(
"订单号:"
)
+
orderId
,
QString
::
fromLocal8Bit
(
"
手机号:"
)
+
phone
Id
);
orderMap
.
insert
(
QString
::
fromLocal8Bit
(
"订单号:"
)
+
orderId
,
QString
::
fromLocal8Bit
(
"
三方订单号:"
)
+
thirdPartyOrder
Id
);
}
}
//移除手机号检索
/*
if(phoneId.startsWith(text))
if(phoneId.startsWith(text))
{
{
orderMap.insert(QString::fromLocal8Bit("订单号:")+orderId,QString::fromLocal8Bit("手机号:")+phoneId);
orderMap.insert(QString::fromLocal8Bit("订单号:")+orderId,QString::fromLocal8Bit("手机号:")+phoneId);
}
}
*/
//新增第三方订单号检索;
if
(
thirdPartyOrderId
.
startsWith
(
text
))
{
orderMap
.
insert
(
QString
::
fromLocal8Bit
(
"订单号:"
)
+
orderId
,
QString
::
fromLocal8Bit
(
"三方订单号:"
)
+
thirdPartyOrderId
);
}
}
}
}
}
emit
showSearchOrderResult
(
orderMap
);
emit
showSearchOrderResult
(
orderMap
);
...
...
fmTakeout/Control/flowControl.h
View file @
31070969
...
@@ -147,6 +147,12 @@ signals:
...
@@ -147,6 +147,12 @@ signals:
* */
* */
void
doUnLockFloatFrom
();
void
doUnLockFloatFrom
();
/* 功能:通知 更新门店 开店/关店 状态;
* 参数:1 [true:开店; false:关店]
* 返回:Null
* */
void
doUpdateStoreStatus
(
bool
flag
);
/* 功能:设置主界面门店信息
/* 功能:设置主界面门店信息
* 参数:[1]门店号
* 参数:[1]门店号
...
...
fmTakeout/floatForm.cpp
View file @
31070969
#
include
"floatForm.h"
#
include
"floatForm.h"
#include "ui_floatForm.h"
#include "ui_floatForm.h"
#include "windows.h"
#include <QPixmap>
#include <QPixmap>
#include "DTools/configManger.h"
#include "DTools/configManger.h"
#include "preDefine.h"
#include "preDefine.h"
...
@@ -17,9 +18,14 @@ FloatForm::FloatForm(QWidget *parent) :
...
@@ -17,9 +18,14 @@ FloatForm::FloatForm(QWidget *parent) :
ui
->
setupUi
(
this
);
ui
->
setupUi
(
this
);
m_bReminding
=
false
;
m_bReminding
=
false
;
m_bStoreStatus
=
true
;
//程序启动后,初始化为开店状态;
QPixmap
imgNormal
(
":float_normal.png"
);
QPixmap
imgNormal
(
":float_normal.png"
);
m_imgNormalSize
=
imgNormal
.
size
();
m_imgNormalSize
=
imgNormal
.
size
();
QPixmap
imgStoreClose
(
":float_storeCloseStatus.png"
);
m_imgStoreCloseSize
=
imgStoreClose
.
size
();
QPixmap
imgRemind
(
":float_remind.png"
);
QPixmap
imgRemind
(
":float_remind.png"
);
m_imgRemindSize
=
imgRemind
.
size
();
m_imgRemindSize
=
imgRemind
.
size
();
...
@@ -84,20 +90,48 @@ void FloatForm::mouseReleaseEvent(QMouseEvent *event)
...
@@ -84,20 +90,48 @@ void FloatForm::mouseReleaseEvent(QMouseEvent *event)
}
}
m_bMouseMove
=
false
;
m_bMouseMove
=
false
;
QPoint
point
=
this
->
pos
();
QLOG_INFO
()
<<
QString
::
fromLocal8Bit
(
"float current Form position(x:%1,y:%2)"
).
arg
(
point
.
x
()).
arg
(
point
.
y
());
int
nWidth
=
GetSystemMetrics
(
SM_CXSCREEN
)
-
200
;
int
nHeight
=
GetSystemMetrics
(
SM_CYSCREEN
)
-
220
;
QLOG_INFO
()
<<
QString
::
fromLocal8Bit
(
"floatForm active_Range(x:%1,y:%2)"
).
arg
(
nWidth
).
arg
(
nHeight
);
if
(
(
point
.
x
()
<
nWidth
&&
-
80
<=
point
.
x
()
&&
-
50
<=
point
.
y
())
||
(
point
.
y
()
<
nHeight
&&
-
80
<=
point
.
x
()
&&
-
50
<=
point
.
y
())
){
ConfigManger
::
GetInstance
().
setFloatInitPostion
(
this
->
pos
());
ConfigManger
::
GetInstance
().
setFloatInitPostion
(
this
->
pos
());
}
else
{
point
.
setX
(
nWidth
);
point
.
setY
(
nHeight
);
this
->
move
(
QPoint
(
nWidth
,
nHeight
));
ConfigManger
::
GetInstance
().
setFloatInitPostion
(
point
);
}
}
}
void
FloatForm
::
_Init
()
void
FloatForm
::
_Init
()
{
{
setWindowFlags
(
this
->
windowFlags
()
|
Qt
::
FramelessWindowHint
|
Qt
::
WindowStaysOnTopHint
|
Qt
::
Tool
);
setWindowFlags
(
this
->
windowFlags
()
|
Qt
::
FramelessWindowHint
|
Qt
::
WindowStaysOnTopHint
|
Qt
::
Tool
);
setAttribute
(
Qt
::
WA_TranslucentBackground
);
setAttribute
(
Qt
::
WA_TranslucentBackground
);
//根据门店的开店/关店 状态来显示不同的图片;
if
(
m_bStoreStatus
)
{
setFixedSize
(
m_imgNormalSize
);
setFixedSize
(
m_imgNormalSize
);
setStyleSheet
(
"#floatWdg{ border-image: url(:float_normal.png); }"
);
setStyleSheet
(
"#floatWdg{ border-image: url(:float_normal.png); }"
);
//setStyleSheet("#floatWdg{ border-image: url(:logo.svg); }");
}
else
{
setFixedSize
(
m_imgStoreCloseSize
);
setStyleSheet
(
"#floatWdg{ border-image: url(:float_storeCloseStatus.png); }"
);
}
//setFixedSize(m_imgNormalSize);
//setStyleSheet("#floatWdg{ border-image: url(:float_normal.png); }");
//setStyleSheet("#floatWdg{ border-image: url(:float_normal.png); }");
QPoint
point
=
ConfigManger
::
GetInstance
().
GetFloatInitPostion
();
move
(
ConfigManger
::
GetInstance
().
GetFloatInitPostion
());
QLOG_INFO
()
<<
QString
::
fromLocal8Bit
(
"Float From Init Postion(x:%1,y:%2)"
).
arg
(
point
.
x
()).
arg
(
point
.
y
());
int
nWidth
=
GetSystemMetrics
(
SM_CXSCREEN
)
-
200
;
int
nHeight
=
GetSystemMetrics
(
SM_CYSCREEN
)
-
220
;
if
(
(
point
.
x
()
<
nWidth
&&
-
80
<=
point
.
x
()
&&
-
50
<=
point
.
y
())
||
(
point
.
y
()
<
nHeight
&&
-
80
<=
point
.
x
()
&&
-
50
<=
point
.
y
())
){
ConfigManger
::
GetInstance
().
setFloatInitPostion
(
point
);
this
->
move
(
point
);
}
else
{
point
.
setX
(
nWidth
);
point
.
setY
(
nHeight
);
this
->
move
(
QPoint
(
nWidth
,
nHeight
));
ConfigManger
::
GetInstance
().
setFloatInitPostion
(
point
);
}
}
}
void
FloatForm
::
_Blink
()
void
FloatForm
::
_Blink
()
...
@@ -110,7 +144,6 @@ void FloatForm::_Blink()
...
@@ -110,7 +144,6 @@ void FloatForm::_Blink()
loop
.
exec
();
loop
.
exec
();
this
->
setFixedSize
(
m_imgRemindSize
);
this
->
setFixedSize
(
m_imgRemindSize
);
ui
->
floatWdg
->
setStyleSheet
(
"#floatWdg{ border-image: url(:float_remind.png);}"
);
ui
->
floatWdg
->
setStyleSheet
(
"#floatWdg{ border-image: url(:float_remind.png);}"
);
//ui->floatWdg->setStyleSheet("#floatWdg{ border-image: url(:float_remind.png);}");
m_animation
.
setStartValue
(
0
);
m_animation
.
setStartValue
(
0
);
m_animation
.
setEndValue
(
1
);
m_animation
.
setEndValue
(
1
);
m_animation
.
start
();
m_animation
.
start
();
...
@@ -119,9 +152,14 @@ void FloatForm::_Blink()
...
@@ -119,9 +152,14 @@ void FloatForm::_Blink()
m_animation
.
setEndValue
(
0
);
m_animation
.
setEndValue
(
0
);
m_animation
.
start
();
m_animation
.
start
();
loop
.
exec
();
loop
.
exec
();
if
(
m_bStoreStatus
)
{
this
->
setFixedSize
(
m_imgNormalSize
);
this
->
setFixedSize
(
m_imgNormalSize
);
//ui->floatWdg->setStyleSheet("#floatWdg{ border-image: url(:float_normal.png)}");
ui
->
floatWdg
->
setStyleSheet
(
"#floatWdg{ border-image: url(:float_normal.png);}"
);
ui
->
floatWdg
->
setStyleSheet
(
"#floatWdg{ border-image: url(:float_normal.png);}"
);
}
else
{
this
->
setFixedSize
(
m_imgStoreCloseSize
);
ui
->
floatWdg
->
setStyleSheet
(
"#floatWdg{ border-image: url(:float_storeCloseStatus.png);}"
);
}
m_animation
.
setStartValue
(
0
);
m_animation
.
setStartValue
(
0
);
m_animation
.
setEndValue
(
1
);
m_animation
.
setEndValue
(
1
);
m_animation
.
start
();
m_animation
.
start
();
...
@@ -195,3 +233,15 @@ void FloatForm::onUnLockFloatForm(){
...
@@ -195,3 +233,15 @@ void FloatForm::onUnLockFloatForm(){
//QThread::sleep(8);
//QThread::sleep(8);
this
->
setEnabled
(
true
);
this
->
setEnabled
(
true
);
}
}
void
FloatForm
::
onUpdateStoreStatus
(
bool
flag
){
QLOG_INFO
()
<<
QString
(
"[<<<----FloatForm::onUpdateStoreStatus:flag: --->>>>]"
)
<<
flag
;
m_bStoreStatus
=
flag
;
if
(
m_bStoreStatus
)
{
this
->
setFixedSize
(
m_imgNormalSize
);
ui
->
floatWdg
->
setStyleSheet
(
"#floatWdg{ border-image: url(:float_normal.png);}"
);
}
else
{
this
->
setFixedSize
(
m_imgStoreCloseSize
);
ui
->
floatWdg
->
setStyleSheet
(
"#floatWdg{ border-image: url(:float_storeCloseStatus.png);}"
);
}
}
fmTakeout/floatForm.h
View file @
31070969
...
@@ -35,10 +35,16 @@ private:
...
@@ -35,10 +35,16 @@ private:
QPoint
m_lastMousePos
;
QPoint
m_lastMousePos
;
// 此次拖动一共移动的距离
// 此次拖动一共移动的距离
QPoint
m_absMove
;
QPoint
m_absMove
;
// 记录门店营业状态
bool
m_bStoreStatus
;
// 记录正常状态图片的大小
// 记录正常状态图片的大小
QSize
m_imgNormalSize
;
QSize
m_imgNormalSize
;
// 记录提示状态图片的大小
// 记录提示状态图片的大小
QSize
m_imgRemindSize
;
QSize
m_imgRemindSize
;
// 记录门店关店状态图片的大小[和正常状态大小一样,此时主要用表现门店的关店状态:切换了图片]
QSize
m_imgStoreCloseSize
;
// 记录是否正在提示
// 记录是否正在提示
bool
m_bReminding
;
bool
m_bReminding
;
// 闪烁动画
// 闪烁动画
...
@@ -105,6 +111,12 @@ public slots:
...
@@ -105,6 +111,12 @@ public slots:
* */
* */
void
onUnLockFloatForm
();
void
onUnLockFloatForm
();
/* 功能:变更门店营业状态;
* 参数:bool [1:true-> 营业; false->关店/打烊]
* 返回:NULL
* */
void
onUpdateStoreStatus
(
bool
flag
);
};
};
...
...
fmTakeout/floatForm.ui
View file @
31070969
...
@@ -6,8 +6,8 @@
...
@@ -6,8 +6,8 @@
<rect>
<rect>
<x>0</x>
<x>0</x>
<y>0</y>
<y>0</y>
<width>
292
</width>
<width>
171
</width>
<height>
224
</height>
<height>
141
</height>
</rect>
</rect>
</property>
</property>
<property name="windowTitle">
<property name="windowTitle">
...
@@ -18,1378 +18,7 @@
...
@@ -18,1378 +18,7 @@
</property>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<item>
<widget class="QWidget" name="floatWdg" native="true">
<widget class="QWidget" name="floatWdg" native="true"/>
<widget class="QWidget" name="widget" native="true">
<property name="geometry">
<rect>
<x>-10</x>
<y>110</y>
<width>291</width>
<height>101</height>
</rect>
</property>
<property name="autoFillBackground">
<bool>true</bool>
</property>
<widget class="QPushButton" name="pushButton_waitMake">
<property name="geometry">
<rect>
<x>20</x>
<y>40</y>
<width>75</width>
<height>51</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="WindowText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Light">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>127</green>
<blue>127</blue>
</color>
</brush>
</colorrole>
<colorrole role="Midlight">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>63</green>
<blue>63</blue>
</color>
</brush>
</colorrole>
<colorrole role="Dark">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>127</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Mid">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>170</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="BrightText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Window">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Shadow">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="AlternateBase">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>127</green>
<blue>127</blue>
</color>
</brush>
</colorrole>
<colorrole role="ToolTipBase">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>220</blue>
</color>
</brush>
</colorrole>
<colorrole role="ToolTipText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="WindowText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Light">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>127</green>
<blue>127</blue>
</color>
</brush>
</colorrole>
<colorrole role="Midlight">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>63</green>
<blue>63</blue>
</color>
</brush>
</colorrole>
<colorrole role="Dark">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>127</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Mid">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>170</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="BrightText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Window">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Shadow">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="AlternateBase">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>127</green>
<blue>127</blue>
</color>
</brush>
</colorrole>
<colorrole role="ToolTipBase">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>220</blue>
</color>
</brush>
</colorrole>
<colorrole role="ToolTipText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="WindowText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>127</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Light">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>127</green>
<blue>127</blue>
</color>
</brush>
</colorrole>
<colorrole role="Midlight">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>63</green>
<blue>63</blue>
</color>
</brush>
</colorrole>
<colorrole role="Dark">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>127</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Mid">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>170</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>127</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="BrightText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>127</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Window">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Shadow">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="AlternateBase">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="ToolTipBase">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>220</blue>
</color>
</brush>
</colorrole>
<colorrole role="ToolTipText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="autoFillBackground">
<bool>true</bool>
</property>
<property name="text">
<string>PushButton</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_waitEntryPos">
<property name="geometry">
<rect>
<x>110</x>
<y>40</y>
<width>75</width>
<height>51</height>
</rect>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="WindowText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>255</green>
<blue>127</blue>
</color>
</brush>
</colorrole>
<colorrole role="Light">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>127</red>
<green>255</green>
<blue>191</blue>
</color>
</brush>
</colorrole>
<colorrole role="Midlight">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>63</red>
<green>255</green>
<blue>159</blue>
</color>
</brush>
</colorrole>
<colorrole role="Dark">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>127</green>
<blue>63</blue>
</color>
</brush>
</colorrole>
<colorrole role="Mid">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>170</green>
<blue>84</blue>
</color>
</brush>
</colorrole>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="BrightText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Window">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>255</green>
<blue>127</blue>
</color>
</brush>
</colorrole>
<colorrole role="Shadow">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="AlternateBase">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>127</red>
<green>255</green>
<blue>191</blue>
</color>
</brush>
</colorrole>
<colorrole role="ToolTipBase">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>220</blue>
</color>
</brush>
</colorrole>
<colorrole role="ToolTipText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="WindowText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>255</green>
<blue>127</blue>
</color>
</brush>
</colorrole>
<colorrole role="Light">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>127</red>
<green>255</green>
<blue>191</blue>
</color>
</brush>
</colorrole>
<colorrole role="Midlight">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>63</red>
<green>255</green>
<blue>159</blue>
</color>
</brush>
</colorrole>
<colorrole role="Dark">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>127</green>
<blue>63</blue>
</color>
</brush>
</colorrole>
<colorrole role="Mid">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>170</green>
<blue>84</blue>
</color>
</brush>
</colorrole>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="BrightText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Window">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>255</green>
<blue>127</blue>
</color>
</brush>
</colorrole>
<colorrole role="Shadow">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="AlternateBase">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>127</red>
<green>255</green>
<blue>191</blue>
</color>
</brush>
</colorrole>
<colorrole role="ToolTipBase">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>220</blue>
</color>
</brush>
</colorrole>
<colorrole role="ToolTipText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="WindowText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>127</green>
<blue>63</blue>
</color>
</brush>
</colorrole>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>255</green>
<blue>127</blue>
</color>
</brush>
</colorrole>
<colorrole role="Light">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>127</red>
<green>255</green>
<blue>191</blue>
</color>
</brush>
</colorrole>
<colorrole role="Midlight">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>63</red>
<green>255</green>
<blue>159</blue>
</color>
</brush>
</colorrole>
<colorrole role="Dark">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>127</green>
<blue>63</blue>
</color>
</brush>
</colorrole>
<colorrole role="Mid">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>170</green>
<blue>84</blue>
</color>
</brush>
</colorrole>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>127</green>
<blue>63</blue>
</color>
</brush>
</colorrole>
<colorrole role="BrightText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>127</green>
<blue>63</blue>
</color>
</brush>
</colorrole>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>255</green>
<blue>127</blue>
</color>
</brush>
</colorrole>
<colorrole role="Window">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>255</green>
<blue>127</blue>
</color>
</brush>
</colorrole>
<colorrole role="Shadow">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="AlternateBase">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>255</green>
<blue>127</blue>
</color>
</brush>
</colorrole>
<colorrole role="ToolTipBase">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>220</blue>
</color>
</brush>
</colorrole>
<colorrole role="ToolTipText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="autoFillBackground">
<bool>true</bool>
</property>
<property name="text">
<string>PushButton</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_entryPosError">
<property name="geometry">
<rect>
<x>200</x>
<y>40</y>
<width>75</width>
<height>51</height>
</rect>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="WindowText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Light">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>127</blue>
</color>
</brush>
</colorrole>
<colorrole role="Midlight">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>63</blue>
</color>
</brush>
</colorrole>
<colorrole role="Dark">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>127</red>
<green>127</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Mid">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>170</red>
<green>170</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="BrightText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Window">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Shadow">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="AlternateBase">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>127</blue>
</color>
</brush>
</colorrole>
<colorrole role="ToolTipBase">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>220</blue>
</color>
</brush>
</colorrole>
<colorrole role="ToolTipText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="WindowText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Light">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>127</blue>
</color>
</brush>
</colorrole>
<colorrole role="Midlight">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>63</blue>
</color>
</brush>
</colorrole>
<colorrole role="Dark">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>127</red>
<green>127</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Mid">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>170</red>
<green>170</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="BrightText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Window">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Shadow">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="AlternateBase">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>127</blue>
</color>
</brush>
</colorrole>
<colorrole role="ToolTipBase">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>220</blue>
</color>
</brush>
</colorrole>
<colorrole role="ToolTipText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="WindowText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>127</red>
<green>127</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Light">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>127</blue>
</color>
</brush>
</colorrole>
<colorrole role="Midlight">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>63</blue>
</color>
</brush>
</colorrole>
<colorrole role="Dark">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>127</red>
<green>127</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Mid">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>170</red>
<green>170</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>127</red>
<green>127</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="BrightText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>127</red>
<green>127</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Window">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Shadow">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="AlternateBase">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="ToolTipBase">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>220</blue>
</color>
</brush>
</colorrole>
<colorrole role="ToolTipText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="autoFillBackground">
<bool>true</bool>
</property>
<property name="text">
<string>PushButton</string>
</property>
</widget>
<widget class="QLabel" name="label_waitMake">
<property name="geometry">
<rect>
<x>30</x>
<y>20</y>
<width>54</width>
<height>20</height>
</rect>
</property>
<property name="font">
<font>
<weight>75</weight>
<italic>false</italic>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>等待制作</string>
</property>
</widget>
<widget class="QLabel" name="label_waitEntryPos">
<property name="geometry">
<rect>
<x>120</x>
<y>20</y>
<width>61</width>
<height>16</height>
</rect>
</property>
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>等待录POS</string>
</property>
</widget>
<widget class="QLabel" name="label_entryPosError">
<property name="geometry">
<rect>
<x>210</x>
<y>20</y>
<width>61</width>
<height>16</height>
</rect>
</property>
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>录POS异常</string>
</property>
</widget>
</widget>
</widget>
</item>
</item>
</layout>
</layout>
</widget>
</widget>
...
...
fmTakeout/main.cpp
View file @
31070969
...
@@ -95,6 +95,7 @@ int main(int argc, char *argv[])
...
@@ -95,6 +95,7 @@ int main(int argc, char *argv[])
QObject
::
connect
(
&
FlowControl
::
GetInstance
(),
&
FlowControl
::
doLockFloatForm
,
&
f
,
&
FloatForm
::
onLockFloatForm
);
QObject
::
connect
(
&
FlowControl
::
GetInstance
(),
&
FlowControl
::
doLockFloatForm
,
&
f
,
&
FloatForm
::
onLockFloatForm
);
QObject
::
connect
(
&
FlowControl
::
GetInstance
(),
&
FlowControl
::
doUnLockFloatFrom
,
&
f
,
&
FloatForm
::
onUnLockFloatForm
);
QObject
::
connect
(
&
FlowControl
::
GetInstance
(),
&
FlowControl
::
doUnLockFloatFrom
,
&
f
,
&
FloatForm
::
onUnLockFloatForm
);
QObject
::
connect
(
&
FlowControl
::
GetInstance
(),
&
FlowControl
::
doUpdateStoreStatus
,
&
f
,
&
FloatForm
::
onUpdateStoreStatus
);
QObject
::
connect
(
&
w
,
&
MainForm
::
startRemind
,
&
f
,
&
FloatForm
::
onStartRemind
);
QObject
::
connect
(
&
w
,
&
MainForm
::
startRemind
,
&
f
,
&
FloatForm
::
onStartRemind
);
QObject
::
connect
(
&
w
,
&
MainForm
::
stopRemind
,
&
f
,
&
FloatForm
::
onStopRemind
);
QObject
::
connect
(
&
w
,
&
MainForm
::
stopRemind
,
&
f
,
&
FloatForm
::
onStopRemind
);
...
...
fmTakeout/mainForm.cpp
View file @
31070969
...
@@ -98,8 +98,8 @@ void MainForm::MyShow()
...
@@ -98,8 +98,8 @@ void MainForm::MyShow()
m_resultForm
=
new
QListWidget
(
this
);
m_resultForm
=
new
QListWidget
(
this
);
m_resultForm
->
setObjectName
(
"mainListWdg0"
);
m_resultForm
->
setObjectName
(
"mainListWdg0"
);
m_resultForm
->
setFixedSize
(
4
20
,
200
);
m_resultForm
->
setFixedSize
(
5
20
,
200
);
m_resultForm
->
move
(
7
0
,
ui
->
mainFrmSearch
->
pos
().
y
()
-
190
);
m_resultForm
->
move
(
1
0
,
ui
->
mainFrmSearch
->
pos
().
y
()
-
190
);
m_resultForm
->
hide
();
m_resultForm
->
hide
();
connect
(
m_resultForm
,
&
QListWidget
::
itemClicked
,
this
,
&
MainForm
::
onSearchResultItemClicked
);
connect
(
m_resultForm
,
&
QListWidget
::
itemClicked
,
this
,
&
MainForm
::
onSearchResultItemClicked
);
...
@@ -645,6 +645,7 @@ void MainForm::onSearchResultItemClicked(QListWidgetItem *item)
...
@@ -645,6 +645,7 @@ void MainForm::onSearchResultItemClicked(QListWidgetItem *item)
m_padForm
->
hide
();
m_padForm
->
hide
();
m_resultForm
->
hide
();
m_resultForm
->
hide
();
QString
str
=
item
->
text
();
QString
str
=
item
->
text
();
str
=
str
.
mid
(
4
);
str
=
str
.
mid
(
4
);
QString
y
=
" "
;
QString
y
=
" "
;
str
=
str
.
mid
(
0
,
str
.
indexOf
(
y
));
str
=
str
.
mid
(
0
,
str
.
indexOf
(
y
));
...
...
fmTakeout/preDefine.h
View file @
31070969
...
@@ -54,6 +54,8 @@
...
@@ -54,6 +54,8 @@
#define JSON_REQTYPE "reqtype"
#define JSON_REQTYPE "reqtype"
#define JSON_CURRENTUSER "currentUser"
#define JSON_CURRENTUSER "currentUser"
#define JSON_STOREID "storeId"
#define JSON_STOREID "storeId"
#define JSON_APPSTORESTS "appStoreStatus"
#define JSON_ELESTORESTS "eleStoreStatus"
#define JSON_PASSWORD "password"
#define JSON_PASSWORD "password"
#define JSON_IPADDRESS "iPAddress"
#define JSON_IPADDRESS "iPAddress"
#define JSON_MACHINECODE "machineCode"
#define JSON_MACHINECODE "machineCode"
...
...
run/skin/deaufult.qrc
View file @
31070969
...
@@ -18,6 +18,7 @@
...
@@ -18,6 +18,7 @@
<file>logo_0.png</file>
<file>logo_0.png</file>
<file>float_normal.png</file>
<file>float_normal.png</file>
<file>float_remind.png</file>
<file>float_remind.png</file>
<file>float_storeCloseStatus.png</file>
<file>detailBtn_close_normal.png</file>
<file>detailBtn_close_normal.png</file>
<file>detailBtn_close_press.png</file>
<file>detailBtn_close_press.png</file>
<file>fm.ico</file>
<file>fm.ico</file>
...
...
run/skin/deaufult.rcc
View file @
31070969
No preview for this file type
run/skin/float_storeCloseStatus.png
0 → 100644
View file @
31070969
5.59 KB
run/skin/fm.png
0 → 100644
View file @
31070969
2.41 KB
run/skin/make.bat
View file @
31070969
rcc -binary deaufult.qrc -o deaufult.rcc
rcc -binary deaufult.qrc -o deaufult.rcc
pause
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment