First contribution.
authorsl
Tue, 27 May 2014 12:00:47 +0200
changeset 0c0e13d2503b9
child 1 bc046f5187fd
First contribution.
Here is a basic QtQuick application based on Qt 5.3.
.hgignore
FontsTab.qml
MiniDisplayManager.pro
MiniDisplayManager.pro.user
TestsTab.qml
deployment.pri
main.cpp
main.qml
qml.qrc
qtquickcontrolsapplication.h
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/FontsTab.qml	Tue May 27 12:00:47 2014 +0200
     1.3 @@ -0,0 +1,96 @@
     1.4 +import QtQuick 2.2
     1.5 +import QtQuick.Controls 1.2
     1.6 +import QtQuick.Dialogs 1.1
     1.7 +
     1.8 +Item {
     1.9 +    width: 640
    1.10 +    height: 480
    1.11 +    //SystemPalette { id: palette }
    1.12 +    clip: true
    1.13 +
    1.14 +
    1.15 +    //
    1.16 +    FontDialog {
    1.17 +        id: fontDialog
    1.18 +        visible: false
    1.19 +        modality: Qt.WindowModal
    1.20 +        scalableFonts: fontDialogScalableFonts.checked
    1.21 +        nonScalableFonts: fontDialogNonScalableFonts.checked
    1.22 +        monospacedFonts: fontDialogMonospacedFonts.checked
    1.23 +        proportionalFonts: fontDialogProportionalFonts.checked
    1.24 +        title: qsTr("Choose a font")
    1.25 +        font: Qt.font({ family: "Arial", pointSize: 24, weight: Font.Normal })
    1.26 +        currentFont: Qt.font({ family: "Arial", pointSize: 24, weight: Font.Normal })
    1.27 +        onCurrentFontChanged: { console.log("CurrentFontChanged: " + currentFont) }
    1.28 +        onAccepted: { console.log("Accepted: " + font) }
    1.29 +        onRejected: { console.log("Rejected") }
    1.30 +    }
    1.31 +    //
    1.32 +
    1.33 +    Flow {
    1.34 +        anchors.fill: parent
    1.35 +        anchors.margins: 12
    1.36 +        spacing: 10
    1.37 +
    1.38 +        CheckBox {
    1.39 +            id: fontDialogScalableFonts
    1.40 +            text: "Scalable fonts"
    1.41 +            Binding on checked { value: fontDialog.scalableFonts }
    1.42 +        }
    1.43 +        CheckBox {
    1.44 +            id: fontDialogNonScalableFonts
    1.45 +            text: "Non scalable fonts"
    1.46 +            Binding on checked { value: fontDialog.nonScalableFonts }
    1.47 +        }
    1.48 +        CheckBox {
    1.49 +            id: fontDialogMonospacedFonts
    1.50 +            text: "Monospaced fonts"
    1.51 +            Binding on checked { value: fontDialog.monospacedFonts }
    1.52 +        }
    1.53 +        CheckBox {
    1.54 +            id: fontDialogProportionalFonts
    1.55 +            text: "Proportional fonts"
    1.56 +            Binding on checked { value: fontDialog.proportionalFonts }
    1.57 +        }
    1.58 +
    1.59 +        Text {
    1.60 +            text: "Current font:"
    1.61 +        }
    1.62 +
    1.63 +        Text {
    1.64 +            id: fontLabel
    1.65 +            color: palette.windowText
    1.66 +            text: "<b>" + fontDialog.font.family + " - " + fontDialog.font.pointSize + "</b>"
    1.67 +            MouseArea {
    1.68 +                anchors.fill: parent
    1.69 +                onClicked: fontDialog.open()
    1.70 +            }
    1.71 +        }
    1.72 +
    1.73 +        Text {
    1.74 +            id: textFontDemoLowerCase
    1.75 +            text: "abcdefghijklmnopqrstyvwxyz"
    1.76 +            font: fontDialog.font
    1.77 +        }
    1.78 +
    1.79 +        Text {
    1.80 +            id: textFontDemoUpperCase
    1.81 +            text: "ABCDEFGHIJKLMNOPQRSTYVWXYZ"
    1.82 +            font: fontDialog.font
    1.83 +        }
    1.84 +
    1.85 +        Text {
    1.86 +            id: textFontDemoDigits
    1.87 +            text: "0123456789"
    1.88 +            font: fontDialog.font
    1.89 +        }
    1.90 +
    1.91 +
    1.92 +        Button {
    1.93 +            text: qsTr("Select Font")
    1.94 +            onClicked: fontDialog.open()
    1.95 +        }
    1.96 +
    1.97 +
    1.98 +    }
    1.99 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/MiniDisplayManager.pro	Tue May 27 12:00:47 2014 +0200
     2.3 @@ -0,0 +1,19 @@
     2.4 +TEMPLATE = app
     2.5 +
     2.6 +QT += qml quick widgets
     2.7 +
     2.8 +SOURCES += main.cpp
     2.9 +
    2.10 +RESOURCES += \
    2.11 +    qml.qrc
    2.12 +
    2.13 +# Additional import path used to resolve QML modules in Qt Creator's code model
    2.14 +QML_IMPORT_PATH =
    2.15 +
    2.16 +# Default rules for deployment.
    2.17 +include(deployment.pri)
    2.18 +
    2.19 +OTHER_FILES += \
    2.20 +    FontsTab.qml \
    2.21 +    main.qml \
    2.22 +    TestsTab.qml
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/MiniDisplayManager.pro.user	Tue May 27 12:00:47 2014 +0200
     3.3 @@ -0,0 +1,251 @@
     3.4 +<?xml version="1.0" encoding="UTF-8"?>
     3.5 +<!DOCTYPE QtCreatorProject>
     3.6 +<!-- Written by QtCreator 3.1.1, 2014-05-27T11:25:41. -->
     3.7 +<qtcreator>
     3.8 + <data>
     3.9 +  <variable>ProjectExplorer.Project.ActiveTarget</variable>
    3.10 +  <value type="int">0</value>
    3.11 + </data>
    3.12 + <data>
    3.13 +  <variable>ProjectExplorer.Project.EditorSettings</variable>
    3.14 +  <valuemap type="QVariantMap">
    3.15 +   <value type="bool" key="EditorConfiguration.AutoIndent">true</value>
    3.16 +   <value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value>
    3.17 +   <value type="bool" key="EditorConfiguration.CamelCaseNavigation">true</value>
    3.18 +   <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0">
    3.19 +    <value type="QString" key="language">Cpp</value>
    3.20 +    <valuemap type="QVariantMap" key="value">
    3.21 +     <value type="QByteArray" key="CurrentPreferences">CppGlobal</value>
    3.22 +    </valuemap>
    3.23 +   </valuemap>
    3.24 +   <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1">
    3.25 +    <value type="QString" key="language">QmlJS</value>
    3.26 +    <valuemap type="QVariantMap" key="value">
    3.27 +     <value type="QByteArray" key="CurrentPreferences">QmlJSGlobal</value>
    3.28 +    </valuemap>
    3.29 +   </valuemap>
    3.30 +   <value type="int" key="EditorConfiguration.CodeStyle.Count">2</value>
    3.31 +   <value type="QByteArray" key="EditorConfiguration.Codec">UTF-8</value>
    3.32 +   <value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value>
    3.33 +   <value type="int" key="EditorConfiguration.IndentSize">4</value>
    3.34 +   <value type="bool" key="EditorConfiguration.KeyboardTooltips">false</value>
    3.35 +   <value type="int" key="EditorConfiguration.MarginColumn">80</value>
    3.36 +   <value type="bool" key="EditorConfiguration.MouseHiding">true</value>
    3.37 +   <value type="bool" key="EditorConfiguration.MouseNavigation">true</value>
    3.38 +   <value type="int" key="EditorConfiguration.PaddingMode">1</value>
    3.39 +   <value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value>
    3.40 +   <value type="bool" key="EditorConfiguration.ShowMargin">false</value>
    3.41 +   <value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value>
    3.42 +   <value type="bool" key="EditorConfiguration.SpacesForTabs">true</value>
    3.43 +   <value type="int" key="EditorConfiguration.TabKeyBehavior">0</value>
    3.44 +   <value type="int" key="EditorConfiguration.TabSize">8</value>
    3.45 +   <value type="bool" key="EditorConfiguration.UseGlobal">true</value>
    3.46 +   <value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value>
    3.47 +   <value type="bool" key="EditorConfiguration.addFinalNewLine">true</value>
    3.48 +   <value type="bool" key="EditorConfiguration.cleanIndentation">true</value>
    3.49 +   <value type="bool" key="EditorConfiguration.cleanWhitespace">true</value>
    3.50 +   <value type="bool" key="EditorConfiguration.inEntireDocument">false</value>
    3.51 +  </valuemap>
    3.52 + </data>
    3.53 + <data>
    3.54 +  <variable>ProjectExplorer.Project.PluginSettings</variable>
    3.55 +  <valuemap type="QVariantMap"/>
    3.56 + </data>
    3.57 + <data>
    3.58 +  <variable>ProjectExplorer.Project.Target.0</variable>
    3.59 +  <valuemap type="QVariantMap">
    3.60 +   <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop Qt 5.3.0 MSVC2012 OpenGL 32bit</value>
    3.61 +   <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop Qt 5.3.0 MSVC2012 OpenGL 32bit</value>
    3.62 +   <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">qt.53.win32_msvc2012_opengl_kit</value>
    3.63 +   <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value>
    3.64 +   <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
    3.65 +   <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
    3.66 +   <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
    3.67 +    <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">D:/Dev/Qt/build-MiniDisplayManager-Desktop_Qt_5_3_0_MSVC2012_OpenGL_32bit-Debug</value>
    3.68 +    <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
    3.69 +     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
    3.70 +      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
    3.71 +      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
    3.72 +      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
    3.73 +      <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
    3.74 +      <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
    3.75 +      <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value>
    3.76 +      <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
    3.77 +      <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
    3.78 +     </valuemap>
    3.79 +     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
    3.80 +      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
    3.81 +      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
    3.82 +      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
    3.83 +      <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
    3.84 +      <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
    3.85 +      <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
    3.86 +      <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
    3.87 +      <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
    3.88 +     </valuemap>
    3.89 +     <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
    3.90 +     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
    3.91 +     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
    3.92 +     <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
    3.93 +    </valuemap>
    3.94 +    <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
    3.95 +     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
    3.96 +      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
    3.97 +      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
    3.98 +      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
    3.99 +      <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
   3.100 +      <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
   3.101 +      <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
   3.102 +      <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
   3.103 +      <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
   3.104 +     </valuemap>
   3.105 +     <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
   3.106 +     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
   3.107 +     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
   3.108 +     <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
   3.109 +    </valuemap>
   3.110 +    <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
   3.111 +    <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
   3.112 +    <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
   3.113 +    <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Debug</value>
   3.114 +    <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
   3.115 +    <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
   3.116 +    <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value>
   3.117 +    <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
   3.118 +   </valuemap>
   3.119 +   <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1">
   3.120 +    <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">D:/Dev/Qt/build-MiniDisplayManager-Desktop_Qt_5_3_0_MSVC2012_OpenGL_32bit-Release</value>
   3.121 +    <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
   3.122 +     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
   3.123 +      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
   3.124 +      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
   3.125 +      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
   3.126 +      <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
   3.127 +      <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
   3.128 +      <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value>
   3.129 +      <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
   3.130 +      <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
   3.131 +     </valuemap>
   3.132 +     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
   3.133 +      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
   3.134 +      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
   3.135 +      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
   3.136 +      <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
   3.137 +      <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
   3.138 +      <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
   3.139 +      <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
   3.140 +      <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
   3.141 +     </valuemap>
   3.142 +     <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
   3.143 +     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
   3.144 +     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
   3.145 +     <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
   3.146 +    </valuemap>
   3.147 +    <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
   3.148 +     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
   3.149 +      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
   3.150 +      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
   3.151 +      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
   3.152 +      <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
   3.153 +      <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
   3.154 +      <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
   3.155 +      <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
   3.156 +      <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
   3.157 +     </valuemap>
   3.158 +     <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
   3.159 +     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
   3.160 +     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
   3.161 +     <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
   3.162 +    </valuemap>
   3.163 +    <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
   3.164 +    <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
   3.165 +    <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
   3.166 +    <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Release</value>
   3.167 +    <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
   3.168 +    <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
   3.169 +    <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
   3.170 +    <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
   3.171 +   </valuemap>
   3.172 +   <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">2</value>
   3.173 +   <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
   3.174 +    <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
   3.175 +     <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
   3.176 +     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value>
   3.177 +     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
   3.178 +     <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
   3.179 +    </valuemap>
   3.180 +    <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
   3.181 +    <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy locally</value>
   3.182 +    <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
   3.183 +    <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
   3.184 +   </valuemap>
   3.185 +   <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
   3.186 +   <valuemap type="QVariantMap" key="ProjectExplorer.Target.PluginSettings"/>
   3.187 +   <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
   3.188 +    <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
   3.189 +    <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
   3.190 +    <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
   3.191 +    <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
   3.192 +    <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
   3.193 +    <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
   3.194 +    <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
   3.195 +    <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
   3.196 +    <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
   3.197 +    <value type="int" key="Analyzer.Valgrind.LeakCheckOnFinish">1</value>
   3.198 +    <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
   3.199 +    <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
   3.200 +    <value type="int" key="Analyzer.Valgrind.SelfModifyingCodeDetection">1</value>
   3.201 +    <value type="bool" key="Analyzer.Valgrind.Settings.UseGlobalSettings">true</value>
   3.202 +    <value type="bool" key="Analyzer.Valgrind.ShowReachable">false</value>
   3.203 +    <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
   3.204 +    <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
   3.205 +    <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
   3.206 +     <value type="int">0</value>
   3.207 +     <value type="int">1</value>
   3.208 +     <value type="int">2</value>
   3.209 +     <value type="int">3</value>
   3.210 +     <value type="int">4</value>
   3.211 +     <value type="int">5</value>
   3.212 +     <value type="int">6</value>
   3.213 +     <value type="int">7</value>
   3.214 +     <value type="int">8</value>
   3.215 +     <value type="int">9</value>
   3.216 +     <value type="int">10</value>
   3.217 +     <value type="int">11</value>
   3.218 +     <value type="int">12</value>
   3.219 +     <value type="int">13</value>
   3.220 +     <value type="int">14</value>
   3.221 +    </valuelist>
   3.222 +    <value type="int" key="PE.EnvironmentAspect.Base">2</value>
   3.223 +    <valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/>
   3.224 +    <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">MiniDisplayManager</value>
   3.225 +    <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
   3.226 +    <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration:D:/Dev/Qt/MiniDisplayManager/MiniDisplayManager.pro</value>
   3.227 +    <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value>
   3.228 +    <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">MiniDisplayManager.pro</value>
   3.229 +    <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value>
   3.230 +    <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseTerminal">false</value>
   3.231 +    <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value>
   3.232 +    <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
   3.233 +    <value type="bool" key="RunConfiguration.UseCppDebugger">false</value>
   3.234 +    <value type="bool" key="RunConfiguration.UseCppDebuggerAuto">true</value>
   3.235 +    <value type="bool" key="RunConfiguration.UseMultiProcess">false</value>
   3.236 +    <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
   3.237 +    <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
   3.238 +   </valuemap>
   3.239 +   <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
   3.240 +  </valuemap>
   3.241 + </data>
   3.242 + <data>
   3.243 +  <variable>ProjectExplorer.Project.TargetCount</variable>
   3.244 +  <value type="int">1</value>
   3.245 + </data>
   3.246 + <data>
   3.247 +  <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable>
   3.248 +  <value type="QByteArray">{acc65bd0-f32a-4e5c-a5a8-5fb52e4a9cd9}</value>
   3.249 + </data>
   3.250 + <data>
   3.251 +  <variable>ProjectExplorer.Project.Updater.FileVersion</variable>
   3.252 +  <value type="int">15</value>
   3.253 + </data>
   3.254 +</qtcreator>
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/TestsTab.qml	Tue May 27 12:00:47 2014 +0200
     4.3 @@ -0,0 +1,10 @@
     4.4 +import QtQuick 2.2
     4.5 +import QtQuick.Controls 1.2
     4.6 +
     4.7 +Item {
     4.8 +    width: 100
     4.9 +    height: 62
    4.10 +    //SystemPalette { id: palette }
    4.11 +    clip: true
    4.12 +
    4.13 +}
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/deployment.pri	Tue May 27 12:00:47 2014 +0200
     5.3 @@ -0,0 +1,27 @@
     5.4 +android-no-sdk {
     5.5 +    target.path = /data/user/qt
     5.6 +    export(target.path)
     5.7 +    INSTALLS += target
     5.8 +} else:android {
     5.9 +    x86 {
    5.10 +        target.path = /libs/x86
    5.11 +    } else: armeabi-v7a {
    5.12 +        target.path = /libs/armeabi-v7a
    5.13 +    } else {
    5.14 +        target.path = /libs/armeabi
    5.15 +    }
    5.16 +    export(target.path)
    5.17 +    INSTALLS += target
    5.18 +} else:unix {
    5.19 +    isEmpty(target.path) {
    5.20 +        qnx {
    5.21 +            target.path = /tmp/$${TARGET}/bin
    5.22 +        } else {
    5.23 +            target.path = /opt/$${TARGET}/bin
    5.24 +        }
    5.25 +        export(target.path)
    5.26 +    }
    5.27 +    INSTALLS += target
    5.28 +}
    5.29 +
    5.30 +export(INSTALLS)
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/main.cpp	Tue May 27 12:00:47 2014 +0200
     6.3 @@ -0,0 +1,38 @@
     6.4 +/*
     6.5 +#include <QApplication>
     6.6 +#include <QQmlApplicationEngine>
     6.7 +
     6.8 +int main(int argc, char *argv[])
     6.9 +{
    6.10 +    QApplication app(argc, argv);
    6.11 +
    6.12 +    QQmlApplicationEngine engine;
    6.13 +    engine.load(QUrl(QStringLiteral("qrc:///main.qml")));
    6.14 +
    6.15 +    return app.exec();
    6.16 +}
    6.17 +*/
    6.18 +
    6.19 +#include "qtquickcontrolsapplication.h"
    6.20 +#include <QtQml/QQmlApplicationEngine>
    6.21 +#include <QPalette>
    6.22 +
    6.23 +int main(int argc, char *argv[])
    6.24 +{    
    6.25 +    QtQuickControlsApplication app(argc, argv);
    6.26 +    //Specifying the following properties was needed for persistent settings to work
    6.27 +    app.setOrganizationName("Slions");
    6.28 +    app.setOrganizationDomain("Slions.com");
    6.29 +    app.setApplicationName("MiniDisplay Manager");
    6.30 +
    6.31 +    //Override system palette
    6.32 +    //QPalette customPalette = app.palette();
    6.33 +    //customPalette.setColor(QPalette::Window, QColor("red"));
    6.34 +    //customPalette.setColor(QPalette::Base, QColor("red"));
    6.35 +    //customPalette.setColor(QPalette::AlternateBase, QColor("red"));
    6.36 +    //app.setPalette(customPalette);
    6.37 +    //
    6.38 +
    6.39 +    QQmlApplicationEngine engine(QUrl("qrc:///main.qml"));
    6.40 +    return app.exec();
    6.41 +}
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/main.qml	Tue May 27 12:00:47 2014 +0200
     7.3 @@ -0,0 +1,51 @@
     7.4 +import QtQuick 2.2
     7.5 +import QtQuick.Controls 1.2
     7.6 +import QtPositioning 5.3
     7.7 +import QtWinExtras 1.0
     7.8 +import QtQuick.Dialogs 1.2
     7.9 +import QtQuick.Window 2.1
    7.10 +import Qt.labs.settings 1.0
    7.11 +
    7.12 +
    7.13 +
    7.14 +ApplicationWindow {
    7.15 +    id: appWindow
    7.16 +    visible: true
    7.17 +    width: 640
    7.18 +    height: 480
    7.19 +    title: qsTr("MiniDisplay Manager")
    7.20 +    SystemPalette { id: palette }
    7.21 +
    7.22 +    Settings {
    7.23 +        property alias x: appWindow.x
    7.24 +        property alias y: appWindow.y
    7.25 +        property alias width: appWindow.width
    7.26 +        property alias height: appWindow.height
    7.27 +    }
    7.28 +
    7.29 +    /*
    7.30 +    menuBar: MenuBar {
    7.31 +        Menu {
    7.32 +            title: qsTr("File")
    7.33 +            MenuItem {
    7.34 +                text: qsTr("Exit")
    7.35 +                onTriggered: Qt.quit();
    7.36 +            }
    7.37 +        }
    7.38 +
    7.39 +    }*/
    7.40 +
    7.41 +    TabView {
    7.42 +        anchors.fill: parent
    7.43 +        anchors.margins: 8
    7.44 +        Tab {            
    7.45 +            title: qsTr("Fonts")
    7.46 +            FontsTab { anchors.fill: parent }
    7.47 +        }
    7.48 +        Tab {
    7.49 +            title: qsTr("Tests")
    7.50 +            TestsTab { anchors.fill: parent }
    7.51 +        }
    7.52 +
    7.53 +    }
    7.54 +}
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/qml.qrc	Tue May 27 12:00:47 2014 +0200
     8.3 @@ -0,0 +1,7 @@
     8.4 +<RCC>
     8.5 +    <qresource prefix="/">
     8.6 +        <file>main.qml</file>
     8.7 +        <file>FontsTab.qml</file>
     8.8 +        <file>TestsTab.qml</file>
     8.9 +    </qresource>
    8.10 +</RCC>
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/qtquickcontrolsapplication.h	Tue May 27 12:00:47 2014 +0200
     9.3 @@ -0,0 +1,61 @@
     9.4 +/****************************************************************************
     9.5 +**
     9.6 +** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
     9.7 +** Contact: http://www.qt-project.org/legal
     9.8 +**
     9.9 +** This file is part of the Qt Quick Controls module of the Qt Toolkit.
    9.10 +**
    9.11 +** $QT_BEGIN_LICENSE:LGPL$
    9.12 +** Commercial License Usage
    9.13 +** Licensees holding valid commercial Qt licenses may use this file in
    9.14 +** accordance with the commercial license agreement provided with the
    9.15 +** Software or, alternatively, in accordance with the terms contained in
    9.16 +** a written agreement between you and Digia.  For licensing terms and
    9.17 +** conditions see http://qt.digia.com/licensing.  For further information
    9.18 +** use the contact form at http://qt.digia.com/contact-us.
    9.19 +**
    9.20 +** GNU Lesser General Public License Usage
    9.21 +** Alternatively, this file may be used under the terms of the GNU Lesser
    9.22 +** General Public License version 2.1 as published by the Free Software
    9.23 +** Foundation and appearing in the file LICENSE.LGPL included in the
    9.24 +** packaging of this file.  Please review the following information to
    9.25 +** ensure the GNU Lesser General Public License version 2.1 requirements
    9.26 +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
    9.27 +**
    9.28 +** In addition, as a special exception, Digia gives you certain additional
    9.29 +** rights.  These rights are described in the Digia Qt LGPL Exception
    9.30 +** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
    9.31 +**
    9.32 +** GNU General Public License Usage
    9.33 +** Alternatively, this file may be used under the terms of the GNU
    9.34 +** General Public License version 3.0 as published by the Free Software
    9.35 +** Foundation and appearing in the file LICENSE.GPL included in the
    9.36 +** packaging of this file.  Please review the following information to
    9.37 +** ensure the GNU General Public License version 3.0 requirements will be
    9.38 +** met: http://www.gnu.org/copyleft/gpl.html.
    9.39 +**
    9.40 +**
    9.41 +** $QT_END_LICENSE$
    9.42 +**
    9.43 +****************************************************************************/
    9.44 +
    9.45 +#ifndef QTQUICKCONTROLSAPPLICATION_H
    9.46 +#define QTQUICKCONTROLSAPPLICATION_H
    9.47 +
    9.48 +#ifdef QT_WIDGETS_LIB
    9.49 +#include <QtWidgets/QApplication>
    9.50 +#else
    9.51 +#include <QtGui/QGuiApplication>
    9.52 +#endif
    9.53 +
    9.54 +QT_BEGIN_NAMESPACE
    9.55 +
    9.56 +#ifdef QT_WIDGETS_LIB
    9.57 +#define QtQuickControlsApplication QApplication
    9.58 +#else
    9.59 +#define QtQuickControlsApplication QGuiApplication
    9.60 +#endif
    9.61 +
    9.62 +QT_END_NAMESPACE
    9.63 +
    9.64 +#endif // QTQUICKCONTROLSAPPLICATION_H