From f927673fa32b671b2afd3965e6b8cca700f4242d Mon Sep 17 00:00:00 2001 From: Kane Wang Date: Sat, 27 Jun 2020 21:30:26 +0800 Subject: [PATCH] ... --- .../car_dealer_util/car_dealer_util.vcxproj | 2 + .../car_dealer_util.vcxproj.filters | 9 +++ .../moc_QCarDealerAchievementWidget.cpp | 76 +++++++++---------- .../car_dealer_util/source/qrc_resource.cpp | 60 +++++++-------- .../送返修推荐表/送返修推荐表.cpp | 2 + .../送返修推荐表/送返修推荐表.h | 4 + 代码/cpp/car_dealer_util/source/main.cpp | 62 +++++++-------- 7 files changed, 116 insertions(+), 99 deletions(-) create mode 100644 代码/cpp/car_dealer_util/source/Data/Datastructure/送返修推荐表/送返修推荐表.cpp create mode 100644 代码/cpp/car_dealer_util/source/Data/Datastructure/送返修推荐表/送返修推荐表.h diff --git a/代码/cpp/car_dealer_util/proj/vs2019/car_dealer_util/car_dealer_util.vcxproj b/代码/cpp/car_dealer_util/proj/vs2019/car_dealer_util/car_dealer_util.vcxproj index b6295f4..6ce60da 100644 --- a/代码/cpp/car_dealer_util/proj/vs2019/car_dealer_util/car_dealer_util.vcxproj +++ b/代码/cpp/car_dealer_util/proj/vs2019/car_dealer_util/car_dealer_util.vcxproj @@ -26,6 +26,7 @@ + @@ -63,6 +64,7 @@ + diff --git a/代码/cpp/car_dealer_util/proj/vs2019/car_dealer_util/car_dealer_util.vcxproj.filters b/代码/cpp/car_dealer_util/proj/vs2019/car_dealer_util/car_dealer_util.vcxproj.filters index 2dc1f1c..f3c8762 100644 --- a/代码/cpp/car_dealer_util/proj/vs2019/car_dealer_util/car_dealer_util.vcxproj.filters +++ b/代码/cpp/car_dealer_util/proj/vs2019/car_dealer_util/car_dealer_util.vcxproj.filters @@ -101,6 +101,9 @@ {4f98736e-47b6-4cf8-b9e8-d9f18032e5d5} + + {21e75150-0798-4087-8cc8-8bcad02c0694} + @@ -166,6 +169,9 @@ 窗口\内容窗口\数据管理\车商业绩表 + + 数据\数据结构\送返修推荐表 + @@ -265,5 +271,8 @@ 数据\数据管理\导入导出\直接导入导出 + + 数据\数据结构\送返修推荐表 + \ No newline at end of file diff --git a/代码/cpp/car_dealer_util/proj/vs2019/car_dealer_util/source/Widgets/ContentWidget/QCarDealerAchievementWidget/moc_QCarDealerAchievementWidget.cpp b/代码/cpp/car_dealer_util/proj/vs2019/car_dealer_util/source/Widgets/ContentWidget/QCarDealerAchievementWidget/moc_QCarDealerAchievementWidget.cpp index f0a3635..adc31ed 100644 --- a/代码/cpp/car_dealer_util/proj/vs2019/car_dealer_util/source/Widgets/ContentWidget/QCarDealerAchievementWidget/moc_QCarDealerAchievementWidget.cpp +++ b/代码/cpp/car_dealer_util/proj/vs2019/car_dealer_util/source/Widgets/ContentWidget/QCarDealerAchievementWidget/moc_QCarDealerAchievementWidget.cpp @@ -7,7 +7,7 @@ *****************************************************************************/ #include -#include "../../../../../../../source/Widgets/ContentWidget/QCarDealerAchievementWidget/QCarDealerAchievementWidget.h" +#include "D:/develop/projects_win/2019/car_dealer_util/代码/cpp/car_dealer_util/source/Widgets/ContentWidget/QCarDealerAchievementWidget/QCarDealerAchievementWidget.h" #include #include #if !defined(Q_MOC_OUTPUT_REVISION) @@ -22,8 +22,8 @@ QT_BEGIN_MOC_NAMESPACE QT_WARNING_PUSH QT_WARNING_DISABLE_DEPRECATED struct qt_meta_stringdata_QCarDealerAchievementWidget_t { - QByteArrayData data[1]; - char stringdata0[28]; + QByteArrayData data[1]; + char stringdata0[28]; }; #define QT_MOC_LITERAL(idx, ofs, len) \ Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ @@ -31,65 +31,65 @@ struct qt_meta_stringdata_QCarDealerAchievementWidget_t { - idx * sizeof(QByteArrayData)) \ ) static const qt_meta_stringdata_QCarDealerAchievementWidget_t qt_meta_stringdata_QCarDealerAchievementWidget = { - { + { QT_MOC_LITERAL(0, 0, 27) // "QCarDealerAchievementWidget" - }, - "QCarDealerAchievementWidget" + }, + "QCarDealerAchievementWidget" }; #undef QT_MOC_LITERAL static const uint qt_meta_data_QCarDealerAchievementWidget[] = { - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 0, 0, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount + // content: + 8, // revision + 0, // classname + 0, 0, // classinfo + 0, 0, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 0, // signalCount - 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); - Q_UNUSED(_id); - Q_UNUSED(_c); - Q_UNUSED(_a); + Q_UNUSED(_o); + Q_UNUSED(_id); + Q_UNUSED(_c); + Q_UNUSED(_a); } QT_INIT_METAOBJECT const QMetaObject QCarDealerAchievementWidget::staticMetaObject = { { - &QWidget::staticMetaObject, - qt_meta_stringdata_QCarDealerAchievementWidget.data, - qt_meta_data_QCarDealerAchievementWidget, - qt_static_metacall, - nullptr, - nullptr + &QWidget::staticMetaObject, + qt_meta_stringdata_QCarDealerAchievementWidget.data, + qt_meta_data_QCarDealerAchievementWidget, + qt_static_metacall, + nullptr, + nullptr } }; -const QMetaObject *QCarDealerAchievementWidget::metaObject() const +const QMetaObject* QCarDealerAchievementWidget::metaObject() const { - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; + return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; } -void *QCarDealerAchievementWidget::qt_metacast(const char *_clname) +void* QCarDealerAchievementWidget::qt_metacast(const char* _clname) { - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_QCarDealerAchievementWidget.stringdata0)) - return static_cast(this); - return QWidget::qt_metacast(_clname); + if (!_clname) return nullptr; + if (!strcmp(_clname, qt_meta_stringdata_QCarDealerAchievementWidget.stringdata0)) + return static_cast(this); + return QWidget::qt_metacast(_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); - return _id; + _id = QWidget::qt_metacall(_c, _id, _a); + return _id; } QT_WARNING_POP QT_END_MOC_NAMESPACE diff --git a/代码/cpp/car_dealer_util/proj/vs2019/car_dealer_util/source/qrc_resource.cpp b/代码/cpp/car_dealer_util/proj/vs2019/car_dealer_util/source/qrc_resource.cpp index 1cf034b..89bb6c2 100644 --- a/代码/cpp/car_dealer_util/proj/vs2019/car_dealer_util/source/qrc_resource.cpp +++ b/代码/cpp/car_dealer_util/proj/vs2019/car_dealer_util/source/qrc_resource.cpp @@ -36909,94 +36909,94 @@ static const unsigned char qt_resource_struct[] = { 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, // :/QMainFrame/Resources/8218_box1.png 0x0,0x0,0x1,0x2,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x1,0x3f,0xef, -0x0,0x0,0x1,0x72,0xd,0x82,0xc,0xd6, +0x0,0x0,0x1,0x70,0xde,0xab,0x11,0x84, // :/QMainFrame/Resources/find.png 0x0,0x0,0x1,0x22,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x1,0xaa,0x5f, -0x0,0x0,0x1,0x72,0xd,0x82,0xc,0xe2, +0x0,0x0,0x1,0x70,0xde,0xab,0x11,0xbf, // :/QMainFrame/Resources/print.png 0x0,0x0,0x1,0x62,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x2,0x47,0x63, -0x0,0x0,0x1,0x72,0xd,0x82,0xc,0xe8, +0x0,0x0,0x1,0x70,0xde,0xab,0x11,0xd4, // :/QMainFrame/Resources/option.png 0x0,0x0,0x2,0x94,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x7,0x6,0xb8, -0x0,0x0,0x1,0x72,0xd,0x82,0xc,0xe7, +0x0,0x0,0x1,0x70,0xde,0xab,0x11,0xd0, // :/QMainFrame/Resources/x.png 0x0,0x0,0x2,0x2c,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x5,0x6a,0x2d, -0x0,0x0,0x1,0x72,0xd,0x82,0xc,0xed, +0x0,0x0,0x1,0x70,0xde,0xab,0x11,0xe5, // :/QMainFrame/Resources/telephone.png 0x0,0x0,0x2,0xc4,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x7,0xb2,0x8, -0x0,0x0,0x1,0x72,0xd,0x82,0xc,0xeb, +0x0,0x0,0x1,0x70,0xde,0xab,0x11,0xdf, // :/QMainFrame/Resources/plus.png 0x0,0x0,0x2,0x52,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x6,0x5d,0x5f, -0x0,0x0,0x1,0x72,0xd,0x82,0xc,0xe8, +0x0,0x0,0x1,0x70,0xde,0xab,0x11,0xd2, // :/QMainFrame/Resources/20121016085311441_easyicon_cn_128.png 0x0,0x0,0x0,0x82,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0x77,0x17, -0x0,0x0,0x1,0x72,0xd,0x82,0xc,0xd5, +0x0,0x0,0x1,0x70,0xde,0xab,0x11,0x81, // :/QMainFrame/Resources/new.png 0x0,0x0,0x2,0xe4,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x7,0xcc,0x61, -0x0,0x0,0x1,0x72,0xd,0x82,0xc,0xe6, +0x0,0x0,0x1,0x70,0xde,0xab,0x11,0xcb, // :/QMainFrame/Resources/CPIC.png 0x0,0x0,0x2,0x3c,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x5,0xc9,0x50, -0x0,0x0,0x1,0x72,0xd,0x82,0xc,0xd8, +0x0,0x0,0x1,0x70,0xde,0xab,0x11,0x89, // :/QMainFrame/Resources/ok.png 0x0,0x0,0x1,0x38,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x1,0xe8,0x27, -0x0,0x0,0x1,0x72,0xd,0x82,0xc,0xe6, +0x0,0x0,0x1,0x70,0xde,0xab,0x11,0xcd, // :/QMainFrame/Resources/face.png 0x0,0x0,0x1,0xc8,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x4,0x29,0xa6, -0x0,0x0,0x1,0x72,0xd,0x82,0xc,0xe1, +0x0,0x0,0x1,0x70,0xde,0xab,0x11,0xbd, // :/QMainFrame/Resources/CNY_Red.png 0x0,0x0,0x1,0xf8,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x4,0xfc,0xe0, -0x0,0x0,0x1,0x72,0xd,0x82,0xc,0xd7, +0x0,0x0,0x1,0x70,0xde,0xab,0x11,0x87, // :/QMainFrame/Resources/car2.png 0x0,0x0,0x3,0x10,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x8,0x69,0x71, -0x0,0x0,0x1,0x72,0xd,0x82,0xc,0xdd, +0x0,0x0,0x1,0x70,0xde,0xab,0x11,0xae, // :/QMainFrame/Resources/app.ico 0x0,0x0,0x0,0x46,0x0,0x1,0x0,0x0,0x0,0x1,0x0,0x0,0x2,0x22, -0x0,0x0,0x1,0x72,0xd,0x82,0xc,0xdb, +0x0,0x0,0x1,0x70,0xde,0xab,0x11,0xa9, // :/QMainFrame/Resources/save.png 0x0,0x0,0x2,0x7e,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x6,0xcf,0x1, -0x0,0x0,0x1,0x72,0xd,0x82,0xc,0xea, +0x0,0x0,0x1,0x70,0xde,0xab,0x11,0xd9, // :/QMainFrame/Resources/car.png 0x0,0x0,0x0,0x5a,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0x1f,0x7e, -0x0,0x0,0x1,0x72,0xd,0x82,0xc,0xdc, +0x0,0x0,0x1,0x70,0xde,0xab,0x11,0xab, // :/QMainFrame/Resources/cat.png 0x0,0x0,0x0,0x6e,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0x55,0x58, -0x0,0x0,0x1,0x72,0xd,0x82,0xc,0xde, +0x0,0x0,0x1,0x70,0xde,0xab,0x11,0xb0, // :/QMainFrame/Resources/excel.png 0x0,0x0,0x2,0x14,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x5,0x51,0x43, -0x0,0x0,0x1,0x72,0xd,0x82,0xc,0xe0, +0x0,0x0,0x1,0x70,0xde,0xab,0x11,0xba, // :/QMainFrame/Resources/CPIC??.png 0x0,0x0,0x1,0x7a,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x2,0x9e,0xab, -0x0,0x0,0x1,0x72,0xd,0x82,0xc,0xda, +0x0,0x0,0x1,0x70,0xde,0xab,0x11,0x8c, // :/QMainFrame/Resources/dec.png 0x0,0x0,0x0,0x32,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0x0,0x0, -0x0,0x0,0x1,0x72,0xd,0x82,0xc,0xdf, +0x0,0x0,0x1,0x70,0xde,0xab,0x11,0xb5, // :/QMainFrame/Resources/folder.png 0x0,0x0,0x0,0xd2,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0xcc,0x2a, -0x0,0x0,0x1,0x72,0xd,0x82,0xc,0xe3, +0x0,0x0,0x1,0x70,0xde,0xab,0x11,0xc2, // :/QMainFrame/Resources/edit.png 0x0,0x0,0x2,0x68,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x6,0x61,0x1b, -0x0,0x0,0x1,0x72,0xd,0x82,0xc,0xe0, +0x0,0x0,0x1,0x70,0xde,0xab,0x11,0xb8, // :/QMainFrame/Resources/clean.png 0x0,0x0,0x2,0xf8,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x8,0x3a,0x47, -0x0,0x0,0x1,0x72,0xd,0x82,0xc,0xde, +0x0,0x0,0x1,0x70,0xde,0xab,0x11,0xb3, // :/QMainFrame/Resources/gear.png 0x0,0x0,0x2,0xae,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x7,0x5c,0x60, -0x0,0x0,0x1,0x72,0xd,0x82,0xc,0xe3, +0x0,0x0,0x1,0x70,0xde,0xab,0x11,0xc4, // :/QMainFrame/Resources/quit.png 0x0,0x0,0x0,0xec,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0xe0,0xcc, -0x0,0x0,0x1,0x72,0xd,0x82,0xc,0xe9, +0x0,0x0,0x1,0x70,0xde,0xab,0x11,0xd7, // :/QMainFrame/Resources/save2.png 0x0,0x0,0x1,0x4a,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x2,0x29,0x5d, -0x0,0x0,0x1,0x72,0xd,0x82,0xc,0xea, +0x0,0x0,0x1,0x70,0xde,0xab,0x11,0xdc, // :/QMainFrame/Resources/manager.png 0x0,0x0,0x1,0x94,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x3,0x55,0x8f, -0x0,0x0,0x1,0x72,0xd,0x82,0xc,0xe5, +0x0,0x0,0x1,0x70,0xde,0xab,0x11,0xc9, // :/QMainFrame/Resources/login.png 0x0,0x0,0x1,0xb0,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x3,0xb9,0xe4, -0x0,0x0,0x1,0x72,0xd,0x82,0xc,0xe4, +0x0,0x0,0x1,0x70,0xde,0xab,0x11,0xc6, // :/QMainFrame/Resources/tongji.png 0x0,0x0,0x1,0xde,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x4,0x8a,0x1, -0x0,0x0,0x1,0x72,0xd,0x82,0xc,0xec, +0x0,0x0,0x1,0x70,0xde,0xab,0x11,0xe2, }; diff --git a/代码/cpp/car_dealer_util/source/Data/Datastructure/送返修推荐表/送返修推荐表.cpp b/代码/cpp/car_dealer_util/source/Data/Datastructure/送返修推荐表/送返修推荐表.cpp new file mode 100644 index 0000000..c153b48 --- /dev/null +++ b/代码/cpp/car_dealer_util/source/Data/Datastructure/送返修推荐表/送返修推荐表.cpp @@ -0,0 +1,2 @@ + +#include "送返修推荐表.h" diff --git a/代码/cpp/car_dealer_util/source/Data/Datastructure/送返修推荐表/送返修推荐表.h b/代码/cpp/car_dealer_util/source/Data/Datastructure/送返修推荐表/送返修推荐表.h new file mode 100644 index 0000000..9181bd7 --- /dev/null +++ b/代码/cpp/car_dealer_util/source/Data/Datastructure/送返修推荐表/送返修推荐表.h @@ -0,0 +1,4 @@ + +#pragma once + +#include diff --git a/代码/cpp/car_dealer_util/source/main.cpp b/代码/cpp/car_dealer_util/source/main.cpp index bb4a301..8dec880 100644 --- a/代码/cpp/car_dealer_util/source/main.cpp +++ b/代码/cpp/car_dealer_util/source/main.cpp @@ -7,22 +7,22 @@ using namespace std; -int main( int argc, char * argv[] ) +int main(int argc, char* argv[]) { - QApplication * pApp = nullptr; - QMainFrame * pMainFrame = nullptr; - QLoginDialog * pLoginDialog = nullptr; - int returnCode = -1; + QApplication* pApp = nullptr; + QMainFrame* pMainFrame = nullptr; + QLoginDialog* pLoginDialog = nullptr; + int returnCode = -1; try { - pApp = new QApplication( argc, argv ); + pApp = new QApplication(argc, argv); } - catch ( ... ) + catch (...) { - QMessageBox::critical( nullptr, - "错误!", - "创建QApplication错误!\n请联系开发人员。" ); + QMessageBox::critical(nullptr, + "错误!", + "1创建QApplication错误!\n请联系开发人员。"); return -1; } @@ -38,17 +38,17 @@ int main( int argc, char * argv[] ) pLoginDialog->exec(); - if ( pLoginDialog->getReturnCode() == QLoginDialog::ReturnCode::EXIT ) + if (pLoginDialog->getReturnCode() == QLoginDialog::ReturnCode::EXIT) { //用户点了退出 return 1; } } - catch ( std::runtime_error error ) + catch (std::runtime_error error) { - QMessageBox::critical( nullptr, - "错误!", - error.what() ); + QMessageBox::critical(nullptr, + "错误!", + error.what()); return -1; } @@ -57,19 +57,19 @@ int main( int argc, char * argv[] ) { pMainFrame = new QMainFrame(); } - catch ( std::runtime_error & error ) + catch (std::runtime_error& error) { - QMessageBox::critical( nullptr, - "错误!", - error.what() ); + QMessageBox::critical(nullptr, + "错误!", + error.what()); return -1; } - catch ( ... ) + catch (...) { - QMessageBox::critical( nullptr, - "错误!", - "创建窗口过程错误!\n请联系开发人员。" ); + QMessageBox::critical(nullptr, + "错误!", + "创建窗口过程错误!\n请联系开发人员。"); return -1; } @@ -80,19 +80,19 @@ int main( int argc, char * argv[] ) returnCode = pApp->exec(); } - catch ( std::runtime_error & error ) + catch (std::runtime_error& error) { - QMessageBox::critical( nullptr, - "错误!", - error.what() ); + QMessageBox::critical(nullptr, + "错误!", + error.what()); return -1; } - catch ( ... ) + catch (...) { - QMessageBox::critical( nullptr, - "错误!", - "创建窗口过程错误!\n请联系开发人员。" ); + QMessageBox::critical(nullptr, + "错误!", + "创建窗口过程错误!\n请联系开发人员。"); return -1; }