Commit b8ce864c by LIDINGDA\ldd

1.去除会员充值的小键盘

parent 6e48d32b
......@@ -74,20 +74,20 @@ void FMVipFund::onDigitChecked(QAbstractButton *btn)
ui->amount_edit->setText(digit);
}
void FMVipFund::on_fund_key_clicked()
{
if(numpad == NULL)
{
numpad = new FMNumPad();
connect(numpad, &FMNumPad::finished, this, &FMVipFund::on_clean_numpad);
connect(numpad, &FMNumPad::digit_click, this, &FMVipFund::on_edit_change);
connect(numpad, &FMNumPad::digit_delete, this, &FMVipFund::on_delete_clicked);
connect(numpad, &FMNumPad::digit_clear, this, &FMVipFund::on_clear_clicked);
connect(numpad, &FMNumPad::digit_confirm, this, &FMVipFund::on_confirm_clicked);
}
numpad->show();
numpad->setGeometry(x() + width(), numpad->y(), numpad->width(), numpad->height());
}
//void FMVipFund::on_fund_key_clicked()
//{
// if(numpad == NULL)
// {
// numpad = new FMNumPad();
// connect(numpad, &FMNumPad::finished, this, &FMVipFund::on_clean_numpad);
// connect(numpad, &FMNumPad::digit_click, this, &FMVipFund::on_edit_change);
// connect(numpad, &FMNumPad::digit_delete, this, &FMVipFund::on_delete_clicked);
// connect(numpad, &FMNumPad::digit_clear, this, &FMVipFund::on_clear_clicked);
// connect(numpad, &FMNumPad::digit_confirm, this, &FMVipFund::on_confirm_clicked);
// }
// numpad->show();
// numpad->setGeometry(x() + width(), numpad->y(), numpad->width(), numpad->height());
//}
void FMVipFund::on_edit_change(QString numkey)
{
......
......@@ -33,8 +33,8 @@ public slots:
void on_clear_clicked();
void on_confirm_clicked();
private slots:
void on_fund_key_clicked();
//private slots:
// void on_fund_key_clicked();
private:
Ui::FMVipFund *ui;
......
......@@ -105,7 +105,7 @@
}
#amount_edit {
border: 1 solid silver;
border-width: 1 0 1 0;
border-width: 1 1 1 0;
background: white;
/*
min-height: 72px; max-height: 72px;
......@@ -637,38 +637,6 @@ QPushButton#fund_btn:hover {
</property>
</widget>
</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 &quot;微软雅黑&quot;;
}
#fund_key:hover {
color: rgb(37, 176, 246);
}</string>
</property>
<property name="text">
<string>键盘</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment