...
| 
		 After Width: | Height: | Size: 21 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								代码/cpp/car_dealer_util/source/Resources/8218_box1.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 27 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								代码/cpp/car_dealer_util/source/Resources/CNY_Red.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 21 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								代码/cpp/car_dealer_util/source/Resources/CPIC.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 37 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								代码/cpp/car_dealer_util/source/Resources/CPIC透明.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 46 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								代码/cpp/car_dealer_util/source/Resources/app.ico
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 66 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								代码/cpp/car_dealer_util/source/Resources/car.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 14 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								代码/cpp/car_dealer_util/source/Resources/car2.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 34 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								代码/cpp/car_dealer_util/source/Resources/cat.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 8.4 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								代码/cpp/car_dealer_util/source/Resources/clean.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 12 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								代码/cpp/car_dealer_util/source/Resources/dec.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 542 B  | 
							
								
								
									
										
											BIN
										
									
								
								代码/cpp/car_dealer_util/source/Resources/edit.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 28 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								代码/cpp/car_dealer_util/source/Resources/excel.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 6.2 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								代码/cpp/car_dealer_util/source/Resources/face.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 24 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								代码/cpp/car_dealer_util/source/Resources/find.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 15 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								代码/cpp/car_dealer_util/source/Resources/folder.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 5.2 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								代码/cpp/car_dealer_util/source/Resources/gear.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 21 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								代码/cpp/car_dealer_util/source/Resources/login.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 28 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								代码/cpp/car_dealer_util/source/Resources/manager.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 25 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								代码/cpp/car_dealer_util/source/Resources/new.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 28 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								代码/cpp/car_dealer_util/source/Resources/ok.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 16 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								代码/cpp/car_dealer_util/source/Resources/option.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 21 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								代码/cpp/car_dealer_util/source/Resources/plus.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 952 B  | 
							
								
								
									
										
											BIN
										
									
								
								代码/cpp/car_dealer_util/source/Resources/print.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 22 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								代码/cpp/car_dealer_util/source/Resources/quit.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 24 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								代码/cpp/car_dealer_util/source/Resources/save.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 14 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								代码/cpp/car_dealer_util/source/Resources/save2.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 7.5 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								代码/cpp/car_dealer_util/source/Resources/telephone.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 6.6 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								代码/cpp/car_dealer_util/source/Resources/tongji.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 29 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								代码/cpp/car_dealer_util/source/Resources/x.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 24 KiB  | 
@@ -0,0 +1,8 @@
 | 
			
		||||
 | 
			
		||||
#include "QMainFrame.h"
 | 
			
		||||
 | 
			
		||||
QMainFrame::QMainFrame(QWidget* parent)
 | 
			
		||||
	: QMainWindow(parent)
 | 
			
		||||
{
 | 
			
		||||
	ui.setupUi(this);
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										15
									
								
								代码/cpp/car_dealer_util/source/Widgets/MainFrame/QMainFrame.h
									
									
									
									
									
										Normal 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;
 | 
			
		||||
};
 | 
			
		||||
@@ -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>
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								代码/cpp/car_dealer_util/source/car_dealer_util.ico
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 361 KiB  | 
							
								
								
									
										2
									
								
								代码/cpp/car_dealer_util/source/car_dealer_util.rc
									
									
									
									
									
										Normal file
									
								
							
							
						
						@@ -0,0 +1,2 @@
 | 
			
		||||
IDI_ICON1		ICON		DISCARDABLE	"car_dealer_util.ico"
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										80
									
								
								代码/cpp/car_dealer_util/source/main.cpp
									
									
									
									
									
										Normal 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;
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										34
									
								
								代码/cpp/car_dealer_util/source/resource.qrc
									
									
									
									
									
										Normal 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>
 | 
			
		||||
							
								
								
									
										1
									
								
								代码/cpp/car_dealer_util/source/stdafx.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						@@ -0,0 +1 @@
 | 
			
		||||
#include "stdafx.h"
 | 
			
		||||
							
								
								
									
										1
									
								
								代码/cpp/car_dealer_util/source/stdafx.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						@@ -0,0 +1 @@
 | 
			
		||||
#include <QtWidgets>
 | 
			
		||||
							
								
								
									
										2
									
								
								代码/cpp/car_dealer_util/source/新建文本文档.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						@@ -0,0 +1,2 @@
 | 
			
		||||
$(IntDir)\moc\%(RelativeDir)
 | 
			
		||||
$(IntDir)\rcc\%(RelativeDir)
 | 
			
		||||