Commit 9c3ad5fe by LIDINGDA\ldd

1.界面调整

parent a64ce3fc
...@@ -46,8 +46,6 @@ bool FMPDataBase::dlt(QString table, QString condition) ...@@ -46,8 +46,6 @@ bool FMPDataBase::dlt(QString table, QString condition)
bool flag = query.exec(sql); bool flag = query.exec(sql);
FMP_INFO(_logger) << "000000000000000000000 "<< sql;
if(!flag) if(!flag)
FMP_WARN(_logger) << query.lastError(); FMP_WARN(_logger) << query.lastError();
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
#include <fmp_logger_i.h> #include <fmp_logger_i.h>
#include <QSqlTableModel> #include <QSqlTableModel>
#include <QStyledItemDelegate> #include <QStyledItemDelegate>
#include <QMouseEvent>
#include <QPropertyAnimation> #include <QPropertyAnimation>
...@@ -22,7 +23,9 @@ FMPPayDialog::FMPPayDialog(FMPePayPrivate *control, FMPLoggerInterface *logger, ...@@ -22,7 +23,9 @@ FMPPayDialog::FMPPayDialog(FMPePayPrivate *control, FMPLoggerInterface *logger,
ui->setupUi(this); ui->setupUi(this);
ui->label_date->setText(QString::fromLocal8Bit("营业日:") + basicinfo[FMP_EPAY_BUSINESSDATE].toString()); _b_mouse_pressed = false;
ui->label_date->setText(QString::fromLocal8Bit("当前营业日 : ") + basicinfo[FMP_EPAY_BUSINESSDATE].toString());
ui->label_storeid->setText(QString::fromLocal8Bit("门店号:") + basicinfo[FMP_EPAY_STOREID].toString()); ui->label_storeid->setText(QString::fromLocal8Bit("门店号:") + basicinfo[FMP_EPAY_STOREID].toString());
ui->label_posno->setText(QString::fromLocal8Bit("POS编号:") + basicinfo[FMP_EPAY_STATIONID].toString()); ui->label_posno->setText(QString::fromLocal8Bit("POS编号:") + basicinfo[FMP_EPAY_STATIONID].toString());
ui->label_optid->setText(QString::fromLocal8Bit("操作员:") + basicinfo[FMP_EPAY_OPERATORID].toString()); ui->label_optid->setText(QString::fromLocal8Bit("操作员:") + basicinfo[FMP_EPAY_OPERATORID].toString());
...@@ -258,9 +261,32 @@ void FMPPayDialog::onSelectionChanged(QModelIndex idx) ...@@ -258,9 +261,32 @@ void FMPPayDialog::onSelectionChanged(QModelIndex idx)
} }
} }
void FMPPayDialog::keyPressEvent(QKeyEvent *) void FMPPayDialog::keyPressEvent(QKeyEvent *e)
{
}
void FMPPayDialog::mousePressEvent(QMouseEvent *event)
{
_b_mouse_pressed = true;
_mMovePosition = event->globalPos() - pos();
return QDialog::mousePressEvent(event);
}
void FMPPayDialog::mouseMoveEvent(QMouseEvent *event)
{ {
if (_b_mouse_pressed && (event->buttons() && Qt::LeftButton)
&& (event->globalPos()-_mMovePosition).manhattanLength() > QApplication::startDragDistance())
{
move(event->globalPos()-_mMovePosition);
_mMovePosition = event->globalPos() - pos();
}
return QDialog::mouseMoveEvent(event);
}
void FMPPayDialog::mouseReleaseEvent(QMouseEvent *event)
{
_b_mouse_pressed = false;
} }
void FMPPayDialog::setPaySuccessView(QJsonObject json) void FMPPayDialog::setPaySuccessView(QJsonObject json)
......
...@@ -49,6 +49,10 @@ public slots: ...@@ -49,6 +49,10 @@ public slots:
protected: protected:
void keyPressEvent(QKeyEvent *); void keyPressEvent(QKeyEvent *);
void mousePressEvent(QMouseEvent *);
void mouseMoveEvent(QMouseEvent *);
void mouseReleaseEvent(QMouseEvent *);
private slots: private slots:
void on_widget_change(); void on_widget_change();
...@@ -117,6 +121,8 @@ private: ...@@ -117,6 +121,8 @@ private:
bool _success_flag; bool _success_flag;
bool _is_amt; bool _is_amt;
bool _b_mouse_pressed;
QPoint _mMovePosition;
}; };
#endif // DIALOG_H #endif // DIALOG_H
...@@ -35,9 +35,13 @@ ...@@ -35,9 +35,13 @@
<item> <item>
<widget class="QWidget" name="main" native="true"> <widget class="QWidget" name="main" native="true">
<property name="styleSheet"> <property name="styleSheet">
<string notr="true"/> <string notr="true">#main
{
background-color: rgb(255, 255, 255);
}</string>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout_6">
<property name="spacing"> <property name="spacing">
<number>0</number> <number>0</number>
</property> </property>
...@@ -100,9 +104,12 @@ ...@@ -100,9 +104,12 @@
<property name="orientation"> <property name="orientation">
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
</property> </property>
<property name="sizeType">
<enum>QSizePolicy::Maximum</enum>
</property>
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0">
<size> <size>
<width>328</width> <width>25</width>
<height>20</height> <height>20</height>
</size> </size>
</property> </property>
...@@ -157,47 +164,36 @@ ...@@ -157,47 +164,36 @@
<widget class="QPushButton" name="btn_close"> <widget class="QPushButton" name="btn_close">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>26</width> <width>54</width>
<height>26</height> <height>54</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>26</width> <width>54</width>
<height>26</height> <height>54</height>
</size> </size>
</property> </property>
<property name="styleSheet"> <property name="styleSheet">
<string notr="true">border-image: url(:/img/fm-icon_close_02.png);</string> <string notr="true">#btn_close
{
background-color: rgb(56, 56, 64);
border-radius: 0px;
image: url(:/img/fm-icon_close_02.png);
}</string>
</property> </property>
<property name="text"> <property name="text">
<string/> <string/>
</property> </property>
</widget> </widget>
</item> </item>
<item>
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Maximum</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>15</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout> </layout>
</widget> </widget>
</item> </item>
<item> <item>
<layout class="QHBoxLayout" name="horizontalLayout" stretch="0,0"> <layout class="QHBoxLayout" name="horizontalLayout">
<property name="spacing"> <property name="spacing">
<number>0</number> <number>15</number>
</property> </property>
<item> <item>
<widget class="QFrame" name="frm_left_bg"> <widget class="QFrame" name="frm_left_bg">
...@@ -411,6 +407,49 @@ ...@@ -411,6 +407,49 @@
</widget> </widget>
</item> </item>
<item> <item>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
<number>0</number>
</property>
<item>
<widget class="QWidget" name="widget" native="true">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>72</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">#widget
{
border-bottom: 1 solid silver;
background-color: rgb(255, 255, 255);
}</string>
</property>
<widget class="QLabel" name="label_date">
<property name="geometry">
<rect>
<x>0</x>
<y>20</y>
<width>231</width>
<height>34</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">#label_date
{
color:rgb(177, 177, 177);
font: 12pt &quot;微软雅黑&quot;;
}</string>
</property>
<property name="text">
<string>当前营业日:</string>
</property>
</widget>
</widget>
</item>
<item>
<widget class="QWidget" name="wdg_right_bg" native="true"> <widget class="QWidget" name="wdg_right_bg" native="true">
<property name="styleSheet"> <property name="styleSheet">
<string notr="true">#wdg_right_bg <string notr="true">#wdg_right_bg
...@@ -423,8 +462,8 @@ ...@@ -423,8 +462,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>630</width> <width>613</width>
<height>532</height> <height>460</height>
</rect> </rect>
</property> </property>
<property name="styleSheet"> <property name="styleSheet">
...@@ -434,12 +473,12 @@ ...@@ -434,12 +473,12 @@
} }
QPushButton { QPushButton {
min-width: 50px; min-height: 50px; min-width: 68px; min-height: 55px;
max-width: 50px; max-height: 50px; max-width: 68px; max-height: 55px;
background-color: rgb(255, 255, 255); background-color: rgb(255, 255, 255);
font: 75 24px &quot;微软雅黑&quot;; font: 75 24px &quot;微软雅黑&quot;;
border-radius: 12px; border-radius: 16px;
border: 1 solid silver; border: 1 solid silver;
color: rgb(57, 57, 57); color: rgb(57, 57, 57);
} }
...@@ -447,18 +486,18 @@ QPushButton { ...@@ -447,18 +486,18 @@ QPushButton {
QPushButton:hover { QPushButton:hover {
background-color: rgb(249, 249, 249); background-color: rgb(249, 249, 249);
border:2px solid rgb(99, 148, 235); border:2px solid rgb(99, 148, 235);
border-radius:12px; border-radius:16px;
color: rgb(99, 148, 235); color: rgb(99, 148, 235);
padding: 2 0 0 2; padding: 2 0 0 2;
} }
#btn_linefeed { #btn_linefeed {
min-width: 50px; min-height: 50px; min-width: 68px; min-height: 55px;
max-width: 50px; max-height: 50px; max-width: 68px; max-height: 55px;
background-color: rgb(255, 255, 255); background-color: rgb(255, 255, 255);
font: 75 18px &quot;微软雅黑&quot;; font: 75 18px &quot;微软雅黑&quot;;
border-radius: 12px; border-radius: 16px;
border: 1 solid silver; border: 1 solid silver;
color: rgb(57, 57, 57); color: rgb(57, 57, 57);
} }
...@@ -466,7 +505,7 @@ QPushButton:hover { ...@@ -466,7 +505,7 @@ QPushButton:hover {
#btn_linefeed:hover { #btn_linefeed:hover {
background-color: rgb(249, 249, 249); background-color: rgb(249, 249, 249);
border:2px solid rgb(99, 148, 235); border:2px solid rgb(99, 148, 235);
border-radius:12px; border-radius:16px;
color: rgb(99, 148, 235); color: rgb(99, 148, 235);
padding: 2 0 0 2; padding: 2 0 0 2;
} }
...@@ -495,25 +534,27 @@ QPushButton:hover { ...@@ -495,25 +534,27 @@ QPushButton:hover {
#btn_confirm01{ #btn_confirm01{
font: 75 18px &quot;Microsoft YaHei&quot;; font: 75 18px &quot;Microsoft YaHei&quot;;
color: rgb(255,255,255); color: rgb(255,255,255);
min-height: 106px;
max-height: 106px; min-width: 68px; min-height: 120px;
max-width: 68px; max-height: 120px;
background-color: rgb(99, 148, 235); background-color: rgb(99, 148, 235);
} }
#btn_confirm01:hover { #btn_confirm01:hover {
padding: 2 0 0 2; padding: 2 0 0 2;
background-color: rgb(249, 249, 249); background-color: rgb(249, 249, 249);
border:2px solid rgb(99, 148, 235); border:2px solid rgb(99, 148, 235);
border-radius:12px; border-radius:16px;
color: rgb(99, 148, 235); color: rgb(99, 148, 235);
}</string> }</string>
</property> </property>
<widget class="QFrame" name="frame"> <widget class="QFrame" name="frame">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>20</x> <x>0</x>
<y>80</y> <y>55</y>
<width>212</width> <width>245</width>
<height>372</height> <height>295</height>
</rect> </rect>
</property> </property>
<property name="styleSheet"> <property name="styleSheet">
...@@ -526,60 +567,19 @@ QPushButton:hover { ...@@ -526,60 +567,19 @@ QPushButton:hover {
<property name="frameShadow"> <property name="frameShadow">
<enum>QFrame::Raised</enum> <enum>QFrame::Raised</enum>
</property> </property>
<widget class="QWidget" name="layoutWidget"> <widget class="FMPFocusLineEdit" name="lineedit_num">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>0</x> <x>20</x>
<y>110</y> <y>50</y>
<width>211</width> <width>206</width>
<height>111</height> <height>47</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<widget class="QLabel" name="label_code">
<property name="minimumSize">
<size>
<width>80</width>
<height>31</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>80</width>
<height>31</height>
</size>
</property>
<property name="font">
<font>
<family>微软雅黑</family>
<pointsize>12</pointsize>
<weight>50</weight>
<italic>false</italic>
<bold>false</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">#label_code
{
background-color: rgb(233, 239, 251);
color: rgb(99,148,235) ;
font: 12pt &quot;微软雅黑&quot;;
}</string>
</property>
<property name="text">
<string>支付条码</string>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_5">
<item>
<widget class="FMPFocusLineEdit" name="lineedit_code">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>0</width> <width>0</width>
<height>34</height> <height>47</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
...@@ -589,11 +589,11 @@ QPushButton:hover { ...@@ -589,11 +589,11 @@ QPushButton:hover {
</size> </size>
</property> </property>
<property name="styleSheet"> <property name="styleSheet">
<string notr="true">#lineedit_code <string notr="true">#lineedit_num
{ {
background-color: rgb(233, 239, 251); background-color: rgb(233, 239, 251);
border:2px solid rgb(99, 148, 235); border:2px solid rgb(99, 148, 235);
border-radius:4px; border-radius:2px;
font: 12pt &quot;微软雅黑&quot;; font: 12pt &quot;微软雅黑&quot;;
} }
</string> </string>
...@@ -608,60 +608,63 @@ QPushButton:hover { ...@@ -608,60 +608,63 @@ QPushButton:hover {
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property> </property>
<property name="placeholderText"> <property name="placeholderText">
<string>手动输入或扫描付款条形码</string> <string>本次消费金额</string>
</property> </property>
<property name="neednumpay" stdset="0"> <property name="neednumpay" stdset="0">
<bool>false</bool> <bool>false</bool>
</property> </property>
</widget> </widget>
</item> <widget class="QLabel" name="label_num">
<item> <property name="geometry">
<widget class="QPushButton" name="btn_cleancode"> <rect>
<x>20</x>
<y>16</y>
<width>80</width>
<height>31</height>
</rect>
</property>
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>20</width> <width>80</width>
<height>50</height> <height>31</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>20</width> <width>80</width>
<height>50</height> <height>31</height>
</size> </size>
</property> </property>
<property name="cursor"> <property name="font">
<cursorShape>PointingHandCursor</cursorShape> <font>
<family>微软雅黑</family>
<pointsize>12</pointsize>
<weight>50</weight>
<italic>false</italic>
<bold>false</bold>
</font>
</property> </property>
<property name="styleSheet"> <property name="styleSheet">
<string notr="true">#btn_cleancode <string notr="true">#label_num
{ {
image: url(:/img/fmclient-icon_payment_delete.png); background-color: rgb(233, 239, 251);
border:0px; color: rgb(99,148,235) ;
min-width: 20px; font: 12pt &quot;微软雅黑&quot;;
max-width: 20px;
}</string> }</string>
</property> </property>
<property name="text"> <property name="text">
<string/> <string>应付金额</string>
</property> </property>
</widget> </widget>
</item> <widget class="QLabel" name="label_code">
</layout>
</item>
</layout>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>0</x> <x>20</x>
<y>10</y> <y>115</y>
<width>211</width> <width>80</width>
<height>101</height> <height>31</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_7">
<item>
<widget class="QLabel" name="label_num">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>80</width> <width>80</width>
...@@ -684,7 +687,7 @@ QPushButton:hover { ...@@ -684,7 +687,7 @@ QPushButton:hover {
</font> </font>
</property> </property>
<property name="styleSheet"> <property name="styleSheet">
<string notr="true">#label_num <string notr="true">#label_code
{ {
background-color: rgb(233, 239, 251); background-color: rgb(233, 239, 251);
color: rgb(99,148,235) ; color: rgb(99,148,235) ;
...@@ -692,32 +695,36 @@ QPushButton:hover { ...@@ -692,32 +695,36 @@ QPushButton:hover {
}</string> }</string>
</property> </property>
<property name="text"> <property name="text">
<string>支付金额</string> <string>付款条码</string>
</property> </property>
</widget> </widget>
</item> <widget class="FMPFocusLineEdit" name="lineedit_code">
<item> <property name="geometry">
<layout class="QHBoxLayout" name="horizontalLayout_7"> <rect>
<item> <x>20</x>
<widget class="FMPFocusLineEdit" name="lineedit_num"> <y>154</y>
<width>206</width>
<height>47</height>
</rect>
</property>
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>0</width> <width>0</width>
<height>34</height> <height>0</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>16777215</width> <width>16777215</width>
<height>31</height> <height>16777215</height>
</size> </size>
</property> </property>
<property name="styleSheet"> <property name="styleSheet">
<string notr="true">#lineedit_num <string notr="true">#lineedit_code
{ {
background-color: rgb(233, 239, 251); background-color: rgb(233, 239, 251);
border:2px solid rgb(99, 148, 235); border:2px solid rgb(99, 148, 235);
border-radius:4px; border-radius:2px;
font: 12pt &quot;微软雅黑&quot;; font: 12pt &quot;微软雅黑&quot;;
} }
</string> </string>
...@@ -732,56 +739,20 @@ QPushButton:hover { ...@@ -732,56 +739,20 @@ QPushButton:hover {
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property> </property>
<property name="placeholderText"> <property name="placeholderText">
<string>本次消费金额</string> <string>手动输入或扫描付款条形码</string>
</property> </property>
<property name="neednumpay" stdset="0"> <property name="neednumpay" stdset="0">
<bool>false</bool> <bool>false</bool>
</property> </property>
</widget> </widget>
</item>
<item>
<widget class="QPushButton" name="btn_cleannum">
<property name="minimumSize">
<size>
<width>20</width>
<height>50</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>20</width>
<height>50</height>
</size>
</property>
<property name="cursor">
<cursorShape>PointingHandCursor</cursorShape>
</property>
<property name="styleSheet">
<string notr="true">#btn_cleannum
{
image: url(:/img/fmclient-icon_payment_delete.png);
border:0px;
min-width: 20px;
max-width: 20px;
}</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</widget> </widget>
<widget class="QFrame" name="frame_2"> <widget class="QFrame" name="frame_2">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>242</x> <x>245</x>
<y>80</y> <y>55</y>
<width>351</width> <width>346</width>
<height>371</height> <height>295</height>
</rect> </rect>
</property> </property>
<property name="styleSheet"> <property name="styleSheet">
...@@ -801,14 +772,14 @@ QPushButton:hover { ...@@ -801,14 +772,14 @@ QPushButton:hover {
<widget class="QPushButton" name="btn_num7"> <widget class="QPushButton" name="btn_num7">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="cursor"> <property name="cursor">
...@@ -826,14 +797,14 @@ QPushButton:hover { ...@@ -826,14 +797,14 @@ QPushButton:hover {
<widget class="QPushButton" name="btn_num8"> <widget class="QPushButton" name="btn_num8">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="cursor"> <property name="cursor">
...@@ -851,14 +822,14 @@ QPushButton:hover { ...@@ -851,14 +822,14 @@ QPushButton:hover {
<widget class="QPushButton" name="btn_num9"> <widget class="QPushButton" name="btn_num9">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="cursor"> <property name="cursor">
...@@ -876,14 +847,14 @@ QPushButton:hover { ...@@ -876,14 +847,14 @@ QPushButton:hover {
<widget class="QPushButton" name="btn_backspace"> <widget class="QPushButton" name="btn_backspace">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="cursor"> <property name="cursor">
...@@ -901,14 +872,14 @@ QPushButton:hover { ...@@ -901,14 +872,14 @@ QPushButton:hover {
<widget class="QPushButton" name="btn_num4"> <widget class="QPushButton" name="btn_num4">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="cursor"> <property name="cursor">
...@@ -926,14 +897,14 @@ QPushButton:hover { ...@@ -926,14 +897,14 @@ QPushButton:hover {
<widget class="QPushButton" name="btn_num5"> <widget class="QPushButton" name="btn_num5">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="cursor"> <property name="cursor">
...@@ -951,14 +922,14 @@ QPushButton:hover { ...@@ -951,14 +922,14 @@ QPushButton:hover {
<widget class="QPushButton" name="btn_num6"> <widget class="QPushButton" name="btn_num6">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="cursor"> <property name="cursor">
...@@ -976,14 +947,14 @@ QPushButton:hover { ...@@ -976,14 +947,14 @@ QPushButton:hover {
<widget class="QPushButton" name="btn_linefeed"> <widget class="QPushButton" name="btn_linefeed">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="font"> <property name="font">
...@@ -1010,14 +981,14 @@ QPushButton:hover { ...@@ -1010,14 +981,14 @@ QPushButton:hover {
<widget class="QPushButton" name="btn_num1"> <widget class="QPushButton" name="btn_num1">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="cursor"> <property name="cursor">
...@@ -1035,14 +1006,14 @@ QPushButton:hover { ...@@ -1035,14 +1006,14 @@ QPushButton:hover {
<widget class="QPushButton" name="btn_num2"> <widget class="QPushButton" name="btn_num2">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="cursor"> <property name="cursor">
...@@ -1060,14 +1031,14 @@ QPushButton:hover { ...@@ -1060,14 +1031,14 @@ QPushButton:hover {
<widget class="QPushButton" name="btn_num3"> <widget class="QPushButton" name="btn_num3">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="cursor"> <property name="cursor">
...@@ -1085,14 +1056,14 @@ QPushButton:hover { ...@@ -1085,14 +1056,14 @@ QPushButton:hover {
<widget class="QPushButton" name="btn_confirm01"> <widget class="QPushButton" name="btn_confirm01">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>108</height> <height>122</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>108</height> <height>122</height>
</size> </size>
</property> </property>
<property name="cursor"> <property name="cursor">
...@@ -1110,14 +1081,14 @@ QPushButton:hover { ...@@ -1110,14 +1081,14 @@ QPushButton:hover {
<widget class="QPushButton" name="btn_num0"> <widget class="QPushButton" name="btn_num0">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="cursor"> <property name="cursor">
...@@ -1135,14 +1106,14 @@ QPushButton:hover { ...@@ -1135,14 +1106,14 @@ QPushButton:hover {
<widget class="QPushButton" name="btn_num00"> <widget class="QPushButton" name="btn_num00">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="cursor"> <property name="cursor">
...@@ -1160,14 +1131,14 @@ QPushButton:hover { ...@@ -1160,14 +1131,14 @@ QPushButton:hover {
<widget class="QPushButton" name="btn_numdot"> <widget class="QPushButton" name="btn_numdot">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="cursor"> <property name="cursor">
...@@ -1189,8 +1160,8 @@ QPushButton:hover { ...@@ -1189,8 +1160,8 @@ QPushButton:hover {
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>630</width> <width>613</width>
<height>532</height> <height>460</height>
</rect> </rect>
</property> </property>
<property name="styleSheet"> <property name="styleSheet">
...@@ -1200,12 +1171,12 @@ QPushButton:hover { ...@@ -1200,12 +1171,12 @@ QPushButton:hover {
} }
QPushButton { QPushButton {
min-width: 50px; min-height: 50px; min-width: 68px; min-height: 55px;
max-width: 50px; max-height: 50px; max-width: 68px; max-height: 55px;
background-color: rgb(255, 255, 255); background-color: rgb(255, 255, 255);
font: 75 24px &quot;微软雅黑&quot;; font: 75 24px &quot;微软雅黑&quot;;
border-radius: 12px; border-radius: 16px;
border: 1 solid silver; border: 1 solid silver;
color: rgb(57, 57, 57); color: rgb(57, 57, 57);
} }
...@@ -1213,18 +1184,18 @@ QPushButton { ...@@ -1213,18 +1184,18 @@ QPushButton {
QPushButton:hover { QPushButton:hover {
background-color: rgb(249, 249, 249); background-color: rgb(249, 249, 249);
border:2px solid rgb(99, 148, 235); border:2px solid rgb(99, 148, 235);
border-radius:12px; border-radius:16px;
color: rgb(99, 148, 235); color: rgb(99, 148, 235);
padding: 2 0 0 2; padding: 2 0 0 2;
} }
#btn_linefeed_refund { #btn_linefeed_refund {
min-width: 50px; min-height: 50px; min-width: 68px; min-height: 55px;
max-width: 50px; max-height: 50px; max-width: 68px; max-height: 55px;
background-color: rgb(255, 255, 255); background-color: rgb(255, 255, 255);
font: 75 18px &quot;微软雅黑&quot;; font: 75 18px &quot;微软雅黑&quot;;
border-radius: 12px; border-radius: 16px;
border: 1 solid silver; border: 1 solid silver;
color: rgb(57, 57, 57); color: rgb(57, 57, 57);
} }
...@@ -1232,7 +1203,7 @@ QPushButton:hover { ...@@ -1232,7 +1203,7 @@ QPushButton:hover {
#btn_linefeed_refund:hover { #btn_linefeed_refund:hover {
background-color: rgb(249, 249, 249); background-color: rgb(249, 249, 249);
border:2px solid rgb(99, 148, 235); border:2px solid rgb(99, 148, 235);
border-radius:12px; border-radius:16px;
color: rgb(99, 148, 235); color: rgb(99, 148, 235);
padding: 2 0 0 2; padding: 2 0 0 2;
} }
...@@ -1262,8 +1233,8 @@ QPushButton:hover { ...@@ -1262,8 +1233,8 @@ QPushButton:hover {
background: rgb(93,144,237); background: rgb(93,144,237);
font: 75 18px &quot;Microsoft YaHei&quot;; font: 75 18px &quot;Microsoft YaHei&quot;;
color: white; color: white;
min-height: 106px; min-height: 120px;
max-height: 106px; max-height: 120px;
border: 0 solid white; border: 0 solid white;
border-right: 1 solid silver; border-right: 1 solid silver;
} }
...@@ -1271,17 +1242,17 @@ QPushButton:hover { ...@@ -1271,17 +1242,17 @@ QPushButton:hover {
padding: 2 0 0 2; padding: 2 0 0 2;
background-color: rgb(249, 249, 249); background-color: rgb(249, 249, 249);
border:2px solid rgb(99, 148, 235); border:2px solid rgb(99, 148, 235);
border-radius:12px; border-radius:16px;
color: rgb(99, 148, 235); color: rgb(99, 148, 235);
}</string> }</string>
</property> </property>
<widget class="QFrame" name="frame_5"> <widget class="QFrame" name="frame_5">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>20</x> <x>0</x>
<y>80</y> <y>55</y>
<width>212</width> <width>245</width>
<height>372</height> <height>295</height>
</rect> </rect>
</property> </property>
<property name="styleSheet"> <property name="styleSheet">
...@@ -1294,18 +1265,15 @@ QPushButton:hover { ...@@ -1294,18 +1265,15 @@ QPushButton:hover {
<property name="frameShadow"> <property name="frameShadow">
<enum>QFrame::Raised</enum> <enum>QFrame::Raised</enum>
</property> </property>
<widget class="QWidget" name="layoutWidget_4"> <widget class="QLabel" name="label_num_refund">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>0</x> <x>20</x>
<y>110</y> <y>16</y>
<width>211</width> <width>80</width>
<height>111</height> <height>31</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_8">
<item>
<widget class="QLabel" name="label_code_refund">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>80</width> <width>80</width>
...@@ -1328,7 +1296,7 @@ QPushButton:hover { ...@@ -1328,7 +1296,7 @@ QPushButton:hover {
</font> </font>
</property> </property>
<property name="styleSheet"> <property name="styleSheet">
<string notr="true">#label_code_refund <string notr="true">#label_num_refund
{ {
background-color: rgb(233, 239, 251); background-color: rgb(233, 239, 251);
color: rgb(99,148,235) ; color: rgb(99,148,235) ;
...@@ -1336,100 +1304,18 @@ QPushButton:hover { ...@@ -1336,100 +1304,18 @@ QPushButton:hover {
}</string> }</string>
</property> </property>
<property name="text"> <property name="text">
<string>退款条码</string> <string>退款金额</string>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_8">
<item>
<widget class="FMPFocusLineEdit" name="lineedit_code_refund">
<property name="minimumSize">
<size>
<width>0</width>
<height>34</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>31</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">#lineedit_code_refund
{
background-color: rgb(233, 239, 251);
border:2px solid rgb(99, 148, 235);
border-radius:4px;
font: 12pt &quot;微软雅黑&quot;;
}
</string>
</property>
<property name="inputMask">
<string/>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="placeholderText">
<string>手动输入或扫描退款条形码</string>
</property>
<property name="neednumpay" stdset="0">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btn_cleancode_refund">
<property name="minimumSize">
<size>
<width>20</width>
<height>50</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>20</width>
<height>50</height>
</size>
</property>
<property name="cursor">
<cursorShape>PointingHandCursor</cursorShape>
</property>
<property name="styleSheet">
<string notr="true">#btn_cleancode_refund
{
image: url(:/img/fmclient-icon_payment_delete.png);
border:0px;
min-width: 20px;
max-width: 20px;
}</string>
</property>
<property name="text">
<string/>
</property> </property>
</widget> </widget>
</item> <widget class="QLabel" name="label_code_refund">
</layout>
</item>
</layout>
</widget>
<widget class="QWidget" name="layoutWidget_5">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>0</x> <x>20</x>
<y>10</y> <y>115</y>
<width>211</width> <width>80</width>
<height>101</height> <height>31</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_9">
<item>
<widget class="QLabel" name="label_num_refund">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>80</width> <width>80</width>
...@@ -1452,7 +1338,7 @@ QPushButton:hover { ...@@ -1452,7 +1338,7 @@ QPushButton:hover {
</font> </font>
</property> </property>
<property name="styleSheet"> <property name="styleSheet">
<string notr="true">#label_num_refund <string notr="true">#label_code_refund
{ {
background-color: rgb(233, 239, 251); background-color: rgb(233, 239, 251);
color: rgb(99,148,235) ; color: rgb(99,148,235) ;
...@@ -1460,32 +1346,36 @@ QPushButton:hover { ...@@ -1460,32 +1346,36 @@ QPushButton:hover {
}</string> }</string>
</property> </property>
<property name="text"> <property name="text">
<string>退款金额</string> <string>退款条码</string>
</property> </property>
</widget> </widget>
</item> <widget class="FMPFocusLineEdit" name="lineedit_code_refund">
<item> <property name="geometry">
<layout class="QHBoxLayout" name="horizontalLayout_9"> <rect>
<item> <x>20</x>
<widget class="FMPFocusLineEdit" name="lineedit_num_refund"> <y>50</y>
<width>206</width>
<height>47</height>
</rect>
</property>
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>0</width> <width>0</width>
<height>34</height> <height>0</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>16777215</width> <width>16777215</width>
<height>31</height> <height>16777215</height>
</size> </size>
</property> </property>
<property name="styleSheet"> <property name="styleSheet">
<string notr="true">#lineedit_num_refund <string notr="true">#lineedit_code_refund
{ {
background-color: rgb(233, 239, 251); background-color: rgb(233, 239, 251);
border:2px solid rgb(99, 148, 235); border:2px solid rgb(99, 148, 235);
border-radius:4px; border-radius:2px;
font: 12pt &quot;微软雅黑&quot;; font: 12pt &quot;微软雅黑&quot;;
} }
</string> </string>
...@@ -1500,56 +1390,67 @@ QPushButton:hover { ...@@ -1500,56 +1390,67 @@ QPushButton:hover {
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property> </property>
<property name="placeholderText"> <property name="placeholderText">
<string>本次退款金额</string> <string>手动输入或扫描退款条形码</string>
</property> </property>
<property name="neednumpay" stdset="0"> <property name="neednumpay" stdset="0">
<bool>false</bool> <bool>false</bool>
</property> </property>
</widget> </widget>
</item> <widget class="FMPFocusLineEdit" name="lineedit_num_refund">
<item> <property name="geometry">
<widget class="QPushButton" name="btn_cleannum_refund"> <rect>
<x>20</x>
<y>154</y>
<width>206</width>
<height>47</height>
</rect>
</property>
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>20</width> <width>0</width>
<height>50</height> <height>0</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>20</width> <width>16777215</width>
<height>50</height> <height>16777215</height>
</size> </size>
</property> </property>
<property name="cursor">
<cursorShape>PointingHandCursor</cursorShape>
</property>
<property name="styleSheet"> <property name="styleSheet">
<string notr="true">#btn_cleannum_refund <string notr="true">#lineedit_num_refund
{ {
image: url(:/img/fmclient-icon_payment_delete.png); background-color: rgb(233, 239, 251);
border:0px; border:2px solid rgb(99, 148, 235);
min-width: 20px; border-radius:2px;
max-width: 20px; font: 12pt &quot;微软雅黑&quot;;
}</string> }
</string>
</property>
<property name="inputMask">
<string/>
</property> </property>
<property name="text"> <property name="text">
<string/> <string/>
</property> </property>
</widget> <property name="alignment">
</item> <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</layout> </property>
</item> <property name="placeholderText">
</layout> <string>本次退款金额</string>
</property>
<property name="neednumpay" stdset="0">
<bool>false</bool>
</property>
</widget> </widget>
</widget> </widget>
<widget class="QFrame" name="frame_3"> <widget class="QFrame" name="frame_3">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>242</x> <x>245</x>
<y>80</y> <y>55</y>
<width>351</width> <width>346</width>
<height>371</height> <height>295</height>
</rect> </rect>
</property> </property>
<property name="styleSheet"> <property name="styleSheet">
...@@ -1570,14 +1471,14 @@ QPushButton:hover { ...@@ -1570,14 +1471,14 @@ QPushButton:hover {
<widget class="QPushButton" name="btn_num7_refund"> <widget class="QPushButton" name="btn_num7_refund">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="cursor"> <property name="cursor">
...@@ -1595,14 +1496,14 @@ QPushButton:hover { ...@@ -1595,14 +1496,14 @@ QPushButton:hover {
<widget class="QPushButton" name="btn_num8_refund"> <widget class="QPushButton" name="btn_num8_refund">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="cursor"> <property name="cursor">
...@@ -1620,14 +1521,14 @@ QPushButton:hover { ...@@ -1620,14 +1521,14 @@ QPushButton:hover {
<widget class="QPushButton" name="btn_num9_refund"> <widget class="QPushButton" name="btn_num9_refund">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="cursor"> <property name="cursor">
...@@ -1641,18 +1542,18 @@ QPushButton:hover { ...@@ -1641,18 +1542,18 @@ QPushButton:hover {
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="3"> <item row="1" column="0">
<widget class="QPushButton" name="btn_backspace_refund"> <widget class="QPushButton" name="btn_num4_refund">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="cursor"> <property name="cursor">
...@@ -1662,22 +1563,22 @@ QPushButton:hover { ...@@ -1662,22 +1563,22 @@ QPushButton:hover {
<string notr="true"/> <string notr="true"/>
</property> </property>
<property name="text"> <property name="text">
<string/> <string>4</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="0"> <item row="0" column="3">
<widget class="QPushButton" name="btn_num4_refund"> <widget class="QPushButton" name="btn_backspace_refund">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="cursor"> <property name="cursor">
...@@ -1687,22 +1588,22 @@ QPushButton:hover { ...@@ -1687,22 +1588,22 @@ QPushButton:hover {
<string notr="true"/> <string notr="true"/>
</property> </property>
<property name="text"> <property name="text">
<string>4</string> <string/>
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="1"> <item row="1" column="2">
<widget class="QPushButton" name="btn_num5_refund"> <widget class="QPushButton" name="btn_num6_refund">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="cursor"> <property name="cursor">
...@@ -1712,22 +1613,22 @@ QPushButton:hover { ...@@ -1712,22 +1613,22 @@ QPushButton:hover {
<string notr="true"/> <string notr="true"/>
</property> </property>
<property name="text"> <property name="text">
<string>5</string> <string>6</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="2"> <item row="1" column="1">
<widget class="QPushButton" name="btn_num6_refund"> <widget class="QPushButton" name="btn_num5_refund">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="cursor"> <property name="cursor">
...@@ -1737,7 +1638,7 @@ QPushButton:hover { ...@@ -1737,7 +1638,7 @@ QPushButton:hover {
<string notr="true"/> <string notr="true"/>
</property> </property>
<property name="text"> <property name="text">
<string>6</string> <string>5</string>
</property> </property>
</widget> </widget>
</item> </item>
...@@ -1745,14 +1646,14 @@ QPushButton:hover { ...@@ -1745,14 +1646,14 @@ QPushButton:hover {
<widget class="QPushButton" name="btn_linefeed_refund"> <widget class="QPushButton" name="btn_linefeed_refund">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="font"> <property name="font">
...@@ -1775,18 +1676,18 @@ QPushButton:hover { ...@@ -1775,18 +1676,18 @@ QPushButton:hover {
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="0"> <item row="2" column="1">
<widget class="QPushButton" name="btn_num1_refund"> <widget class="QPushButton" name="btn_num2_refund">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="cursor"> <property name="cursor">
...@@ -1796,22 +1697,22 @@ QPushButton:hover { ...@@ -1796,22 +1697,22 @@ QPushButton:hover {
<string notr="true"/> <string notr="true"/>
</property> </property>
<property name="text"> <property name="text">
<string>1</string> <string>2</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="1"> <item row="2" column="0">
<widget class="QPushButton" name="btn_num2_refund"> <widget class="QPushButton" name="btn_num1_refund">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="cursor"> <property name="cursor">
...@@ -1821,7 +1722,7 @@ QPushButton:hover { ...@@ -1821,7 +1722,7 @@ QPushButton:hover {
<string notr="true"/> <string notr="true"/>
</property> </property>
<property name="text"> <property name="text">
<string>2</string> <string>1</string>
</property> </property>
</widget> </widget>
</item> </item>
...@@ -1829,14 +1730,14 @@ QPushButton:hover { ...@@ -1829,14 +1730,14 @@ QPushButton:hover {
<widget class="QPushButton" name="btn_num3_refund"> <widget class="QPushButton" name="btn_num3_refund">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="cursor"> <property name="cursor">
...@@ -1854,14 +1755,14 @@ QPushButton:hover { ...@@ -1854,14 +1755,14 @@ QPushButton:hover {
<widget class="QPushButton" name="btn_confirm01_refund"> <widget class="QPushButton" name="btn_confirm01_refund">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>51</width> <width>69</width>
<height>106</height> <height>120</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>51</width> <width>69</width>
<height>106</height> <height>120</height>
</size> </size>
</property> </property>
<property name="cursor"> <property name="cursor">
...@@ -1879,14 +1780,14 @@ QPushButton:hover { ...@@ -1879,14 +1780,14 @@ QPushButton:hover {
<widget class="QPushButton" name="btn_num0_refund"> <widget class="QPushButton" name="btn_num0_refund">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="cursor"> <property name="cursor">
...@@ -1904,14 +1805,14 @@ QPushButton:hover { ...@@ -1904,14 +1805,14 @@ QPushButton:hover {
<widget class="QPushButton" name="btn_num00_refund"> <widget class="QPushButton" name="btn_num00_refund">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="cursor"> <property name="cursor">
...@@ -1929,14 +1830,14 @@ QPushButton:hover { ...@@ -1929,14 +1830,14 @@ QPushButton:hover {
<widget class="QPushButton" name="btn_numdot_refund"> <widget class="QPushButton" name="btn_numdot_refund">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>52</width> <width>70</width>
<height>52</height> <height>57</height>
</size> </size>
</property> </property>
<property name="cursor"> <property name="cursor">
...@@ -1958,8 +1859,8 @@ QPushButton:hover { ...@@ -1958,8 +1859,8 @@ QPushButton:hover {
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>630</width> <width>613</width>
<height>532</height> <height>460</height>
</rect> </rect>
</property> </property>
<property name="styleSheet"> <property name="styleSheet">
...@@ -1969,7 +1870,7 @@ QPushButton:hover { ...@@ -1969,7 +1870,7 @@ QPushButton:hover {
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>40</x> <x>40</x>
<y>110</y> <y>90</y>
<width>431</width> <width>431</width>
<height>261</height> <height>261</height>
</rect> </rect>
...@@ -2427,7 +2328,7 @@ QPushButton:hover { ...@@ -2427,7 +2328,7 @@ QPushButton:hover {
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>40</x> <x>40</x>
<y>40</y> <y>20</y>
<width>61</width> <width>61</width>
<height>61</height> <height>61</height>
</rect> </rect>
...@@ -2459,7 +2360,7 @@ image: url(:/img/fmclient-icon_payment_success.png);</string> ...@@ -2459,7 +2360,7 @@ image: url(:/img/fmclient-icon_payment_success.png);</string>
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>110</x> <x>110</x>
<y>50</y> <y>30</y>
<width>121</width> <width>121</width>
<height>41</height> <height>41</height>
</rect> </rect>
...@@ -2491,15 +2392,15 @@ font: 75 24px &quot;微软雅黑&quot;;</string> ...@@ -2491,15 +2392,15 @@ font: 75 24px &quot;微软雅黑&quot;;</string>
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>40</x> <x>40</x>
<y>390</y> <y>360</y>
<width>371</width> <width>371</width>
<height>61</height> <height>58</height>
</rect> </rect>
</property> </property>
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>0</width> <width>0</width>
<height>42</height> <height>0</height>
</size> </size>
</property> </property>
<property name="font"> <property name="font">
...@@ -2527,8 +2428,8 @@ border:0px</string> ...@@ -2527,8 +2428,8 @@ border:0px</string>
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>630</width> <width>613</width>
<height>532</height> <height>460</height>
</rect> </rect>
</property> </property>
<property name="styleSheet"> <property name="styleSheet">
...@@ -2757,13 +2658,15 @@ QHeaderView::section { ...@@ -2757,13 +2658,15 @@ QHeaderView::section {
</layout> </layout>
</widget> </widget>
<zorder>wdg_query_main</zorder> <zorder>wdg_query_main</zorder>
<zorder>wdg_pay_main</zorder>
<zorder>wdg_success_main</zorder> <zorder>wdg_success_main</zorder>
<zorder>wdg_refund_main</zorder> <zorder>wdg_refund_main</zorder>
<zorder>wdg_pay_main</zorder>
</widget> </widget>
</item> </item>
</layout> </layout>
</item> </item>
</layout>
</item>
<item> <item>
<widget class="QFrame" name="frm_bottom_bg"> <widget class="QFrame" name="frm_bottom_bg">
<property name="minimumSize"> <property name="minimumSize">
...@@ -2813,7 +2716,7 @@ QHeaderView::section { ...@@ -2813,7 +2716,7 @@ QHeaderView::section {
</property> </property>
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0">
<size> <size>
<width>60</width> <width>20</width>
<height>20</height> <height>20</height>
</size> </size>
</property> </property>
...@@ -2907,36 +2810,6 @@ QHeaderView::section { ...@@ -2907,36 +2810,6 @@ QHeaderView::section {
</property> </property>
</spacer> </spacer>
</item> </item>
<item>
<widget class="QLabel" name="label_date">
<property name="styleSheet">
<string notr="true">#label_date
{
color: rgb(255, 255, 255);
font: 12pt &quot;微软雅黑&quot;;
}</string>
</property>
<property name="text">
<string>营业日:</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_8">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Maximum</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>60</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout> </layout>
</widget> </widget>
</item> </item>
......
...@@ -19,7 +19,7 @@ FMPPayWait::FMPPayWait(QWidget *parent) : QDialog(parent), ui(new Ui::FMPPayWait ...@@ -19,7 +19,7 @@ FMPPayWait::FMPPayWait(QWidget *parent) : QDialog(parent), ui(new Ui::FMPPayWait
qRegisterMetaType<FMPPayWait::Type>("FMPPayWait::Type"); qRegisterMetaType<FMPPayWait::Type>("FMPPayWait::Type");
setStyleSheet("QWidget#mainWdg{background:rgba(110,110,110,0.5)}"); //setStyleSheet("QWidget#mainWdg{background:rgba(110,110,110,0.5)}");
} }
FMPPayWait::~FMPPayWait() FMPPayWait::~FMPPayWait()
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<string notr="true">#FMPPayWait <string notr="true">#FMPPayWait
{ {
opacity: 223; opacity: 223;
background-color: rgb(148, 148, 148); background-color: rgb(148, 148, 148, 0);
} }
#label_logo #label_logo
......
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