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
9416f0a1
Commit
9416f0a1
authored
Apr 24, 2017
by
LIDINGDA\ldd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.修改动画可配置2.修复退款按钮选中问题
parent
cdcd1627
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
5 deletions
+11
-5
fmp_epay.cpp
+1
-1
fmp_epay.h
+1
-1
fmp_epay_def.h
+2
-0
fmp_epay_p.cpp
+3
-2
fmp_epayview_dialog.cpp
+3
-0
version.h
+1
-1
No files found.
fmp_epay.cpp
View file @
9416f0a1
...
...
@@ -9,7 +9,7 @@ FMPePay::FMPePay(ctkPluginContext *context)
:
FMPePayInterface
(
context
),
_url
(
DEFAULT_EPAY_RWQUESTURL
),
_inited
(
false
),
_needanimation
(
false
),
//
_needanimation(false),
_databasename
(
DEFAULT_EPAY_DATABASENAME
),
_table
(
DEFAULT_EPAY_TABLE
),
_businessdate
(
QDateTime
::
currentDateTime
().
toString
(
"yyyy-MM-dd"
)),
...
...
fmp_epay.h
View file @
9416f0a1
...
...
@@ -30,7 +30,7 @@ protected slots:
private
:
bool
_inited
;
bool
_needanimation
;
//
bool _needanimation;
QString
_url
;
QString
_databasename
;
QString
_table
;
...
...
fmp_epay_def.h
View file @
9416f0a1
#
ifndef
FMP_EPAY_DEF
#define FMP_EPAY_DEF
#include <fmp_settings_i.h>
//公用字段
#define FMP_EPAY_VER "ver"
#define FMP_EPAY_CLIENTREQCOUNT "clientReqCount"
...
...
fmp_epay_p.cpp
View file @
9416f0a1
...
...
@@ -138,13 +138,14 @@ void FMPePayPrivate::Init()
QVariantHash
hash
;
hash
[
FMP_EPAY_ANIMATION
]
=
q
->
_needanimation
;
_setting
=
q
->
GetService
<
FMPSettingsInterface
>
(
q
->
_ctx
);
hash
[
FMP_EPAY_ANIMATION
]
=
_setting
->
GetBool
(
FMP_INIKEY_ANIMATION
);
hash
[
FMP_EPAY_BUSINESSDATE
]
=
q
->
_businessdate
;
hash
[
FMP_EPAY_STOREID
]
=
q
->
_store_id
;
hash
[
FMP_EPAY_STATIONID
]
=
q
->
_station_id
;
hash
[
FMP_EPAY_OPERATORID
]
=
q
->
_operator_id
;
_setting
=
q
->
GetService
<
FMPSettingsInterface
>
(
q
->
_ctx
);
_payDialog
=
new
FMPPayDialog
(
this
,
hash
);
}
...
...
fmp_epayview_dialog.cpp
View file @
9416f0a1
...
...
@@ -93,6 +93,8 @@ FMPPayDialog::FMPPayDialog(FMPePayPrivate *control, QVariantHash basicinfo, QWid
ui
->
lineedit_num
->
setFocus
();
_current_LineEdit
=
ui
->
lineedit_num
;
ui
->
tableView
->
setEditTriggers
(
QAbstractItemView
::
NoEditTriggers
);
ui
->
tableView
->
setItemDelegate
(
new
FMPPayItemDelegate
);
connect
(
ui
->
tableView
,
SIGNAL
(
clicked
(
QModelIndex
)),
SLOT
(
onSelectionChanged
(
QModelIndex
)));
...
...
@@ -649,4 +651,5 @@ void FMPPayDialog::on_btn_backspace_refund_clicked()
void
FMPPayDialog
::
on_lineEdit_textChanged
(
const
QString
&
arg1
)
{
_control
->
GetCheckMode
(
arg1
);
ui
->
pushButton_2
->
setEnabled
(
false
);
}
version.h
View file @
9416f0a1
...
...
@@ -5,7 +5,7 @@
#define VER_MINOR 1
#define VER_REVISION 0
#define VER_BUILD
6
#define VER_BUILD
7
//! Convert version numbers to string
#define _STR(S) #S
...
...
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