Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fmtakeout
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
李定达
fmtakeout
Commits
f565ca3c
Commit
f565ca3c
authored
Jan 28, 2019
by
李定达
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'hotfix/logochange'
parents
c7e5b13b
bdefee2c
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
41 additions
and
41 deletions
+41
-41
Resources/skin/base_logo.png
+0
-0
Resources/skin/deaufult.qss
+5
-5
Resources/skin/deaufult.rcc
+0
-0
Resources/skin/loginlogin.png
+0
-0
takeout/takeout.rc
+4
-4
takeout/view/floatForm.cpp
+6
-6
takeout/view/floatForm.ui
+25
-25
takeout/view/mainForm.cpp
+1
-1
No files found.
Resources/skin/base_logo.png
View replaced file @
c7e5b13b
View file @
f565ca3c
9.02 KB
|
W:
|
H:
2.45 KB
|
W:
|
H:
2-up
Swipe
Onion skin
Resources/skin/deaufult.qss
View file @
f565ca3c
...
@@ -597,25 +597,25 @@ QWidget
...
@@ -597,25 +597,25 @@ QWidget
/*---------------------------------floatForm[start]-------------------------------------*/
/*---------------------------------floatForm[start]-------------------------------------*/
#label_new
#label_new
{
{
font: 75 1
3pt
"黑体";
font: 75 1
0px
"黑体";
color: #0073FF;
color: #0073FF;
}
}
#label_refund
#label_refund
{
{
font: 75 1
3pt
"黑体";
font: 75 1
0px
"黑体";
color: #FF000A;
color: #FF000A;
}
}
#label_newnum
#label_newnum
{
{
font: 75 1
7pt
"微软雅黑";
font: 75 1
0px
"微软雅黑";
color: #0073FF;
color: #0073FF;
}
}
#label_refundnum
#label_refundnum
{
{
font: 75 1
7pt
"微软雅黑";
font: 75 1
0px
"微软雅黑";
color: #FF000A;
color: #FF000A;
}
}
...
@@ -636,7 +636,7 @@ QWidget
...
@@ -636,7 +636,7 @@ QWidget
#label_newmsg
#label_newmsg
{
{
font: 1
2pt
"微软雅黑";
font: 1
0px
"微软雅黑";
color: #FF000A;
color: #FF000A;
}
}
...
...
Resources/skin/deaufult.rcc
View file @
f565ca3c
No preview for this file type
Resources/skin/loginlogin.png
View replaced file @
c7e5b13b
View file @
f565ca3c
10.2 KB
|
W:
|
H:
2.78 KB
|
W:
|
H:
2-up
Swipe
Onion skin
takeout/takeout.rc
View file @
f565ca3c
...
@@ -4,8 +4,8 @@
...
@@ -4,8 +4,8 @@
#include <winver.h>
#include <winver.h>
#endif
#endif
VS_VERSION_INFO VERSIONINFO
VS_VERSION_INFO VERSIONINFO
FILEVERSION 3,0,0,1
4
FILEVERSION 3,0,0,1
5
PRODUCTVERSION 3,0,0,1
4
PRODUCTVERSION 3,0,0,1
5
FILEFLAGSMASK 0x3fL
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
#ifdef _DEBUG
FILEFLAGS VS_FF_DEBUG
FILEFLAGS VS_FF_DEBUG
...
@@ -22,12 +22,12 @@ VS_VERSION_INFO VERSIONINFO
...
@@ -22,12 +22,12 @@ VS_VERSION_INFO VERSIONINFO
BEGIN
BEGIN
VALUE "CompanyName", "ShangHai Freemud Co., Ltd."
VALUE "CompanyName", "ShangHai Freemud Co., Ltd."
VALUE "FileDescription", "FREEMUD Manager System"
VALUE "FileDescription", "FREEMUD Manager System"
VALUE "FileVersion", "3.0.0.1
4
"
VALUE "FileVersion", "3.0.0.1
5
"
VALUE "InternalName", "FREEMUD"
VALUE "InternalName", "FREEMUD"
VALUE "LegalCopyright", "Copyright (C)2017-2020"
VALUE "LegalCopyright", "Copyright (C)2017-2020"
VALUE "OriginalFilename", "fmTakeout.exe"
VALUE "OriginalFilename", "fmTakeout.exe"
VALUE "ProductName", "fmTakeout"
VALUE "ProductName", "fmTakeout"
VALUE "ProductVersion", "3.0.0.1
4
"
VALUE "ProductVersion", "3.0.0.1
5
"
END
END
END
END
BLOCK "VarFileInfo"
BLOCK "VarFileInfo"
...
...
takeout/view/floatForm.cpp
View file @
f565ca3c
...
@@ -33,7 +33,7 @@ FloatForm::FloatForm(QWidget *parent) :
...
@@ -33,7 +33,7 @@ FloatForm::FloatForm(QWidget *parent) :
FMApplication
::
subscibeEvent
(
this
,
PosEvent
::
s_show_float
);
FMApplication
::
subscibeEvent
(
this
,
PosEvent
::
s_show_float
);
FMApplication
::
subscibeEvent
(
this
,
PosEvent
::
s_delete_order
);
FMApplication
::
subscibeEvent
(
this
,
PosEvent
::
s_delete_order
);
FMApplication
::
subscibeEvent
(
this
,
PosEvent
::
s_login_status
);
FMApplication
::
subscibeEvent
(
this
,
PosEvent
::
s_login_status
);
FMApplication
::
subscibeEvent
(
this
,
PosEvent
::
s_network_outtime
);
//
FMApplication::subscibeEvent(this, PosEvent::s_network_outtime);
FMApplication
::
subscibeEvent
(
this
,
PosEvent
::
s_pickuporder_remind
);
FMApplication
::
subscibeEvent
(
this
,
PosEvent
::
s_pickuporder_remind
);
m_bReminding
=
false
;
m_bReminding
=
false
;
...
@@ -50,7 +50,7 @@ FloatForm::FloatForm(QWidget *parent) :
...
@@ -50,7 +50,7 @@ FloatForm::FloatForm(QWidget *parent) :
m_raiseTimer
.
setInterval
(
2000
);
m_raiseTimer
.
setInterval
(
2000
);
connect
(
&
m_raiseTimer
,
&
QTimer
::
timeout
,
this
,
&
FloatForm
::
raise
);
connect
(
&
m_raiseTimer
,
&
QTimer
::
timeout
,
this
,
&
FloatForm
::
raise
);
desktopSize
=
QApplication
::
desktop
()
->
screenGeometry
().
size
();
desktopSize
=
QApplication
::
desktop
()
->
screenGeometry
().
size
();
desktopSize
-=
QSize
(
242
,
100
);
desktopSize
-=
QSize
(
94
,
48
);
//界面数据初始化
//界面数据初始化
ui
->
label_newnum
->
setText
(
"0"
);
ui
->
label_newnum
->
setText
(
"0"
);
...
@@ -268,7 +268,7 @@ void FloatForm::mouseReleaseEvent(QMouseEvent *event)
...
@@ -268,7 +268,7 @@ void FloatForm::mouseReleaseEvent(QMouseEvent *event)
{
{
//qDebug() << "x:" << event->x() << "y:" << event->y();
//qDebug() << "x:" << event->x() << "y:" << event->y();
if
(
event
->
x
()
>
100
||
!
m_is_login
)
if
(
event
->
x
()
>
48
||
!
m_is_login
)
{
{
hide
();
hide
();
m_raiseTimer
.
stop
();
m_raiseTimer
.
stop
();
...
@@ -424,15 +424,15 @@ void FloatForm::onStartRemind(int type)
...
@@ -424,15 +424,15 @@ void FloatForm::onStartRemind(int type)
m_remindWav
=
QString
(
"%1/wav/msg.wav"
).
arg
(
QApplication
::
applicationDirPath
());
m_remindWav
=
QString
(
"%1/wav/msg.wav"
).
arg
(
QApplication
::
applicationDirPath
());
// 加上音频的时长
// 加上音频的时长
m_wavPlayInterval
=
ConfigManger
::
GetInstance
().
GetSoundInterval
()
+
VALUE_NEWORDERTIME
;
m_wavPlayInterval
=
ConfigManger
::
GetInstance
().
GetSoundInterval
()
+
VALUE_NEWORDERTIME
;
ui
->
label_newmsg
->
setText
(
QString
::
fromLocal8Bit
(
"
您有新的订单了!
\r\n
点击打开查看订单!
"
));
ui
->
label_newmsg
->
setText
(
QString
::
fromLocal8Bit
(
"
新订单
"
));
break
;
break
;
case
1
:
case
1
:
m_remindWav
=
QString
(
"%1/wav/msg1.wav"
).
arg
(
QApplication
::
applicationDirPath
());
m_remindWav
=
QString
(
"%1/wav/msg1.wav"
).
arg
(
QApplication
::
applicationDirPath
());
m_wavPlayInterval
=
ConfigManger
::
GetInstance
().
GetSoundInterval
()
+
VALUE_REFUNDORDERTIME
;
m_wavPlayInterval
=
ConfigManger
::
GetInstance
().
GetSoundInterval
()
+
VALUE_REFUNDORDERTIME
;
ui
->
label_newmsg
->
setText
(
QString
::
fromLocal8Bit
(
"
您有新的退单了!
\r\n
点击打开查看订单!
"
));
ui
->
label_newmsg
->
setText
(
QString
::
fromLocal8Bit
(
"
新退单
"
));
break
;
break
;
case
2
:
case
2
:
ui
->
label_newmsg
->
setText
(
QString
::
fromLocal8Bit
(
"网络异常
!
"
));
ui
->
label_newmsg
->
setText
(
QString
::
fromLocal8Bit
(
"网络异常"
));
}
}
if
(
m_bReminding
)
if
(
m_bReminding
)
...
...
takeout/view/floatForm.ui
View file @
f565ca3c
...
@@ -6,8 +6,8 @@
...
@@ -6,8 +6,8 @@
<rect>
<rect>
<x>
0
</x>
<x>
0
</x>
<y>
0
</y>
<y>
0
</y>
<width>
242
</width>
<width>
94
</width>
<height>
100
</height>
<height>
48
</height>
</rect>
</rect>
</property>
</property>
<property
name=
"windowTitle"
>
<property
name=
"windowTitle"
>
...
@@ -18,15 +18,15 @@
...
@@ -18,15 +18,15 @@
<rect>
<rect>
<x>
0
</x>
<x>
0
</x>
<y>
0
</y>
<y>
0
</y>
<width>
242
</width>
<width>
94
</width>
<height>
100
</height>
<height>
48
</height>
</rect>
</rect>
</property>
</property>
<widget
class=
"QLabel"
name=
"label_new"
>
<widget
class=
"QLabel"
name=
"label_new"
>
<property
name=
"geometry"
>
<property
name=
"geometry"
>
<rect>
<rect>
<x>
127
</x>
<x>
48
</x>
<y>
20
</y>
<y>
6
</y>
<width>
20
</width>
<width>
20
</width>
<height>
20
</height>
<height>
20
</height>
</rect>
</rect>
...
@@ -41,8 +41,8 @@
...
@@ -41,8 +41,8 @@
<widget
class=
"QLabel"
name=
"label_refund"
>
<widget
class=
"QLabel"
name=
"label_refund"
>
<property
name=
"geometry"
>
<property
name=
"geometry"
>
<rect>
<rect>
<x>
177
</x>
<x>
48
</x>
<y>
2
0
</y>
<y>
2
2
</y>
<width>
20
</width>
<width>
20
</width>
<height>
20
</height>
<height>
20
</height>
</rect>
</rect>
...
@@ -57,14 +57,14 @@
...
@@ -57,14 +57,14 @@
<widget
class=
"QLabel"
name=
"label_newnum"
>
<widget
class=
"QLabel"
name=
"label_newnum"
>
<property
name=
"geometry"
>
<property
name=
"geometry"
>
<rect>
<rect>
<x>
118
</x>
<x>
63
</x>
<y>
54
</y>
<y>
6
</y>
<width>
3
6
</width>
<width>
2
6
</width>
<height>
2
4
</height>
<height>
2
0
</height>
</rect>
</rect>
</property>
</property>
<property
name=
"text"
>
<property
name=
"text"
>
<string
>
9999
</string
>
<string
/
>
</property>
</property>
<property
name=
"alignment"
>
<property
name=
"alignment"
>
<set>
Qt::AlignCenter
</set>
<set>
Qt::AlignCenter
</set>
...
@@ -73,14 +73,14 @@
...
@@ -73,14 +73,14 @@
<widget
class=
"QLabel"
name=
"label_refundnum"
>
<widget
class=
"QLabel"
name=
"label_refundnum"
>
<property
name=
"geometry"
>
<property
name=
"geometry"
>
<rect>
<rect>
<x>
170
</x>
<x>
63
</x>
<y>
54
</y>
<y>
22
</y>
<width>
3
6
</width>
<width>
2
6
</width>
<height>
2
4
</height>
<height>
2
0
</height>
</rect>
</rect>
</property>
</property>
<property
name=
"text"
>
<property
name=
"text"
>
<string
>
9999
</string
>
<string
/
>
</property>
</property>
<property
name=
"alignment"
>
<property
name=
"alignment"
>
<set>
Qt::AlignCenter
</set>
<set>
Qt::AlignCenter
</set>
...
@@ -92,8 +92,8 @@
...
@@ -92,8 +92,8 @@
<rect>
<rect>
<x>
0
</x>
<x>
0
</x>
<y>
0
</y>
<y>
0
</y>
<width>
242
</width>
<width>
94
</width>
<height>
100
</height>
<height>
48
</height>
</rect>
</rect>
</property>
</property>
<layout
class=
"QHBoxLayout"
name=
"horizontalLayout"
>
<layout
class=
"QHBoxLayout"
name=
"horizontalLayout"
>
...
@@ -122,7 +122,7 @@
...
@@ -122,7 +122,7 @@
</property>
</property>
<property
name=
"sizeHint"
stdset=
"0"
>
<property
name=
"sizeHint"
stdset=
"0"
>
<size>
<size>
<width>
101
</width>
<width>
46
</width>
<height>
20
</height>
<height>
20
</height>
</size>
</size>
</property>
</property>
...
@@ -145,8 +145,8 @@
...
@@ -145,8 +145,8 @@
<rect>
<rect>
<x>
0
</x>
<x>
0
</x>
<y>
0
</y>
<y>
0
</y>
<width>
100
</width>
<width>
48
</width>
<height>
100
</height>
<height>
48
</height>
</rect>
</rect>
</property>
</property>
</widget>
</widget>
...
@@ -155,8 +155,8 @@
...
@@ -155,8 +155,8 @@
<rect>
<rect>
<x>
0
</x>
<x>
0
</x>
<y>
0
</y>
<y>
0
</y>
<width>
242
</width>
<width>
94
</width>
<height>
100
</height>
<height>
48
</height>
</rect>
</rect>
</property>
</property>
</widget>
</widget>
...
...
takeout/view/mainForm.cpp
View file @
f565ca3c
...
@@ -46,7 +46,7 @@ MainForm::MainForm(QWidget *parent) :
...
@@ -46,7 +46,7 @@ MainForm::MainForm(QWidget *parent) :
FMApplication
::
subscibeEvent
(
this
,
PosEvent
::
s_delete_order
);
FMApplication
::
subscibeEvent
(
this
,
PosEvent
::
s_delete_order
);
FMApplication
::
subscibeEvent
(
this
,
PosEvent
::
s_login_storeinfo
);
FMApplication
::
subscibeEvent
(
this
,
PosEvent
::
s_login_storeinfo
);
FMApplication
::
subscibeEvent
(
this
,
PosEvent
::
s_show_mainform
);
FMApplication
::
subscibeEvent
(
this
,
PosEvent
::
s_show_mainform
);
FMApplication
::
subscibeEvent
(
this
,
PosEvent
::
s_network_outtime
);
//
FMApplication::subscibeEvent(this, PosEvent::s_network_outtime);
// 初始化界面
// 初始化界面
...
...
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