Commit bb54d3fc by 李定达

1.新界面主界面初步开发完成;2.修复了一些翻页的bug

parent 2e70299b
...@@ -24,7 +24,7 @@ void MainBtn::setChecked(bool check) ...@@ -24,7 +24,7 @@ void MainBtn::setChecked(bool check)
QString type = this->property("type").toString(); QString type = this->property("type").toString();
qDebug() << "====" << type << ";" << check << _type; //qDebug() << "====" << type << ";" << check << _type;
if(type.compare("order",Qt::CaseInsensitive) == 0) if(type.compare("order",Qt::CaseInsensitive) == 0)
{ {
......
...@@ -6,19 +6,19 @@ ...@@ -6,19 +6,19 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>240</width> <width>160</width>
<height>80</height> <height>80</height>
</rect> </rect>
</property> </property>
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>240</width> <width>160</width>
<height>80</height> <height>80</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>240</width> <width>160</width>
<height>80</height> <height>80</height>
</size> </size>
</property> </property>
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
</property> </property>
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0">
<size> <size>
<width>38</width> <width>16</width>
<height>20</height> <height>20</height>
</size> </size>
</property> </property>
......
...@@ -79,12 +79,15 @@ private slots: ...@@ -79,12 +79,15 @@ private slots:
void on_newmaincombx_name_currentIndexChanged(int index); void on_newmaincombx_name_currentIndexChanged(int index);
void on_newmainvtn_ordersave_clicked(); void on_newmainvtn_ordersave_clicked();
void on_newmainbtn_down_clicked(); void on_newmainbtn_down_clicked();
void on_newmainbtn_up_clicked(); void on_newmainbtn_up_clicked();
void on_newmainbtn_close_clicked(); void on_newmainbtn_close_clicked();
void on_newmainbtn_jump_clicked();
private: private:
Ui::NewMainForm *ui; Ui::NewMainForm *ui;
// //
...@@ -120,6 +123,7 @@ private: ...@@ -120,6 +123,7 @@ private:
void InitClassify(); void InitClassify();
void SetChecked(QPushButton *btn); void SetChecked(QPushButton *btn);
void UpdateTableWidget(OrderObject &orderObject); void UpdateTableWidget(OrderObject &orderObject);
void DeleteTableWidget(QString orderid);
//初始化设置界面 //初始化设置界面
void InitSettingWidget(QString type); void InitSettingWidget(QString type);
//初始化订单界面 //初始化订单界面
...@@ -145,6 +149,7 @@ private: ...@@ -145,6 +149,7 @@ private:
void InitPageNum(); void InitPageNum();
void InitMainBtn(); void InitMainBtn();
void SetMainBtnCheck(MainBtn *wgt); void SetMainBtnCheck(MainBtn *wgt);
void ClassifyOrderWithOrderType();
}; };
class NewMainFormDataProcess class NewMainFormDataProcess
......
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