Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fmp_epay
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
zhenfei.zhang
fmp_epay
Commits
c03b2439
Commit
c03b2439
authored
Jul 28, 2017
by
NitefullWind
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1. 修复按Alt+F4关闭窗口后卡死问题。 2. 按Ecs可关闭窗口。
parent
68b29731
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
5 deletions
+7
-5
fmp_epay_p.cpp
+0
-0
fmp_epay_p.h
+3
-3
fmp_epayview_dialog.cpp
+0
-0
fmp_epayview_dialog.h
+2
-0
fmp_epayview_dialog.ui
+1
-1
fmp_epayview_wait.cpp
+1
-1
No files found.
fmp_epay_p.cpp
View file @
c03b2439
This diff is collapsed.
Click to expand it.
fmp_epay_p.h
View file @
c03b2439
...
@@ -4,7 +4,9 @@
...
@@ -4,7 +4,9 @@
#include "fmp_epay.h"
#include "fmp_epay.h"
#include <QObject>
#include <QObject>
#include <QFuture>
#include <QFuture>
#include <QFutureWatcher>
#include <QJsonObject>
#include <QJsonObject>
#include <QEventLoop>
class
FMPPayDialog
;
class
FMPPayDialog
;
class
FMPSettingsInterface
;
class
FMPSettingsInterface
;
...
@@ -59,7 +61,6 @@ private:
...
@@ -59,7 +61,6 @@ private:
void
clearorder
();
void
clearorder
();
signals
:
signals
:
void
apiError
();
void
apiError
();
void
apiFinish
();
void
error
(
QString
errormsg
);
void
error
(
QString
errormsg
);
void
finished
(
QJsonObject
json
);
void
finished
(
QJsonObject
json
);
...
@@ -74,8 +75,6 @@ public:
...
@@ -74,8 +75,6 @@ public:
FMPSettingsInterface
*
_setting
;
FMPSettingsInterface
*
_setting
;
FMPNetworkInterface
*
_network
;
private
:
private
:
QJsonObject
_origin_request
;
QJsonObject
_origin_request
;
QJsonObject
_docked_request
;
QJsonObject
_docked_request
;
...
@@ -83,6 +82,7 @@ private:
...
@@ -83,6 +82,7 @@ private:
QJsonObject
_docked_response
;
QJsonObject
_docked_response
;
bool
_is_api
;
bool
_is_api
;
bool
_api_abort
;
bool
_reverse_flag
;
bool
_reverse_flag
;
static
unsigned
int
s_ClientReqCount
;
static
unsigned
int
s_ClientReqCount
;
...
...
fmp_epayview_dialog.cpp
View file @
c03b2439
This diff is collapsed.
Click to expand it.
fmp_epayview_dialog.h
View file @
c03b2439
...
@@ -50,6 +50,7 @@ public slots:
...
@@ -50,6 +50,7 @@ public slots:
void
setBasicInfo
(
QVariantHash
basicinfo
);
void
setBasicInfo
(
QVariantHash
basicinfo
);
protected
:
protected
:
void
keyPressEvent
(
QKeyEvent
*
);
void
keyPressEvent
(
QKeyEvent
*
);
void
mousePressEvent
(
QMouseEvent
*
);
void
mousePressEvent
(
QMouseEvent
*
);
...
@@ -83,6 +84,7 @@ private slots:
...
@@ -83,6 +84,7 @@ private slots:
void
on_lineEdit_textChanged
(
const
QString
&
arg1
);
void
on_lineEdit_textChanged
(
const
QString
&
arg1
);
void
reject
();
public
:
public
:
void
setPayView
();
void
setPayView
();
...
...
fmp_epayview_dialog.ui
View file @
c03b2439
...
@@ -2841,9 +2841,9 @@ QHeaderView::section {
...
@@ -2841,9 +2841,9 @@ QHeaderView::section {
</layout>
</layout>
</widget>
</widget>
<zorder>
wdg_success_main
</zorder>
<zorder>
wdg_success_main
</zorder>
<zorder>
wdg_pay_main
</zorder>
<zorder>
wdg_refund_main
</zorder>
<zorder>
wdg_refund_main
</zorder>
<zorder>
wdg_query_main
</zorder>
<zorder>
wdg_query_main
</zorder>
<zorder>
wdg_pay_main
</zorder>
</widget>
</widget>
</item>
</item>
<item>
<item>
...
...
fmp_epayview_wait.cpp
View file @
c03b2439
...
@@ -13,7 +13,7 @@ FMPPayWait::FMPPayWait(QWidget *parent) : QDialog(parent), ui(new Ui::FMPPayWait
...
@@ -13,7 +13,7 @@ FMPPayWait::FMPPayWait(QWidget *parent) : QDialog(parent), ui(new Ui::FMPPayWait
ui
->
widget
->
setWindowOpacity
(
1
);
ui
->
widget
->
setWindowOpacity
(
1
);
setGeometry
(
parent
->
geometry
());
setGeometry
(
parent
->
geometry
());
this
->
move
(
parent
->
pos
());
this
->
move
(
parent
->
pos
());
setWindowFlags
(
Qt
::
FramelessWindowHint
|
Qt
::
Tool
);
setWindowFlags
(
windowFlags
()
|
Qt
::
FramelessWindowHint
|
Qt
::
WindowStaysOnTopHint
);
connect
(
ui
->
btn_confirm
,
&
QPushButton
::
clicked
,
this
,
&
FMPPayWait
::
accept
);
connect
(
ui
->
btn_confirm
,
&
QPushButton
::
clicked
,
this
,
&
FMPPayWait
::
accept
);
...
...
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