提交信息!
This commit is contained in:
@@ -81,6 +81,9 @@ void QCarDealerAchievementWidget::initData()
|
||||
void QCarDealerAchievementWidget::initWidgets()
|
||||
{
|
||||
setLayout( ui.pLayoutMain );
|
||||
|
||||
ui.pTableWidgetAchievement->resizeColumnsToContents();
|
||||
|
||||
}
|
||||
|
||||
void QCarDealerAchievementWidget::initSignal()
|
||||
|
@@ -44,7 +44,7 @@ void QDataManagementWidget::initWidgets()
|
||||
pLayout->addWidget( &achievementWidget );
|
||||
pLayoutScrollArea->addWidget( pScrollArea );
|
||||
pScrollArea->setLayout( pLayout );
|
||||
ui.carDealerAchievementTab->setLayout( pLayoutScrollArea );
|
||||
ui.pCarDealerAchievementTab->setLayout( pLayoutScrollArea );
|
||||
|
||||
//车商方案表
|
||||
pScrollArea = new QScrollArea(nullptr);
|
||||
@@ -57,10 +57,46 @@ void QDataManagementWidget::initWidgets()
|
||||
pLayout->addWidget(&schemaWidget);
|
||||
pLayoutScrollArea->addWidget(pScrollArea);
|
||||
pScrollArea->setLayout(pLayout);
|
||||
ui.carDealerSchemaTab->setLayout(pLayoutScrollArea);
|
||||
ui.pCarDealerSchemaTab->setLayout(pLayoutScrollArea);
|
||||
|
||||
//送返修推荐表
|
||||
|
||||
//卢霖城送返修推荐表
|
||||
pScrollArea = new QScrollArea(nullptr);
|
||||
pLayoutScrollArea = new QGridLayout();
|
||||
pLayout = new QGridLayout();
|
||||
|
||||
pLayoutScrollArea->setMargin(0);
|
||||
pLayout->setMargin(0);
|
||||
|
||||
pLayout->addWidget(&repairRecommendationWidget);
|
||||
pLayoutScrollArea->addWidget(pScrollArea);
|
||||
pScrollArea->setLayout(pLayout);
|
||||
ui.pRepairRecommandationTab->setLayout(pLayoutScrollArea);
|
||||
|
||||
//新送返修监控
|
||||
pScrollArea = new QScrollArea(nullptr);
|
||||
pLayoutScrollArea = new QGridLayout();
|
||||
pLayout = new QGridLayout();
|
||||
|
||||
pLayoutScrollArea->setMargin(0);
|
||||
pLayout->setMargin(0);
|
||||
|
||||
pLayout->addWidget(&repairRecommendationWidget);
|
||||
pLayoutScrollArea->addWidget(pScrollArea);
|
||||
pScrollArea->setLayout(pLayout);
|
||||
ui.pNewRepairMonitorTab->setLayout(pLayoutScrollArea);
|
||||
|
||||
//送返修工单
|
||||
pScrollArea = new QScrollArea(nullptr);
|
||||
pLayoutScrollArea = new QGridLayout();
|
||||
pLayout = new QGridLayout();
|
||||
|
||||
pLayoutScrollArea->setMargin(0);
|
||||
pLayout->setMargin(0);
|
||||
|
||||
pLayout->addWidget(&repairRecommendationWidget);
|
||||
pLayoutScrollArea->addWidget(pScrollArea);
|
||||
pScrollArea->setLayout(pLayout);
|
||||
ui.pRepairOrderTab->setLayout(pLayoutScrollArea);
|
||||
}
|
||||
|
||||
void QDataManagementWidget::initSignal()
|
||||
|
@@ -4,13 +4,14 @@
|
||||
#include "ui_QDataManagementWidget.h"
|
||||
#include "QCarDealerAchievementWidget.h"
|
||||
#include "QCarDealerSchemaWidget.h"
|
||||
#include "../QRepairRecommendationWidget/QRepairRecommendationWidget.h"
|
||||
|
||||
class QDataManagementWidget : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
QDataManagementWidget(QWidget *parent = Q_NULLPTR);
|
||||
QDataManagementWidget( QWidget * parent = Q_NULLPTR );
|
||||
~QDataManagementWidget();
|
||||
|
||||
private:
|
||||
@@ -18,9 +19,11 @@ private:
|
||||
void initData();
|
||||
void initWidgets();
|
||||
void initSignal();
|
||||
|
||||
|
||||
private:
|
||||
Ui::QDataManagementWidget ui;
|
||||
Ui::QDataManagementWidget ui;
|
||||
|
||||
QCarDealerAchievementWidget achievementWidget;
|
||||
QCarDealerSchemaWidget schemaWidget;
|
||||
QCarDealerSchemaWidget schemaWidget;
|
||||
QRepairRecommendationWidget repairRecommendationWidget;
|
||||
};
|
||||
|
@@ -48,27 +48,27 @@
|
||||
<property name="currentIndex">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="carDealerAchievementTab">
|
||||
<widget class="QWidget" name="pCarDealerAchievementTab">
|
||||
<attribute name="title">
|
||||
<string>车商业绩表</string>
|
||||
</attribute>
|
||||
</widget>
|
||||
<widget class="QWidget" name="carDealerSchemaTab">
|
||||
<widget class="QWidget" name="pCarDealerSchemaTab">
|
||||
<attribute name="title">
|
||||
<string>车商方案表</string>
|
||||
</attribute>
|
||||
</widget>
|
||||
<widget class="QWidget" name="tab_3">
|
||||
<widget class="QWidget" name="pRepairOrderTab">
|
||||
<attribute name="title">
|
||||
<string>送返修工单</string>
|
||||
</attribute>
|
||||
</widget>
|
||||
<widget class="QWidget" name="tab_4">
|
||||
<widget class="QWidget" name="pNewRepairMonitorTab">
|
||||
<attribute name="title">
|
||||
<string>新送返修监控报表</string>
|
||||
</attribute>
|
||||
</widget>
|
||||
<widget class="QWidget" name="tab_5">
|
||||
<widget class="QWidget" name="pRepairRecommandationTab">
|
||||
<attribute name="title">
|
||||
<string>送返修推荐表</string>
|
||||
</attribute>
|
||||
|
Reference in New Issue
Block a user