1
0
mirror of https://github.com/jaredtao/TaoQuick.git synced 2025-01-17 20:12:54 +08:00

add visual studio

This commit is contained in:
jared 2024-12-04 12:50:35 +08:00
parent fbb9dc5409
commit 0088fa205f
14 changed files with 494 additions and 22 deletions

View File

@ -94,9 +94,6 @@ CommentPragmas: '^ IWYU pragma:'
# 固定命名空间注释
FixNamespaceComments: true
# 对齐连续的尾随的注释
AlignTrailingComments: true
# 允许短的函数放在同一行: None, InlineOnly(定义在类中), Empty(空函数), Inline(定义在类中,空函数), All
AllowShortFunctionsOnASingleLine: Empty

4
.gitignore vendored
View File

@ -10,10 +10,12 @@ bin
*.stash
*.cbt
debug
release
*.ipch
*qmlcache.qrc
build
bin
.vc
.vscode
.vs
.vs
**/GeneratedFiles/**

View File

@ -1,4 +1,4 @@
#pragma once
#pragma once
#include <QObject>
#include <QtGlobal>
@ -132,6 +132,16 @@ public:
*/
// 可读可写 属性。属性set函数 提升为 slot ,可被 invok / qml 调用
#define AUTO_PROPERTY_V2(T, NAME, InitValue) \
private: \
Q_PROPERTY(T NAME READ NAME WRITE set_##NAME NOTIFY NAME##Changed) \
public: \
PROP_GET(T, NAME); \
Q_SLOT PROP_SET(T, NAME); \
\
private: \
PROP_MEM(T, NAME, InitValue)
//**********************************QObject 属性 二进制兼容版, 头文件声明 与 源文件定义 分离**********************************

View File

@ -6,9 +6,14 @@
class TAO_API QuickListItemBase : public QObject
{
Q_OBJECT
AUTO_PROPERTY(bool, isChecked, false)
AUTO_PROPERTY(bool, isSelected, false)
AUTO_PROPERTY(bool, isAlternate, false)
AUTO_PROPERTY_V2(bool, isChecked, false)
AUTO_PROPERTY_V2(bool, isSelected, false)
AUTO_PROPERTY_V2(bool, isAlternate, false)
signals:
void isCheckedChanged(bool);
void isSelectedChanged(bool);
void isAlternateChanged(bool);
public:
explicit QuickListItemBase(QObject* parent = nullptr);
virtual ~QuickListItemBase() override;

View File

@ -8,16 +8,27 @@
class TAO_API QuickListModel : public QuickModelBase<QuickListItemBase*>
{
private:
Q_OBJECT
Q_PROPERTY(bool allChecked READ allChecked WRITE setAllChecked NOTIFY allCheckedChanged)
AUTO_PROPERTY(int, visibledCount, 0)
AUTO_PROPERTY(int, selectedCount, 0)
AUTO_PROPERTY(int, checkedCount, 0)
AUTO_PROPERTY(QStringList, headerRoles, {})
AUTO_PROPERTY(Qt::SortOrder, sortOrder, Qt::AscendingOrder)
AUTO_PROPERTY(QString, sortRole, {})
AUTO_PROPERTY(QStringList, noSortRoles, {})
AUTO_PROPERTY_V2(int, visibledCount, 0)
AUTO_PROPERTY_V2(int, selectedCount, 0)
AUTO_PROPERTY_V2(int, checkedCount, 0)
AUTO_PROPERTY_V2(QStringList, headerRoles, {})
AUTO_PROPERTY_V2(Qt::SortOrder, sortOrder, Qt::AscendingOrder)
AUTO_PROPERTY_V2(QString, sortRole, {})
AUTO_PROPERTY_V2(QStringList, noSortRoles, {})
signals:
void visibledCountChanged(int);
void selectedCountChanged(int);
void checkedCountChanged(int);
void headerRolesChanged(const QStringList&);
void sortOrderChanged(Qt::SortOrder);
void sortRoleChanged(const QString&);
void noSortRolesChanged(const QStringList&);
public:
using Super = QuickModelBase<QuickListItemBase*>;
explicit QuickListModel(QObject* parent = nullptr);

View File

@ -6,6 +6,7 @@
template <class T>
class QuickModelBase : public QAbstractListModel
{
public:
using Super = QAbstractListModel;
explicit QuickModelBase(QObject* parent = nullptr);

View File

@ -6,8 +6,10 @@
#include <QQmlContext>
#include <QQmlEngine>
#include <QQuickView>
const static auto cEnglisthStr = u8"English";
const static auto cChineseStr = u8"简体中文";
const static QString cEnglisthStr = QStringLiteral("English");
const static QString cChineseStr = QStringLiteral("简体中文");
Trans::Trans(QObject* parent)
: QTranslator(parent)
{

25
TaoQuick.sln Normal file
View File

@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.11.35431.28
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TaoQuickShow", "examples\TaoQuickShow\TaoQuickShow.vcxproj", "{459D668B-0F88-4B38-9C16-E28F89505358}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Release|x64 = Release|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{459D668B-0F88-4B38-9C16-E28F89505358}.Debug|x64.ActiveCfg = Debug|x64
{459D668B-0F88-4B38-9C16-E28F89505358}.Debug|x64.Build.0 = Debug|x64
{459D668B-0F88-4B38-9C16-E28F89505358}.Release|x64.ActiveCfg = Release|x64
{459D668B-0F88-4B38-9C16-E28F89505358}.Release|x64.Build.0 = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {DC052BAA-5D0E-46CB-A268-F382FB176B69}
EndGlobalSection
EndGlobal

View File

@ -1,5 +1,6 @@
#include "AppInfo.h"
#include "Ver-u8.h"
#include "taoVersionInfo.h"
#include <QQmlContext>
#include <QSysInfo>
AppInfo::AppInfo(QObject* parent)

View File

@ -7,10 +7,15 @@ class DeviceAddItem : public QuickListItemBase
{
Q_OBJECT
AUTO_PROPERTY(QString, name, "")
AUTO_PROPERTY(QString, address, "")
AUTO_PROPERTY(QString, modelString, "")
AUTO_PROPERTY(bool, online, false)
AUTO_PROPERTY_V2(QString, name, "")
AUTO_PROPERTY_V2(QString, address, "")
AUTO_PROPERTY_V2(QString, modelString, "")
AUTO_PROPERTY_V2(bool, online, false)
signals:
void nameChanged(const QString&);
void addressChanged(const QString&);
void modelStringChanged(const QString&);
void onlineChanged(bool);
public:
explicit DeviceAddItem(QObject* parent = nullptr);

View File

@ -1,3 +1,4 @@
#include "AppInfo.h"
#include "DeviceAddTable/DeviceAddModel.h"
#include "Frameless/TaoFrameLessView.h"
@ -126,7 +127,11 @@ int main(int argc, char** argv)
// qml call 'Qt.quit()' will emit engine::quit, here should call qApp->quit
QObject::connect(view.engine(), &QQmlEngine::quit, qApp, &QCoreApplication::quit);
// qml clear content before quit
QObject::connect(qApp, &QGuiApplication::aboutToQuit, qApp, [&view]() { view.setSource({}); });
QObject::connect(qApp, &QGuiApplication::aboutToQuit, qApp, [&view]()
{
view.setSource({});
qInstallMessageHandler(nullptr);
});
view.setSource(url);
view.moveToScreenCenter();

View File

@ -0,0 +1,200 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="17.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>
<QtRcc Include="..\..\src\TaoQuick\TaoQuick.qrc" />
<QtRcc Include="Contents.qrc" />
<QtRcc Include="Image.qrc" />
<QtRcc Include="Qml.qrc" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\3rdparty\TaoCommon\src\TaoCommon\Frameless\TaoFrameLessView_win.cpp" />
<ClCompile Include="..\..\3rdparty\TaoCommon\src\TaoCommon\Logger\Logger.cpp" />
<ClCompile Include="..\..\3rdparty\TaoCommon\src\TaoCommon\QuickModel\QuickListItemBase.cpp" />
<ClCompile Include="..\..\3rdparty\TaoCommon\src\TaoCommon\QuickModel\QuickListModel.cpp" />
<ClCompile Include="..\..\3rdparty\TaoCommon\src\TaoCommon\QuickTool\QuickTool.cpp" />
<ClCompile Include="..\..\3rdparty\TaoCommon\src\TaoCommon\QuickTree\Model\QuickTreeModel.cpp" />
<ClCompile Include="..\..\3rdparty\TaoCommon\src\TaoCommon\Thread\ThreadPool.cpp" />
<ClCompile Include="..\..\3rdparty\TaoCommon\src\TaoCommon\Trans\Trans.cpp" />
<ClCompile Include="Src\AppInfo.cpp" />
<ClCompile Include="Src\DeviceAddTable\DeviceAddItem.cpp" />
<ClCompile Include="Src\DeviceAddTable\DeviceAddModel.cpp" />
<ClCompile Include="Src\main.cpp" />
</ItemGroup>
<ItemGroup>
<QtMoc Include="Src\DeviceAddTable\DeviceAddItem.h" />
</ItemGroup>
<ItemGroup>
<QtMoc Include="Src\DeviceAddTable\DeviceAddModel.h">
<DynamicSource>output</DynamicSource>
</QtMoc>
</ItemGroup>
<ItemGroup>
<QtMoc Include="Src\AppInfo.h" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\3rdparty\TaoCommon\src\TaoCommon\Common\FileReadWrite.h" />
<ClInclude Include="..\..\3rdparty\TaoCommon\src\TaoCommon\Common\JsonSerialize.h" />
<ClInclude Include="..\..\3rdparty\TaoCommon\src\TaoCommon\Common\MathHelp.h" />
<ClInclude Include="..\..\3rdparty\TaoCommon\src\TaoCommon\Common\ObjectMap.h" />
<ClInclude Include="..\..\3rdparty\TaoCommon\src\TaoCommon\Common\Package.h" />
<ClInclude Include="..\..\3rdparty\TaoCommon\src\TaoCommon\Common\PropertyHelper.h" />
<ClInclude Include="..\..\3rdparty\TaoCommon\src\TaoCommon\Common\Subject.h" />
<ClInclude Include="..\..\3rdparty\TaoCommon\src\TaoCommon\Logger\Logger.h" />
<ClInclude Include="..\..\3rdparty\TaoCommon\src\TaoCommon\Logger\LoggerTemplate.h" />
<QtMoc Include="..\..\3rdparty\TaoCommon\src\TaoCommon\QuickModel\QuickListModel.h">
<DynamicSource>output</DynamicSource>
<DeploymentContent Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</DeploymentContent>
<ParallelProcess Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ParallelProcess>
</QtMoc>
<ClInclude Include="..\..\3rdparty\TaoCommon\src\TaoCommon\QuickModel\QuickModelBase.hpp" />
<ClInclude Include="..\..\3rdparty\TaoCommon\src\TaoCommon\Thread\ThreadCommon.h" />
<ClInclude Include="..\..\taoVersionInfo.h" />
<ClInclude Include="Ver-u16.h" />
<ClInclude Include="Ver-u8.h" />
<QtMoc Include="..\..\3rdparty\TaoCommon\src\TaoCommon\Trans\Trans.h" />
<QtMoc Include="..\..\3rdparty\TaoCommon\src\TaoCommon\Thread\ThreadWorkerController.h" />
<QtMoc Include="..\..\3rdparty\TaoCommon\src\TaoCommon\Thread\ThreadPool.h" />
<QtMoc Include="..\..\3rdparty\TaoCommon\src\TaoCommon\QuickTree\Model\QuickTreeModel.h" />
<QtMoc Include="..\..\3rdparty\TaoCommon\src\TaoCommon\QuickTree\Model\QuickTreeItem.h" />
<QtMoc Include="..\..\3rdparty\TaoCommon\src\TaoCommon\QuickTool\QuickTool.h" />
<QtMoc Include="..\..\3rdparty\TaoCommon\src\TaoCommon\QuickModel\QuickListItemBase.h">
<DynamicSource>output</DynamicSource>
</QtMoc>
<QtMoc Include="..\..\3rdparty\TaoCommon\src\TaoCommon\Frameless\TaoFrameLessView.h" />
<ClInclude Include="..\..\3rdparty\TaoCommon\src\TaoCommon\TaoCommonGlobal.h" />
<ClInclude Include="Src\stdafx.h" />
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{459D668B-0F88-4B38-9C16-E28F89505358}</ProjectGuid>
<Keyword>QtVS_v304</Keyword>
<WindowsTargetPlatformVersion>10.0.19041.0</WindowsTargetPlatformVersion>
<QtMsBuild Condition="'$(QtMsBuild)'=='' OR !Exists('$(QtMsBuild)\qt.targets')">$(MSBuildProjectDirectory)\QtMsBuild</QtMsBuild>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<PlatformToolset>v142</PlatformToolset>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<PlatformToolset>v142</PlatformToolset>
<UseDebugLibraries>false</UseDebugLibraries>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Condition="Exists('$(QtMsBuild)\qt_defaults.props')">
<Import Project="$(QtMsBuild)\qt_defaults.props" />
</ImportGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'" Label="QtSettings">
<QtInstall>5.15.12_msvc2019_64</QtInstall>
<QtModules>quick</QtModules>
<QtBuildConfig>debug</QtBuildConfig>
<QtQMLDebugEnable>true</QtQMLDebugEnable>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'" Label="QtSettings">
<QtInstall>5.15.12_msvc2019_64</QtInstall>
<QtModules>quick</QtModules>
<QtBuildConfig>release</QtBuildConfig>
</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" />
<Import Project="$(QtMsBuild)\Qt.props" />
</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" />
<Import Project="$(QtMsBuild)\Qt.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<IncludePath>$(SolutionDir)3rdparty\TaoCommon\src\TaoCommon;$(SolutionDir);$(IncludePath)</IncludePath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<IncludePath>$(SolutionDir)3rdparty\TaoCommon\src\TaoCommon;$(SolutionDir);$(IncludePath)</IncludePath>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<LanguageStandard>Default</LanguageStandard>
<PreprocessorDefinitions>TaoCommon_NO_LIB;TaoQuickShowPath="qrc:/";TaoQuickImportPath="qrc:/";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<LanguageStandard>Default</LanguageStandard>
<PreprocessorDefinitions>TaoCommon_NO_LIB;TaoQuickShowPath="qrc:/";TaoQuickImportPath="qrc:/";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'" Label="Configuration">
<ClCompile>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<WarningLevel>Level3</WarningLevel>
<SDLCheck>true</SDLCheck>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
<QtMoc>
<ExecutionDescription>Moc'ing %(Identity)...</ExecutionDescription>
<QtMocDir>.\GeneratedFiles\$(ConfigurationName)</QtMocDir>
<QtMocFileName>moc_%(Filename).cpp</QtMocFileName>
</QtMoc>
<QtUic>
<ExecutionDescription>Uic'ing %(Identity)...</ExecutionDescription>
<QtUicDir>.\GeneratedFiles</QtUicDir>
<QtUicFileName>ui_%(Filename).h</QtUicFileName>
</QtUic>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'" Label="Configuration">
<ClCompile>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<WarningLevel>Level3</WarningLevel>
<SDLCheck>true</SDLCheck>
<ConformanceMode>true</ConformanceMode>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>false</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
<QtMoc>
<ExecutionDescription>Moc'ing %(Identity)...</ExecutionDescription>
<QtMocDir>.\GeneratedFiles\$(ConfigurationName)</QtMocDir>
<QtMocFileName>moc_%(Filename).cpp</QtMocFileName>
</QtMoc>
<QtUic>
<ExecutionDescription>Uic'ing %(Identity)...</ExecutionDescription>
<QtUicDir>.\GeneratedFiles</QtUicDir>
<QtUicFileName>ui_%(Filename).h</QtUicFileName>
</QtUic>
</ItemDefinitionGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Condition="Exists('$(QtMsBuild)\qt.targets')">
<Import Project="$(QtMsBuild)\qt.targets" />
</ImportGroup>
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@ -0,0 +1,196 @@
<?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>qml;cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>qrc;rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
<Filter Include="Translation Files">
<UniqueIdentifier>{639EADAA-A684-42e4-A9AD-28FC9BCB8F7C}</UniqueIdentifier>
<Extensions>ts</Extensions>
</Filter>
<Filter Include="Source Files\DeviceAddTable">
<UniqueIdentifier>{0780f67f-1677-41e7-a3fd-38e8c9b0218b}</UniqueIdentifier>
</Filter>
<Filter Include="TaoCommon">
<UniqueIdentifier>{2e55065f-d815-466c-8d37-d14cd7977af3}</UniqueIdentifier>
</Filter>
<Filter Include="TaoCommon\Common">
<UniqueIdentifier>{c6a242b6-b744-4887-8c32-f90124eb9748}</UniqueIdentifier>
</Filter>
<Filter Include="TaoCommon\Frameless">
<UniqueIdentifier>{4c8b6cca-d44b-4fd1-b1ac-4df5da432066}</UniqueIdentifier>
</Filter>
<Filter Include="TaoCommon\Logger">
<UniqueIdentifier>{c8da1b71-eb0a-4b33-ac71-b48a36df99db}</UniqueIdentifier>
</Filter>
<Filter Include="TaoCommon\QuickModel">
<UniqueIdentifier>{d7fa3a1f-ae61-40c4-a5f9-48d267c880d6}</UniqueIdentifier>
</Filter>
<Filter Include="TaoCommon\QuickTool">
<UniqueIdentifier>{a670327f-344e-44d9-aca4-69b4069f6fd7}</UniqueIdentifier>
</Filter>
<Filter Include="TaoCommon\QuickTree">
<UniqueIdentifier>{038ed288-0f7f-4954-a9bd-92e6e3a8cd4c}</UniqueIdentifier>
</Filter>
<Filter Include="TaoCommon\Thread">
<UniqueIdentifier>{d99a6fb6-65e0-4523-b1da-44a3cf1baa52}</UniqueIdentifier>
</Filter>
<Filter Include="TaoCommon\Trans">
<UniqueIdentifier>{66d20328-4363-489c-9e78-0187bd5b9796}</UniqueIdentifier>
</Filter>
<Filter Include="TaoCommon\QuickTree\Model">
<UniqueIdentifier>{be6c7c5e-a8cd-4a06-b23a-56023751c219}</UniqueIdentifier>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{23e94e10-78b9-4d83-a4e4-26dd2941ebea}</UniqueIdentifier>
</Filter>
<Filter Include="TaoQuick">
<UniqueIdentifier>{d49c24fe-0f88-409b-9aee-958d402d102e}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<QtRcc Include="Qml.qrc">
<Filter>Resource Files</Filter>
</QtRcc>
<QtRcc Include="Contents.qrc">
<Filter>Resource Files</Filter>
</QtRcc>
<QtRcc Include="Image.qrc">
<Filter>Resource Files</Filter>
</QtRcc>
<QtRcc Include="..\..\src\TaoQuick\TaoQuick.qrc">
<Filter>TaoQuick</Filter>
</QtRcc>
</ItemGroup>
<ItemGroup>
<ClCompile Include="Src\AppInfo.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="Src\main.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="Src\DeviceAddTable\DeviceAddItem.cpp">
<Filter>Source Files\DeviceAddTable</Filter>
</ClCompile>
<ClCompile Include="Src\DeviceAddTable\DeviceAddModel.cpp">
<Filter>Source Files\DeviceAddTable</Filter>
</ClCompile>
<ClCompile Include="..\..\3rdparty\TaoCommon\src\TaoCommon\Frameless\TaoFrameLessView_win.cpp">
<Filter>TaoCommon\Frameless</Filter>
</ClCompile>
<ClCompile Include="..\..\3rdparty\TaoCommon\src\TaoCommon\Logger\Logger.cpp">
<Filter>TaoCommon\Logger</Filter>
</ClCompile>
<ClCompile Include="..\..\3rdparty\TaoCommon\src\TaoCommon\QuickModel\QuickListItemBase.cpp">
<Filter>TaoCommon\QuickModel</Filter>
</ClCompile>
<ClCompile Include="..\..\3rdparty\TaoCommon\src\TaoCommon\QuickModel\QuickListModel.cpp">
<Filter>TaoCommon\QuickModel</Filter>
</ClCompile>
<ClCompile Include="..\..\3rdparty\TaoCommon\src\TaoCommon\QuickTool\QuickTool.cpp">
<Filter>TaoCommon\QuickTool</Filter>
</ClCompile>
<ClCompile Include="..\..\3rdparty\TaoCommon\src\TaoCommon\QuickTree\Model\QuickTreeModel.cpp">
<Filter>TaoCommon\QuickTree\Model</Filter>
</ClCompile>
<ClCompile Include="..\..\3rdparty\TaoCommon\src\TaoCommon\Thread\ThreadPool.cpp">
<Filter>TaoCommon\Thread</Filter>
</ClCompile>
<ClCompile Include="..\..\3rdparty\TaoCommon\src\TaoCommon\Trans\Trans.cpp">
<Filter>TaoCommon\Trans</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<QtMoc Include="Src\AppInfo.h">
<Filter>Source Files</Filter>
</QtMoc>
<QtMoc Include="Src\DeviceAddTable\DeviceAddItem.h">
<Filter>Source Files\DeviceAddTable</Filter>
</QtMoc>
<QtMoc Include="Src\DeviceAddTable\DeviceAddModel.h">
<Filter>Source Files\DeviceAddTable</Filter>
</QtMoc>
<QtMoc Include="..\..\3rdparty\TaoCommon\src\TaoCommon\Frameless\TaoFrameLessView.h">
<Filter>TaoCommon\Frameless</Filter>
</QtMoc>
<QtMoc Include="..\..\3rdparty\TaoCommon\src\TaoCommon\QuickModel\QuickListItemBase.h">
<Filter>TaoCommon\QuickModel</Filter>
</QtMoc>
<QtMoc Include="..\..\3rdparty\TaoCommon\src\TaoCommon\QuickTool\QuickTool.h">
<Filter>TaoCommon\QuickTool</Filter>
</QtMoc>
<QtMoc Include="..\..\3rdparty\TaoCommon\src\TaoCommon\QuickTree\Model\QuickTreeItem.h">
<Filter>TaoCommon\QuickTree\Model</Filter>
</QtMoc>
<QtMoc Include="..\..\3rdparty\TaoCommon\src\TaoCommon\QuickTree\Model\QuickTreeModel.h">
<Filter>TaoCommon\QuickTree\Model</Filter>
</QtMoc>
<QtMoc Include="..\..\3rdparty\TaoCommon\src\TaoCommon\Thread\ThreadPool.h">
<Filter>TaoCommon\Thread</Filter>
</QtMoc>
<QtMoc Include="..\..\3rdparty\TaoCommon\src\TaoCommon\Thread\ThreadWorkerController.h">
<Filter>TaoCommon\Thread</Filter>
</QtMoc>
<QtMoc Include="..\..\3rdparty\TaoCommon\src\TaoCommon\Trans\Trans.h">
<Filter>TaoCommon\Trans</Filter>
</QtMoc>
<QtMoc Include="..\..\3rdparty\TaoCommon\src\TaoCommon\QuickModel\QuickListModel.h">
<Filter>TaoCommon\QuickModel</Filter>
</QtMoc>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\3rdparty\TaoCommon\src\TaoCommon\TaoCommonGlobal.h">
<Filter>TaoCommon</Filter>
</ClInclude>
<ClInclude Include="..\..\3rdparty\TaoCommon\src\TaoCommon\Common\FileReadWrite.h">
<Filter>TaoCommon\Common</Filter>
</ClInclude>
<ClInclude Include="..\..\3rdparty\TaoCommon\src\TaoCommon\Common\JsonSerialize.h">
<Filter>TaoCommon\Common</Filter>
</ClInclude>
<ClInclude Include="..\..\3rdparty\TaoCommon\src\TaoCommon\Common\MathHelp.h">
<Filter>TaoCommon\Common</Filter>
</ClInclude>
<ClInclude Include="..\..\3rdparty\TaoCommon\src\TaoCommon\Common\ObjectMap.h">
<Filter>TaoCommon\Common</Filter>
</ClInclude>
<ClInclude Include="..\..\3rdparty\TaoCommon\src\TaoCommon\Common\Package.h">
<Filter>TaoCommon\Common</Filter>
</ClInclude>
<ClInclude Include="..\..\3rdparty\TaoCommon\src\TaoCommon\Common\PropertyHelper.h">
<Filter>TaoCommon\Common</Filter>
</ClInclude>
<ClInclude Include="..\..\3rdparty\TaoCommon\src\TaoCommon\Common\Subject.h">
<Filter>TaoCommon\Common</Filter>
</ClInclude>
<ClInclude Include="..\..\3rdparty\TaoCommon\src\TaoCommon\Logger\Logger.h">
<Filter>TaoCommon\Logger</Filter>
</ClInclude>
<ClInclude Include="..\..\3rdparty\TaoCommon\src\TaoCommon\Logger\LoggerTemplate.h">
<Filter>TaoCommon\Logger</Filter>
</ClInclude>
<ClInclude Include="..\..\3rdparty\TaoCommon\src\TaoCommon\Thread\ThreadCommon.h">
<Filter>TaoCommon\Thread</Filter>
</ClInclude>
<ClInclude Include="..\..\taoVersionInfo.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="Ver-u8.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="Ver-u16.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="Src\stdafx.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\3rdparty\TaoCommon\src\TaoCommon\QuickModel\QuickModelBase.hpp">
<Filter>TaoCommon\QuickModel</Filter>
</ClInclude>
</ItemGroup>
</Project>

12
taoVersionInfo.h Normal file
View File

@ -0,0 +1,12 @@
#ifndef TAO_VERSION_INFO_H
#define TAO_VERSION_INFO_H
#define TaoREVISIONSTR "rev"
#define TaoVer "1.2.0"
#define TaoMAJ 1
#define TaoMIN 2
#define TaoPAT 0
#define TaoDATETIME "0"
#define CXX_COMPILER_ID "vc143"
#endif //TAO_VERSION_INFO_H