...
@ -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)
|
@ -1,7 +0,0 @@
|
||||
#include <cstdio>
|
||||
|
||||
int main()
|
||||
{
|
||||
printf("hello from 车商可视化数据管理系统!\n");
|
||||
return 0;
|
||||
}
|
Before Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 611 KiB |
Before Width: | Height: | Size: 545 KiB |
Before Width: | Height: | Size: 118 KiB |
Before Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 16 KiB |
@ -1,77 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset='utf-8'>
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" media="screen">
|
||||
|
||||
<title>Getting Started</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="container">
|
||||
<div id="header">
|
||||
<h1>Getting Started</h1>
|
||||
<h2>Visual C++ for Linux Development</h2>
|
||||
</div>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<div id="main_content">
|
||||
|
||||
<td>
|
||||
<div id="lpanel">
|
||||
<h1>Setting up your project for Linux Development</h1>
|
||||
|
||||
<p>With this workload you can author C++ code for Linux servers, desktops and devices. You can manage your connections to these machines from within VS. VS will automatically copy and remotely build your sources and can launch your application with the debugger. Our project system supports targeting specific architectures, including ARM.</p>
|
||||
<img src="images\ArchOptions.gif"/>
|
||||
|
||||
<h1>Connecting to Linux</h1>
|
||||
<h2>Prerequisites</h2>
|
||||
<p>Today we only support building remotely on the Linux target machine. We are not limited by specific Linux distros but we do have dependencies on the presence of some tools. Specifically, we need openssh-server, g++, gdb and gdbserver. Use your favorite package manager to install them, e.g. on Debian based systems: sudo apt-get install openssh-server g++ gdb gdbserver</p>
|
||||
|
||||
<h2>First connection</h2>
|
||||
<p>The first time you target a Linux machine you will be prompted for connection information. This is triggered by building the project.</p>
|
||||
<img src="images\firstconnection.png"/>
|
||||
|
||||
<h2>Adding and removing connections</h2>
|
||||
<p>To add a new connection, go to Tools > Options and search for Connection, Connection Manager will be under Cross Platform. From here you can add and remove connections.</p>
|
||||
<img src="images\ManageConnections.gif"/>
|
||||
|
||||
<p>To change which connection a project is using go to the project properties general settings and update the Remote Build Machine option.</p>
|
||||
<img src="images\ChangeRemote.gif"/>
|
||||
|
||||
<h1>Project Properties</h1>
|
||||
<p>All of the options necessary to control C++ compilation are exposed on the project properies pages. We'll cover a few specific to how things work for Linux. First under general settings, you will see the remote root is set to ~/projects/ by default and that we are setting the remote project directory to match our project name in that location. </p>
|
||||
<img src="images\OutputTypes.gif"/>
|
||||
|
||||
<p>Looking at the General settings for the project, you can see how our output and intermediate directories were configured. Additionally, you’ll see that this project was configured as an application – thus our executable is under bin/x64/Debug/ as ConsoleApplication1.out. Notice that for configuration types we also support static and dynamic libraries.</p>
|
||||
|
||||
<p>Add additional library dependencies on the Linker > Input property page.</p>
|
||||
<img src="images\linker.png"/>
|
||||
|
||||
<p>You can pass additional pre launch commands to the debugger to do things like launch graphical apps on the remote linux machine.</p>
|
||||
<img src="images\debuggerexport.png"/>
|
||||
|
||||
<p>You can also send post build events to control remote behavior, as in this example that exports a gpio pin for use without requiring the executable run as super user.</p>
|
||||
<img src="images\postbuild.png"/>
|
||||
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div id="rpanel">
|
||||
|
||||
<h1>Resources</h1>
|
||||
|
||||
<p>Check out the <a href="http://aka.ms/vslinux">VC++ for Linux Development page</a> where we will keep updates posted and provider more in depth details on usage.</p>
|
||||
<h1>Give us feedback</h1>
|
||||
<p>Use the send feedback function in Visual Studio or contact us directly at <a href="mailto:vcpplinux-support@microsoft.com?subject=Linux%20Console%20App%20question">VC++ Linux Support</a></p>
|
||||
</div>
|
||||
</td>
|
||||
</div>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -1,119 +0,0 @@
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
color: #1E1E1E;
|
||||
font-size: 13px;
|
||||
font-family: "Segoe UI", Helvetica, Arial, sans-serif;
|
||||
line-height: 1.45;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
/* General & 'Reset' Stuff */
|
||||
|
||||
|
||||
.container {
|
||||
width: 1100px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
section {
|
||||
display: block;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
table, tr {
|
||||
width: 1100px;
|
||||
padding: 0px;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
/* Header, <header>
|
||||
header - container
|
||||
h1 - project name
|
||||
h2 - project description
|
||||
*/
|
||||
|
||||
#header {
|
||||
color: #FFF;
|
||||
background: #68217a;
|
||||
position:relative;
|
||||
}
|
||||
h1, h2 {
|
||||
font-family: "Segoe UI Light", "Segoe UI", Helvetica, Arial, sans-serif;
|
||||
line-height: 1;
|
||||
margin: 0 18px;;
|
||||
padding: 0;
|
||||
}
|
||||
#header h1 {
|
||||
font-size: 3.4em;
|
||||
padding-top: 18px;
|
||||
font-weight: normal;
|
||||
margin-left: 15px;
|
||||
}
|
||||
|
||||
#header h2 {
|
||||
font-size: 1.5em;
|
||||
margin-top: 10px;
|
||||
padding-bottom: 18px;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
#main_content {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
font-weight: bolder;
|
||||
}
|
||||
|
||||
#main_content h1 {
|
||||
font-size: 1.8em;
|
||||
margin-top: 34px;
|
||||
}
|
||||
|
||||
#main_content h1:first-child {
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
#main_content h2 {
|
||||
font-size: 1.8em;
|
||||
}
|
||||
p, ul {
|
||||
margin: 11px 18px;
|
||||
}
|
||||
|
||||
#main_content a {
|
||||
color: #06C;
|
||||
text-decoration: none;
|
||||
}
|
||||
ul {
|
||||
margin-top: 13px;
|
||||
margin-left: 18px;
|
||||
padding-left: 0;
|
||||
}
|
||||
ul li {
|
||||
margin-left: 18px;
|
||||
padding-left: 0;
|
||||
}
|
||||
#lpanel {
|
||||
width: 870px;
|
||||
float: left;
|
||||
}
|
||||
#rpanel ul {
|
||||
list-style-type: none;
|
||||
}
|
||||
#rpanel ul li {
|
||||
line-height: 1.8em;
|
||||
}
|
||||
#rpanel {
|
||||
background: #e7e7e7;
|
||||
width: 230px;
|
||||
}
|
@ -1,85 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|ARM">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>ARM</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|ARM">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>ARM</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|ARM64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>ARM64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|ARM64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>ARM64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x86">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x86</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x86">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x86</Platform>
|
||||
</ProjectConfiguration>
|
||||
<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>{dfab7824-db3c-4114-afe8-6dbd2892c07e}</ProjectGuid>
|
||||
<Keyword>Linux</Keyword>
|
||||
<RootNamespace>车商可视化数据管理系统</RootNamespace>
|
||||
<MinimumVisualStudioVersion>15.0</MinimumVisualStudioVersion>
|
||||
<ApplicationType>Linux</ApplicationType>
|
||||
<ApplicationTypeRevision>1.0</ApplicationTypeRevision>
|
||||
<TargetLinuxPlatform>Generic</TargetLinuxPlatform>
|
||||
<LinuxProjectType>{D51BCBC9-82E9-4017-911E-C93873C4EA2B}</LinuxProjectType>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'" Label="Configuration">
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'" Label="Configuration">
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x86'" Label="Configuration">
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x86'" Label="Configuration">
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="Configuration">
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="Configuration">
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings" />
|
||||
<ImportGroup Label="Shared" />
|
||||
<ImportGroup Label="PropertySheets" />
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<ItemGroup>
|
||||
<ClCompile Include="main.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
</ItemGroup>
|
||||
<ItemDefinitionGroup />
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets" />
|
||||
</Project>
|