Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
FMVip_LXJ
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
FMVip_LXJ
Commits
b8ce864c
Commit
b8ce864c
authored
Jan 11, 2017
by
LIDINGDA\ldd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.去除会员充值的小键盘
parent
6e48d32b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
49 deletions
+17
-49
FMVip_LXJ/windows/fmvipfund.cpp
+14
-14
FMVip_LXJ/windows/fmvipfund.h
+2
-2
FMVip_LXJ/windows/forms/fmvipfund.ui
+1
-33
No files found.
FMVip_LXJ/windows/fmvipfund.cpp
View file @
b8ce864c
...
@@ -74,20 +74,20 @@ void FMVipFund::onDigitChecked(QAbstractButton *btn)
...
@@ -74,20 +74,20 @@ void FMVipFund::onDigitChecked(QAbstractButton *btn)
ui
->
amount_edit
->
setText
(
digit
);
ui
->
amount_edit
->
setText
(
digit
);
}
}
void
FMVipFund
::
on_fund_key_clicked
()
//
void FMVipFund::on_fund_key_clicked()
{
//
{
if
(
numpad
==
NULL
)
//
if(numpad == NULL)
{
//
{
numpad
=
new
FMNumPad
();
//
numpad = new FMNumPad();
connect
(
numpad
,
&
FMNumPad
::
finished
,
this
,
&
FMVipFund
::
on_clean_numpad
);
//
connect(numpad, &FMNumPad::finished, this, &FMVipFund::on_clean_numpad);
connect
(
numpad
,
&
FMNumPad
::
digit_click
,
this
,
&
FMVipFund
::
on_edit_change
);
//
connect(numpad, &FMNumPad::digit_click, this, &FMVipFund::on_edit_change);
connect
(
numpad
,
&
FMNumPad
::
digit_delete
,
this
,
&
FMVipFund
::
on_delete_clicked
);
//
connect(numpad, &FMNumPad::digit_delete, this, &FMVipFund::on_delete_clicked);
connect
(
numpad
,
&
FMNumPad
::
digit_clear
,
this
,
&
FMVipFund
::
on_clear_clicked
);
//
connect(numpad, &FMNumPad::digit_clear, this, &FMVipFund::on_clear_clicked);
connect
(
numpad
,
&
FMNumPad
::
digit_confirm
,
this
,
&
FMVipFund
::
on_confirm_clicked
);
//
connect(numpad, &FMNumPad::digit_confirm, this, &FMVipFund::on_confirm_clicked);
}
//
}
numpad
->
show
();
//
numpad->show();
numpad
->
setGeometry
(
x
()
+
width
(),
numpad
->
y
(),
numpad
->
width
(),
numpad
->
height
());
//
numpad->setGeometry(x() + width(), numpad->y(), numpad->width(), numpad->height());
}
//
}
void
FMVipFund
::
on_edit_change
(
QString
numkey
)
void
FMVipFund
::
on_edit_change
(
QString
numkey
)
{
{
...
...
FMVip_LXJ/windows/fmvipfund.h
View file @
b8ce864c
...
@@ -33,8 +33,8 @@ public slots:
...
@@ -33,8 +33,8 @@ public slots:
void
on_clear_clicked
();
void
on_clear_clicked
();
void
on_confirm_clicked
();
void
on_confirm_clicked
();
private
slots
:
//
private slots:
void
on_fund_key_clicked
();
//
void on_fund_key_clicked();
private
:
private
:
Ui
::
FMVipFund
*
ui
;
Ui
::
FMVipFund
*
ui
;
...
...
FMVip_LXJ/windows/forms/fmvipfund.ui
View file @
b8ce864c
...
@@ -105,7 +105,7 @@
...
@@ -105,7 +105,7 @@
}
}
#amount_edit {
#amount_edit {
border: 1 solid silver;
border: 1 solid silver;
border-width: 1
0
1 0;
border-width: 1
1
1 0;
background: white;
background: white;
/*
/*
min-height: 72px; max-height: 72px;
min-height: 72px; max-height: 72px;
...
@@ -637,38 +637,6 @@ QPushButton#fund_btn:hover {
...
@@ -637,38 +637,6 @@ QPushButton#fund_btn:hover {
</property>
</property>
</widget>
</widget>
</item>
</item>
<item>
<widget
class=
"QPushButton"
name=
"fund_key"
>
<property
name=
"minimumSize"
>
<size>
<width>
45
</width>
<height>
74
</height>
</size>
</property>
<property
name=
"maximumSize"
>
<size>
<width>
45
</width>
<height>
74
</height>
</size>
</property>
<property
name=
"styleSheet"
>
<string
notr=
"true"
>
#fund_key {
border: 1 solid silver;
border-left: 0px;
color: rgb(130,130,130);
background-color: rgb(255, 255, 255);
font: 13px
"
微软雅黑
"
;
}
#fund_key:hover {
color: rgb(37, 176, 246);
}
</string>
</property>
<property
name=
"text"
>
<string>
键盘
</string>
</property>
</widget>
</item>
</layout>
</layout>
</widget>
</widget>
</item>
</item>
...
...
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