增加车商业绩表和车商方案表数据结构文件。

This commit is contained in:
Kane Wang 2019-12-17 11:39:38 +08:00
parent adbe7bc808
commit 30115756b3
9 changed files with 45 additions and 11 deletions

View File

@ -17,6 +17,8 @@
<ResourceCompile Include="..\..\..\source\car_dealer_util.rc" /> <ResourceCompile Include="..\..\..\source\car_dealer_util.rc" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClCompile Include="..\..\..\source\Data\Datastructure\CarDealerAchievement\CarDealerAchievement.cpp" />
<ClCompile Include="..\..\..\source\Data\Datastructure\CarDealerScheme\CarDealerScheme.cpp" />
<ClCompile Include="..\..\..\source\main.cpp" /> <ClCompile Include="..\..\..\source\main.cpp" />
<ClCompile Include="..\..\..\source\Widgets\MainFrame\QMainFrame.cpp" /> <ClCompile Include="..\..\..\source\Widgets\MainFrame\QMainFrame.cpp" />
</ItemGroup> </ItemGroup>
@ -29,6 +31,10 @@
<ItemGroup> <ItemGroup>
<QtMoc Include="..\..\..\source\Widgets\MainFrame\QMainFrame.h" /> <QtMoc Include="..\..\..\source\Widgets\MainFrame\QMainFrame.h" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\source\Data\Datastructure\CarDealerAchievement\CarDealerAchievement.h" />
<ClInclude Include="..\..\..\source\Data\Datastructure\CarDealerScheme\CarDealerScheme.h" />
</ItemGroup>
<PropertyGroup Label="Globals"> <PropertyGroup Label="Globals">
<ProjectGuid>{B12702AD-ABFB-343A-A199-8E24837244A3}</ProjectGuid> <ProjectGuid>{B12702AD-ABFB-343A-A199-8E24837244A3}</ProjectGuid>
<Keyword>QtVS_v301</Keyword> <Keyword>QtVS_v301</Keyword>

View File

@ -29,6 +29,18 @@
<Filter Include="窗口\主窗口"> <Filter Include="窗口\主窗口">
<UniqueIdentifier>{bcfdef90-7980-4f25-8c6b-e1b05ab76277}</UniqueIdentifier> <UniqueIdentifier>{bcfdef90-7980-4f25-8c6b-e1b05ab76277}</UniqueIdentifier>
</Filter> </Filter>
<Filter Include="数据">
<UniqueIdentifier>{fc082078-769c-4eb6-a822-e6879fd3a289}</UniqueIdentifier>
</Filter>
<Filter Include="数据\数据结构">
<UniqueIdentifier>{87f39309-91c4-4326-9ed1-7b5851f44ddd}</UniqueIdentifier>
</Filter>
<Filter Include="数据\数据结构\车商方案表">
<UniqueIdentifier>{ad4e7129-bd8d-4793-b7b0-ed3c754f1e8a}</UniqueIdentifier>
</Filter>
<Filter Include="数据\数据结构\车商业绩表">
<UniqueIdentifier>{2c961c49-9981-447f-901d-c449e261fada}</UniqueIdentifier>
</Filter>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClCompile Include="..\..\..\source\main.cpp"> <ClCompile Include="..\..\..\source\main.cpp">
@ -37,6 +49,12 @@
<ClCompile Include="..\..\..\source\Widgets\MainFrame\QMainFrame.cpp"> <ClCompile Include="..\..\..\source\Widgets\MainFrame\QMainFrame.cpp">
<Filter>窗口\主窗口</Filter> <Filter>窗口\主窗口</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="..\..\..\source\Data\Datastructure\CarDealerScheme\CarDealerScheme.cpp">
<Filter>数据\数据结构\车商方案表</Filter>
</ClCompile>
<ClCompile Include="..\..\..\source\Data\Datastructure\CarDealerAchievement\CarDealerAchievement.cpp">
<Filter>数据\数据结构\车商业绩表</Filter>
</ClCompile>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<QtRcc Include="..\..\..\source\resource.qrc"> <QtRcc Include="..\..\..\source\resource.qrc">
@ -63,4 +81,12 @@
<Filter>Resource Files</Filter> <Filter>Resource Files</Filter>
</ResourceCompile> </ResourceCompile>
</ItemGroup> </ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\source\Data\Datastructure\CarDealerScheme\CarDealerScheme.h">
<Filter>数据\数据结构\车商方案表</Filter>
</ClInclude>
<ClInclude Include="..\..\..\source\Data\Datastructure\CarDealerAchievement\CarDealerAchievement.h">
<Filter>数据\数据结构\车商业绩表</Filter>
</ClInclude>
</ItemGroup>
</Project> </Project>

View File

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

View File

@ -0,0 +1,5 @@
#pragma once
class CarDealerAchievement
{
};

View File

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

View File

@ -0,0 +1,6 @@
#pragma once
class CarDealerScheme
{
};

View File

@ -4,13 +4,6 @@
int main( int argc, char * argv[] ) int main( int argc, char * argv[] )
{ {
// QApplication a(argc, argv);
// QMainFrame w;
//
// w.show();
//
// return a.exec();
QApplication * pApp = nullptr; QApplication * pApp = nullptr;
QMainFrame * pMainFrame = nullptr; QMainFrame * pMainFrame = nullptr;
int returnCode = -1; int returnCode = -1;
@ -28,10 +21,6 @@ int main( int argc, char * argv[] )
return -1; return -1;
} }
// QMessageBox::critical( nullptr,
// "错误!",
// "创建QApplication错误\n请联系开发人员。" );
try try
{ {
pMainFrame = new QMainFrame(); pMainFrame = new QMainFrame();