Commit bb54d3fc by 李定达

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

parent 2e70299b
......@@ -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)
{
......
......@@ -6,19 +6,19 @@
<rect>
<x>0</x>
<y>0</y>
<width>240</width>
<width>160</width>
<height>80</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>240</width>
<width>160</width>
<height>80</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>240</width>
<width>160</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>
......
......@@ -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
......
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