Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
FMVip_Today
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhenfei.zhang
FMVip_Today
Commits
34f723e0
Commit
34f723e0
authored
Sep 04, 2016
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
最初版本
parent
418e8eb2
Show whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
1272 additions
and
329 deletions
+1272
-329
FMVip/FMVip.pro
+4
-2
FMVip/FMVip.pro.user
+12
-205
FMVip/FMVip.pro.user.813ec36
+511
-0
FMVip/fmvipdispatcher.cpp
+131
-35
FMVip/fmvipdispatcher.h
+30
-4
FMVip/fmvipforward.cpp
+334
-0
FMVip/fmvipforward.h
+82
-0
FMVip/fmvipfund.cpp
+23
-6
FMVip/fmvipfund.h
+1
-1
FMVip/fmviplogin.cpp
+18
-5
FMVip/fmviplogin.h
+1
-1
FMVip/fmviporder.cpp
+34
-1
FMVip/fmviporder.h
+1
-1
FMVip/fmvippanel.cpp
+2
-1
FMVip/fmvippanel.h
+1
-1
FMVip/fmvipwnd.cpp
+8
-1
FMVip/fmvipwnd.h
+8
-4
FMVip/forms/fmvipfund.ui
+63
-57
FMVip/forms/fmviplogin.ui
+5
-2
FMVip/res/FMVip.qrc
+1
-0
FMVip/res/data/user
+2
-2
FMVip/res/loading.gif
+0
-0
No files found.
FMVip/FMVip.pro
View file @
34f723e0
...
...
@@ -18,14 +18,16 @@ SOURCES += main.cpp\
fmvipwnd
.
cpp
\
fmvippanel
.
cpp
\
fmvipfund
.
cpp
\
fmvipdispatcher
.
cpp
fmvipdispatcher
.
cpp
\
fmvipforward
.
cpp
HEADERS
+=
fmviporder
.
h
\
fmviplogin
.
h
\
fmvipwnd
.
h
\
fmvippanel
.
h
\
fmvipfund
.
h
\
fmvipdispatcher
.
h
fmvipdispatcher
.
h
\
fmvipforward
.
h
FORMS
+=
forms
/
fmviporder
.
ui
\
forms
/
fmviplogin
.
ui
\
...
...
FMVip/FMVip.pro.user
View file @
34f723e0
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 4.0.2, 2016-0
8-22T13:44:45
. -->
<!-- Written by QtCreator 4.0.2, 2016-0
9-02T19:37:11
. -->
<qtcreator>
<data>
<variable>
EnvironmentId
</variable>
<value
type=
"QByteArray"
>
{
813ec36b-a9c6-49b0-a0ef-efa92fe43e7f
}
</value>
<value
type=
"QByteArray"
>
{
d8787e4d-7efd-4c71-8b54-13a90d38efb3
}
</value>
</data>
<data>
<variable>
ProjectExplorer.Project.ActiveTarget
</variable>
<value
type=
"int"
>
1
</value>
<value
type=
"int"
>
0
</value>
</data>
<data>
<variable>
ProjectExplorer.Project.EditorSettings
</variable>
...
...
@@ -59,207 +59,14 @@
<data>
<variable>
ProjectExplorer.Project.Target.0
</variable>
<valuemap
type=
"QVariantMap"
>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
Desktop Qt 4.8.6(MinGW)
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
>
Desktop Qt 4.8.6(MinGW)
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
{4df5258e-6f62-4776-8b31-911a2e5df987}
</value>
<value
type=
"int"
key=
"ProjectExplorer.Target.ActiveBuildConfiguration"
>
0
</value>
<value
type=
"int"
key=
"ProjectExplorer.Target.ActiveDeployConfiguration"
>
0
</value>
<value
type=
"int"
key=
"ProjectExplorer.Target.ActiveRunConfiguration"
>
0
</value>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.Target.BuildConfiguration.0"
>
<value
type=
"QString"
key=
"ProjectExplorer.BuildConfiguration.BuildDirectory"
>
C:/Users/Amor/Documents/QProjects/build-FMVip-Desktop_Qt_4_8_6_MinGW-Debug
</value>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.BuildConfiguration.BuildStepList.0"
>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.BuildStepList.Step.0"
>
<value
type=
"bool"
key=
"ProjectExplorer.BuildStep.Enabled"
>
true
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
qmake
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
QtProjectManager.QMakeBuildStep
</value>
<value
type=
"bool"
key=
"QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary"
>
false
</value>
<value
type=
"QString"
key=
"QtProjectManager.QMakeBuildStep.QMakeArguments"
></value>
<value
type=
"bool"
key=
"QtProjectManager.QMakeBuildStep.QMakeForced"
>
false
</value>
<value
type=
"bool"
key=
"QtProjectManager.QMakeBuildStep.SeparateDebugInfo"
>
false
</value>
<value
type=
"bool"
key=
"QtProjectManager.QMakeBuildStep.UseQtQuickCompiler"
>
false
</value>
</valuemap>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.BuildStepList.Step.1"
>
<value
type=
"bool"
key=
"ProjectExplorer.BuildStep.Enabled"
>
true
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
Make
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
Qt4ProjectManager.MakeStep
</value>
<valuelist
type=
"QVariantList"
key=
"Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"
/>
<value
type=
"bool"
key=
"Qt4ProjectManager.MakeStep.Clean"
>
false
</value>
<value
type=
"QString"
key=
"Qt4ProjectManager.MakeStep.MakeArguments"
></value>
<value
type=
"QString"
key=
"Qt4ProjectManager.MakeStep.MakeCommand"
></value>
</valuemap>
<value
type=
"int"
key=
"ProjectExplorer.BuildStepList.StepsCount"
>
2
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
构建
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
ProjectExplorer.BuildSteps.Build
</value>
</valuemap>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.BuildConfiguration.BuildStepList.1"
>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.BuildStepList.Step.0"
>
<value
type=
"bool"
key=
"ProjectExplorer.BuildStep.Enabled"
>
true
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
Make
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
Qt4ProjectManager.MakeStep
</value>
<valuelist
type=
"QVariantList"
key=
"Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"
/>
<value
type=
"bool"
key=
"Qt4ProjectManager.MakeStep.Clean"
>
true
</value>
<value
type=
"QString"
key=
"Qt4ProjectManager.MakeStep.MakeArguments"
>
clean
</value>
<value
type=
"QString"
key=
"Qt4ProjectManager.MakeStep.MakeCommand"
></value>
</valuemap>
<value
type=
"int"
key=
"ProjectExplorer.BuildStepList.StepsCount"
>
1
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
清理
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
ProjectExplorer.BuildSteps.Clean
</value>
</valuemap>
<value
type=
"int"
key=
"ProjectExplorer.BuildConfiguration.BuildStepListCount"
>
2
</value>
<value
type=
"bool"
key=
"ProjectExplorer.BuildConfiguration.ClearSystemEnvironment"
>
false
</value>
<valuelist
type=
"QVariantList"
key=
"ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"
/>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
Debug
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
Qt4ProjectManager.Qt4BuildConfiguration
</value>
<value
type=
"int"
key=
"Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration"
>
2
</value>
<value
type=
"bool"
key=
"Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild"
>
true
</value>
</valuemap>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.Target.BuildConfiguration.1"
>
<value
type=
"QString"
key=
"ProjectExplorer.BuildConfiguration.BuildDirectory"
>
C:/Users/Amor/Documents/QProjects/build-FMVip-Desktop_Qt_4_8_6_MinGW-Release
</value>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.BuildConfiguration.BuildStepList.0"
>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.BuildStepList.Step.0"
>
<value
type=
"bool"
key=
"ProjectExplorer.BuildStep.Enabled"
>
true
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
qmake
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
QtProjectManager.QMakeBuildStep
</value>
<value
type=
"bool"
key=
"QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary"
>
false
</value>
<value
type=
"QString"
key=
"QtProjectManager.QMakeBuildStep.QMakeArguments"
></value>
<value
type=
"bool"
key=
"QtProjectManager.QMakeBuildStep.QMakeForced"
>
false
</value>
<value
type=
"bool"
key=
"QtProjectManager.QMakeBuildStep.SeparateDebugInfo"
>
false
</value>
<value
type=
"bool"
key=
"QtProjectManager.QMakeBuildStep.UseQtQuickCompiler"
>
false
</value>
</valuemap>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.BuildStepList.Step.1"
>
<value
type=
"bool"
key=
"ProjectExplorer.BuildStep.Enabled"
>
true
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
Make
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
Qt4ProjectManager.MakeStep
</value>
<valuelist
type=
"QVariantList"
key=
"Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"
/>
<value
type=
"bool"
key=
"Qt4ProjectManager.MakeStep.Clean"
>
false
</value>
<value
type=
"QString"
key=
"Qt4ProjectManager.MakeStep.MakeArguments"
></value>
<value
type=
"QString"
key=
"Qt4ProjectManager.MakeStep.MakeCommand"
></value>
</valuemap>
<value
type=
"int"
key=
"ProjectExplorer.BuildStepList.StepsCount"
>
2
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
构建
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
ProjectExplorer.BuildSteps.Build
</value>
</valuemap>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.BuildConfiguration.BuildStepList.1"
>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.BuildStepList.Step.0"
>
<value
type=
"bool"
key=
"ProjectExplorer.BuildStep.Enabled"
>
true
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
Make
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
Qt4ProjectManager.MakeStep
</value>
<valuelist
type=
"QVariantList"
key=
"Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"
/>
<value
type=
"bool"
key=
"Qt4ProjectManager.MakeStep.Clean"
>
true
</value>
<value
type=
"QString"
key=
"Qt4ProjectManager.MakeStep.MakeArguments"
>
clean
</value>
<value
type=
"QString"
key=
"Qt4ProjectManager.MakeStep.MakeCommand"
></value>
</valuemap>
<value
type=
"int"
key=
"ProjectExplorer.BuildStepList.StepsCount"
>
1
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
清理
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
ProjectExplorer.BuildSteps.Clean
</value>
</valuemap>
<value
type=
"int"
key=
"ProjectExplorer.BuildConfiguration.BuildStepListCount"
>
2
</value>
<value
type=
"bool"
key=
"ProjectExplorer.BuildConfiguration.ClearSystemEnvironment"
>
false
</value>
<valuelist
type=
"QVariantList"
key=
"ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"
/>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
Release
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
Qt4ProjectManager.Qt4BuildConfiguration
</value>
<value
type=
"int"
key=
"Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration"
>
0
</value>
<value
type=
"bool"
key=
"Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild"
>
true
</value>
</valuemap>
<value
type=
"int"
key=
"ProjectExplorer.Target.BuildConfigurationCount"
>
2
</value>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.Target.DeployConfiguration.0"
>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.BuildConfiguration.BuildStepList.0"
>
<value
type=
"int"
key=
"ProjectExplorer.BuildStepList.StepsCount"
>
0
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
部署
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
ProjectExplorer.BuildSteps.Deploy
</value>
</valuemap>
<value
type=
"int"
key=
"ProjectExplorer.BuildConfiguration.BuildStepListCount"
>
1
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
在本地部署
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
ProjectExplorer.DefaultDeployConfiguration
</value>
</valuemap>
<value
type=
"int"
key=
"ProjectExplorer.Target.DeployConfigurationCount"
>
1
</value>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.Target.PluginSettings"
/>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.Target.RunConfiguration.0"
>
<value
type=
"bool"
key=
"Analyzer.QmlProfiler.AggregateTraces"
>
false
</value>
<value
type=
"bool"
key=
"Analyzer.QmlProfiler.FlushEnabled"
>
false
</value>
<value
type=
"uint"
key=
"Analyzer.QmlProfiler.FlushInterval"
>
1000
</value>
<value
type=
"QString"
key=
"Analyzer.QmlProfiler.LastTraceFile"
></value>
<value
type=
"bool"
key=
"Analyzer.QmlProfiler.Settings.UseGlobalSettings"
>
true
</value>
<valuelist
type=
"QVariantList"
key=
"Analyzer.Valgrind.AddedSuppressionFiles"
/>
<value
type=
"bool"
key=
"Analyzer.Valgrind.Callgrind.CollectBusEvents"
>
false
</value>
<value
type=
"bool"
key=
"Analyzer.Valgrind.Callgrind.CollectSystime"
>
false
</value>
<value
type=
"bool"
key=
"Analyzer.Valgrind.Callgrind.EnableBranchSim"
>
false
</value>
<value
type=
"bool"
key=
"Analyzer.Valgrind.Callgrind.EnableCacheSim"
>
false
</value>
<value
type=
"bool"
key=
"Analyzer.Valgrind.Callgrind.EnableEventToolTips"
>
true
</value>
<value
type=
"double"
key=
"Analyzer.Valgrind.Callgrind.MinimumCostRatio"
>
0.01
</value>
<value
type=
"double"
key=
"Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio"
>
10
</value>
<value
type=
"bool"
key=
"Analyzer.Valgrind.FilterExternalIssues"
>
true
</value>
<value
type=
"int"
key=
"Analyzer.Valgrind.LeakCheckOnFinish"
>
1
</value>
<value
type=
"int"
key=
"Analyzer.Valgrind.NumCallers"
>
25
</value>
<valuelist
type=
"QVariantList"
key=
"Analyzer.Valgrind.RemovedSuppressionFiles"
/>
<value
type=
"int"
key=
"Analyzer.Valgrind.SelfModifyingCodeDetection"
>
1
</value>
<value
type=
"bool"
key=
"Analyzer.Valgrind.Settings.UseGlobalSettings"
>
true
</value>
<value
type=
"bool"
key=
"Analyzer.Valgrind.ShowReachable"
>
false
</value>
<value
type=
"bool"
key=
"Analyzer.Valgrind.TrackOrigins"
>
true
</value>
<value
type=
"QString"
key=
"Analyzer.Valgrind.ValgrindExecutable"
>
valgrind
</value>
<valuelist
type=
"QVariantList"
key=
"Analyzer.Valgrind.VisibleErrorKinds"
>
<value
type=
"int"
>
0
</value>
<value
type=
"int"
>
1
</value>
<value
type=
"int"
>
2
</value>
<value
type=
"int"
>
3
</value>
<value
type=
"int"
>
4
</value>
<value
type=
"int"
>
5
</value>
<value
type=
"int"
>
6
</value>
<value
type=
"int"
>
7
</value>
<value
type=
"int"
>
8
</value>
<value
type=
"int"
>
9
</value>
<value
type=
"int"
>
10
</value>
<value
type=
"int"
>
11
</value>
<value
type=
"int"
>
12
</value>
<value
type=
"int"
>
13
</value>
<value
type=
"int"
>
14
</value>
</valuelist>
<value
type=
"int"
key=
"PE.EnvironmentAspect.Base"
>
2
</value>
<valuelist
type=
"QVariantList"
key=
"PE.EnvironmentAspect.Changes"
/>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
FMVip
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
Qt4ProjectManager.Qt4RunConfiguration:C:/Users/Amor/Documents/QProjects/FMVip/FMVip.pro
</value>
<value
type=
"bool"
key=
"QmakeProjectManager.QmakeRunConfiguration.UseLibrarySearchPath"
>
true
</value>
<value
type=
"QString"
key=
"Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"
></value>
<value
type=
"QString"
key=
"Qt4ProjectManager.Qt4RunConfiguration.ProFile"
>
FMVip.pro
</value>
<value
type=
"bool"
key=
"Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix"
>
false
</value>
<value
type=
"QString"
key=
"Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"
></value>
<value
type=
"QString"
key=
"Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory.default"
>
C:/Users/Amor/Documents/QProjects/build-FMVip-Desktop_Qt_4_8_6_MinGW-Debug
</value>
<value
type=
"uint"
key=
"RunConfiguration.QmlDebugServerPort"
>
3768
</value>
<value
type=
"bool"
key=
"RunConfiguration.UseCppDebugger"
>
false
</value>
<value
type=
"bool"
key=
"RunConfiguration.UseCppDebuggerAuto"
>
true
</value>
<value
type=
"bool"
key=
"RunConfiguration.UseMultiProcess"
>
false
</value>
<value
type=
"bool"
key=
"RunConfiguration.UseQmlDebugger"
>
false
</value>
<value
type=
"bool"
key=
"RunConfiguration.UseQmlDebuggerAuto"
>
true
</value>
</valuemap>
<value
type=
"int"
key=
"ProjectExplorer.Target.RunConfigurationCount"
>
1
</value>
</valuemap>
</data>
<data>
<variable>
ProjectExplorer.Project.Target.1
</variable>
<valuemap
type=
"QVariantMap"
>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
Desktop(5.6.1 - Static)
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
>
Desktop(5.6.1 - Static)
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
{4239ed5a-fc77-406e-b3a8-bdf849512231}
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
Desktop Qt 5.7.0 MinGW 32bit
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
>
Desktop Qt 5.7.0 MinGW 32bit
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
qt.57.win32_mingw53_kit
</value>
<value
type=
"int"
key=
"ProjectExplorer.Target.ActiveBuildConfiguration"
>
1
</value>
<value
type=
"int"
key=
"ProjectExplorer.Target.ActiveDeployConfiguration"
>
0
</value>
<value
type=
"int"
key=
"ProjectExplorer.Target.ActiveRunConfiguration"
>
0
</value>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.Target.BuildConfiguration.0"
>
<value
type=
"QString"
key=
"ProjectExplorer.BuildConfiguration.BuildDirectory"
>
C:/Users/
Amor/Documents/QProjects/build-FMVip-Desktop_Qt_5_6_1_MinGW_Static
-Debug
</value>
<value
type=
"QString"
key=
"ProjectExplorer.BuildConfiguration.BuildDirectory"
>
C:/Users/
zzf/Documents/Qt/FMVip/build-FMVip-Desktop_Qt_5_7_0_MinGW_32bit
-Debug
</value>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.BuildConfiguration.BuildStepList.0"
>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.BuildStepList.Step.0"
>
<value
type=
"bool"
key=
"ProjectExplorer.BuildStep.Enabled"
>
true
</value>
...
...
@@ -313,7 +120,7 @@
<value
type=
"bool"
key=
"Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild"
>
true
</value>
</valuemap>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.Target.BuildConfiguration.1"
>
<value
type=
"QString"
key=
"ProjectExplorer.BuildConfiguration.BuildDirectory"
>
C:/Users/
Amor/Documents/QProjects/build-FMVip-Desktop_Qt_5_6_1_MinGW_Static
-Release
</value>
<value
type=
"QString"
key=
"ProjectExplorer.BuildConfiguration.BuildDirectory"
>
C:/Users/
zzf/Documents/Qt/FMVip/build-FMVip-Desktop_Qt_5_7_0_MinGW_32bit
-Release
</value>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.BuildConfiguration.BuildStepList.0"
>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.BuildStepList.Step.0"
>
<value
type=
"bool"
key=
"ProjectExplorer.BuildStep.Enabled"
>
true
</value>
...
...
@@ -367,7 +174,7 @@
<value
type=
"bool"
key=
"Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild"
>
true
</value>
</valuemap>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.Target.BuildConfiguration.2"
>
<value
type=
"QString"
key=
"ProjectExplorer.BuildConfiguration.BuildDirectory"
>
C:/Users/
Amor/Documents/QProjects/build-FMVip-Desktop_Qt_5_6_1_MinGW_Static
-Profile
</value>
<value
type=
"QString"
key=
"ProjectExplorer.BuildConfiguration.BuildDirectory"
>
C:/Users/
zzf/Documents/Qt/FMVip/build-FMVip-Desktop_Qt_5_7_0_MinGW_32bit
-Profile
</value>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.BuildConfiguration.BuildStepList.0"
>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.BuildStepList.Step.0"
>
<value
type=
"bool"
key=
"ProjectExplorer.BuildStep.Enabled"
>
true
</value>
...
...
@@ -479,13 +286,13 @@
<valuelist
type=
"QVariantList"
key=
"PE.EnvironmentAspect.Changes"
/>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
FMVip
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
Qt4ProjectManager.Qt4RunConfiguration:C:/Users/
Amor/Documents/QProjects
/FMVip/FMVip.pro
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
Qt4ProjectManager.Qt4RunConfiguration:C:/Users/
zzf/Documents/Qt/FMVip
/FMVip/FMVip.pro
</value>
<value
type=
"bool"
key=
"QmakeProjectManager.QmakeRunConfiguration.UseLibrarySearchPath"
>
true
</value>
<value
type=
"QString"
key=
"Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"
></value>
<value
type=
"QString"
key=
"Qt4ProjectManager.Qt4RunConfiguration.ProFile"
>
FMVip.pro
</value>
<value
type=
"bool"
key=
"Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix"
>
false
</value>
<value
type=
"QString"
key=
"Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"
></value>
<value
type=
"QString"
key=
"Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory.default"
>
C:/Users/
Amor/Documents/QProjects/build-FMVip-Desktop_Qt_5_6_1_MinGW_Static
-Release
</value>
<value
type=
"QString"
key=
"Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory.default"
>
C:/Users/
zzf/Documents/Qt/FMVip/build-FMVip-Desktop_Qt_5_7_0_MinGW_32bit
-Release
</value>
<value
type=
"uint"
key=
"RunConfiguration.QmlDebugServerPort"
>
3768
</value>
<value
type=
"bool"
key=
"RunConfiguration.UseCppDebugger"
>
false
</value>
<value
type=
"bool"
key=
"RunConfiguration.UseCppDebuggerAuto"
>
true
</value>
...
...
@@ -498,7 +305,7 @@
</data>
<data>
<variable>
ProjectExplorer.Project.TargetCount
</variable>
<value
type=
"int"
>
2
</value>
<value
type=
"int"
>
1
</value>
</data>
<data>
<variable>
ProjectExplorer.Project.Updater.FileVersion
</variable>
...
...
FMVip/FMVip.pro.user.813ec36
0 → 100644
View file @
34f723e0
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 4.0.2, 2016-08-22T13:44:45. -->
<qtcreator>
<data>
<variable>
EnvironmentId
</variable>
<value
type=
"QByteArray"
>
{813ec36b-a9c6-49b0-a0ef-efa92fe43e7f}
</value>
</data>
<data>
<variable>
ProjectExplorer.Project.ActiveTarget
</variable>
<value
type=
"int"
>
1
</value>
</data>
<data>
<variable>
ProjectExplorer.Project.EditorSettings
</variable>
<valuemap
type=
"QVariantMap"
>
<value
type=
"bool"
key=
"EditorConfiguration.AutoIndent"
>
true
</value>
<value
type=
"bool"
key=
"EditorConfiguration.AutoSpacesForTabs"
>
false
</value>
<value
type=
"bool"
key=
"EditorConfiguration.CamelCaseNavigation"
>
true
</value>
<valuemap
type=
"QVariantMap"
key=
"EditorConfiguration.CodeStyle.0"
>
<value
type=
"QString"
key=
"language"
>
Cpp
</value>
<valuemap
type=
"QVariantMap"
key=
"value"
>
<value
type=
"QByteArray"
key=
"CurrentPreferences"
>
CppGlobal
</value>
</valuemap>
</valuemap>
<valuemap
type=
"QVariantMap"
key=
"EditorConfiguration.CodeStyle.1"
>
<value
type=
"QString"
key=
"language"
>
QmlJS
</value>
<valuemap
type=
"QVariantMap"
key=
"value"
>
<value
type=
"QByteArray"
key=
"CurrentPreferences"
>
QmlJSGlobal
</value>
</valuemap>
</valuemap>
<value
type=
"int"
key=
"EditorConfiguration.CodeStyle.Count"
>
2
</value>
<value
type=
"QByteArray"
key=
"EditorConfiguration.Codec"
>
UTF-8
</value>
<value
type=
"bool"
key=
"EditorConfiguration.ConstrainTooltips"
>
false
</value>
<value
type=
"int"
key=
"EditorConfiguration.IndentSize"
>
4
</value>
<value
type=
"bool"
key=
"EditorConfiguration.KeyboardTooltips"
>
false
</value>
<value
type=
"int"
key=
"EditorConfiguration.MarginColumn"
>
80
</value>
<value
type=
"bool"
key=
"EditorConfiguration.MouseHiding"
>
true
</value>
<value
type=
"bool"
key=
"EditorConfiguration.MouseNavigation"
>
true
</value>
<value
type=
"int"
key=
"EditorConfiguration.PaddingMode"
>
1
</value>
<value
type=
"bool"
key=
"EditorConfiguration.ScrollWheelZooming"
>
true
</value>
<value
type=
"bool"
key=
"EditorConfiguration.ShowMargin"
>
false
</value>
<value
type=
"int"
key=
"EditorConfiguration.SmartBackspaceBehavior"
>
0
</value>
<value
type=
"bool"
key=
"EditorConfiguration.SmartSelectionChanging"
>
true
</value>
<value
type=
"bool"
key=
"EditorConfiguration.SpacesForTabs"
>
true
</value>
<value
type=
"int"
key=
"EditorConfiguration.TabKeyBehavior"
>
0
</value>
<value
type=
"int"
key=
"EditorConfiguration.TabSize"
>
8
</value>
<value
type=
"bool"
key=
"EditorConfiguration.UseGlobal"
>
true
</value>
<value
type=
"int"
key=
"EditorConfiguration.Utf8BomBehavior"
>
1
</value>
<value
type=
"bool"
key=
"EditorConfiguration.addFinalNewLine"
>
true
</value>
<value
type=
"bool"
key=
"EditorConfiguration.cleanIndentation"
>
true
</value>
<value
type=
"bool"
key=
"EditorConfiguration.cleanWhitespace"
>
true
</value>
<value
type=
"bool"
key=
"EditorConfiguration.inEntireDocument"
>
false
</value>
</valuemap>
</data>
<data>
<variable>
ProjectExplorer.Project.PluginSettings
</variable>
<valuemap
type=
"QVariantMap"
/>
</data>
<data>
<variable>
ProjectExplorer.Project.Target.0
</variable>
<valuemap
type=
"QVariantMap"
>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
Desktop Qt 4.8.6(MinGW)
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
>
Desktop Qt 4.8.6(MinGW)
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
{4df5258e-6f62-4776-8b31-911a2e5df987}
</value>
<value
type=
"int"
key=
"ProjectExplorer.Target.ActiveBuildConfiguration"
>
0
</value>
<value
type=
"int"
key=
"ProjectExplorer.Target.ActiveDeployConfiguration"
>
0
</value>
<value
type=
"int"
key=
"ProjectExplorer.Target.ActiveRunConfiguration"
>
0
</value>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.Target.BuildConfiguration.0"
>
<value
type=
"QString"
key=
"ProjectExplorer.BuildConfiguration.BuildDirectory"
>
C:/Users/Amor/Documents/QProjects/build-FMVip-Desktop_Qt_4_8_6_MinGW-Debug
</value>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.BuildConfiguration.BuildStepList.0"
>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.BuildStepList.Step.0"
>
<value
type=
"bool"
key=
"ProjectExplorer.BuildStep.Enabled"
>
true
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
qmake
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
QtProjectManager.QMakeBuildStep
</value>
<value
type=
"bool"
key=
"QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary"
>
false
</value>
<value
type=
"QString"
key=
"QtProjectManager.QMakeBuildStep.QMakeArguments"
></value>
<value
type=
"bool"
key=
"QtProjectManager.QMakeBuildStep.QMakeForced"
>
false
</value>
<value
type=
"bool"
key=
"QtProjectManager.QMakeBuildStep.SeparateDebugInfo"
>
false
</value>
<value
type=
"bool"
key=
"QtProjectManager.QMakeBuildStep.UseQtQuickCompiler"
>
false
</value>
</valuemap>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.BuildStepList.Step.1"
>
<value
type=
"bool"
key=
"ProjectExplorer.BuildStep.Enabled"
>
true
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
Make
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
Qt4ProjectManager.MakeStep
</value>
<valuelist
type=
"QVariantList"
key=
"Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"
/>
<value
type=
"bool"
key=
"Qt4ProjectManager.MakeStep.Clean"
>
false
</value>
<value
type=
"QString"
key=
"Qt4ProjectManager.MakeStep.MakeArguments"
></value>
<value
type=
"QString"
key=
"Qt4ProjectManager.MakeStep.MakeCommand"
></value>
</valuemap>
<value
type=
"int"
key=
"ProjectExplorer.BuildStepList.StepsCount"
>
2
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
构建
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
ProjectExplorer.BuildSteps.Build
</value>
</valuemap>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.BuildConfiguration.BuildStepList.1"
>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.BuildStepList.Step.0"
>
<value
type=
"bool"
key=
"ProjectExplorer.BuildStep.Enabled"
>
true
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
Make
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
Qt4ProjectManager.MakeStep
</value>
<valuelist
type=
"QVariantList"
key=
"Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"
/>
<value
type=
"bool"
key=
"Qt4ProjectManager.MakeStep.Clean"
>
true
</value>
<value
type=
"QString"
key=
"Qt4ProjectManager.MakeStep.MakeArguments"
>
clean
</value>
<value
type=
"QString"
key=
"Qt4ProjectManager.MakeStep.MakeCommand"
></value>
</valuemap>
<value
type=
"int"
key=
"ProjectExplorer.BuildStepList.StepsCount"
>
1
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
清理
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
ProjectExplorer.BuildSteps.Clean
</value>
</valuemap>
<value
type=
"int"
key=
"ProjectExplorer.BuildConfiguration.BuildStepListCount"
>
2
</value>
<value
type=
"bool"
key=
"ProjectExplorer.BuildConfiguration.ClearSystemEnvironment"
>
false
</value>
<valuelist
type=
"QVariantList"
key=
"ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"
/>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
Debug
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
Qt4ProjectManager.Qt4BuildConfiguration
</value>
<value
type=
"int"
key=
"Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration"
>
2
</value>
<value
type=
"bool"
key=
"Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild"
>
true
</value>
</valuemap>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.Target.BuildConfiguration.1"
>
<value
type=
"QString"
key=
"ProjectExplorer.BuildConfiguration.BuildDirectory"
>
C:/Users/Amor/Documents/QProjects/build-FMVip-Desktop_Qt_4_8_6_MinGW-Release
</value>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.BuildConfiguration.BuildStepList.0"
>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.BuildStepList.Step.0"
>
<value
type=
"bool"
key=
"ProjectExplorer.BuildStep.Enabled"
>
true
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
qmake
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
QtProjectManager.QMakeBuildStep
</value>
<value
type=
"bool"
key=
"QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary"
>
false
</value>
<value
type=
"QString"
key=
"QtProjectManager.QMakeBuildStep.QMakeArguments"
></value>
<value
type=
"bool"
key=
"QtProjectManager.QMakeBuildStep.QMakeForced"
>
false
</value>
<value
type=
"bool"
key=
"QtProjectManager.QMakeBuildStep.SeparateDebugInfo"
>
false
</value>
<value
type=
"bool"
key=
"QtProjectManager.QMakeBuildStep.UseQtQuickCompiler"
>
false
</value>
</valuemap>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.BuildStepList.Step.1"
>
<value
type=
"bool"
key=
"ProjectExplorer.BuildStep.Enabled"
>
true
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
Make
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
Qt4ProjectManager.MakeStep
</value>
<valuelist
type=
"QVariantList"
key=
"Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"
/>
<value
type=
"bool"
key=
"Qt4ProjectManager.MakeStep.Clean"
>
false
</value>
<value
type=
"QString"
key=
"Qt4ProjectManager.MakeStep.MakeArguments"
></value>
<value
type=
"QString"
key=
"Qt4ProjectManager.MakeStep.MakeCommand"
></value>
</valuemap>
<value
type=
"int"
key=
"ProjectExplorer.BuildStepList.StepsCount"
>
2
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
构建
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
ProjectExplorer.BuildSteps.Build
</value>
</valuemap>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.BuildConfiguration.BuildStepList.1"
>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.BuildStepList.Step.0"
>
<value
type=
"bool"
key=
"ProjectExplorer.BuildStep.Enabled"
>
true
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
Make
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
Qt4ProjectManager.MakeStep
</value>
<valuelist
type=
"QVariantList"
key=
"Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"
/>
<value
type=
"bool"
key=
"Qt4ProjectManager.MakeStep.Clean"
>
true
</value>
<value
type=
"QString"
key=
"Qt4ProjectManager.MakeStep.MakeArguments"
>
clean
</value>
<value
type=
"QString"
key=
"Qt4ProjectManager.MakeStep.MakeCommand"
></value>
</valuemap>
<value
type=
"int"
key=
"ProjectExplorer.BuildStepList.StepsCount"
>
1
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
清理
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
ProjectExplorer.BuildSteps.Clean
</value>
</valuemap>
<value
type=
"int"
key=
"ProjectExplorer.BuildConfiguration.BuildStepListCount"
>
2
</value>
<value
type=
"bool"
key=
"ProjectExplorer.BuildConfiguration.ClearSystemEnvironment"
>
false
</value>
<valuelist
type=
"QVariantList"
key=
"ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"
/>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
Release
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
Qt4ProjectManager.Qt4BuildConfiguration
</value>
<value
type=
"int"
key=
"Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration"
>
0
</value>
<value
type=
"bool"
key=
"Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild"
>
true
</value>
</valuemap>
<value
type=
"int"
key=
"ProjectExplorer.Target.BuildConfigurationCount"
>
2
</value>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.Target.DeployConfiguration.0"
>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.BuildConfiguration.BuildStepList.0"
>
<value
type=
"int"
key=
"ProjectExplorer.BuildStepList.StepsCount"
>
0
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
部署
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
ProjectExplorer.BuildSteps.Deploy
</value>
</valuemap>
<value
type=
"int"
key=
"ProjectExplorer.BuildConfiguration.BuildStepListCount"
>
1
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
在本地部署
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
ProjectExplorer.DefaultDeployConfiguration
</value>
</valuemap>
<value
type=
"int"
key=
"ProjectExplorer.Target.DeployConfigurationCount"
>
1
</value>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.Target.PluginSettings"
/>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.Target.RunConfiguration.0"
>
<value
type=
"bool"
key=
"Analyzer.QmlProfiler.AggregateTraces"
>
false
</value>
<value
type=
"bool"
key=
"Analyzer.QmlProfiler.FlushEnabled"
>
false
</value>
<value
type=
"uint"
key=
"Analyzer.QmlProfiler.FlushInterval"
>
1000
</value>
<value
type=
"QString"
key=
"Analyzer.QmlProfiler.LastTraceFile"
></value>
<value
type=
"bool"
key=
"Analyzer.QmlProfiler.Settings.UseGlobalSettings"
>
true
</value>
<valuelist
type=
"QVariantList"
key=
"Analyzer.Valgrind.AddedSuppressionFiles"
/>
<value
type=
"bool"
key=
"Analyzer.Valgrind.Callgrind.CollectBusEvents"
>
false
</value>
<value
type=
"bool"
key=
"Analyzer.Valgrind.Callgrind.CollectSystime"
>
false
</value>
<value
type=
"bool"
key=
"Analyzer.Valgrind.Callgrind.EnableBranchSim"
>
false
</value>
<value
type=
"bool"
key=
"Analyzer.Valgrind.Callgrind.EnableCacheSim"
>
false
</value>
<value
type=
"bool"
key=
"Analyzer.Valgrind.Callgrind.EnableEventToolTips"
>
true
</value>
<value
type=
"double"
key=
"Analyzer.Valgrind.Callgrind.MinimumCostRatio"
>
0.01
</value>
<value
type=
"double"
key=
"Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio"
>
10
</value>
<value
type=
"bool"
key=
"Analyzer.Valgrind.FilterExternalIssues"
>
true
</value>
<value
type=
"int"
key=
"Analyzer.Valgrind.LeakCheckOnFinish"
>
1
</value>
<value
type=
"int"
key=
"Analyzer.Valgrind.NumCallers"
>
25
</value>
<valuelist
type=
"QVariantList"
key=
"Analyzer.Valgrind.RemovedSuppressionFiles"
/>
<value
type=
"int"
key=
"Analyzer.Valgrind.SelfModifyingCodeDetection"
>
1
</value>
<value
type=
"bool"
key=
"Analyzer.Valgrind.Settings.UseGlobalSettings"
>
true
</value>
<value
type=
"bool"
key=
"Analyzer.Valgrind.ShowReachable"
>
false
</value>
<value
type=
"bool"
key=
"Analyzer.Valgrind.TrackOrigins"
>
true
</value>
<value
type=
"QString"
key=
"Analyzer.Valgrind.ValgrindExecutable"
>
valgrind
</value>
<valuelist
type=
"QVariantList"
key=
"Analyzer.Valgrind.VisibleErrorKinds"
>
<value
type=
"int"
>
0
</value>
<value
type=
"int"
>
1
</value>
<value
type=
"int"
>
2
</value>
<value
type=
"int"
>
3
</value>
<value
type=
"int"
>
4
</value>
<value
type=
"int"
>
5
</value>
<value
type=
"int"
>
6
</value>
<value
type=
"int"
>
7
</value>
<value
type=
"int"
>
8
</value>
<value
type=
"int"
>
9
</value>
<value
type=
"int"
>
10
</value>
<value
type=
"int"
>
11
</value>
<value
type=
"int"
>
12
</value>
<value
type=
"int"
>
13
</value>
<value
type=
"int"
>
14
</value>
</valuelist>
<value
type=
"int"
key=
"PE.EnvironmentAspect.Base"
>
2
</value>
<valuelist
type=
"QVariantList"
key=
"PE.EnvironmentAspect.Changes"
/>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
FMVip
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
Qt4ProjectManager.Qt4RunConfiguration:C:/Users/Amor/Documents/QProjects/FMVip/FMVip.pro
</value>
<value
type=
"bool"
key=
"QmakeProjectManager.QmakeRunConfiguration.UseLibrarySearchPath"
>
true
</value>
<value
type=
"QString"
key=
"Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"
></value>
<value
type=
"QString"
key=
"Qt4ProjectManager.Qt4RunConfiguration.ProFile"
>
FMVip.pro
</value>
<value
type=
"bool"
key=
"Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix"
>
false
</value>
<value
type=
"QString"
key=
"Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"
></value>
<value
type=
"QString"
key=
"Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory.default"
>
C:/Users/Amor/Documents/QProjects/build-FMVip-Desktop_Qt_4_8_6_MinGW-Debug
</value>
<value
type=
"uint"
key=
"RunConfiguration.QmlDebugServerPort"
>
3768
</value>
<value
type=
"bool"
key=
"RunConfiguration.UseCppDebugger"
>
false
</value>
<value
type=
"bool"
key=
"RunConfiguration.UseCppDebuggerAuto"
>
true
</value>
<value
type=
"bool"
key=
"RunConfiguration.UseMultiProcess"
>
false
</value>
<value
type=
"bool"
key=
"RunConfiguration.UseQmlDebugger"
>
false
</value>
<value
type=
"bool"
key=
"RunConfiguration.UseQmlDebuggerAuto"
>
true
</value>
</valuemap>
<value
type=
"int"
key=
"ProjectExplorer.Target.RunConfigurationCount"
>
1
</value>
</valuemap>
</data>
<data>
<variable>
ProjectExplorer.Project.Target.1
</variable>
<valuemap
type=
"QVariantMap"
>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
Desktop(5.6.1 - Static)
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
>
Desktop(5.6.1 - Static)
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
{4239ed5a-fc77-406e-b3a8-bdf849512231}
</value>
<value
type=
"int"
key=
"ProjectExplorer.Target.ActiveBuildConfiguration"
>
1
</value>
<value
type=
"int"
key=
"ProjectExplorer.Target.ActiveDeployConfiguration"
>
0
</value>
<value
type=
"int"
key=
"ProjectExplorer.Target.ActiveRunConfiguration"
>
0
</value>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.Target.BuildConfiguration.0"
>
<value
type=
"QString"
key=
"ProjectExplorer.BuildConfiguration.BuildDirectory"
>
C:/Users/Amor/Documents/QProjects/build-FMVip-Desktop_Qt_5_6_1_MinGW_Static-Debug
</value>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.BuildConfiguration.BuildStepList.0"
>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.BuildStepList.Step.0"
>
<value
type=
"bool"
key=
"ProjectExplorer.BuildStep.Enabled"
>
true
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
qmake
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
QtProjectManager.QMakeBuildStep
</value>
<value
type=
"bool"
key=
"QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary"
>
true
</value>
<value
type=
"QString"
key=
"QtProjectManager.QMakeBuildStep.QMakeArguments"
></value>
<value
type=
"bool"
key=
"QtProjectManager.QMakeBuildStep.QMakeForced"
>
false
</value>
<value
type=
"bool"
key=
"QtProjectManager.QMakeBuildStep.SeparateDebugInfo"
>
false
</value>
<value
type=
"bool"
key=
"QtProjectManager.QMakeBuildStep.UseQtQuickCompiler"
>
false
</value>
</valuemap>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.BuildStepList.Step.1"
>
<value
type=
"bool"
key=
"ProjectExplorer.BuildStep.Enabled"
>
true
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
Make
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
Qt4ProjectManager.MakeStep
</value>
<valuelist
type=
"QVariantList"
key=
"Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"
/>
<value
type=
"bool"
key=
"Qt4ProjectManager.MakeStep.Clean"
>
false
</value>
<value
type=
"QString"
key=
"Qt4ProjectManager.MakeStep.MakeArguments"
></value>
<value
type=
"QString"
key=
"Qt4ProjectManager.MakeStep.MakeCommand"
></value>
</valuemap>
<value
type=
"int"
key=
"ProjectExplorer.BuildStepList.StepsCount"
>
2
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
构建
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
ProjectExplorer.BuildSteps.Build
</value>
</valuemap>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.BuildConfiguration.BuildStepList.1"
>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.BuildStepList.Step.0"
>
<value
type=
"bool"
key=
"ProjectExplorer.BuildStep.Enabled"
>
true
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
Make
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
Qt4ProjectManager.MakeStep
</value>
<valuelist
type=
"QVariantList"
key=
"Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"
/>
<value
type=
"bool"
key=
"Qt4ProjectManager.MakeStep.Clean"
>
true
</value>
<value
type=
"QString"
key=
"Qt4ProjectManager.MakeStep.MakeArguments"
>
clean
</value>
<value
type=
"QString"
key=
"Qt4ProjectManager.MakeStep.MakeCommand"
></value>
</valuemap>
<value
type=
"int"
key=
"ProjectExplorer.BuildStepList.StepsCount"
>
1
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
清理
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
ProjectExplorer.BuildSteps.Clean
</value>
</valuemap>
<value
type=
"int"
key=
"ProjectExplorer.BuildConfiguration.BuildStepListCount"
>
2
</value>
<value
type=
"bool"
key=
"ProjectExplorer.BuildConfiguration.ClearSystemEnvironment"
>
false
</value>
<valuelist
type=
"QVariantList"
key=
"ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"
/>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
Debug
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
Qt4ProjectManager.Qt4BuildConfiguration
</value>
<value
type=
"int"
key=
"Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration"
>
2
</value>
<value
type=
"bool"
key=
"Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild"
>
true
</value>
</valuemap>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.Target.BuildConfiguration.1"
>
<value
type=
"QString"
key=
"ProjectExplorer.BuildConfiguration.BuildDirectory"
>
C:/Users/Amor/Documents/QProjects/build-FMVip-Desktop_Qt_5_6_1_MinGW_Static-Release
</value>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.BuildConfiguration.BuildStepList.0"
>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.BuildStepList.Step.0"
>
<value
type=
"bool"
key=
"ProjectExplorer.BuildStep.Enabled"
>
true
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
qmake
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
QtProjectManager.QMakeBuildStep
</value>
<value
type=
"bool"
key=
"QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary"
>
false
</value>
<value
type=
"QString"
key=
"QtProjectManager.QMakeBuildStep.QMakeArguments"
></value>
<value
type=
"bool"
key=
"QtProjectManager.QMakeBuildStep.QMakeForced"
>
false
</value>
<value
type=
"bool"
key=
"QtProjectManager.QMakeBuildStep.SeparateDebugInfo"
>
false
</value>
<value
type=
"bool"
key=
"QtProjectManager.QMakeBuildStep.UseQtQuickCompiler"
>
false
</value>
</valuemap>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.BuildStepList.Step.1"
>
<value
type=
"bool"
key=
"ProjectExplorer.BuildStep.Enabled"
>
true
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
Make
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
Qt4ProjectManager.MakeStep
</value>
<valuelist
type=
"QVariantList"
key=
"Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"
/>
<value
type=
"bool"
key=
"Qt4ProjectManager.MakeStep.Clean"
>
false
</value>
<value
type=
"QString"
key=
"Qt4ProjectManager.MakeStep.MakeArguments"
></value>
<value
type=
"QString"
key=
"Qt4ProjectManager.MakeStep.MakeCommand"
></value>
</valuemap>
<value
type=
"int"
key=
"ProjectExplorer.BuildStepList.StepsCount"
>
2
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
构建
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
ProjectExplorer.BuildSteps.Build
</value>
</valuemap>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.BuildConfiguration.BuildStepList.1"
>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.BuildStepList.Step.0"
>
<value
type=
"bool"
key=
"ProjectExplorer.BuildStep.Enabled"
>
true
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
Make
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
Qt4ProjectManager.MakeStep
</value>
<valuelist
type=
"QVariantList"
key=
"Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"
/>
<value
type=
"bool"
key=
"Qt4ProjectManager.MakeStep.Clean"
>
true
</value>
<value
type=
"QString"
key=
"Qt4ProjectManager.MakeStep.MakeArguments"
>
clean
</value>
<value
type=
"QString"
key=
"Qt4ProjectManager.MakeStep.MakeCommand"
></value>
</valuemap>
<value
type=
"int"
key=
"ProjectExplorer.BuildStepList.StepsCount"
>
1
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
清理
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
ProjectExplorer.BuildSteps.Clean
</value>
</valuemap>
<value
type=
"int"
key=
"ProjectExplorer.BuildConfiguration.BuildStepListCount"
>
2
</value>
<value
type=
"bool"
key=
"ProjectExplorer.BuildConfiguration.ClearSystemEnvironment"
>
false
</value>
<valuelist
type=
"QVariantList"
key=
"ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"
/>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
Release
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
Qt4ProjectManager.Qt4BuildConfiguration
</value>
<value
type=
"int"
key=
"Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration"
>
0
</value>
<value
type=
"bool"
key=
"Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild"
>
true
</value>
</valuemap>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.Target.BuildConfiguration.2"
>
<value
type=
"QString"
key=
"ProjectExplorer.BuildConfiguration.BuildDirectory"
>
C:/Users/Amor/Documents/QProjects/build-FMVip-Desktop_Qt_5_6_1_MinGW_Static-Profile
</value>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.BuildConfiguration.BuildStepList.0"
>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.BuildStepList.Step.0"
>
<value
type=
"bool"
key=
"ProjectExplorer.BuildStep.Enabled"
>
true
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
qmake
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
QtProjectManager.QMakeBuildStep
</value>
<value
type=
"bool"
key=
"QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary"
>
true
</value>
<value
type=
"QString"
key=
"QtProjectManager.QMakeBuildStep.QMakeArguments"
></value>
<value
type=
"bool"
key=
"QtProjectManager.QMakeBuildStep.QMakeForced"
>
false
</value>
<value
type=
"bool"
key=
"QtProjectManager.QMakeBuildStep.SeparateDebugInfo"
>
true
</value>
<value
type=
"bool"
key=
"QtProjectManager.QMakeBuildStep.UseQtQuickCompiler"
>
false
</value>
</valuemap>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.BuildStepList.Step.1"
>
<value
type=
"bool"
key=
"ProjectExplorer.BuildStep.Enabled"
>
true
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
Make
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
Qt4ProjectManager.MakeStep
</value>
<valuelist
type=
"QVariantList"
key=
"Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"
/>
<value
type=
"bool"
key=
"Qt4ProjectManager.MakeStep.Clean"
>
false
</value>
<value
type=
"QString"
key=
"Qt4ProjectManager.MakeStep.MakeArguments"
></value>
<value
type=
"QString"
key=
"Qt4ProjectManager.MakeStep.MakeCommand"
></value>
</valuemap>
<value
type=
"int"
key=
"ProjectExplorer.BuildStepList.StepsCount"
>
2
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
构建
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
ProjectExplorer.BuildSteps.Build
</value>
</valuemap>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.BuildConfiguration.BuildStepList.1"
>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.BuildStepList.Step.0"
>
<value
type=
"bool"
key=
"ProjectExplorer.BuildStep.Enabled"
>
true
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
Make
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
Qt4ProjectManager.MakeStep
</value>
<valuelist
type=
"QVariantList"
key=
"Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"
/>
<value
type=
"bool"
key=
"Qt4ProjectManager.MakeStep.Clean"
>
true
</value>
<value
type=
"QString"
key=
"Qt4ProjectManager.MakeStep.MakeArguments"
>
clean
</value>
<value
type=
"QString"
key=
"Qt4ProjectManager.MakeStep.MakeCommand"
></value>
</valuemap>
<value
type=
"int"
key=
"ProjectExplorer.BuildStepList.StepsCount"
>
1
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
清理
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
ProjectExplorer.BuildSteps.Clean
</value>
</valuemap>
<value
type=
"int"
key=
"ProjectExplorer.BuildConfiguration.BuildStepListCount"
>
2
</value>
<value
type=
"bool"
key=
"ProjectExplorer.BuildConfiguration.ClearSystemEnvironment"
>
false
</value>
<valuelist
type=
"QVariantList"
key=
"ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"
/>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
Profile
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
Qt4ProjectManager.Qt4BuildConfiguration
</value>
<value
type=
"int"
key=
"Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration"
>
0
</value>
<value
type=
"bool"
key=
"Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild"
>
true
</value>
</valuemap>
<value
type=
"int"
key=
"ProjectExplorer.Target.BuildConfigurationCount"
>
3
</value>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.Target.DeployConfiguration.0"
>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.BuildConfiguration.BuildStepList.0"
>
<value
type=
"int"
key=
"ProjectExplorer.BuildStepList.StepsCount"
>
0
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
部署
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
ProjectExplorer.BuildSteps.Deploy
</value>
</valuemap>
<value
type=
"int"
key=
"ProjectExplorer.BuildConfiguration.BuildStepListCount"
>
1
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
在本地部署
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
ProjectExplorer.DefaultDeployConfiguration
</value>
</valuemap>
<value
type=
"int"
key=
"ProjectExplorer.Target.DeployConfigurationCount"
>
1
</value>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.Target.PluginSettings"
/>
<valuemap
type=
"QVariantMap"
key=
"ProjectExplorer.Target.RunConfiguration.0"
>
<value
type=
"bool"
key=
"Analyzer.QmlProfiler.AggregateTraces"
>
false
</value>
<value
type=
"bool"
key=
"Analyzer.QmlProfiler.FlushEnabled"
>
false
</value>
<value
type=
"uint"
key=
"Analyzer.QmlProfiler.FlushInterval"
>
1000
</value>
<value
type=
"QString"
key=
"Analyzer.QmlProfiler.LastTraceFile"
></value>
<value
type=
"bool"
key=
"Analyzer.QmlProfiler.Settings.UseGlobalSettings"
>
true
</value>
<valuelist
type=
"QVariantList"
key=
"Analyzer.Valgrind.AddedSuppressionFiles"
/>
<value
type=
"bool"
key=
"Analyzer.Valgrind.Callgrind.CollectBusEvents"
>
false
</value>
<value
type=
"bool"
key=
"Analyzer.Valgrind.Callgrind.CollectSystime"
>
false
</value>
<value
type=
"bool"
key=
"Analyzer.Valgrind.Callgrind.EnableBranchSim"
>
false
</value>
<value
type=
"bool"
key=
"Analyzer.Valgrind.Callgrind.EnableCacheSim"
>
false
</value>
<value
type=
"bool"
key=
"Analyzer.Valgrind.Callgrind.EnableEventToolTips"
>
true
</value>
<value
type=
"double"
key=
"Analyzer.Valgrind.Callgrind.MinimumCostRatio"
>
0.01
</value>
<value
type=
"double"
key=
"Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio"
>
10
</value>
<value
type=
"bool"
key=
"Analyzer.Valgrind.FilterExternalIssues"
>
true
</value>
<value
type=
"int"
key=
"Analyzer.Valgrind.LeakCheckOnFinish"
>
1
</value>
<value
type=
"int"
key=
"Analyzer.Valgrind.NumCallers"
>
25
</value>
<valuelist
type=
"QVariantList"
key=
"Analyzer.Valgrind.RemovedSuppressionFiles"
/>
<value
type=
"int"
key=
"Analyzer.Valgrind.SelfModifyingCodeDetection"
>
1
</value>
<value
type=
"bool"
key=
"Analyzer.Valgrind.Settings.UseGlobalSettings"
>
true
</value>
<value
type=
"bool"
key=
"Analyzer.Valgrind.ShowReachable"
>
false
</value>
<value
type=
"bool"
key=
"Analyzer.Valgrind.TrackOrigins"
>
true
</value>
<value
type=
"QString"
key=
"Analyzer.Valgrind.ValgrindExecutable"
>
valgrind
</value>
<valuelist
type=
"QVariantList"
key=
"Analyzer.Valgrind.VisibleErrorKinds"
>
<value
type=
"int"
>
0
</value>
<value
type=
"int"
>
1
</value>
<value
type=
"int"
>
2
</value>
<value
type=
"int"
>
3
</value>
<value
type=
"int"
>
4
</value>
<value
type=
"int"
>
5
</value>
<value
type=
"int"
>
6
</value>
<value
type=
"int"
>
7
</value>
<value
type=
"int"
>
8
</value>
<value
type=
"int"
>
9
</value>
<value
type=
"int"
>
10
</value>
<value
type=
"int"
>
11
</value>
<value
type=
"int"
>
12
</value>
<value
type=
"int"
>
13
</value>
<value
type=
"int"
>
14
</value>
</valuelist>
<value
type=
"int"
key=
"PE.EnvironmentAspect.Base"
>
2
</value>
<valuelist
type=
"QVariantList"
key=
"PE.EnvironmentAspect.Changes"
/>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
FMVip
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
Qt4ProjectManager.Qt4RunConfiguration:C:/Users/Amor/Documents/QProjects/FMVip/FMVip.pro
</value>
<value
type=
"bool"
key=
"QmakeProjectManager.QmakeRunConfiguration.UseLibrarySearchPath"
>
true
</value>
<value
type=
"QString"
key=
"Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"
></value>
<value
type=
"QString"
key=
"Qt4ProjectManager.Qt4RunConfiguration.ProFile"
>
FMVip.pro
</value>
<value
type=
"bool"
key=
"Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix"
>
false
</value>
<value
type=
"QString"
key=
"Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"
></value>
<value
type=
"QString"
key=
"Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory.default"
>
C:/Users/Amor/Documents/QProjects/build-FMVip-Desktop_Qt_5_6_1_MinGW_Static-Release
</value>
<value
type=
"uint"
key=
"RunConfiguration.QmlDebugServerPort"
>
3768
</value>
<value
type=
"bool"
key=
"RunConfiguration.UseCppDebugger"
>
false
</value>
<value
type=
"bool"
key=
"RunConfiguration.UseCppDebuggerAuto"
>
true
</value>
<value
type=
"bool"
key=
"RunConfiguration.UseMultiProcess"
>
false
</value>
<value
type=
"bool"
key=
"RunConfiguration.UseQmlDebugger"
>
false
</value>
<value
type=
"bool"
key=
"RunConfiguration.UseQmlDebuggerAuto"
>
true
</value>
</valuemap>
<value
type=
"int"
key=
"ProjectExplorer.Target.RunConfigurationCount"
>
1
</value>
</valuemap>
</data>
<data>
<variable>
ProjectExplorer.Project.TargetCount
</variable>
<value
type=
"int"
>
2
</value>
</data>
<data>
<variable>
ProjectExplorer.Project.Updater.FileVersion
</variable>
<value
type=
"int"
>
18
</value>
</data>
<data>
<variable>
Version
</variable>
<value
type=
"int"
>
18
</value>
</data>
</qtcreator>
FMVip/fmvipdispatcher.cpp
View file @
34f723e0
#include "fmvipdispatcher.h"
#include "fmvip
panel
.h"
#include "fmvip
login
.h"
#include "fmvippanel.h"
#include "fmviporder.h"
#include "fmvipfund.h"
#include "fmvipforward.h"
#include <QDebug>
#include <QJsonDocument>
#include <QJsonObject>
#include <QApplication>
#include <QMessageBox>
FMVipDispatcher
::
FMVipDispatcher
(
QObject
*
parent
)
:
QObject
(
parent
),
FMApiRelay
(),
_vindow
(
0
)
{
connect
(
this
,
SIGNAL
(
requested
(
Q
ByteArray
)),
SLOT
(
onRequest
(
QByteArray
)));
connect
(
this
,
SIGNAL
(
requested
(
Q
JsonObject
)),
SLOT
(
onRequest
(
QJsonObject
)));
connect
(
this
,
SIGNAL
(
responded
(
QByteArray
)),
SLOT
(
onResponse
(
QByteArray
)));
connect
(
FMVipForward
::
instance
(),
SIGNAL
(
serverResponsed
(
QByteArray
)),
SLOT
(
onServerResponsed
(
QByteArray
)));
}
INT
FMVipDispatcher
::
_ParseRequest
(
LPSTR
data
)
{
int
res
=
FMApiRelay
::
_ParseRequest
(
data
);
qDebug
()
<<
__FUNCTION__
;
QJsonParseError
err
;
QJsonDocument
json
=
QJsonDocument
::
fromJson
(
data
,
&
err
);
if
(
err
.
error
!=
QJsonParseError
::
NoError
)
{
return
FM_API_BADJSON
;
}
QByteArray
req
(
_request
);
emit
requested
(
req
);
_posReqObj
=
json
.
object
();
return
res
;
// 唤起客户端界面
emit
requested
(
_posReqObj
);
isWindowClosed
=
false
;
isServerResponsed
=
false
;
// 重置服务器是否已返回信息的标志
return
FM_API_SUCCESS
;
}
BOOL
FMVipDispatcher
::
_GetResponse
(
LPSTR
&
rsp
,
UINT
&
len
)
{
BOOL
res
=
FMApiRelay
::
_GetResponse
(
rsp
,
len
)
;
qDebug
()
<<
__FUNCTION__
;
QByteArray
reply
(
_response
);
emit
responded
(
reply
);
// QTime dieTime = QTime::currentTime().addMSecs(1000*5);
// 服务器还未返回则一直阻塞
while
(
isServerResponsed
==
false
&&
isWindowClosed
==
false
)
QCoreApplication
::
processEvents
(
QEventLoop
::
AllEvents
,
100
);
rsp
=
_serverRspData
.
data
();
len
=
_serverRspData
.
length
();
return
res
;
return
isServerResponsed
;
}
void
FMVipDispatcher
::
onRequest
(
const
Q
ByteArray
&
req
)
void
FMVipDispatcher
::
onRequest
(
const
Q
JsonObject
&
jsonObj
)
{
QJsonDocument
json
=
QJsonDocument
::
fromJson
(
req
);
if
(
!
json
.
isNull
()
&&
!
json
.
isEmpty
())
{
QJsonObject
obj
=
json
.
object
();
if
(
!
obj
.
isEmpty
())
{
QJsonValue
v
=
obj
[
"reqType"
];
if
(
v
.
toInt
()
==
FM_VIP_QUERY
)
{
qDebug
()
<<
"Query"
<<
req
;
if
(
!
_vindow
)
{
FMVipPanel
*
panel
=
new
FMVipPanel
;
connect
(
panel
,
SIGNAL
(
destroyed
(
QObject
*
)),
SLOT
(
onFinished
()));
_vindow
=
panel
;
panel
->
show
();
QString
type
=
jsonObj
[
"fm_cmd"
].
toString
();
if
(
type
==
Type_Login
)
{
FMVipForward
::
instance
()
->
resetSessionData
(
jsonObj
);
login
();
}
else
if
(
type
==
Type_Pay
)
{
pay
();
}
else
if
(
v
.
toInt
()
==
FM_VIP_PAY
)
{
qDebug
()
<<
"Payment"
<<
req
;
if
(
!
_vindow
)
{
FMVipOrder
*
order
=
new
FMVipOrder
;
connect
(
order
,
SIGNAL
(
destroyed
(
QObject
*
)),
SLOT
(
onFinished
()));
_vindow
=
order
;
order
->
show
();
else
if
(
type
==
Type_Coupon
)
{
coupon
();
}
else
if
(
type
==
Type_Fund
)
{
fund
();
}
else
if
(
type
==
Type_Final
)
{
final
();
}
#ifdef _DEBUG
else
if
(
v
.
toInt
()
==
-
1
)
{
else
if
(
type
==
""
)
{
qDebug
()
<<
"Quit"
;
qApp
->
quit
();
}
#endif
}
}
}
void
FMVipDispatcher
::
onResponse
(
const
QByteArray
&
)
void
FMVipDispatcher
::
onResponse
(
const
QByteArray
&
rsp
)
{
qDebug
()
<<
__FUNCTION__
;
Q_UNUSED
(
rsp
)
}
void
FMVipDispatcher
::
onWindowClosed
()
{
_serverRspData
.
clear
();
isWindowClosed
=
true
;
}
void
FMVipDispatcher
::
onFinished
()
{
qDebug
()
<<
__FUNCTION__
;
isWindowClosed
=
true
;
_vindow
=
0
;
}
void
FMVipDispatcher
::
onServerResponsed
(
const
QByteArray
&
rsp
)
{
qDebug
()
<<
__FUNCTION__
;
_serverRspData
=
rsp
;
isServerResponsed
=
true
;
// 重置服务器是否已返回信息的标志
if
(
_vindow
!=
0
)
{
_vindow
->
deleteLater
();
}
}
// 向服务器发送请求
void
FMVipDispatcher
::
onDoPost
()
{
FMVipForward
::
instance
()
->
parseRequest
(
_posReqObj
);
}
void
FMVipDispatcher
::
login
()
{
if
(
!
_vindow
)
{
FMVipLogin
*
login
=
new
FMVipLogin
;
connect
(
login
,
SIGNAL
(
destroyed
(
QObject
*
)),
SLOT
(
onFinished
()));
connect
(
login
,
SIGNAL
(
doPost
()),
SLOT
(
onDoPost
()));
_vindow
=
login
;
login
->
exec
();
}
}
void
FMVipDispatcher
::
coupon
()
{
onDoPost
();
}
void
FMVipDispatcher
::
pay
()
{
QJsonObject
transactions
=
_posReqObj
[
"transactions"
].
toObject
();
double
order_amount
=
transactions
[
"order_amount"
].
toDouble
();
double
paid_amount
=
transactions
[
"paid_amount"
].
toDouble
();
double
needPay
=
order_amount
-
paid_amount
;
FMVipForward
::
instance
()
->
addSessionData
(
"paid_amount"
,
QString
::
number
(
paid_amount
));
FMVipForward
::
instance
()
->
addSessionData
(
"needPay"
,
QString
::
number
(
needPay
));
int
canPay
=
FMVipForward
::
instance
()
->
sessionDataInt
(
"canPay"
);
if
(
canPay
!=
1
)
{
onDoPost
();
return
;
}
if
(
!
_vindow
)
{
FMVipOrder
*
order
=
new
FMVipOrder
;
connect
(
order
,
SIGNAL
(
destroyed
(
QObject
*
)),
SLOT
(
onFinished
()));
connect
(
order
,
SIGNAL
(
doPost
()),
SLOT
(
onDoPost
()));
_vindow
=
order
;
order
->
exec
();
}
}
void
FMVipDispatcher
::
fund
()
{
FMVipForward
::
instance
()
->
addSessionData
(
"charge_amount"
,
QString
::
number
(
_posReqObj
[
"charge_amount"
].
toInt
()));
if
(
!
_vindow
)
{
FMVipFund
*
fund
=
new
FMVipFund
;
connect
(
fund
,
SIGNAL
(
destroyed
(
QObject
*
)),
SLOT
(
onFinished
()));
connect
(
fund
,
SIGNAL
(
doPost
()),
SLOT
(
onDoPost
()));
_vindow
=
fund
;
fund
->
exec
();
}
}
void
FMVipDispatcher
::
final
()
{
onDoPost
();
}
FMVip/fmvipdispatcher.h
View file @
34f723e0
...
...
@@ -2,12 +2,24 @@
#define FMVIPDISPATCHER_H
#include <QObject>
#include <QJsonObject>
#include "fmapirelay.h"
//#include <QNetworkAccessManager>
//#include <QNetworkReply>
#define FM_VIP_QUERY 1001
//#define Type_Login "member_check_rquest"
//#define Type_Coupon "coupon_check_rquest"
//#define Type_Pay "order_request"
//#define Type_Fund "member_charge_rquest"
//#define Type_Final "Integral_request"
#define FM_VIP_LOGIN 1001
#define FM_VIP_FUND 1002
#define FM_VIP_PAY 1003
#define FM_VIP_REVOKE 1004
#define FM_VIP_COUPON 1006
#define FM_VIP_FINAL 1007
#define _DEBUG
class
FMVipWnd
;
...
...
@@ -18,21 +30,35 @@ class FMVipDispatcher : public QObject, public FMApiRelay
public
:
explicit
FMVipDispatcher
(
QObject
*
parent
=
0
);
void
login
();
void
pay
();
void
coupon
();
void
fund
();
void
final
();
protected
:
virtual
INT
_ParseRequest
(
LPSTR
data
);
virtual
BOOL
_GetResponse
(
LPSTR
&
rsp
,
UINT
&
len
);
signals
:
void
requested
(
const
Q
ByteArray
&
);
void
requested
(
const
Q
JsonObject
&
);
void
responded
(
const
QByteArray
&
);
private
slots
:
void
onRequest
(
const
Q
ByteArray
&
);
void
onResponse
(
const
QByteArray
&
);
void
onRequest
(
const
Q
JsonObject
&
jsonObj
);
void
onResponse
(
const
QByteArray
&
rsp
);
void
onFinished
();
void
onServerResponsed
(
const
QByteArray
&
rsp
);
void
onDoPost
();
void
onWindowClosed
();
private
:
FMVipWnd
*
_vindow
;
QJsonObject
_posReqObj
;
BOOL
isServerResponsed
;
BOOL
isWindowClosed
;
QByteArray
_serverRspData
;
};
#endif // FMVIPDISPATCHER_H
FMVip/fmvipforward.cpp
0 → 100644
View file @
34f723e0
#include "fmvipforward.h"
#include <QJsonDocument>
#include <QJsonParseError>
#include <QJsonObject>
#include <QJsonArray>
#include <QDebug>
FMVipForward
*
FMVipForward
::
_instance
=
nullptr
;
FMVipForward
*
FMVipForward
::
instance
()
{
if
(
_instance
==
NULL
)
{
_instance
=
new
FMVipForward
();
}
return
_instance
;
}
FMVipForward
::
FMVipForward
(
QObject
*
parent
)
:
QObject
(
parent
)
{
_urlStr
=
_cfg
.
GetTransUrlFormat
();
_sessionDataList
=
QString
(
"operator_id,pos_id,business_date"
).
split
(
","
);
connect
(
&
_nam
,
SIGNAL
(
finished
(
QNetworkReply
*
)),
this
,
SLOT
(
onServerFinished
(
QNetworkReply
*
)));
}
FMVipForward
::~
FMVipForward
()
{
if
(
_instance
!=
NULL
)
{
delete
_instance
;
_instance
=
NULL
;
}
}
void
FMVipForward
::
parseRequest
(
const
QJsonObject
&
jsonObj
)
{
QString
type
=
jsonObj
[
"fm_cmd"
].
toString
();
QJsonObject
fm_jsonObj
;
if
(
type
==
Type_Login
)
{
login
(
jsonObj
,
fm_jsonObj
);
}
else
if
(
type
==
Type_Fund
)
{
fund
(
jsonObj
,
fm_jsonObj
);
}
else
if
(
type
==
Type_Coupon
)
{
coupon
(
jsonObj
,
fm_jsonObj
);
}
else
if
(
type
==
Type_Pay
)
{
pay
(
jsonObj
,
fm_jsonObj
);
}
else
if
(
type
==
Type_Final
)
{
final
(
jsonObj
,
fm_jsonObj
);
}
_reqType
=
fm_jsonObj
[
"reqType"
].
toInt
();
// 固定部分
fm_jsonObj
[
"appId"
]
=
AppId
;
fm_jsonObj
[
"partnerId"
]
=
PartnerId
;
fm_jsonObj
[
"t"
]
=
QString
::
number
(
QDateTime
::
currentMSecsSinceEpoch
());
// 可从请求中提取的部分
FMApiPropMap
*
pm
=
_cfg
.
GetPropsMap
();
if
(
pm
&&
pm
->
size
()
>
0
)
{
FMApiPropMap
::
iterator
iter
=
pm
->
begin
();
for
(;
iter
!=
pm
->
end
();
++
iter
)
{
if
(
jsonObj
.
contains
(
iter
->
first
))
{
QJsonValue
v
=
jsonObj
[
iter
->
first
];
fm_jsonObj
[
iter
->
second
]
=
v
;
}
}
}
qDebug
()
<<
fm_jsonObj
;
// 向服务器发送请求
request
(
fm_jsonObj
);
}
void
FMVipForward
::
request
(
const
QJsonObject
&
reqJob
)
{
qDebug
()
<<
__FUNCTION__
;
// 设置URL
QString
signStr
=
sign
(
reqJob
);
_req
.
setUrl
(
_urlStr
.
arg
(
signStr
));
QJsonDocument
json
(
reqJob
);
QByteArray
reqDate
=
json
.
toJson
(
QJsonDocument
::
Compact
);
// 设置请求头
_req
.
setHeader
(
QNetworkRequest
::
ContentTypeHeader
,
"application/json"
);
_req
.
setHeader
(
QNetworkRequest
::
ContentLengthHeader
,
reqDate
.
length
());
_nam
.
post
(
_req
,
reqDate
);
// clearSessionData();
}
void
FMVipForward
::
onServerFinished
(
QNetworkReply
*
reply
)
{
QByteArray
data
=
reply
->
readAll
();
QJsonParseError
err
;
QJsonDocument
jdoc
=
QJsonDocument
::
fromJson
(
data
,
&
err
);
if
(
err
.
error
!=
QJsonParseError
::
NoError
||
!
jdoc
.
isObject
())
{
return
;
}
QJsonObject
serverObj
=
jdoc
.
object
(),
posObj
;
posObj
[
"statusCode"
]
=
serverObj
[
"statusCode"
];
posObj
[
"msg"
]
=
serverObj
[
"msg"
];
switch
(
_reqType
)
{
case
FM_VIP_LOGIN
:
logined
(
serverObj
,
posObj
);
break
;
case
FM_VIP_COUPON
:
couponed
(
serverObj
,
posObj
);
break
;
case
FM_VIP_FUND
:
funded
(
serverObj
,
posObj
);
break
;
case
FM_VIP_PAY
:
payed
(
serverObj
,
posObj
);
break
;
case
FM_VIP_FINAL
:
finaled
(
serverObj
,
posObj
);
break
;
default
:
break
;
}
QJsonDocument
posDoc
(
posObj
);
QByteArray
posData
=
posDoc
.
toJson
();
emit
serverResponsed
(
posData
);
}
void
FMVipForward
::
login
(
const
QJsonObject
&
job
,
QJsonObject
&
fmjob
)
{
Q_UNUSED
(
job
);
fmjob
[
"reqType"
]
=
FM_VIP_LOGIN
;
fmjob
[
"payCode"
]
=
sessionData
(
"payCode"
);
fmjob
[
"mobile"
]
=
sessionData
(
"mobile"
);
}
void
FMVipForward
::
fund
(
const
QJsonObject
&
job
,
QJsonObject
&
fmjob
)
{
Q_UNUSED
(
job
);
fmjob
[
"reqType"
]
=
FM_VIP_FUND
;
QJsonObject
transObj
;
transObj
[
"account"
]
=
sessionData
(
"fm_open_id"
);
transObj
[
"amount"
]
=
sessionData
(
"fundAmount"
);
transObj
[
"cashAmout"
]
=
sessionData
(
"fundAmount"
);
transObj
[
"thirdAmout"
]
=
0
;
transObj
[
"thirdPayType"
]
=
0
;
transObj
[
"thirdPayTransId"
]
=
""
;
fmjob
[
"transaction"
]
=
transObj
;
}
void
FMVipForward
::
coupon
(
const
QJsonObject
&
job
,
QJsonObject
&
fmjob
)
{
Q_UNUSED
(
job
);
fmjob
[
"reqType"
]
=
FM_VIP_COUPON
;
fmjob
[
"account"
]
=
sessionData
(
"fm_open_id"
);
}
void
FMVipForward
::
pay
(
const
QJsonObject
&
job
,
QJsonObject
&
fmjob
)
{
Q_UNUSED
(
job
);
fmjob
[
"reqType"
]
=
FM_VIP_PAY
;
QJsonObject
transObj
;
transObj
[
"account"
]
=
sessionData
(
"fm_open_id"
);
transObj
[
"codeAmount"
]
=
sessionDataInt
(
"codeAmount"
);
transObj
[
"isUseScore"
]
=
sessionDataInt
(
"isUseScore"
);
fmjob
[
"transaction"
]
=
transObj
;
}
void
FMVipForward
::
final
(
const
QJsonObject
&
job
,
QJsonObject
&
fmjob
)
{
fmjob
[
"reqType"
]
=
FM_VIP_FINAL
;
fmjob
[
"memberTransId"
]
=
sessionData
(
"fm_id"
);
QJsonObject
transObj
;
QJsonObject
posTransObj
=
job
[
"transactions"
].
toObject
();
transObj
[
"account"
]
=
sessionData
(
"fm_open_id"
);
transObj
[
"amount"
]
=
posTransObj
[
"order_amount"
];
transObj
[
"payAmount"
]
=
posTransObj
[
"paid_amount"
];
transObj
[
"cashAmount"
]
=
1
;
transObj
[
"codeAmount"
]
=
1
;
transObj
[
"scoreAmount"
]
=
1
;
transObj
[
"thirdAmount"
]
=
1
;
transObj
[
"thirdPayType"
]
=
2
;
transObj
[
"thirdPayTransId"
]
=
""
;
QJsonArray
couponArray
;
transObj
[
"coupons"
]
=
couponArray
;
QJsonArray
posProdArray
=
posTransObj
[
"products"
].
toArray
();
QJsonArray
prodArray
;
for
(
QJsonValue
v
:
posProdArray
)
{
QJsonObject
po
=
v
.
toObject
();
QJsonObject
o
;
o
[
"consumeNum"
]
=
po
[
"consume_num"
];
o
[
"price"
]
=
po
[
"price"
];
o
[
"productId"
]
=
po
[
"pid"
];
prodArray
.
append
(
o
);
}
transObj
[
"products"
]
=
prodArray
;
fmjob
[
"transaction"
]
=
transObj
;
}
void
FMVipForward
::
logined
(
const
QJsonObject
&
serverJob
,
QJsonObject
&
posJob
)
{
QJsonObject
memberObj
=
serverJob
[
"memberInfo"
].
toObject
();
posJob
[
"fm_open_id"
]
=
memberObj
[
"account"
];
addSessionData
(
"fm_open_id"
,
memberObj
[
"account"
].
toString
());
addSessionData
(
"amount"
,
getString
(
memberObj
[
"amount"
].
toInt
()));
addSessionData
(
"score"
,
getString
(
memberObj
[
"score"
].
toInt
()));
addSessionData
(
"canPay"
,
getString
(
memberObj
[
"canPay"
].
toInt
()));
}
void
FMVipForward
::
funded
(
const
QJsonObject
&
serverJob
,
QJsonObject
&
posJob
)
{
QJsonObject
cardInfo
=
serverJob
[
"cardInfo"
].
toObject
();
posJob
[
"fm_id"
]
=
cardInfo
[
"memberTransId"
];
posJob
[
"fm_open_id"
]
=
sessionData
(
"fm_open_id"
);
posJob
[
"print"
]
=
""
;
}
void
FMVipForward
::
couponed
(
const
QJsonObject
&
serverJob
,
QJsonObject
&
posJob
)
{
posJob
[
"pid"
]
=
serverJob
[
"productCode"
];
}
void
FMVipForward
::
payed
(
const
QJsonObject
&
serverJob
,
QJsonObject
&
posJob
)
{
QString
fm_id
=
serverJob
[
"memberTransId"
].
toString
();
QString
codeAmount
=
getString
(
serverJob
[
"codeAmount"
].
toInt
());
QString
scoreAmount
=
getString
(
serverJob
[
"scoreAmount"
].
toInt
());
addSessionData
(
"fm_id"
,
fm_id
);
addSessionData
(
"codeAmount"
,
codeAmount
);
addSessionData
(
"scoreAmount"
,
scoreAmount
);
int
paid_total_amount
=
sessionDataInt
(
"paid_amount"
)
+
sessionDataInt
(
"codeAmount"
)
+
sessionDataInt
(
"scoreAmount"
);
addSessionData
(
"paid_total_amount"
,
getString
(
paid_total_amount
));
posJob
[
"fm_open_id"
]
=
sessionData
(
"fm_open_id"
);
posJob
[
"fm_id"
]
=
fm_id
;
posJob
[
"total_amount"
]
=
sessionDataInt
(
"needPay"
);
posJob
[
"paid_total_amount"
]
=
paid_total_amount
;
posJob
[
"invoice_amount"
]
=
paid_total_amount
;
posJob
[
"incentives_amount"
]
=
0
;
posJob
[
"print"
]
=
""
;
QJsonArray
pay_ids
;
QJsonObject
pay_obj_1
,
pay_obj_2
;
pay_obj_1
[
"pay_id"
]
=
"001"
;
pay_obj_1
[
"pay_str"
]
=
"会员储值金支付"
;
pay_obj_1
[
"paid_total_amount"
]
=
serverJob
[
"codeAmount"
];
pay_obj_2
[
"pay_id"
]
=
"002"
;
pay_obj_2
[
"pay_str"
]
=
"会员积分支付"
;
pay_obj_2
[
"paid_total_amount"
]
=
serverJob
[
"scoreAmount"
];
pay_ids
.
append
(
pay_obj_1
);
pay_ids
.
append
(
pay_obj_2
);
posJob
[
"pays_ids"
]
=
pay_ids
;
QJsonObject
forward
;
posJob
[
"forward"
]
=
forward
;
}
void
FMVipForward
::
finaled
(
const
QJsonObject
&
serverJob
,
QJsonObject
&
posJob
)
{
posJob
[
"fm_id"
]
=
serverJob
[
"memberTransId"
];
posJob
[
"print"
]
=
""
;
}
QString
FMVipForward
::
sign
(
const
QJsonObject
&
reqJob
)
const
{
// 解析JSON插入MAP中按字典排序
QMap
<
QString
,
QString
>
mapData
;
mapData
[
"appId"
]
=
reqJob
.
value
(
"appId"
).
toString
();
mapData
[
"reqType"
]
=
QString
::
number
(
reqJob
.
value
(
"reqType"
).
toInt
());
mapData
[
"storeId"
]
=
reqJob
.
value
(
"storeId"
).
toString
();
mapData
[
"stationId"
]
=
reqJob
.
value
(
"stationId"
).
toString
();
mapData
[
"operatorId"
]
=
reqJob
.
value
(
"operatorId"
).
toString
();
mapData
[
"partnerId"
]
=
reqJob
.
value
(
"partnerId"
).
toString
();
mapData
[
"t"
]
=
reqJob
.
value
(
"t"
).
toString
();
// 使用URL键值对的格式拼接
QString
sb
=
""
;
for
(
QString
key
:
mapData
.
keys
())
{
sb
+=
(
key
+
"="
+
mapData
.
value
(
key
)
+
"&"
);
}
sb
.
remove
(
sb
.
length
()
-
1
,
1
);
// 去掉最后一个&
sb
.
append
(
KeyCode
);
QByteArray
bt
;
bt
.
append
(
sb
);
QByteArray
md5Bt
=
QCryptographicHash
::
hash
(
bt
,
QCryptographicHash
::
Md5
);
return
md5Bt
.
toHex
();
}
void
FMVipForward
::
resetSessionData
(
const
QJsonObject
&
jsonObj
)
{
_sessionDataMap
.
clear
();
for
(
QString
sessionData
:
_sessionDataList
)
{
addSessionData
(
sessionData
,
jsonObj
[
sessionData
].
toString
());
}
}
void
FMVipForward
::
addSessionData
(
const
QString
key
,
const
QString
value
)
{
_sessionDataMap
.
insert
(
key
,
value
);
}
QString
FMVipForward
::
sessionData
(
const
QString
key
)
const
{
QString
value
=
""
;
if
(
_sessionDataMap
.
contains
(
key
))
{
value
=
_sessionDataMap
[
key
];
}
return
value
;
}
int
FMVipForward
::
sessionDataInt
(
const
QString
key
)
const
{
QString
value
=
sessionData
(
key
);
return
value
.
toInt
();
}
FMVip/fmvipforward.h
0 → 100644
View file @
34f723e0
#ifndef FMVIPFORWARD_H
#define FMVIPFORWARD_H
#include "fmapicfg.h"
#include <QObject>
#include <QNetworkAccessManager>
#include <QNetworkReply>
#include <QNetworkRequest>
#define AppId "T007"
#define KeyCode "98d094a7-0d07-4cf5-b23b-d18783f0d76a"
#define PartnerId "a8bee0dd-09d1-4fa9-a9eb-80cb36d3d611"
#define Type_Login "member_check_rquest"
#define Type_Coupon "coupon_check_rquest"
#define Type_Pay "order_request"
#define Type_Fund "member_charge_rquest"
#define Type_Final "Integral_request"
#define FM_VIP_LOGIN 1001
#define FM_VIP_FUND 1002
#define FM_VIP_PAY 1003
#define FM_VIP_REVOKE 1004
#define FM_VIP_COUPON 1006
#define FM_VIP_FINAL 1007
class
FMVipForward
:
public
QObject
{
Q_OBJECT
public
:
static
FMVipForward
*
instance
();
~
FMVipForward
();
void
parseRequest
(
const
QJsonObject
&
jsonObj
);
void
resetSessionData
(
const
QJsonObject
&
jsonObj
);
void
addSessionData
(
const
QString
key
,
const
QString
value
);
QString
sessionData
(
const
QString
key
)
const
;
int
sessionDataInt
(
const
QString
key
)
const
;
void
clearSessionData
()
{
_sessionDataMap
.
clear
();}
QString
getString
(
int
num
)
{
return
QString
::
number
(
num
);}
int
getInt
(
QString
num_str
)
{
return
num_str
.
toInt
();}
private
:
FMVipForward
(
QObject
*
parent
=
0
);
void
login
(
const
QJsonObject
&
job
,
QJsonObject
&
fmjob
);
void
fund
(
const
QJsonObject
&
job
,
QJsonObject
&
fmjob
);
void
coupon
(
const
QJsonObject
&
job
,
QJsonObject
&
fmjob
);
void
pay
(
const
QJsonObject
&
job
,
QJsonObject
&
fmjob
);
void
final
(
const
QJsonObject
&
job
,
QJsonObject
&
fmjob
);
void
logined
(
const
QJsonObject
&
serverJob
,
QJsonObject
&
posJob
);
void
funded
(
const
QJsonObject
&
serverJob
,
QJsonObject
&
posJob
);
void
couponed
(
const
QJsonObject
&
serverJob
,
QJsonObject
&
posJob
);
void
payed
(
const
QJsonObject
&
serverJob
,
QJsonObject
&
posJob
);
void
finaled
(
const
QJsonObject
&
serverJob
,
QJsonObject
&
posJob
);
void
request
(
const
QJsonObject
&
reqJob
);
QString
sign
(
const
QJsonObject
&
reqJob
)
const
;
private
:
static
FMVipForward
*
_instance
;
FMApiCfg
_cfg
;
QNetworkAccessManager
_nam
;
QNetworkRequest
_req
;
QString
_urlStr
;
int
_reqType
;
QMap
<
QString
,
QString
>
_sessionDataMap
;
QStringList
_sessionDataList
;
signals
:
void
serverResponsed
(
const
QByteArray
&
rspData
);
private
slots
:
void
onServerFinished
(
QNetworkReply
*
reply
);
};
#endif // FMVIPFORWARD_H
FMVip/fmvipfund.cpp
View file @
34f723e0
#include "fmvipfund.h"
#include "fmvipforward.h"
#include "ui_fmvipfund.h"
#include <QButtonGroup>
FMVipFund
::
FMVipFund
(
Q
Widget
*
parent
)
:
FMVipFund
::
FMVipFund
(
Q
Dialog
*
parent
)
:
FMVipWnd
(
parent
),
ui
(
new
Ui
::
FMVipFund
),
_digit_group
(
new
QButtonGroup
(
this
))
...
...
@@ -16,6 +17,24 @@ FMVipFund::FMVipFund(QWidget *parent) :
_digit_group
->
addButton
(
ui
->
twenty
);
connect
(
_digit_group
,
SIGNAL
(
buttonClicked
(
QAbstractButton
*
)),
SLOT
(
onDigitChecked
(
QAbstractButton
*
)));
QString
operator_id
=
FMVipForward
::
instance
()
->
sessionData
(
"operator_id"
);
QString
business_date
=
FMVipForward
::
instance
()
->
sessionData
(
"business_date"
);
QString
fm_id
=
FMVipForward
::
instance
()
->
sessionData
(
"fm_open_id"
);
QString
amount_str
=
FMVipForward
::
instance
()
->
sessionData
(
"amount"
);
QString
charge_amount_str
=
FMVipForward
::
instance
()
->
sessionData
(
"charge_amount"
);
double
amount
=
amount_str
.
toDouble
()
/
100.0
;
double
charge_amount
=
charge_amount_str
.
toDouble
()
/
100.0
;
QString
show_amount_str
=
QString
::
number
(
amount
,
'f'
,
2
);
QString
show_charge_amount_str
=
QString
::
number
(
charge_amount
,
'f'
,
2
);
ui
->
operator_label
->
setText
(
operator_id
);
ui
->
bd_label
->
setText
(
business_date
);
ui
->
id_label
->
setText
(
fm_id
);
ui
->
balance_label
->
setText
(
show_amount_str
);
ui
->
amount_edit
->
setText
(
show_charge_amount_str
);
}
FMVipFund
::~
FMVipFund
()
...
...
@@ -26,11 +45,6 @@ FMVipFund::~FMVipFund()
void
FMVipFund
::
show
()
{
qDebug
()
<<
__FUNCTION__
;
ui
->
id_label
->
setText
(
_profile_obj
[
"member_id"
].
toString
());
ui
->
name_label
->
setText
(
_profile_obj
[
"member_name"
].
toString
());
ui
->
balance_label
->
setText
(
QString
::
number
(
_profile_obj
[
"balance"
].
toInt
()));
ui
->
operator_label
->
setText
(
_profile_obj
[
"operator_id"
].
toString
());
ui
->
bd_label
->
setText
(
_profile_obj
[
"business_date"
].
toString
());
FMVipWnd
::
show
();
}
...
...
@@ -45,4 +59,7 @@ void FMVipFund::onDigitChecked(QAbstractButton *btn)
void
FMVipFund
::
on_fund_btn_clicked
()
{
qDebug
()
<<
__FUNCTION__
;
double
fundAmount
=
ui
->
amount_edit
->
text
().
toDouble
()
*
100
;
FMVipForward
::
instance
()
->
addSessionData
(
"fundAmount"
,
QString
::
number
(
fundAmount
));
emit
doPost
();
}
FMVip/fmvipfund.h
View file @
34f723e0
...
...
@@ -15,7 +15,7 @@ class FMVipFund : public FMVipWnd
Q_OBJECT
public
:
explicit
FMVipFund
(
Q
Widget
*
parent
=
0
);
explicit
FMVipFund
(
Q
Dialog
*
parent
=
0
);
~
FMVipFund
();
...
...
FMVip/fmviplogin.cpp
View file @
34f723e0
...
...
@@ -6,12 +6,20 @@
#include <QNetworkRequest>
#include <QNetworkReply>
#include <QNetworkAccessManager>
#include "fmvipforward.h"
#include <QMovie>
FMVipLogin
::
FMVipLogin
(
Q
Widget
*
parent
)
:
FMVipLogin
::
FMVipLogin
(
Q
Dialog
*
parent
)
:
FMVipWnd
(
parent
),
ui
(
new
Ui
::
FMVipLogin
)
{
ui
->
setupUi
(
this
);
QString
operator_id
=
FMVipForward
::
instance
()
->
sessionData
(
"operator_id"
);
QString
business_date
=
FMVipForward
::
instance
()
->
sessionData
(
"business_date"
);
ui
->
operator_label
->
setText
(
operator_id
);
ui
->
bd_label
->
setText
(
business_date
);
}
FMVipLogin
::~
FMVipLogin
()
...
...
@@ -25,11 +33,16 @@ void FMVipLogin::on_login_btn_clicked()
qDebug
()
<<
__FUNCTION__
;
QString
id
=
ui
->
login_edit
->
text
();
QNetworkAccessManager
*
net
=
new
QNetworkAccessManager
(
this
);
connect
(
net
,
SIGNAL
(
finished
(
QNetworkReply
*
)),
this
,
SLOT
(
on_login_result
(
QNetworkReply
*
)));
QNetworkRequest
req
(
QUrl
(
"http://jtest.freemudvip.com/member_show/service/restful/pos"
));
// 手机号登陆
if
(
id
.
length
()
==
11
)
{
FMVipForward
::
instance
()
->
addSessionData
(
"mobile"
,
id
);
}
// 支付码登陆
else
if
(
id
.
length
()
==
20
)
{
FMVipForward
::
instance
()
->
addSessionData
(
"payCode"
,
id
);
}
net
->
get
(
req
);
emit
doPost
(
);
}
void
FMVipLogin
::
on_login_result
(
QNetworkReply
*
reply
)
...
...
FMVip/fmviplogin.h
View file @
34f723e0
...
...
@@ -14,7 +14,7 @@ class FMVipLogin : public FMVipWnd
Q_OBJECT
public
:
explicit
FMVipLogin
(
Q
Widget
*
parent
=
0
);
explicit
FMVipLogin
(
Q
Dialog
*
parent
=
0
);
~
FMVipLogin
();
signals
:
void
loginSuccess
();
...
...
FMVip/fmviporder.cpp
View file @
34f723e0
#include "fmviporder.h"
#include "fmvipforward.h"
#include "ui_fmviporder.h"
#include <QApplication>
#include <QDebug>
FMVipOrder
::
FMVipOrder
(
Q
Widget
*
parent
)
:
FMVipOrder
::
FMVipOrder
(
Q
Dialog
*
parent
)
:
FMVipWnd
(
parent
),
ui
(
new
Ui
::
FMVipOrder
)
{
ui
->
setupUi
(
this
);
QString
operator_id
=
FMVipForward
::
instance
()
->
sessionData
(
"operator_id"
);
QString
business_date
=
FMVipForward
::
instance
()
->
sessionData
(
"business_date"
);
QString
fm_id
=
FMVipForward
::
instance
()
->
sessionData
(
"fm_open_id"
);
QString
amount_str
=
FMVipForward
::
instance
()
->
sessionData
(
"amount"
);
QString
score
=
FMVipForward
::
instance
()
->
sessionData
(
"score"
);
QString
needPay_str
=
FMVipForward
::
instance
()
->
sessionData
(
"needPay"
);
double
amount
=
amount_str
.
toInt
()
/
100.0
;
double
needPay
=
needPay_str
.
toInt
()
/
100.0
;
QString
show_amount_str
=
QString
::
number
(
amount
,
'f'
,
2
);
QString
show_needPay_str
=
QString
::
number
(
needPay
,
'f'
,
2
);
ui
->
operator_label
->
setText
(
operator_id
);
ui
->
bd_label
->
setText
(
business_date
);
ui
->
id_label
->
setText
(
fm_id
);
ui
->
balance_label
->
setText
(
show_amount_str
);
ui
->
point_label
->
setText
(
score
);
ui
->
price_label
->
setText
(
show_needPay_str
);
// 如果账户余额充足则默认付全部待付,否则默认付全部余额
if
(
amount
>=
needPay
)
{
ui
->
pay_edit
->
setText
(
show_needPay_str
);
}
else
{
ui
->
pay_edit
->
setText
(
show_amount_str
);
}
}
FMVipOrder
::~
FMVipOrder
()
...
...
@@ -28,11 +56,16 @@ void FMVipOrder::on_coupon_next_btn_clicked()
void
FMVipOrder
::
on_pay_btn_clicked
()
{
qDebug
()
<<
__FUNCTION__
;
int
codeAmount
=
ui
->
pay_edit
->
text
().
toDouble
()
*
100
;
FMVipForward
::
instance
()
->
addSessionData
(
"codeAmount"
,
QString
::
number
(
codeAmount
));
emit
doPost
();
}
void
FMVipOrder
::
on_pay_chk_clicked
(
bool
checked
)
{
qDebug
()
<<
__FUNCTION__
<<
checked
;
int
is
=
checked
?
1
:
0
;
FMVipForward
::
instance
()
->
addSessionData
(
"isUseScore"
,
QString
::
number
(
is
));
}
FMVip/fmviporder.h
View file @
34f723e0
...
...
@@ -12,7 +12,7 @@ class FMVipOrder : public FMVipWnd
Q_OBJECT
public
:
explicit
FMVipOrder
(
Q
Widget
*
parent
=
0
);
explicit
FMVipOrder
(
Q
Dialog
*
parent
=
0
);
~
FMVipOrder
();
public
slots
:
...
...
FMVip/fmvippanel.cpp
View file @
34f723e0
#include "fmvippanel.h"
#include "fmvipforward.h"
#include "ui_fmvippanel.h"
#include "fmvipfund.h"
#include <QFile>
FMVipPanel
::
FMVipPanel
(
Q
Widget
*
parent
)
:
FMVipPanel
::
FMVipPanel
(
Q
Dialog
*
parent
)
:
FMVipWnd
(
parent
),
ui
(
new
Ui
::
FMVipPanel
)
{
...
...
FMVip/fmvippanel.h
View file @
34f723e0
...
...
@@ -12,7 +12,7 @@ class FMVipPanel : public FMVipWnd
Q_OBJECT
public
:
explicit
FMVipPanel
(
Q
Widget
*
parent
=
0
);
explicit
FMVipPanel
(
Q
Dialog
*
parent
=
0
);
~
FMVipPanel
();
public
slots
:
...
...
FMVip/fmvipwnd.cpp
View file @
34f723e0
...
...
@@ -9,10 +9,12 @@
#include <windowsx.h>
#endif
FMVipWnd
::
FMVipWnd
(
QWidget
*
parent
)
:
QWidget
(
parent
)
FMVipWnd
::
FMVipWnd
(
QDialog
*
parent
)
:
QDialog
(
parent
)
{
setWindowFlags
(
Qt
::
FramelessWindowHint
);
setAttribute
(
Qt
::
WA_QuitOnClose
,
false
);
setIsBusy
(
false
);
}
bool
FMVipWnd
::
setProfile
(
const
QByteArray
&
d
)
...
...
@@ -42,6 +44,11 @@ void FMVipWnd::on_close_btn_clicked()
deleteLater
();
}
void
FMVipWnd
::
setIsBusy
(
const
bool
isBusy
)
{
Q_UNUSED
(
isBusy
);
}
#ifdef Q_OS_WIN
//! Gui class member of platform
bool
FMVipWnd
::
nativeEvent
(
const
QByteArray
&
eventType
,
void
*
message
,
long
*
result
)
...
...
FMVip/fmvipwnd.h
View file @
34f723e0
#ifndef FMVIPWND_H
#define FMVIPWND_H
#include <Q
Widget
>
#include <Q
Dialog
>
#include <QJsonObject>
#include <QMap>
#include <QDebug>
class
FMVipWnd
:
public
Q
Widget
class
FMVipWnd
:
public
Q
Dialog
{
Q_OBJECT
public
:
explicit
FMVipWnd
(
Q
Widget
*
parent
=
0
);
explicit
FMVipWnd
(
Q
Dialog
*
parent
=
0
);
//! Set current user profile (Json data)
bool
setProfile
(
const
QByteArray
&
);
void
setIsBusy
(
const
bool
isBusy
);
signals
:
void
doPost
();
public
slots
:
void
on_close_btn_clicked
();
#ifdef Q_OS_WIN
...
...
@@ -25,6 +28,7 @@ protected:
protected
:
QJsonObject
_profile_obj
;
bool
_isBusy
;
#endif
};
...
...
FMVip/forms/fmvipfund.ui
View file @
34f723e0
...
...
@@ -344,8 +344,8 @@ QPushButton#fund_btn:hover {
<property
name=
"spacing"
>
<number>
14
</number>
</property>
<item
row=
"
6
"
column=
"0"
>
<widget
class=
"QPushButton"
name=
"t
en
"
>
<item
row=
"
5
"
column=
"0"
>
<widget
class=
"QPushButton"
name=
"t
wo
"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Preferred"
vsizetype=
"Preferred"
>
<horstretch>
0
</horstretch>
...
...
@@ -362,7 +362,7 @@ QPushButton#fund_btn:hover {
<cursorShape>
PointingHandCursor
</cursorShape>
</property>
<property
name=
"text"
>
<string>
¥
10
00
</string>
<string>
¥
2
00
</string>
</property>
<property
name=
"checkable"
>
<bool>
true
</bool>
...
...
@@ -372,8 +372,8 @@ QPushButton#fund_btn:hover {
</property>
</widget>
</item>
<item
row=
"
5"
column=
"1
"
>
<widget
class=
"QPushButton"
name=
"
five
"
>
<item
row=
"
3"
column=
"0
"
>
<widget
class=
"QPushButton"
name=
"
half
"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Preferred"
vsizetype=
"Preferred"
>
<horstretch>
0
</horstretch>
...
...
@@ -390,18 +390,21 @@ QPushButton#fund_btn:hover {
<cursorShape>
PointingHandCursor
</cursorShape>
</property>
<property
name=
"text"
>
<string>
¥50
0
</string>
<string>
¥50
</string>
</property>
<property
name=
"checkable"
>
<bool>
true
</bool>
</property>
<property
name=
"checked"
>
<bool>
true
</bool>
</property>
<property
name=
"autoExclusive"
>
<bool>
true
</bool>
</property>
</widget>
</item>
<item
row=
"
5
"
column=
"0"
>
<widget
class=
"QPushButton"
name=
"t
wo
"
>
<item
row=
"
6
"
column=
"0"
>
<widget
class=
"QPushButton"
name=
"t
en
"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Preferred"
vsizetype=
"Preferred"
>
<horstretch>
0
</horstretch>
...
...
@@ -418,7 +421,7 @@ QPushButton#fund_btn:hover {
<cursorShape>
PointingHandCursor
</cursorShape>
</property>
<property
name=
"text"
>
<string>
¥
2
00
</string>
<string>
¥
10
00
</string>
</property>
<property
name=
"checkable"
>
<bool>
true
</bool>
...
...
@@ -428,8 +431,8 @@ QPushButton#fund_btn:hover {
</property>
</widget>
</item>
<item
row=
"
3"
column=
"0
"
>
<widget
class=
"QPushButton"
name=
"
half
"
>
<item
row=
"
5"
column=
"1
"
>
<widget
class=
"QPushButton"
name=
"
five
"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Preferred"
vsizetype=
"Preferred"
>
<horstretch>
0
</horstretch>
...
...
@@ -446,14 +449,11 @@ QPushButton#fund_btn:hover {
<cursorShape>
PointingHandCursor
</cursorShape>
</property>
<property
name=
"text"
>
<string>
¥50
</string>
<string>
¥50
0
</string>
</property>
<property
name=
"checkable"
>
<bool>
true
</bool>
</property>
<property
name=
"checked"
>
<bool>
true
</bool>
</property>
<property
name=
"autoExclusive"
>
<bool>
true
</bool>
</property>
...
...
@@ -487,40 +487,18 @@ QPushButton#fund_btn:hover {
</property>
</widget>
</item>
<item
row=
"8"
column=
"0"
>
<widget
class=
"QWidget"
name=
"input"
native=
"true"
>
<layout
class=
"QHBoxLayout"
name=
"horizontalLayout"
>
<property
name=
"spacing"
>
<number>
0
</number>
</property>
<property
name=
"leftMargin"
>
<number>
0
</number>
</property>
<property
name=
"topMargin"
>
<number>
0
</number>
</property>
<property
name=
"rightMargin"
>
<number>
0
</number>
</property>
<property
name=
"bottomMargin"
>
<number>
0
</number>
</property>
<item>
<widget
class=
"QLabel"
name=
"currency_label"
>
<property
name=
"text"
>
<string>
¥
</string>
<item
row=
"7"
column=
"0"
>
<spacer
name=
"verticalSpacer"
>
<property
name=
"orientation"
>
<enum>
Qt::Vertical
</enum>
</property>
</widget>
</item>
<item>
<widget
class=
"QLineEdit"
name=
"amount_edit"
>
<property
name=
"text"
>
<string>
50
</string>
<property
name=
"sizeHint"
stdset=
"0"
>
<size>
<width>
20
</width>
<height>
40
</height>
</size>
</property>
</widget>
</item>
</layout>
</widget>
</spacer>
</item>
<item
row=
"8"
column=
"1"
>
<widget
class=
"QPushButton"
name=
"fund_btn"
>
...
...
@@ -534,6 +512,9 @@ QPushButton#fund_btn:hover {
</item>
<item
row=
"6"
column=
"1"
>
<widget
class=
"QPushButton"
name=
"twenty"
>
<property
name=
"enabled"
>
<bool>
true
</bool>
</property>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Preferred"
vsizetype=
"Preferred"
>
<horstretch>
0
</horstretch>
...
...
@@ -560,18 +541,43 @@ QPushButton#fund_btn:hover {
</property>
</widget>
</item>
<item
row=
"7"
column=
"0"
>
<spacer
name=
"verticalSpacer"
>
<property
name=
"orientation"
>
<enum>
Qt::Vertical
</enum>
<item
row=
"8"
column=
"0"
>
<widget
class=
"QWidget"
name=
"input"
native=
"true"
>
<layout
class=
"QHBoxLayout"
name=
"horizontalLayout"
>
<property
name=
"spacing"
>
<number>
0
</number>
</property>
<property
name=
"sizeHint"
stdset=
"0"
>
<size>
<width>
20
</width>
<height>
40
</height>
</size>
<property
name=
"leftMargin"
>
<number>
0
</number>
</property>
</spacer>
<property
name=
"topMargin"
>
<number>
0
</number>
</property>
<property
name=
"rightMargin"
>
<number>
0
</number>
</property>
<property
name=
"bottomMargin"
>
<number>
0
</number>
</property>
<item>
<widget
class=
"QLabel"
name=
"currency_label"
>
<property
name=
"text"
>
<string>
¥
</string>
</property>
</widget>
</item>
<item>
<widget
class=
"QLineEdit"
name=
"amount_edit"
>
<property
name=
"text"
>
<string>
50
</string>
</property>
<property
name=
"readOnly"
>
<bool>
false
</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
...
...
FMVip/forms/fmviplogin.ui
View file @
34f723e0
...
...
@@ -223,7 +223,10 @@
<item>
<widget
class=
"QLabel"
name=
"mobile_label"
>
<property
name=
"text"
>
<string>
手 机
</string>
<string>
账号
</string>
</property>
<property
name=
"margin"
>
<number>
0
</number>
</property>
</widget>
</item>
...
...
@@ -236,7 +239,7 @@
<string/>
</property>
<property
name=
"maxLength"
>
<number>
14
</number>
<number>
20
</number>
</property>
<property
name=
"frame"
>
<bool>
true
</bool>
...
...
FMVip/res/FMVip.qrc
View file @
34f723e0
...
...
@@ -11,5 +11,6 @@
<file>data/order</file>
<file>data/profile</file>
<file>data/user</file>
<file>loading.gif</file>
</qresource>
</RCC>
FMVip/res/data/user
View file @
34f723e0
18652019275
\ No newline at end of file
13914748163
\ No newline at end of file
FMVip/res/loading.gif
0 → 100644
View file @
34f723e0
38.7 KB
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment