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
f3cf8eae
Commit
f3cf8eae
authored
Jan 08, 2019
by
xiaoqing.gu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合并新订单详情和新主界面代码
parent
5c0112b7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
takeout/view/newmainform.cpp
+2
-2
takeout/view/newmainform.h
+2
-2
No files found.
takeout/view/newmainform.cpp
View file @
f3cf8eae
...
...
@@ -236,11 +236,11 @@ NewMainForm::NewMainForm(QWidget *parent) :
_alertForm
=
new
AlertForm
(
this
);
_padForm
=
new
PadForm
(
this
);
_detailForm
=
new
DetailForm
(
this
);
_detailForm
=
new
New
DetailForm
(
this
);
connect
(
ui
->
newmaintablewidget_order
,
&
QTableWidget
::
itemClicked
,
this
,
&
NewMainForm
::
onMainTableItemClicked
);
connect
(
_detailForm
,
&
DetailForm
::
showAlert
,
this
,
&
NewMainForm
::
onShowAlert
);
connect
(
_detailForm
,
&
New
DetailForm
::
showAlert
,
this
,
&
NewMainForm
::
onShowAlert
);
_padForm
->
move
(
this
->
pos
().
x
()
+
212
,
this
->
pos
().
y
()
+
100
);
_padForm
->
hide
();
connect
(
_padForm
,
&
PadForm
::
numClicked
,
this
,
&
NewMainForm
::
onNumClicked
);
...
...
takeout/view/newmainform.h
View file @
f3cf8eae
...
...
@@ -19,7 +19,7 @@
#include "view/alertForm.h"
#include "view/sysTray.h"
#include "view/padForm.h"
#include "view/
detailF
orm.h"
#include "view/
newdetailf
orm.h"
#define MAIN_ORDER "order"
...
...
@@ -147,7 +147,7 @@ private:
// 搜索结果窗口
QListWidget
*
_resultForm
;
// 订单详情页面
DetailForm
*
_detailForm
;
New
DetailForm
*
_detailForm
;
private
:
void
InitOrderWidget
(
QString
type
);
void
InitSetWidget
();
...
...
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