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
bb54d3fc
Commit
bb54d3fc
authored
Jan 04, 2019
by
李定达
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.新界面主界面初步开发完成;2.修复了一些翻页的bug
parent
2e70299b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
5 deletions
+10
-5
takeout/view/mainbtn.cpp
+1
-1
takeout/view/mainbtn.ui
+4
-4
takeout/view/newmainform.cpp
+0
-0
takeout/view/newmainform.h
+5
-0
takeout/view/newmainform.ui
+0
-0
No files found.
takeout/view/mainbtn.cpp
View file @
bb54d3fc
...
...
@@ -24,7 +24,7 @@ void MainBtn::setChecked(bool check)
QString
type
=
this
->
property
(
"type"
).
toString
();
qDebug
()
<<
"===="
<<
type
<<
";"
<<
check
<<
_type
;
//
qDebug() << "====" << type << ";" << check << _type;
if
(
type
.
compare
(
"order"
,
Qt
::
CaseInsensitive
)
==
0
)
{
...
...
takeout/view/mainbtn.ui
View file @
bb54d3fc
...
...
@@ -6,19 +6,19 @@
<rect>
<x>
0
</x>
<y>
0
</y>
<width>
24
0
</width>
<width>
16
0
</width>
<height>
80
</height>
</rect>
</property>
<property
name=
"minimumSize"
>
<size>
<width>
24
0
</width>
<width>
16
0
</width>
<height>
80
</height>
</size>
</property>
<property
name=
"maximumSize"
>
<size>
<width>
24
0
</width>
<width>
16
0
</width>
<height>
80
</height>
</size>
</property>
...
...
@@ -62,7 +62,7 @@
</property>
<property
name=
"sizeHint"
stdset=
"0"
>
<size>
<width>
38
</width>
<width>
16
</width>
<height>
20
</height>
</size>
</property>
...
...
takeout/view/newmainform.cpp
View file @
bb54d3fc
This diff is collapsed.
Click to expand it.
takeout/view/newmainform.h
View file @
bb54d3fc
...
...
@@ -79,12 +79,15 @@ private slots:
void
on_newmaincombx_name_currentIndexChanged
(
int
index
);
void
on_newmainvtn_ordersave_clicked
();
void
on_newmainbtn_down_clicked
();
void
on_newmainbtn_up_clicked
();
void
on_newmainbtn_close_clicked
();
void
on_newmainbtn_jump_clicked
();
private
:
Ui
::
NewMainForm
*
ui
;
//
...
...
@@ -120,6 +123,7 @@ private:
void
InitClassify
();
void
SetChecked
(
QPushButton
*
btn
);
void
UpdateTableWidget
(
OrderObject
&
orderObject
);
void
DeleteTableWidget
(
QString
orderid
);
//初始化设置界面
void
InitSettingWidget
(
QString
type
);
//初始化订单界面
...
...
@@ -145,6 +149,7 @@ private:
void
InitPageNum
();
void
InitMainBtn
();
void
SetMainBtnCheck
(
MainBtn
*
wgt
);
void
ClassifyOrderWithOrderType
();
};
class
NewMainFormDataProcess
...
...
takeout/view/newmainform.ui
View file @
bb54d3fc
This diff is collapsed.
Click to expand it.
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