Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fmtakeout
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
李定达
fmtakeout
Commits
5603a0b2
Commit
5603a0b2
authored
Dec 05, 2018
by
李定达
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.调整界面栏目分割;2.调整悬浮窗拖动不灵问题
parent
045b057c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
1 deletions
+23
-1
takeout/takeout.pro
+1
-1
takeout/view/floatForm.cpp
+3
-0
takeout/view/floatForm.ui
+11
-0
takeout/view/mainForm.cpp
+8
-0
No files found.
takeout/takeout.pro
View file @
5603a0b2
...
...
@@ -21,7 +21,7 @@ LIBS += -L$$PWD/lib -llibeay32 -lssleay32 -lwinspool
LIBS
+=
-
lWs2_32
LIBS
+=
-
lDbghelp
#
DEFINES += USE_QAACTION
DEFINES
+=
USE_QAACTION
#DEFINES += FM_TEST
#DEFINES += FM_MAIN_TEST
...
...
takeout/view/floatForm.cpp
View file @
5603a0b2
...
...
@@ -56,6 +56,9 @@ FloatForm::FloatForm(QWidget *parent) :
ui
->
label_newnum
->
setText
(
"0"
);
ui
->
label_refundnum
->
setText
(
"0"
);
//设置拖动图层透明度
ui
->
widget_touch
->
setWindowOpacity
(
0.1
);
_Init
();
}
...
...
takeout/view/floatForm.ui
View file @
5603a0b2
...
...
@@ -150,9 +150,20 @@
</rect>
</property>
</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_login
</zorder>
<zorder>
widget_synshow
</zorder>
<zorder>
widget_touch
</zorder>
</widget>
<resources/>
<connections/>
...
...
takeout/view/mainForm.cpp
View file @
5603a0b2
...
...
@@ -257,6 +257,13 @@ void MainForm::_Init()
m_prevBtn
=
ui
->
mainBtnNew
;
m_prevTable
=
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
()
...
...
@@ -607,6 +614,7 @@ void MainForm::onChangeOrderStatus(OrderObject *orderObject)
QString
btnText
=
QString
(
"%1
\n
%2"
).
arg
(
table
->
rowCount
()).
arg
(
tabBtn
->
property
(
"name"
).
toString
());
tabBtn
->
setText
(
btnText
);
_SetTablesSortEnable
(
true
);
//table->horizontalHeader()->setSectionResizeMode(QHeaderView::Stretch);
}
void
MainForm
::
onShowDeliverPickForm
(
const
QString
&
orderId
,
const
QList
<
DeliverObject
>
&
delivers
)
...
...
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