This commit is contained in:
2019-12-16 18:20:07 +08:00
parent 6c3dd101c6
commit adbe7bc808
108 changed files with 37931 additions and 295 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 542 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 952 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

View File

@@ -0,0 +1,8 @@

#include "QMainFrame.h"
QMainFrame::QMainFrame(QWidget* parent)
: QMainWindow(parent)
{
ui.setupUi(this);
}

View File

@@ -0,0 +1,15 @@
#pragma once
#include <QtWidgets/QMainWindow>
#include "ui_QMainFrame.h"
class QMainFrame : public QMainWindow
{
Q_OBJECT
public:
QMainFrame(QWidget* parent = Q_NULLPTR);
private:
Ui::QMainFrameClass ui;
};

View File

@@ -0,0 +1,29 @@
<UI version="4.0" >
<class>QMainFrameClass</class>
<widget class="QMainWindow" name="QMainFrameClass" >
<property name="objectName" >
<string notr="true">QMainFrameClass</string>
</property>
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>600</width>
<height>400</height>
</rect>
</property>
<property name="windowTitle" >
<string>QMainFrame</string>
</property>
<widget class="QMenuBar" name="menuBar" />
<widget class="QToolBar" name="mainToolBar" />
<widget class="QWidget" name="centralWidget" />
<widget class="QStatusBar" name="statusBar" />
</widget>
<layoutDefault spacing="6" margin="11" />
<pixmapfunction></pixmapfunction>
<resources>
<include location="resource.qrc"/>
</resources>
<connections/>
</UI>

Binary file not shown.

After

Width:  |  Height:  |  Size: 361 KiB

View File

@@ -0,0 +1,2 @@
IDI_ICON1 ICON DISCARDABLE "car_dealer_util.ico"

View File

@@ -0,0 +1,80 @@
#include <QtWidgets/QtWidgets>
#include <QtWidgets/QApplication>
#include "Widgets/MainFrame/QMainFrame.h"
int main( int argc, char * argv[] )
{
// QApplication a(argc, argv);
// QMainFrame w;
//
// w.show();
//
// return a.exec();
QApplication * pApp = nullptr;
QMainFrame * pMainFrame = nullptr;
int returnCode = -1;
try
{
pApp = new QApplication( argc, argv );
}
catch ( ... )
{
QMessageBox::critical( nullptr,
"错误!",
"创建QApplication错误\n请联系开发人员。" );
return -1;
}
// QMessageBox::critical( nullptr,
// "错误!",
// "创建QApplication错误\n请联系开发人员。" );
try
{
pMainFrame = new QMainFrame();
}
catch ( std::runtime_error & error )
{
QMessageBox::critical( nullptr,
"错误!",
error.what() );
return -1;
}
catch ( ... )
{
QMessageBox::critical( nullptr,
"错误!",
"创建窗口过程错误!\n请联系开发人员。" );
return -1;
}
try
{
pMainFrame->showMaximized();
returnCode = pApp->exec();
}
catch ( std::runtime_error & error )
{
QMessageBox::critical( nullptr,
"错误!",
error.what() );
return -1;
}
catch ( ... )
{
QMessageBox::critical( nullptr,
"错误!",
"创建窗口过程错误!\n请联系开发人员。" );
return -1;
}
return returnCode;
}

View File

@@ -0,0 +1,34 @@
<RCC>
<qresource prefix="/QMainFrame">
<file>Resources/8218_box1.png</file>
<file>Resources/20121016085311441_easyicon_cn_128.png</file>
<file>Resources/app.ico</file>
<file>Resources/car.png</file>
<file>Resources/car2.png</file>
<file>Resources/cat.png</file>
<file>Resources/clean.png</file>
<file>Resources/CNY_Red.png</file>
<file>Resources/CPIC.png</file>
<file>Resources/CPIC透明.png</file>
<file>Resources/dec.png</file>
<file>Resources/edit.png</file>
<file>Resources/excel.png</file>
<file>Resources/face.png</file>
<file>Resources/find.png</file>
<file>Resources/folder.png</file>
<file>Resources/gear.png</file>
<file>Resources/login.png</file>
<file>Resources/manager.png</file>
<file>Resources/new.png</file>
<file>Resources/ok.png</file>
<file>Resources/option.png</file>
<file>Resources/plus.png</file>
<file>Resources/print.png</file>
<file>Resources/quit.png</file>
<file>Resources/save.png</file>
<file>Resources/save2.png</file>
<file>Resources/telephone.png</file>
<file>Resources/tongji.png</file>
<file>Resources/x.png</file>
</qresource>
</RCC>

View File

@@ -0,0 +1 @@
#include "stdafx.h"

View File

@@ -0,0 +1 @@
#include <QtWidgets>

View File

@@ -0,0 +1,2 @@
$(IntDir)\moc\%(RelativeDir)
$(IntDir)\rcc\%(RelativeDir)