...
This commit is contained in:
parent
f8421cd75d
commit
6ec6f32fee
@ -126,11 +126,11 @@
|
|||||||
<Import Project="$(QtMsBuild)\qt_defaults.props" />
|
<Import Project="$(QtMsBuild)\qt_defaults.props" />
|
||||||
</ImportGroup>
|
</ImportGroup>
|
||||||
<PropertyGroup Label="QtSettings" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
<PropertyGroup Label="QtSettings" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
<QtInstall>5.13.1_msvc2017_x64</QtInstall>
|
<QtInstall>5.14.2_msvc2017_x64</QtInstall>
|
||||||
<QtModules>core;gui;widgets</QtModules>
|
<QtModules>core;gui;widgets</QtModules>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Label="QtSettings" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
<PropertyGroup Label="QtSettings" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
<QtInstall>5.13.1_msvc2017_x64</QtInstall>
|
<QtInstall>5.14.2_msvc2017_x64</QtInstall>
|
||||||
<QtModules>core;gui;widgets</QtModules>
|
<QtModules>core;gui;widgets</QtModules>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ImportGroup Condition="Exists('$(QtMsBuild)\qt.props')">
|
<ImportGroup Condition="Exists('$(QtMsBuild)\qt.props')">
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
** Meta object code from reading C++ file 'QCarDealerAchievementWidget.h'
|
** Meta object code from reading C++ file 'QCarDealerAchievementWidget.h'
|
||||||
**
|
**
|
||||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.13.1)
|
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.14.2)
|
||||||
**
|
**
|
||||||
** WARNING! All changes made in this file will be lost!
|
** WARNING! All changes made in this file will be lost!
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
@ -13,7 +13,7 @@
|
|||||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||||
#error "The header file 'QCarDealerAchievementWidget.h' doesn't include <QObject>."
|
#error "The header file 'QCarDealerAchievementWidget.h' doesn't include <QObject>."
|
||||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||||
#error "This file was generated using the moc from 5.13.1. It"
|
#error "This file was generated using the moc from 5.14.2. It"
|
||||||
#error "cannot be used with the include files from this version of Qt."
|
#error "cannot be used with the include files from this version of Qt."
|
||||||
#error "(The moc has changed too much.)"
|
#error "(The moc has changed too much.)"
|
||||||
#endif
|
#endif
|
||||||
@ -22,8 +22,8 @@ QT_BEGIN_MOC_NAMESPACE
|
|||||||
QT_WARNING_PUSH
|
QT_WARNING_PUSH
|
||||||
QT_WARNING_DISABLE_DEPRECATED
|
QT_WARNING_DISABLE_DEPRECATED
|
||||||
struct qt_meta_stringdata_QCarDealerAchievementWidget_t {
|
struct qt_meta_stringdata_QCarDealerAchievementWidget_t {
|
||||||
QByteArrayData data[1];
|
QByteArrayData data[3];
|
||||||
char stringdata0[28];
|
char stringdata0[38];
|
||||||
};
|
};
|
||||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||||
@ -32,10 +32,13 @@ struct qt_meta_stringdata_QCarDealerAchievementWidget_t {
|
|||||||
)
|
)
|
||||||
static const qt_meta_stringdata_QCarDealerAchievementWidget_t qt_meta_stringdata_QCarDealerAchievementWidget = {
|
static const qt_meta_stringdata_QCarDealerAchievementWidget_t qt_meta_stringdata_QCarDealerAchievementWidget = {
|
||||||
{
|
{
|
||||||
QT_MOC_LITERAL(0, 0, 27) // "QCarDealerAchievementWidget"
|
QT_MOC_LITERAL(0, 0, 27), // "QCarDealerAchievementWidget"
|
||||||
|
QT_MOC_LITERAL(1, 28, 8), // "onImport"
|
||||||
|
QT_MOC_LITERAL(2, 37, 0) // ""
|
||||||
|
|
||||||
},
|
},
|
||||||
"QCarDealerAchievementWidget"
|
"QCarDealerAchievementWidget\0onImport\0"
|
||||||
|
""
|
||||||
};
|
};
|
||||||
#undef QT_MOC_LITERAL
|
#undef QT_MOC_LITERAL
|
||||||
|
|
||||||
@ -45,26 +48,37 @@ static const uint qt_meta_data_QCarDealerAchievementWidget[] = {
|
|||||||
8, // revision
|
8, // revision
|
||||||
0, // classname
|
0, // classname
|
||||||
0, 0, // classinfo
|
0, 0, // classinfo
|
||||||
0, 0, // methods
|
1, 14, // methods
|
||||||
0, 0, // properties
|
0, 0, // properties
|
||||||
0, 0, // enums/sets
|
0, 0, // enums/sets
|
||||||
0, 0, // constructors
|
0, 0, // constructors
|
||||||
0, // flags
|
0, // flags
|
||||||
0, // signalCount
|
0, // signalCount
|
||||||
|
|
||||||
|
// slots: name, argc, parameters, tag, flags
|
||||||
|
1, 0, 19, 2, 0x09 /* Protected */,
|
||||||
|
|
||||||
|
// slots: parameters
|
||||||
|
QMetaType::Void,
|
||||||
|
|
||||||
0 // eod
|
0 // eod
|
||||||
};
|
};
|
||||||
|
|
||||||
void QCarDealerAchievementWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
void QCarDealerAchievementWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||||
{
|
{
|
||||||
Q_UNUSED(_o);
|
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||||
Q_UNUSED(_id);
|
auto *_t = static_cast<QCarDealerAchievementWidget *>(_o);
|
||||||
Q_UNUSED(_c);
|
Q_UNUSED(_t)
|
||||||
|
switch (_id) {
|
||||||
|
case 0: _t->onImport(); break;
|
||||||
|
default: ;
|
||||||
|
}
|
||||||
|
}
|
||||||
Q_UNUSED(_a);
|
Q_UNUSED(_a);
|
||||||
}
|
}
|
||||||
|
|
||||||
QT_INIT_METAOBJECT const QMetaObject QCarDealerAchievementWidget::staticMetaObject = { {
|
QT_INIT_METAOBJECT const QMetaObject QCarDealerAchievementWidget::staticMetaObject = { {
|
||||||
&QWidget::staticMetaObject,
|
QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
|
||||||
qt_meta_stringdata_QCarDealerAchievementWidget.data,
|
qt_meta_stringdata_QCarDealerAchievementWidget.data,
|
||||||
qt_meta_data_QCarDealerAchievementWidget,
|
qt_meta_data_QCarDealerAchievementWidget,
|
||||||
qt_static_metacall,
|
qt_static_metacall,
|
||||||
@ -89,6 +103,17 @@ void *QCarDealerAchievementWidget::qt_metacast(const char *_clname)
|
|||||||
int QCarDealerAchievementWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
int QCarDealerAchievementWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||||
{
|
{
|
||||||
_id = QWidget::qt_metacall(_c, _id, _a);
|
_id = QWidget::qt_metacall(_c, _id, _a);
|
||||||
|
if (_id < 0)
|
||||||
|
return _id;
|
||||||
|
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||||
|
if (_id < 1)
|
||||||
|
qt_static_metacall(this, _c, _id, _a);
|
||||||
|
_id -= 1;
|
||||||
|
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||||
|
if (_id < 1)
|
||||||
|
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||||
|
_id -= 1;
|
||||||
|
}
|
||||||
return _id;
|
return _id;
|
||||||
}
|
}
|
||||||
QT_WARNING_POP
|
QT_WARNING_POP
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
** Meta object code from reading C++ file 'QCarDealerSchemaWidget.h'
|
** Meta object code from reading C++ file 'QCarDealerSchemaWidget.h'
|
||||||
**
|
**
|
||||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.13.1)
|
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.14.2)
|
||||||
**
|
**
|
||||||
** WARNING! All changes made in this file will be lost!
|
** WARNING! All changes made in this file will be lost!
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
@ -13,7 +13,7 @@
|
|||||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||||
#error "The header file 'QCarDealerSchemaWidget.h' doesn't include <QObject>."
|
#error "The header file 'QCarDealerSchemaWidget.h' doesn't include <QObject>."
|
||||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||||
#error "This file was generated using the moc from 5.13.1. It"
|
#error "This file was generated using the moc from 5.14.2. It"
|
||||||
#error "cannot be used with the include files from this version of Qt."
|
#error "cannot be used with the include files from this version of Qt."
|
||||||
#error "(The moc has changed too much.)"
|
#error "(The moc has changed too much.)"
|
||||||
#endif
|
#endif
|
||||||
@ -64,7 +64,7 @@ void QCarDealerSchemaWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _
|
|||||||
}
|
}
|
||||||
|
|
||||||
QT_INIT_METAOBJECT const QMetaObject QCarDealerSchemaWidget::staticMetaObject = { {
|
QT_INIT_METAOBJECT const QMetaObject QCarDealerSchemaWidget::staticMetaObject = { {
|
||||||
&QWidget::staticMetaObject,
|
QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
|
||||||
qt_meta_stringdata_QCarDealerSchemaWidget.data,
|
qt_meta_stringdata_QCarDealerSchemaWidget.data,
|
||||||
qt_meta_data_QCarDealerSchemaWidget,
|
qt_meta_data_QCarDealerSchemaWidget,
|
||||||
qt_static_metacall,
|
qt_static_metacall,
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
** Meta object code from reading C++ file 'QDataManagementWidget.h'
|
** Meta object code from reading C++ file 'QDataManagementWidget.h'
|
||||||
**
|
**
|
||||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.13.1)
|
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.14.2)
|
||||||
**
|
**
|
||||||
** WARNING! All changes made in this file will be lost!
|
** WARNING! All changes made in this file will be lost!
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
@ -13,7 +13,7 @@
|
|||||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||||
#error "The header file 'QDataManagementWidget.h' doesn't include <QObject>."
|
#error "The header file 'QDataManagementWidget.h' doesn't include <QObject>."
|
||||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||||
#error "This file was generated using the moc from 5.13.1. It"
|
#error "This file was generated using the moc from 5.14.2. It"
|
||||||
#error "cannot be used with the include files from this version of Qt."
|
#error "cannot be used with the include files from this version of Qt."
|
||||||
#error "(The moc has changed too much.)"
|
#error "(The moc has changed too much.)"
|
||||||
#endif
|
#endif
|
||||||
@ -64,7 +64,7 @@ void QDataManagementWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c
|
|||||||
}
|
}
|
||||||
|
|
||||||
QT_INIT_METAOBJECT const QMetaObject QDataManagementWidget::staticMetaObject = { {
|
QT_INIT_METAOBJECT const QMetaObject QDataManagementWidget::staticMetaObject = { {
|
||||||
&QWidget::staticMetaObject,
|
QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
|
||||||
qt_meta_stringdata_QDataManagementWidget.data,
|
qt_meta_stringdata_QDataManagementWidget.data,
|
||||||
qt_meta_data_QDataManagementWidget,
|
qt_meta_data_QDataManagementWidget,
|
||||||
qt_static_metacall,
|
qt_static_metacall,
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
** Meta object code from reading C++ file 'QRepairOrderWidget.h'
|
** Meta object code from reading C++ file 'QRepairOrderWidget.h'
|
||||||
**
|
**
|
||||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.13.1)
|
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.14.2)
|
||||||
**
|
**
|
||||||
** WARNING! All changes made in this file will be lost!
|
** WARNING! All changes made in this file will be lost!
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
@ -13,7 +13,7 @@
|
|||||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||||
#error "The header file 'QRepairOrderWidget.h' doesn't include <QObject>."
|
#error "The header file 'QRepairOrderWidget.h' doesn't include <QObject>."
|
||||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||||
#error "This file was generated using the moc from 5.13.1. It"
|
#error "This file was generated using the moc from 5.14.2. It"
|
||||||
#error "cannot be used with the include files from this version of Qt."
|
#error "cannot be used with the include files from this version of Qt."
|
||||||
#error "(The moc has changed too much.)"
|
#error "(The moc has changed too much.)"
|
||||||
#endif
|
#endif
|
||||||
@ -64,7 +64,7 @@ void QRepairOrderWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, i
|
|||||||
}
|
}
|
||||||
|
|
||||||
QT_INIT_METAOBJECT const QMetaObject QRepairOrderWidget::staticMetaObject = { {
|
QT_INIT_METAOBJECT const QMetaObject QRepairOrderWidget::staticMetaObject = { {
|
||||||
&QWidget::staticMetaObject,
|
QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
|
||||||
qt_meta_stringdata_QRepairOrderWidget.data,
|
qt_meta_stringdata_QRepairOrderWidget.data,
|
||||||
qt_meta_data_QRepairOrderWidget,
|
qt_meta_data_QRepairOrderWidget,
|
||||||
qt_static_metacall,
|
qt_static_metacall,
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
** Meta object code from reading C++ file 'QLoginDialog.h'
|
** Meta object code from reading C++ file 'QLoginDialog.h'
|
||||||
**
|
**
|
||||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.13.1)
|
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.14.2)
|
||||||
**
|
**
|
||||||
** WARNING! All changes made in this file will be lost!
|
** WARNING! All changes made in this file will be lost!
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
@ -13,7 +13,7 @@
|
|||||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||||
#error "The header file 'QLoginDialog.h' doesn't include <QObject>."
|
#error "The header file 'QLoginDialog.h' doesn't include <QObject>."
|
||||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||||
#error "This file was generated using the moc from 5.13.1. It"
|
#error "This file was generated using the moc from 5.14.2. It"
|
||||||
#error "cannot be used with the include files from this version of Qt."
|
#error "cannot be used with the include files from this version of Qt."
|
||||||
#error "(The moc has changed too much.)"
|
#error "(The moc has changed too much.)"
|
||||||
#endif
|
#endif
|
||||||
@ -98,7 +98,7 @@ void QLoginDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id
|
|||||||
}
|
}
|
||||||
|
|
||||||
QT_INIT_METAOBJECT const QMetaObject QLoginDialog::staticMetaObject = { {
|
QT_INIT_METAOBJECT const QMetaObject QLoginDialog::staticMetaObject = { {
|
||||||
&QDialog::staticMetaObject,
|
QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
|
||||||
qt_meta_stringdata_QLoginDialog.data,
|
qt_meta_stringdata_QLoginDialog.data,
|
||||||
qt_meta_data_QLoginDialog,
|
qt_meta_data_QLoginDialog,
|
||||||
qt_static_metacall,
|
qt_static_metacall,
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
** Meta object code from reading C++ file 'QMainFrame.h'
|
** Meta object code from reading C++ file 'QMainFrame.h'
|
||||||
**
|
**
|
||||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.13.1)
|
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.14.2)
|
||||||
**
|
**
|
||||||
** WARNING! All changes made in this file will be lost!
|
** WARNING! All changes made in this file will be lost!
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
@ -13,7 +13,7 @@
|
|||||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||||
#error "The header file 'QMainFrame.h' doesn't include <QObject>."
|
#error "The header file 'QMainFrame.h' doesn't include <QObject>."
|
||||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||||
#error "This file was generated using the moc from 5.13.1. It"
|
#error "This file was generated using the moc from 5.14.2. It"
|
||||||
#error "cannot be used with the include files from this version of Qt."
|
#error "cannot be used with the include files from this version of Qt."
|
||||||
#error "(The moc has changed too much.)"
|
#error "(The moc has changed too much.)"
|
||||||
#endif
|
#endif
|
||||||
@ -64,7 +64,7 @@ void QMainFrame::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id,
|
|||||||
}
|
}
|
||||||
|
|
||||||
QT_INIT_METAOBJECT const QMetaObject QMainFrame::staticMetaObject = { {
|
QT_INIT_METAOBJECT const QMetaObject QMainFrame::staticMetaObject = { {
|
||||||
&QMainWindow::staticMetaObject,
|
QMetaObject::SuperData::link<QMainWindow::staticMetaObject>(),
|
||||||
qt_meta_stringdata_QMainFrame.data,
|
qt_meta_stringdata_QMainFrame.data,
|
||||||
qt_meta_data_QMainFrame,
|
qt_meta_data_QMainFrame,
|
||||||
qt_static_metacall,
|
qt_static_metacall,
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
** Resource object code
|
** Resource object code
|
||||||
**
|
**
|
||||||
** Created by: The Resource Compiler for Qt version 5.13.1
|
** Created by: The Resource Compiler for Qt version 5.14.2
|
||||||
**
|
**
|
||||||
** WARNING! All changes made in this file will be lost!
|
** WARNING! All changes made in this file will be lost!
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
@ -20,7 +20,7 @@ Global
|
|||||||
HideSolutionNode = FALSE
|
HideSolutionNode = FALSE
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
|
Qt5Version = 5.14.2_msvc2017_x64
|
||||||
SolutionGuid = {7A1F667A-8FB5-4B18-8D74-E810D205DFA9}
|
SolutionGuid = {7A1F667A-8FB5-4B18-8D74-E810D205DFA9}
|
||||||
Qt5Version = 5.13.1_msvc2017_x64
|
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
EndGlobal
|
EndGlobal
|
||||||
|
@ -1,9 +1,13 @@
|
|||||||
#include "QCarDealerAchievementWidget.h"
|
#include <QFileDialog>
|
||||||
|
#include "QCarDealerAchievementWidget.h"
|
||||||
|
#include "../../Data/DataManipulation/Excel/LoadFromExcel.h"
|
||||||
|
|
||||||
QCarDealerAchievementWidget::QCarDealerAchievementWidget(QWidget *parent)
|
using namespace std;
|
||||||
: QWidget(parent)
|
|
||||||
|
QCarDealerAchievementWidget::QCarDealerAchievementWidget( QWidget * parent )
|
||||||
|
: QWidget( parent )
|
||||||
{
|
{
|
||||||
ui.setupUi(this);
|
ui.setupUi( this );
|
||||||
|
|
||||||
init();
|
init();
|
||||||
}
|
}
|
||||||
@ -14,6 +18,26 @@ QCarDealerAchievementWidget::~QCarDealerAchievementWidget()
|
|||||||
|
|
||||||
void QCarDealerAchievementWidget::onImport()
|
void QCarDealerAchievementWidget::onImport()
|
||||||
{
|
{
|
||||||
|
//选择文件
|
||||||
|
QString xlsxFilePath = QFileDialog::getOpenFileName( this,
|
||||||
|
"请选择要导入的数据文件",
|
||||||
|
".", "xlsx文件(*.xlsx)" );
|
||||||
|
if ( xlsxFilePath.isEmpty() == true )
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
achievementVector.clear();
|
||||||
|
|
||||||
|
LoadCarDealerAchievementFromXlsx( xlsxFilePath.toStdWString(),
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
achievementVector );
|
||||||
|
|
||||||
|
//以后要修改
|
||||||
|
string userName = "car_dealer";
|
||||||
|
string password = "cpic123456";
|
||||||
|
string tnsName = "xmcx1";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -35,5 +59,5 @@ void QCarDealerAchievementWidget::initWidgets()
|
|||||||
|
|
||||||
void QCarDealerAchievementWidget::initSignal()
|
void QCarDealerAchievementWidget::initSignal()
|
||||||
{
|
{
|
||||||
connect(ui.pButtonImport, SIGNAL(clicked()), this, SLOT(onImport()));
|
connect( ui.pButtonImport, SIGNAL( clicked() ), this, SLOT( onImport() ) );
|
||||||
}
|
}
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
#include "ui_QCarDealerAchievementWidget.h"
|
#include "ui_QCarDealerAchievementWidget.h"
|
||||||
|
#include "../../Data/Datastructure/CarDealerAchievement/CarDealerAchievement.h"
|
||||||
|
|
||||||
class QCarDealerAchievementWidget : public QWidget
|
class QCarDealerAchievementWidget : public QWidget
|
||||||
{
|
{
|
||||||
@ -24,4 +25,7 @@ private:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::QCarDealerAchievementWidget ui;
|
Ui::QCarDealerAchievementWidget ui;
|
||||||
|
|
||||||
|
//数据
|
||||||
|
std::vector<CarDealerAchievement> achievementVector;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user