Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
BalaSwecha
Density
Commits
96e97cdb
Commit
96e97cdb
authored
Nov 08, 2014
by
vikram
Browse files
made changes according to UI design team
parent
48354a27
Changes
11
Hide whitespace changes
Inline
Side-by-side
Density.pro.user
View file @
96e97cdb
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 3.1.2, 2014-1
0-22T15:31
:2
2
. -->
<!-- Written by QtCreator 3.1.2, 2014-1
1-07T08:53
:2
6
. -->
<qtcreator>
<data>
<variable>
ProjectExplorer.Project.ActiveTarget
</variable>
...
...
@@ -120,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"
>
/Users/
swathiv/Documents/B
ala
S
wetcha/build-Density-Desktop_Qt_5_3_clang_64bit-
mybuild
</value>
<value
type=
"QString"
key=
"ProjectExplorer.BuildConfiguration.BuildDirectory"
>
/Users/
vikramkb/source/b
ala
s
wetcha/
density/
build-Density-Desktop_Qt_5_3_clang_64bit-
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>
...
...
@@ -231,8 +231,8 @@
<value
type=
"int"
key=
"PE.EnvironmentAspect.Base"
>
2
</value>
<valuelist
type=
"QVariantList"
key=
"PE.EnvironmentAspect.Changes"
/>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
>
Density
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
Qt4ProjectManager.Qt4RunConfiguration:/Users/
swathiv/Documents/B
ala
S
wetcha/density/Density.pro
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
>
Density2
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
Qt4ProjectManager.Qt4RunConfiguration:/Users/
vikramkb/source/b
ala
s
wetcha/density/
density/
Density.pro
</value>
<value
type=
"QString"
key=
"Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"
></value>
<value
type=
"QString"
key=
"Qt4ProjectManager.Qt4RunConfiguration.ProFile"
>
Density.pro
</value>
<value
type=
"bool"
key=
"Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix"
>
false
</value>
...
...
@@ -254,7 +254,7 @@
</data>
<data>
<variable>
ProjectExplorer.Project.Updater.EnvironmentId
</variable>
<value
type=
"QByteArray"
>
{
9fa2212b-4cd6-4c90-9fa4-9b91569f03fc
}
</value>
<value
type=
"QByteArray"
>
{
ee9fc9b6-7c2b-44e3-bf88-5a9f112e51f9
}
</value>
</data>
<data>
<variable>
ProjectExplorer.Project.Updater.FileVersion
</variable>
...
...
Density.pro.user.9fa2212
0 → 100644
View file @
96e97cdb
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 3.1.2, 2014-10-22T15:31:22. -->
<qtcreator>
<data>
<variable>
ProjectExplorer.Project.ActiveTarget
</variable>
<value
type=
"int"
>
0
</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.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 5.3 clang 64bit
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
>
Desktop Qt 5.3 clang 64bit
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
qt.53.clang_64_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"
>
/Users/vikramkb/Technical/QT/BalaSwetcha/Density/build-Density-Desktop_Qt_5_3_clang_64bit-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=
"bool"
key=
"QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto"
>
true
</value>
<value
type=
"QString"
key=
"QtProjectManager.QMakeBuildStep.QMakeArguments"
></value>
<value
type=
"bool"
key=
"QtProjectManager.QMakeBuildStep.QMakeForced"
>
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=
"QString"
>
-w
</value>
<value
type=
"QString"
>
-r
</value>
</valuelist>
<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"
>
Build
</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=
"QString"
>
-w
</value>
<value
type=
"QString"
>
-r
</value>
</valuelist>
<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"
>
Clean
</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.1"
>
<value
type=
"QString"
key=
"ProjectExplorer.BuildConfiguration.BuildDirectory"
>
/Users/swathiv/Documents/BalaSwetcha/build-Density-Desktop_Qt_5_3_clang_64bit-mybuild
</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=
"bool"
key=
"QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto"
>
true
</value>
<value
type=
"QString"
key=
"QtProjectManager.QMakeBuildStep.QMakeArguments"
></value>
<value
type=
"bool"
key=
"QtProjectManager.QMakeBuildStep.QMakeForced"
>
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=
"QString"
>
-w
</value>
<value
type=
"QString"
>
-r
</value>
</valuelist>
<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"
>
Build
</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=
"QString"
>
-w
</value>
<value
type=
"QString"
>
-r
</value>
</valuelist>
<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"
>
Clean
</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"
>
mybuild
</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>
<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"
>
Deploy
</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"
>
Deploy locally
</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"
>
<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"
>
Density
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
></value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
Qt4ProjectManager.Qt4RunConfiguration:/Users/swathiv/Documents/BalaSwetcha/density/Density.pro
</value>
<value
type=
"QString"
key=
"Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"
></value>
<value
type=
"QString"
key=
"Qt4ProjectManager.Qt4RunConfiguration.ProFile"
>
Density.pro
</value>
<value
type=
"bool"
key=
"Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix"
>
false
</value>
<value
type=
"bool"
key=
"Qt4ProjectManager.Qt4RunConfiguration.UseTerminal"
>
false
</value>
<value
type=
"QString"
key=
"Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"
></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"
>
1
</value>
</data>
<data>
<variable>
ProjectExplorer.Project.Updater.EnvironmentId
</variable>
<value
type=
"QByteArray"
>
{9fa2212b-4cd6-4c90-9fa4-9b91569f03fc}
</value>
</data>
<data>
<variable>
ProjectExplorer.Project.Updater.FileVersion
</variable>
<value
type=
"int"
>
15
</value>
</data>
</qtcreator>
qml/view/DensityWin.qml
View file @
96e97cdb
...
...
@@ -6,45 +6,42 @@ Item {
property
ObjImage
droppedObject
property
double
beakerPointHt
:
(
densityExperimentArea
.
height
/
1.20
)
/
50
property
double
liquidLevel
:
30
*
beakerPointHt
property
alias
formulaWin
:
formulaArea
FormulaWin
{
id
:
formulaArea
width
:
densityWin
.
width
height
:
(
1
*
densityWin
.
height
)
/
10
}
Image
{
id
:
densityExperimentArea
visible
:
false
width
:
densityWin
.
width
height
:
(
4.7
*
densityWin
.
height
)
/
10
width
:
(
5
*
densityWin
.
width
)
/
10
height
:
densityWin
.
height
*
0.8
source
:
"
images/beaker.png
"
anchors
{
left
:
formulaArea
.
left
top
:
formulaArea
.
bottom
bottom
:
densityWin
.
bottom
left
:
densityWin
.
left
leftMargin
:
width
*
0.1
}
}
Item
{
id
:
liquidTypeArea
visible
:
false
width
:
densityWin
.
width
height
:
(
1.3
*
densityWin
.
height
)
/
10
width
:
(
1.1
*
densityWin
.
width
)
/
10
height
:
densityWin
.
height
anchors
{
left
:
densityExperimentArea
.
left
top
:
densityExperimentArea
.
bottom
left
:
densityWin
.
left
bottom
:
densityWin
.
bottom
leftMargin
:
liquidTypeArea
.
width
*
0.1
}
LiquidTypeList
{
id
:
liquidList
}
Grid
{
id
:
liquidButtonGrid
property
int
divideFactor
:
4
rows
:
(
liquidList
.
liquidTypeList
.
length
/
divideFactor
)
+
1
columns
:
divideFactor
rows
:
3
*
liquidList
.
liquidTypeList
.
length
columns
:
1
spacing
:
5
anchors.fill
:
liquidTypeArea
anchors
{
right
:
liquidTypeArea
.
right
bottom
:
liquidTypeArea
.
bottom
bottomMargin
:
liquidTypeArea
.
width
*
0.2
}
property
int
cellWidth
:
(
liquidTypeArea
.
width
-
(
spacing
*
columns
))
/
columns
property
int
cellHeight
:
(
liquidTypeArea
.
height
-
(
spacing
*
columns
))
/
rows
...
...
@@ -104,17 +101,16 @@ Item {
ResultsView
{
id
:
resultsGrid
width
:
densityWin
.
width
height
:
(
4
*
densityWin
.
height
)
/
10
width
:
(
5
*
densityWin
.
width
)
/
10
height
:
densityWin
.
height
anchors
{
left
:
liquidTypeArea
.
lef
t
top
:
liquidTypeArea
.
bottom
right
:
densityWin
.
righ
t
rightMargin
:
width
*
0.05
}
}
Rectangle
{
id
:
liquidArea
visible
:
false
height
:
densityWin
.
liquidLevel
width
:
densityExperimentArea
.
width
/
2
property
double
density
:
1
...
...
@@ -135,6 +131,7 @@ Item {
Rectangle
{
id
:
dropAreaRect
visible
:
false
property
double
botMargin
:
densityExperimentArea
.
height
/
10
height
:
densityExperimentArea
.
height
-
botMargin
width
:
densityExperimentArea
.
width
/
2
...
...
@@ -147,14 +144,12 @@ Item {
}
radius
:
20
visible
:
false
}
DropArea
{
id
:
dropArea
property
bool
sinks
:
false
anchors.fill
:
dropAreaRect
visible
:
false
onEntered
:
{
drag
.
source
.
opacity
=
0.5
}
...
...
@@ -169,32 +164,29 @@ Item {
}
onExited
:
{
drag
.
source
.
opacity
=
1
droppedObject
.
setState
(
"
none
"
)
drag
.
source
.
setState
(
"
none
"
)
droppedObject
=
null
}
}
function
show
DensityExperiment
(
show
)
{
if
(
show
==
=
true
)
{
drop
Area
.
visible
=
true
liquidArea
.
visible
=
true
liquidType
Area
.
visible
=
true
densityExperimentArea
.
visible
=
true
}
else
{
dropArea
.
visible
=
false
liquid
Area
.
visible
=
false
densityExperiment
Area
.
visible
=
false
liquidType
Area
.
visible
=
false
}
function
show
(
)
{
dropArea
.
visible
=
true
liquid
Area
.
visible
=
true
liquid
Type
Area
.
visible
=
true
densityExperiment
Area
.
visible
=
true
}
function
hide
()
{
drop
Area
.
visible
=
false
liquid
Area
.
visible
=
false
densityExperiment
Area
.
visible
=
false
liquidTypeArea
.
visible
=
false
}
function
reset
()
{
showDensityExperiment
(
false
)
liquidArea
.
height
=
liquidLevel
liquidArea
.
color
=
"
#006aff
"
liquidArea
.
opacity
=
0.3
formulaArea
.
reset
()
if
(
droppedObject
!==
null
)
droppedObject
.
opacity
=
0
droppedObject
=
null
}
...
...
qml/view/FormulaWin.qml
View file @
96e97cdb
...
...
@@ -3,51 +3,98 @@ import QtQuick.Controls.Styles 1.2
Item
{
id
:
formulaArea
property
int
textHeight
:
height
/
6
Rectangle
{
id
:
topEmptyArea
height
:
formulaArea
.
height
*
0.2
width
:
formulaArea
.
width
color
:
"
lightgreen
"
visible
:
false
}
Rectangle
{
id
:
leftEmptyArea
width
:
formulaArea
.
width
*
0.2
height
:
formulaArea
.
height
color
:
"
lightgreen
"
anchors.top
:
topEmptyArea
.
bottom
visible
:
false
}
Text
{
id
:
fullFormulaText1
width
:
formulaArea
.
width
/
3
height
:
formulaArea
.
height
/
2
text
:
"
Density(ρ) =
"
horizontalAlignment
:
Text
.
AlignRight
font.pixelSize
:
formulaArea
.
height
/
4
id
:
densityText
width
:
getTextWidth
(
"
Density
"
)
text
:
"
Density
"
font.pixelSize
:
formulaArea
.
textHeight
textFormat
:
TextEdit
.
AutoText
color
:
"
black
"
anchors.left
:
leftEmptyArea
.
right
anchors.top
:
topEmptyArea
.
bottom
}
Text
{
id
:
fullFormulaText2
width
:
formulaArea
.
width
/
3
height
:
formulaArea
.
height
/
2
text
:
"
Mass(m)/Volume(v)
"
font.pixelSize
:
formulaArea
.
height
/
4
id
:
equalText
width
:
getTextWidth
(
"
=
"
)
text
:
"
=
"
font.pixelSize
:
formulaArea
.
textHeight
textFormat
:
TextEdit
.
AutoText
color
:
"
black
"
anchors.left
:
fullFormulaText1
.
right
anchors
{
left
:
densityText
.
right
top
:
topEmptyArea
.
bottom
}
}
Text
{
id
:
massText
width
:
getTextWidth
(
"
Mass
"
)
text
:
"
Mass
"
font.pixelSize
:
formulaArea
.
textHeight
textFormat
:
TextEdit
.
AutoText
color
:
"
black
"
anchors.left
:
equalText
.
right
anchors.top
:
topEmptyArea
.
bottom
}
Text
{
id
:
resultInputText1
width
:
fullFormulaText1
.
width
height
:
fullFormulaText1
.
height
text
:
"
=
"
horizontalAlignment
:
Text
.
AlignRight
font.pixelSize
:
formulaArea
.
height
/
2.5
anchors.top
:
fullFormulaText1
.
bottom
anchors.left
:
fullFormulaText1
.
left
id
:
divideText
width
:
getTextWidth
(
"
/
"
)
text
:
"
/
"
font.pixelSize
:
formulaArea
.
textHeight
textFormat
:
TextEdit
.
AutoText
color
:
"
red
"
color
:
"
black
"
anchors.left
:
massText
.
right
anchors.top
:
topEmptyArea
.
bottom
}
Text
{
id
:
volumeText
width
:
getTextWidth
(
"
Volume
"
)
text
:
"
Volume
"
font.pixelSize
:
formulaArea
.
textHeight
textFormat
:
TextEdit
.
AutoText
color
:
"
black
"
anchors.left
:
divideText
.
right
anchors.top
:
topEmptyArea
.
bottom
}
TextInput
{
id
:
resultInputText2
width
:
fullFormulaText2
.
width
/
1.1
height
:
fullFormulaText2
.
height
anchors.top
:
fullFormulaText2
.
bottom
anchors.left
:
fullFormulaText2
.
left
id
:
densityInput
width
:
densityText
.
width
height
:
densityText
.
height
anchors
{
left
:
densityText
.
left
top
:
densityText
.
bottom
}
horizontalAlignment
:
Text
.
AlignHCenter
verticalAlignment
:
Text
.
AlignVCenter
color
:
"
red
"
font.bold
:
true
font.pixelSize
:
formulaArea
.
height
/
2.5
text
:
"
0
"
font.pixelSize
:
formulaArea
.
textHeight
*
0.7
focus
:
true
Rectangle
{
anchors.fill
:
parent
...
...
@@ -61,60 +108,88 @@ Item {
decimals
:
3
}
maximumLength
:
9
onTextChanged
:
{
if
(
densityMatching
())
{
showDensityExperiment
()
readOnly
=
true
}
}
}
Rectangle
{
id
:
validateButton
width
:
fullFormulaText2
.
width
/
2
height
:
fullFormulaText2
.
height
Text
{
id
:
massResultText
width
:
massText
.
width
height
:
massText
.
height
text
:
"
0
"
font.pixelSize
:
formulaArea
.
textHeight
*
0.7
textFormat
:
TextEdit
.
AutoText