Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
FmTakeaway
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
shangshang.dai
FmTakeaway
Commits
0a48c0b8
Commit
0a48c0b8
authored
Sep 23, 2016
by
ss.dai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
程序全屏,主窗口隐藏不提示信息
parent
ceb97a3f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
fmTakeaway/mainForm.cpp
+7
-2
fmTakeaway/preDefine.h
+1
-1
No files found.
fmTakeaway/mainForm.cpp
View file @
0a48c0b8
...
...
@@ -93,6 +93,8 @@ void MainForm::MyShow()
void
MainForm
::
_Init
()
{
this
->
setWindowFlags
(
this
->
windowFlags
()
|
Qt
::
FramelessWindowHint
|
Qt
::
WindowStaysOnTopHint
);
// TODO
this
->
showFullScreen
();
// 显示托盘
m_tray
.
show
();
...
...
@@ -263,8 +265,11 @@ void MainForm::onHideAlert()
void
MainForm
::
onShowAlert
(
AlertForm
::
Type
type
,
const
QString
&
msg
)
{
m_alertForm
->
SetContent
(
type
,
msg
);
m_alertForm
->
show
();
if
(
!
isHidden
())
{
m_alertForm
->
SetContent
(
type
,
msg
);
m_alertForm
->
show
();
}
}
void
MainForm
::
onSetStoreInfo
(
const
QString
&
storeId
)
...
...
fmTakeaway/preDefine.h
View file @
0a48c0b8
...
...
@@ -4,7 +4,7 @@
#include <QDebug>
#define APP_THEME "deaufult"
#define APP_VERSION "1.20160
802
.01" //TODO
#define APP_VERSION "1.20160
923
.01" //TODO
#define SERVER_PASSWORD "posoperator@freemud.cn"
...
...
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