Commit 5603a0b2 by 李定达

1.调整界面栏目分割;2.调整悬浮窗拖动不灵问题

parent 045b057c
...@@ -21,7 +21,7 @@ LIBS += -L$$PWD/lib -llibeay32 -lssleay32 -lwinspool ...@@ -21,7 +21,7 @@ LIBS += -L$$PWD/lib -llibeay32 -lssleay32 -lwinspool
LIBS += -lWs2_32 LIBS += -lWs2_32
LIBS += -lDbghelp LIBS += -lDbghelp
#DEFINES += USE_QAACTION DEFINES += USE_QAACTION
#DEFINES += FM_TEST #DEFINES += FM_TEST
#DEFINES += FM_MAIN_TEST #DEFINES += FM_MAIN_TEST
......
...@@ -56,6 +56,9 @@ FloatForm::FloatForm(QWidget *parent) : ...@@ -56,6 +56,9 @@ FloatForm::FloatForm(QWidget *parent) :
ui->label_newnum->setText("0"); ui->label_newnum->setText("0");
ui->label_refundnum->setText("0"); ui->label_refundnum->setText("0");
//设置拖动图层透明度
ui->widget_touch->setWindowOpacity(0.1);
_Init(); _Init();
} }
......
...@@ -150,9 +150,20 @@ ...@@ -150,9 +150,20 @@
</rect> </rect>
</property> </property>
</widget> </widget>
<widget class="QWidget" name="widget_touch" native="true">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>242</width>
<height>100</height>
</rect>
</property>
</widget>
<zorder>widget_base</zorder> <zorder>widget_base</zorder>
<zorder>widget_login</zorder> <zorder>widget_login</zorder>
<zorder>widget_synshow</zorder> <zorder>widget_synshow</zorder>
<zorder>widget_touch</zorder>
</widget> </widget>
<resources/> <resources/>
<connections/> <connections/>
......
...@@ -257,6 +257,13 @@ void MainForm::_Init() ...@@ -257,6 +257,13 @@ void MainForm::_Init()
m_prevBtn = ui->mainBtnNew; m_prevBtn = ui->mainBtnNew;
m_prevTable = ui->mainTableNew; m_prevTable = ui->mainTableNew;
m_currentTable = ui->mainTableNew; m_currentTable = ui->mainTableNew;
ui->mainTableFinsh->horizontalHeader()->setSectionResizeMode(QHeaderView::Stretch);
ui->mainTableMake->horizontalHeader()->setSectionResizeMode(QHeaderView::Stretch);
ui->mainTableMakeOver->horizontalHeader()->setSectionResizeMode(QHeaderView::Stretch);
ui->mainTableNew->horizontalHeader()->setSectionResizeMode(QHeaderView::Stretch);
ui->mainTableOther->horizontalHeader()->setSectionResizeMode(QHeaderView::Stretch);
ui->mainTableRefund->horizontalHeader()->setSectionResizeMode(QHeaderView::Stretch);
ui->mainTableSend->horizontalHeader()->setSectionResizeMode(QHeaderView::Stretch);
} }
void MainForm::onSetCurrentTime() void MainForm::onSetCurrentTime()
...@@ -607,6 +614,7 @@ void MainForm::onChangeOrderStatus(OrderObject *orderObject) ...@@ -607,6 +614,7 @@ void MainForm::onChangeOrderStatus(OrderObject *orderObject)
QString btnText = QString("%1\n%2").arg(table->rowCount()).arg(tabBtn->property("name").toString()); QString btnText = QString("%1\n%2").arg(table->rowCount()).arg(tabBtn->property("name").toString());
tabBtn->setText(btnText); tabBtn->setText(btnText);
_SetTablesSortEnable(true); _SetTablesSortEnable(true);
//table->horizontalHeader()->setSectionResizeMode(QHeaderView::Stretch);
} }
void MainForm::onShowDeliverPickForm(const QString &orderId, const QList<DeliverObject> &delivers) void MainForm::onShowDeliverPickForm(const QString &orderId, const QList<DeliverObject> &delivers)
......
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