...
@@ -0,0 +1,95 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'QMainFrame.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.13.0)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../../../source/Widgets/MainFrame/QMainFrame.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'QMainFrame.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.13.0. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QMainFrame_t {
|
||||
QByteArrayData data[1];
|
||||
char stringdata0[11];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QMainFrame_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QMainFrame_t qt_meta_stringdata_QMainFrame = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 10) // "QMainFrame"
|
||||
|
||||
},
|
||||
"QMainFrame"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QMainFrame[] = {
|
||||
|
||||
// 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
|
||||
};
|
||||
|
||||
void QMainFrame::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
Q_UNUSED(_o);
|
||||
Q_UNUSED(_id);
|
||||
Q_UNUSED(_c);
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QMainFrame::staticMetaObject = { {
|
||||
&QMainWindow::staticMetaObject,
|
||||
qt_meta_stringdata_QMainFrame.data,
|
||||
qt_meta_data_QMainFrame,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QMainFrame::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QMainFrame::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QMainFrame.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QMainWindow::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QMainFrame::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QMainWindow::qt_metacall(_c, _id, _a);
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
@@ -0,0 +1,145 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="16.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Image Include="..\..\..\source\car_dealer_util.ico" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="..\..\..\source\car_dealer_util.rc" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\..\source\main.cpp" />
|
||||
<ClCompile Include="..\..\..\source\Widgets\MainFrame\QMainFrame.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<QtRcc Include="..\..\..\source\resource.qrc" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<QtUic Include="..\..\..\source\Widgets\MainFrame\QMainFrame.ui" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<QtMoc Include="..\..\..\source\Widgets\MainFrame\QMainFrame.h" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{B12702AD-ABFB-343A-A199-8E24837244A3}</ProjectGuid>
|
||||
<Keyword>QtVS_v301</Keyword>
|
||||
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<PropertyGroup Condition="'$(QtMsBuild)'=='' or !Exists('$(QtMsBuild)\qt.targets')">
|
||||
<QtMsBuild>$(MSBuildProjectDirectory)\QtMsBuild</QtMsBuild>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
|
||||
<SourcePath>.\source\;$(SourcePath)</SourcePath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
|
||||
<SourcePath>.\source\;$(SourcePath)</SourcePath>
|
||||
</PropertyGroup>
|
||||
<Target Name="QtMsBuildNotFound" BeforeTargets="CustomBuild;ClCompile" Condition="!Exists('$(QtMsBuild)\qt.targets') or !Exists('$(QtMsBuild)\qt.props')">
|
||||
<Message Importance="High" Text="QtMsBuild: could not locate qt.targets, qt.props; project may not build correctly." />
|
||||
</Target>
|
||||
<ImportGroup Label="ExtensionSettings" />
|
||||
<ImportGroup Label="Shared" />
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<ImportGroup Condition="Exists('$(QtMsBuild)\qt_defaults.props')">
|
||||
<Import Project="$(QtMsBuild)\qt_defaults.props" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="QtSettings" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<QtInstall>5.13.0_msvc2017_64</QtInstall>
|
||||
<QtModules>core;gui;widgets</QtModules>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Label="QtSettings" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<QtInstall>5.13.0_msvc2017_64</QtInstall>
|
||||
<QtModules>core;gui;widgets</QtModules>
|
||||
</PropertyGroup>
|
||||
<ImportGroup Condition="Exists('$(QtMsBuild)\qt.props')">
|
||||
<Import Project="$(QtMsBuild)\qt.props" />
|
||||
</ImportGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<QtMoc>
|
||||
<PrependInclude>
|
||||
</PrependInclude>
|
||||
<QtMocDir>source\%(RelativeDir)</QtMocDir>
|
||||
</QtMoc>
|
||||
<ClCompile>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<PrecompiledHeaderFile>stdafx.h</PrecompiledHeaderFile>
|
||||
<PrecompiledHeaderOutputFile>$(IntDir)$(TargetName).pch</PrecompiledHeaderOutputFile>
|
||||
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<OutputFile>$(OutDir)\$(ProjectName).exe</OutputFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<EntryPointSymbol>
|
||||
</EntryPointSymbol>
|
||||
</Link>
|
||||
<QtRcc>
|
||||
<QtRccDir>$(IntDir)\rcc\%(RelativeDir)</QtRccDir>
|
||||
</QtRcc>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<QtMoc>
|
||||
<PrependInclude>
|
||||
</PrependInclude>
|
||||
<QtMocDir>source\%(RelativeDir)</QtMocDir>
|
||||
</QtMoc>
|
||||
<ClCompile>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<DebugInformationFormat />
|
||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<PrecompiledHeaderFile>stdafx.h</PrecompiledHeaderFile>
|
||||
<PrecompiledHeaderOutputFile>$(IntDir)$(TargetName).pch</PrecompiledHeaderOutputFile>
|
||||
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<OutputFile>$(OutDir)\$(ProjectName).exe</OutputFile>
|
||||
<GenerateDebugInformation>false</GenerateDebugInformation>
|
||||
<EntryPointSymbol>
|
||||
</EntryPointSymbol>
|
||||
</Link>
|
||||
<QtRcc>
|
||||
<QtRccDir>$(IntDir)\rcc\%(RelativeDir)</QtRccDir>
|
||||
</QtRcc>
|
||||
</ItemDefinitionGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Condition="Exists('$(QtMsBuild)\qt.targets')">
|
||||
<Import Project="$(QtMsBuild)\qt.targets" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
@@ -0,0 +1,66 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="Source Files">
|
||||
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
||||
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Header Files">
|
||||
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
|
||||
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Resource Files">
|
||||
<UniqueIdentifier>{D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E}</UniqueIdentifier>
|
||||
<Extensions>qrc;*</Extensions>
|
||||
<ParseFiles>false</ParseFiles>
|
||||
</Filter>
|
||||
<Filter Include="Form Files">
|
||||
<UniqueIdentifier>{99349809-55BA-4b9d-BF79-8FDBB0286EB3}</UniqueIdentifier>
|
||||
<Extensions>ui</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Resource Files">
|
||||
<UniqueIdentifier>{D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E}</UniqueIdentifier>
|
||||
<Extensions>qrc;*</Extensions>
|
||||
<ParseFiles>false</ParseFiles>
|
||||
</Filter>
|
||||
<Filter Include="窗口">
|
||||
<UniqueIdentifier>{5c87e659-1421-43a0-a48d-42619f174fc9}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="窗口\主窗口">
|
||||
<UniqueIdentifier>{bcfdef90-7980-4f25-8c6b-e1b05ab76277}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\..\source\main.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\..\source\Widgets\MainFrame\QMainFrame.cpp">
|
||||
<Filter>窗口\主窗口</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<QtRcc Include="..\..\..\source\resource.qrc">
|
||||
<Filter>Resource Files</Filter>
|
||||
</QtRcc>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<QtUic Include="..\..\..\source\Widgets\MainFrame\QMainFrame.ui">
|
||||
<Filter>窗口\主窗口</Filter>
|
||||
</QtUic>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<QtMoc Include="..\..\..\source\Widgets\MainFrame\QMainFrame.h">
|
||||
<Filter>窗口\主窗口</Filter>
|
||||
</QtMoc>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Image Include="..\..\..\source\car_dealer_util.ico">
|
||||
<Filter>Resource Files</Filter>
|
||||
</Image>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="..\..\..\source\car_dealer_util.rc">
|
||||
<Filter>Resource Files</Filter>
|
||||
</ResourceCompile>
|
||||
</ItemGroup>
|
||||
</Project>
|
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup />
|
||||
</Project>
|
@@ -0,0 +1,66 @@
|
||||
/********************************************************************************
|
||||
** Form generated from reading UI file 'QMainFrame.ui'
|
||||
**
|
||||
** Created by: Qt User Interface Compiler version 5.13.0
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
||||
********************************************************************************/
|
||||
|
||||
#ifndef UI_QMAINFRAME_H
|
||||
#define UI_QMAINFRAME_H
|
||||
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QMainWindow>
|
||||
#include <QtWidgets/QMenuBar>
|
||||
#include <QtWidgets/QStatusBar>
|
||||
#include <QtWidgets/QToolBar>
|
||||
#include <QtWidgets/QWidget>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class Ui_QMainFrameClass
|
||||
{
|
||||
public:
|
||||
QMenuBar *menuBar;
|
||||
QToolBar *mainToolBar;
|
||||
QWidget *centralWidget;
|
||||
QStatusBar *statusBar;
|
||||
|
||||
void setupUi(QMainWindow *QMainFrameClass)
|
||||
{
|
||||
if (QMainFrameClass->objectName().isEmpty())
|
||||
QMainFrameClass->setObjectName(QString::fromUtf8("QMainFrameClass"));
|
||||
QMainFrameClass->resize(600, 400);
|
||||
menuBar = new QMenuBar(QMainFrameClass);
|
||||
menuBar->setObjectName(QString::fromUtf8("menuBar"));
|
||||
QMainFrameClass->setMenuBar(menuBar);
|
||||
mainToolBar = new QToolBar(QMainFrameClass);
|
||||
mainToolBar->setObjectName(QString::fromUtf8("mainToolBar"));
|
||||
QMainFrameClass->addToolBar(mainToolBar);
|
||||
centralWidget = new QWidget(QMainFrameClass);
|
||||
centralWidget->setObjectName(QString::fromUtf8("centralWidget"));
|
||||
QMainFrameClass->setCentralWidget(centralWidget);
|
||||
statusBar = new QStatusBar(QMainFrameClass);
|
||||
statusBar->setObjectName(QString::fromUtf8("statusBar"));
|
||||
QMainFrameClass->setStatusBar(statusBar);
|
||||
|
||||
retranslateUi(QMainFrameClass);
|
||||
|
||||
QMetaObject::connectSlotsByName(QMainFrameClass);
|
||||
} // setupUi
|
||||
|
||||
void retranslateUi(QMainWindow *QMainFrameClass)
|
||||
{
|
||||
QMainFrameClass->setWindowTitle(QCoreApplication::translate("QMainFrameClass", "QMainFrame", nullptr));
|
||||
} // retranslateUi
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class QMainFrameClass: public Ui_QMainFrameClass {};
|
||||
} // namespace Ui
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // UI_QMAINFRAME_H
|
25
代码/cpp/car_dealer_util/proj/vs2019/车商渠道数据管理.sln
Normal file
@@ -0,0 +1,25 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 16
|
||||
VisualStudioVersion = 16.0.29609.76
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "car_dealer_util", "car_dealer_util\car_dealer_util.vcxproj", "{B12702AD-ABFB-343A-A199-8E24837244A3}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|x64 = Debug|x64
|
||||
Release|x64 = Release|x64
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{B12702AD-ABFB-343A-A199-8E24837244A3}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{B12702AD-ABFB-343A-A199-8E24837244A3}.Debug|x64.Build.0 = Debug|x64
|
||||
{B12702AD-ABFB-343A-A199-8E24837244A3}.Release|x64.ActiveCfg = Release|x64
|
||||
{B12702AD-ABFB-343A-A199-8E24837244A3}.Release|x64.Build.0 = Release|x64
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {7A1F667A-8FB5-4B18-8D74-E810D205DFA9}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
After Width: | Height: | Size: 21 KiB |
After Width: | Height: | Size: 27 KiB |
After Width: | Height: | Size: 21 KiB |
After Width: | Height: | Size: 37 KiB |
After Width: | Height: | Size: 46 KiB |
After Width: | Height: | Size: 66 KiB |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 34 KiB |
After Width: | Height: | Size: 8.4 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 542 B |
After Width: | Height: | Size: 28 KiB |
After Width: | Height: | Size: 6.2 KiB |
After Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 5.2 KiB |
After Width: | Height: | Size: 21 KiB |
After Width: | Height: | Size: 28 KiB |
After Width: | Height: | Size: 25 KiB |
After Width: | Height: | Size: 28 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 21 KiB |
After Width: | Height: | Size: 952 B |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 7.5 KiB |
After Width: | Height: | Size: 6.6 KiB |
After Width: | Height: | Size: 29 KiB |
After Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 361 KiB |
@@ -0,0 +1,2 @@
|
||||
IDI_ICON1 ICON DISCARDABLE "car_dealer_util.ico"
|
||||
|
@@ -0,0 +1,112 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="16.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{B12702AD-ABFB-343A-A199-8E24837244A3}</ProjectGuid>
|
||||
<Keyword>QtVS_v301</Keyword>
|
||||
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<PropertyGroup Condition="'$(QtMsBuild)'=='' or !Exists('$(QtMsBuild)\qt.targets')">
|
||||
<QtMsBuild>$(MSBuildProjectDirectory)\QtMsBuild</QtMsBuild>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
|
||||
</PropertyGroup>
|
||||
<Target Name="QtMsBuildNotFound" BeforeTargets="CustomBuild;ClCompile" Condition="!Exists('$(QtMsBuild)\qt.targets') or !Exists('$(QtMsBuild)\qt.props')">
|
||||
<Message Importance="High" Text="QtMsBuild: could not locate qt.targets, qt.props; project may not build correctly." />
|
||||
</Target>
|
||||
<ImportGroup Label="ExtensionSettings" />
|
||||
<ImportGroup Label="Shared" />
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<ImportGroup Condition="Exists('$(QtMsBuild)\qt_defaults.props')">
|
||||
<Import Project="$(QtMsBuild)\qt_defaults.props" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="QtSettings" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<QtInstall>5.13.0_msvc2017_64</QtInstall>
|
||||
<QtModules>core;gui;widgets</QtModules>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Label="QtSettings" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<QtInstall>5.13.0_msvc2017_64</QtInstall>
|
||||
<QtModules>core;gui;widgets</QtModules>
|
||||
</PropertyGroup>
|
||||
<ImportGroup Condition="Exists('$(QtMsBuild)\qt.props')">
|
||||
<Import Project="$(QtMsBuild)\qt.props" />
|
||||
</ImportGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<ClCompile>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<OutputFile>$(OutDir)\$(ProjectName).exe</OutputFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<ClCompile>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<DebugInformationFormat />
|
||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<OutputFile>$(OutDir)\$(ProjectName).exe</OutputFile>
|
||||
<GenerateDebugInformation>false</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="main.cpp" />
|
||||
<ClCompile Include="widgets\MainFrame\QMainFrame.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<QtRcc Include="resource.qrc" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="car_dealer_util.rc" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<QtUic Include="widgets\MainFrame\QMainFrame.ui" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<QtMoc Include="widgets\MainFrame\QMainFrame.h" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Condition="Exists('$(QtMsBuild)\qt.targets')">
|
||||
<Import Project="$(QtMsBuild)\qt.targets" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
@@ -0,0 +1,59 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="Source Files">
|
||||
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
||||
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Header Files">
|
||||
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
|
||||
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Resource Files">
|
||||
<UniqueIdentifier>{D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E}</UniqueIdentifier>
|
||||
<Extensions>qrc;*</Extensions>
|
||||
<ParseFiles>false</ParseFiles>
|
||||
</Filter>
|
||||
<Filter Include="Form Files">
|
||||
<UniqueIdentifier>{99349809-55BA-4b9d-BF79-8FDBB0286EB3}</UniqueIdentifier>
|
||||
<Extensions>ui</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Resource Files">
|
||||
<UniqueIdentifier>{D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E}</UniqueIdentifier>
|
||||
<Extensions>qrc;*</Extensions>
|
||||
<ParseFiles>false</ParseFiles>
|
||||
</Filter>
|
||||
<Filter Include="窗口">
|
||||
<UniqueIdentifier>{e9560f23-aca5-4e4a-96bb-b3e285a2c097}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="窗口\主窗口">
|
||||
<UniqueIdentifier>{7068cd3f-c878-404f-8410-cebbc5133a6a}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="main.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="widgets\MainFrame\QMainFrame.cpp">
|
||||
<Filter>窗口\主窗口</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<QtRcc Include="resource.qrc">
|
||||
<Filter>Resource Files</Filter>
|
||||
</QtRcc>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="car_dealer_util.rc" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<QtUic Include="widgets\MainFrame\QMainFrame.ui">
|
||||
<Filter>窗口\主窗口</Filter>
|
||||
</QtUic>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<QtMoc Include="widgets\MainFrame\QMainFrame.h">
|
||||
<Filter>窗口\主窗口</Filter>
|
||||
</QtMoc>
|
||||
</ItemGroup>
|
||||
</Project>
|
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup />
|
||||
</Project>
|
@@ -0,0 +1,11 @@
|
||||
|
||||
#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();
|
||||
}
|
@@ -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>
|
@@ -0,0 +1,7 @@
|
||||
#include "QMainFrame.h"
|
||||
|
||||
QMainFrame::QMainFrame(QWidget *parent)
|
||||
: QMainWindow(parent)
|
||||
{
|
||||
ui.setupUi(this);
|
||||
}
|
@@ -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>
|
25
代码/cpp/car_dealer_util/proj/vs2019_bak/车商数据管理.sln
Normal file
@@ -0,0 +1,25 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 16
|
||||
VisualStudioVersion = 16.0.29609.76
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "car_dealer_util", "car_dealer_util\car_dealer_util.vcxproj", "{B12702AD-ABFB-343A-A199-8E24837244A3}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|x64 = Debug|x64
|
||||
Release|x64 = Release|x64
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{B12702AD-ABFB-343A-A199-8E24837244A3}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{B12702AD-ABFB-343A-A199-8E24837244A3}.Debug|x64.Build.0 = Debug|x64
|
||||
{B12702AD-ABFB-343A-A199-8E24837244A3}.Release|x64.ActiveCfg = Release|x64
|
||||
{B12702AD-ABFB-343A-A199-8E24837244A3}.Release|x64.Build.0 = Release|x64
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {38531906-6682-48A8-AF7C-FA9DD7277509}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
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)
|