---
XmlParser/XmlParser.pro | 8 +-
XmlParser/XmlParser.pro.user | 1075 ++++++++++++++++----
.../{XmlParser.pro.user => XmlParser.pro.user.1.3} | 0
XmlParser/graphicsview.cpp | 70 --
XmlParser/graphicsview.h | 29 -
XmlParser/mainwindow.cpp | 14 +-
XmlParser/mainwindow.h | 7 +-
XmlParser/mainwindow.ui | 12 +-
XmlParser/scene.cpp | 70 ++
XmlParser/scene.h | 35 +
XmlParser/selection.cpp | 40 +
XmlParser/selection.h | 22 +
XmlParser/selectionitem.cpp | 52 -
XmlParser/selectionitem.h | 19 -
14 files changed, 1054 insertions(+), 399 deletions(-)
copy XmlParser/{XmlParser.pro.user => XmlParser.pro.user.1.3} (100%)
delete mode 100644 XmlParser/graphicsview.cpp
delete mode 100644 XmlParser/graphicsview.h
create mode 100644 XmlParser/scene.cpp
create mode 100644 XmlParser/scene.h
create mode 100644 XmlParser/selection.cpp
create mode 100644 XmlParser/selection.h
delete mode 100644 XmlParser/selectionitem.cpp
delete mode 100644 XmlParser/selectionitem.h
diff --git a/XmlParser/XmlParser.pro b/XmlParser/XmlParser.pro
index 6d9c9d2..752a374 100644
--- a/XmlParser/XmlParser.pro
+++ b/XmlParser/XmlParser.pro
@@ -7,11 +7,11 @@ TEMPLATE = app
SOURCES += main.cpp \
mainwindow.cpp \
xml.cpp \
- graphicsview.cpp \
- selectionitem.cpp
+ scene.cpp \
+ selection.cpp
HEADERS += mainwindow.h \
region.h \
xml.h \
- graphicsview.h \
- selectionitem.h
+ scene.h \
+ selection.h
FORMS += mainwindow.ui
diff --git a/XmlParser/XmlParser.pro.user b/XmlParser/XmlParser.pro.user
index 29f9b56..bd02c8a 100644
--- a/XmlParser/XmlParser.pro.user
+++ b/XmlParser/XmlParser.pro.user
@@ -1,251 +1,892 @@
+<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
+<!-- Written by Qt Creator 2.4.1, 2013-01-14T03:02:03. -->
<qtcreator>
<data>
- <variable>RunConfiguration0-BaseEnvironmentBase</variable>
- <value type="int">2</value>
- </data>
- <data>
- <variable>RunConfiguration0-CommandLineArguments</variable>
- <valuelist type="QVariantList"/>
- </data>
- <data>
- <variable>RunConfiguration0-ProFile</variable>
- <value type="QString">XmlParser.pro</value>
- </data>
- <data>
- <variable>RunConfiguration0-RunConfiguration.name</variable>
- <value type="QString">XmlParser</value>
- </data>
- <data>
- <variable>RunConfiguration0-UseDyldImageSuffix</variable>
- <value type="bool">false</value>
- </data>
- <data>
- <variable>RunConfiguration0-UseTerminal</variable>
- <value type="bool">false</value>
- </data>
- <data>
- <variable>RunConfiguration0-UserEnvironmentChanges</variable>
- <valuelist type="QVariantList"/>
- </data>
- <data>
- <variable>RunConfiguration0-UserSetName</variable>
- <value type="bool">false</value>
- </data>
- <data>
- <variable>RunConfiguration0-UserSetWorkingDirectory</variable>
- <value type="bool">false</value>
- </data>
- <data>
- <variable>RunConfiguration0-UserWorkingDirectory</variable>
- <value type="QString"></value>
- </data>
- <data>
- <variable>RunConfiguration0-type</variable>
- <value
type="QString">Qt4ProjectManager.Qt4RunConfiguration</value>
- </data>
- <data>
- <variable>activeRunConfiguration</variable>
+ <variable>ProjectExplorer.Project.ActiveTarget</variable>
<value type="int">0</value>
</data>
<data>
- <variable>activebuildconfiguration</variable>
- <value type="QString">Debug</value>
- </data>
- <data>
- <variable>buildConfiguration-Debug</variable>
- <valuemap type="QVariantMap">
- <value key="ProjectExplorer.BuildConfiguration.DisplayName"
type="QString">Debug</value>
- <value key="QtVersionId" type="int">0</value>
- <value key="ToolChain" type="int">0</value>
- <value key="addQDumper" type=""></value>
- <value key="buildConfiguration" type="int">2</value>
- </valuemap>
- </data>
- <data>
- <variable>buildConfiguration-Release</variable>
- <valuemap type="QVariantMap">
- <value key="ProjectExplorer.BuildConfiguration.DisplayName"
type="QString">Release</value>
- <value key="QtVersionId" type="int">0</value>
- <value key="addQDumper" type=""></value>
- <value key="buildConfiguration" type="int">0</value>
- </valuemap>
- </data>
- <data>
- <variable>buildconfiguration-Debug-buildstep0</variable>
- <valuemap type="QVariantMap">
- <value key="ProjectExplorer.BuildConfiguration.DisplayName"
type="QString">Debug</value>
- <valuelist key="abstractProcess.Environment"
type="QVariantList">
- <value
type="QString">DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-YjhocK9Z3d,guid=e9e5f2da71aeced554355e6f00596ece</value>
- <value type="QString">DESKTOP_SESSION=fluxbox</value>
- <value type="QString">DISPLAY=:0.0</value>
- <value type="QString">GDMSESSION=fluxbox</value>
- <value type="QString">GDM_LANG=fr_FR.UTF-8</value>
- <value type="QString">GDM_XSERVER_LOCATION=local</value>
- <value
type="QString">GNOME_KEYRING_CONTROL=/tmp/keyring-INUHb2</value>
- <value type="QString">GNOME_KEYRING_PID=27655</value>
- <value type="QString">GTK_MODULES=canberra-gtk-module</value>
- <value type="QString">HOME=/lrde/home/stage/froger_a</value>
- <value type="QString">LANG=fr_FR.UTF-8</value>
- <value
type="QString">LD_LIBRARY_PATH=/usr/lib/qtcreator</value>
- <value type="QString">LOGNAME=froger_a</value>
- <value
type="QString">OLDPWD=/lrde/home/stage/froger_a/qt</value>
- <value
type="QString">PATH=/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games</value>
- <value
type="QString">PWD=/lrde/home/stage/froger_a/qt/XmlParser</value>
- <value type="QString">QTDIR=/usr/share/qt4</value>
- <value type="QString">SHELL=/bin/bash</value>
- <value type="QString">SHLVL=2</value>
- <value type="QString">SSH_AGENT_PID=27730</value>
- <value
type="QString">SSH_AUTH_SOCK=/tmp/ssh-aIvoE27664/agent.27664</value>
- <value type="QString">TERM=xterm</value>
- <value type="QString">USER=froger_a</value>
- <value type="QString">USERNAME=froger_a</value>
- <value type="QString">WINDOWID=10485796</value>
- <value
type="QString">WINDOWPATH=7:8:8:8:8:8:8:8:8:8:8:8:8</value>
- <value type="QString">XAUTHORITY=/tmp/.gdmJEZ7QW</value>
- <value
type="QString">XDG_DATA_DIRS=/usr/local/share/:/usr/share/:/usr/share/gdm/</value>
- <value
type="QString">XDG_SESSION_COOKIE=b24883b9b4dbfb80ea83575b00000a11-1357908881.805303-96205090</value>
- <value type="QString">XPSERVERLIST=:64 </value>
- <value type="QString">XTERM_LOCALE=fr_FR.UTF-8</value>
- <value type="QString">XTERM_SHELL=/bin/bash</value>
- <value type="QString">XTERM_VERSION=XTerm(261)</value>
- <value type="QString">_=/usr/bin/qtcreator</value>
- </valuelist>
- <valuelist key="abstractProcess.arguments"
type="QVariantList">
- <value
type="QString">/amd/nfs/volume1/home/stage/froger_a/qt/XmlParser/XmlParser.pro</value>
- <value type="QString">-spec</value>
- <value type="QString">linux-g++</value>
- <value type="QString">-r</value>
- <value type="QString">CONFIG+=debug</value>
- </valuelist>
- <value key="abstractProcess.command"
type="QString">/usr/bin/qmake-qt4</value>
- <value key="abstractProcess.enabled"
type="bool">false</value>
- <value key="abstractProcess.workingDirectory"
type="QString">/amd/nfs/volume1/home/stage/froger_a/qt/XmlParser</value>
- </valuemap>
- </data>
- <data>
- <variable>buildconfiguration-Debug-buildstep1</variable>
- <valuemap type="QVariantMap">
- <value key="ProjectExplorer.BuildConfiguration.DisplayName"
type="QString">Debug</value>
- <valuelist key="abstractProcess.Environment"
type="QVariantList">
- <value
type="QString">DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-YjhocK9Z3d,guid=e9e5f2da71aeced554355e6f00596ece</value>
- <value type="QString">DESKTOP_SESSION=fluxbox</value>
- <value type="QString">DISPLAY=:0.0</value>
- <value type="QString">GDMSESSION=fluxbox</value>
- <value type="QString">GDM_LANG=fr_FR.UTF-8</value>
- <value type="QString">GDM_XSERVER_LOCATION=local</value>
- <value
type="QString">GNOME_KEYRING_CONTROL=/tmp/keyring-INUHb2</value>
- <value type="QString">GNOME_KEYRING_PID=27655</value>
- <value type="QString">GTK_MODULES=canberra-gtk-module</value>
- <value type="QString">HOME=/lrde/home/stage/froger_a</value>
- <value type="QString">LANG=fr_FR.UTF-8</value>
- <value
type="QString">LD_LIBRARY_PATH=/usr/lib/qtcreator</value>
- <value type="QString">LOGNAME=froger_a</value>
- <value
type="QString">OLDPWD=/lrde/home/stage/froger_a/qt</value>
- <value
type="QString">PATH=/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games</value>
- <value
type="QString">PWD=/lrde/home/stage/froger_a/qt/XmlParser</value>
- <value type="QString">QTDIR=/usr/share/qt4</value>
- <value type="QString">SHELL=/bin/bash</value>
- <value type="QString">SHLVL=2</value>
- <value type="QString">SSH_AGENT_PID=27730</value>
- <value
type="QString">SSH_AUTH_SOCK=/tmp/ssh-aIvoE27664/agent.27664</value>
- <value type="QString">TERM=xterm</value>
- <value type="QString">USER=froger_a</value>
- <value type="QString">USERNAME=froger_a</value>
- <value type="QString">WINDOWID=10485796</value>
- <value
type="QString">WINDOWPATH=7:8:8:8:8:8:8:8:8:8:8:8:8</value>
- <value type="QString">XAUTHORITY=/tmp/.gdmJEZ7QW</value>
- <value
type="QString">XDG_DATA_DIRS=/usr/local/share/:/usr/share/:/usr/share/gdm/</value>
- <value
type="QString">XDG_SESSION_COOKIE=b24883b9b4dbfb80ea83575b00000a11-1357908881.805303-96205090</value>
- <value type="QString">XPSERVERLIST=:64 </value>
- <value type="QString">XTERM_LOCALE=fr_FR.UTF-8</value>
- <value type="QString">XTERM_SHELL=/bin/bash</value>
- <value type="QString">XTERM_VERSION=XTerm(261)</value>
- <value type="QString">_=/usr/bin/qtcreator</value>
- </valuelist>
- <value key="abstractProcess.IgnoreReturnValue"
type="bool">false</value>
- <valuelist key="abstractProcess.arguments"
type="QVariantList">
- <value type="QString">-w</value>
- </valuelist>
- <value key="abstractProcess.command"
type="QString">/usr/bin/make</value>
- <value key="abstractProcess.enabled"
type="bool">true</value>
- <value key="abstractProcess.workingDirectory"
type="QString">/amd/nfs/volume1/home/stage/froger_a/qt/XmlParser</value>
- </valuemap>
- </data>
- <data>
- <variable>buildconfiguration-Debug-cleanstep0</variable>
+ <variable>ProjectExplorer.Project.EditorSettings</variable>
<valuemap type="QVariantMap">
- <value key="ProjectExplorer.BuildConfiguration.DisplayName"
type="QString">Debug</value>
- <value key="cleanConfig" type="bool">true</value>
- <valuelist key="makeargs" type="QVariantList">
- <value type="QString">clean</value>
- </valuelist>
+ <value type="bool"
key="EditorConfiguration.AutoIndent">true</value>
+ <value type="bool"
key="EditorConfiguration.AutoSpacesForTabs">false</value>
+ <valuemap type="QVariantMap"
key="EditorConfiguration.CodeStyle.0">
+ <value type="QString" key="language">Cpp</value>
+ <valuemap type="QVariantMap" key="value">
+ <value type="QString"
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="QString"
key="CurrentPreferences">QmlJSGlobal</value>
+ </valuemap>
+ </valuemap>
+ <value type="int"
key="EditorConfiguration.CodeStyle.Count">2</value>
+ <value type="QByteArray"
key="EditorConfiguration.Codec">System</value>
+ <value type="bool"
key="EditorConfiguration.ConstrainTooltips">false</value>
+ <value type="int"
key="EditorConfiguration.IndentSize">4</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="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>buildconfiguration-Release-buildstep0</variable>
- <valuemap type="QVariantMap">
- <value key="ProjectExplorer.BuildConfiguration.DisplayName"
type="QString">Release</value>
- </valuemap>
- </data>
- <data>
- <variable>buildconfiguration-Release-buildstep1</variable>
- <valuemap type="QVariantMap">
- <value key="ProjectExplorer.BuildConfiguration.DisplayName"
type="QString">Release</value>
- </valuemap>
+ <variable>ProjectExplorer.Project.PluginSettings</variable>
+ <valuemap type="QVariantMap"/>
</data>
<data>
- <variable>buildconfiguration-Release-cleanstep0</variable>
+ <variable>ProjectExplorer.Project.Target.0</variable>
<valuemap type="QVariantMap">
- <value key="ProjectExplorer.BuildConfiguration.DisplayName"
type="QString">Release</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName"></value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Target.DesktopTarget</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.ToolChain">ProjectExplorer.ToolChain.Gcc:/usr/bin/g++.x86-linux-generic-elf-32bit./usr/bin/gdb</value>
+ <valuemap type="QVariantMap"
key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
+ <valuemap type="QVariantMap"
key="ProjectExplorer.BuildStepList.Step.0">
+ <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">false</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="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>
+ <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">Compiler</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</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="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>
+ <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">Nettoyer</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</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">Debug</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
+ <value type="int"
key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value>
+ <value type="QString"
key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/home/onix/qt/XmlParser-build-desktop-Debug</value>
+ <value type="int"
key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId">1</value>
+ <value type="bool"
key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value>
+ </valuemap>
+ <valuemap type="QVariantMap"
key="ProjectExplorer.Target.BuildConfiguration.1">
+ <value type="QString"
key="ProjectExplorer.BuildCOnfiguration.ToolChain">ProjectExplorer.ToolChain.Gcc:/usr/bin/g++.x86-linux-generic-elf-32bit./usr/bin/gdb</value>
+ <valuemap type="QVariantMap"
key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
+ <valuemap type="QVariantMap"
key="ProjectExplorer.BuildStepList.Step.0">
+ <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">false</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="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>
+ <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">Compiler</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</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="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>
+ <value type="bool"
key="Qt4ProjectManager.MakeStep.Clean">true</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">1</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Nettoyer</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</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">Release</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
+ <value type="int"
key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
+ <value type="QString"
key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/home/onix/qt/XmlParser-build-desktop-Release</value>
+ <value type="int"
key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId">1</value>
+ <value type="bool"
key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</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">Déploiement</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.DisplayName">Deploy</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">Pas de
déploiement</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.DisplayName">Pas de
déploiement</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.RunConfiguration.0">
+ <value type="bool"
key="Analyzer.Project.UseGlobal">true</value>
+ <value type="bool"
key="Analyzer.Project.UseGlobal">true</value>
+ <valuelist type="QVariantList"
key="Analyzer.Valgrind.AddedSuppressionFiles"/>
+ <valuelist type="QVariantList"
key="Analyzer.Valgrind.AddedSuppressionFiles"/>
+ <value type="bool"
key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
+ <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.CollectSystime">false</value>
+ <value type="bool"
key="Analyzer.Valgrind.Callgrind.EnableBranchSim">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.EnableCacheSim">false</value>
+ <value type="bool"
key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</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.MinimumCostRatio">0.01</value>
+ <value type="double"
key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
+ <value type="double"
key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
+ <value type="bool"
key="Analyzer.Valgrind.FilterExternalIssues">true</value>
+ <value type="bool"
key="Analyzer.Valgrind.FilterExternalIssues">true</value>
+ <value type="int"
key="Analyzer.Valgrind.NumCallers">25</value>
+ <value type="int"
key="Analyzer.Valgrind.NumCallers">25</value>
+ <valuelist type="QVariantList"
key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
+ <valuelist type="QVariantList"
key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
+ <value type="bool"
key="Analyzer.Valgrind.TrackOrigins">true</value>
+ <value type="bool"
key="Analyzer.Valgrind.TrackOrigins">true</value>
+ <value type="QString"
key="Analyzer.Valgrind.ValgrindExecutable">valgrind</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>
+ <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="QString"
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Configuration
d'exécution Qt4</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.DisplayName">XmlParser</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration</value>
+ <value type="int"
key="Qt4ProjectManager.Qt4RunConfiguration.BaseEnvironmentBase">2</value>
+ <value type="QString"
key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value>
+ <value type="QString"
key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">XmlParser.pro</value>
+ <value type="bool"
key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value>
+ <value type="bool"
key="Qt4ProjectManager.Qt4RunConfiguration.UseTerminal">false</value>
+ <valuelist type="QVariantList"
key="Qt4ProjectManager.Qt4RunConfiguration.UserEnvironmentChanges"/>
+ <value type="QString"
key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value>
+ <value type="uint"
key="RunConfiguration.QmlDebugServerPort">3768</value>
+ <value type="bool"
key="RunConfiguration.UseCppDebugger">true</value>
+ <value type="bool"
key="RunConfiguration.UseQmlDebugger">false</value>
+ <value type="bool"
key="RunConfiguration.UseQmlDebuggerAuto">false</value>
+ </valuemap>
+ <value type="int"
key="ProjectExplorer.Target.RunConfigurationCount">1</value>
</valuemap>
</data>
<data>
- <variable>buildconfigurations</variable>
- <valuelist type="QVariantList">
- <value type="QString">Debug</value>
- <value type="QString">Release</value>
- </valuelist>
- </data>
- <data>
- <variable>buildstep0</variable>
+ <variable>ProjectExplorer.Project.Target.1</variable>
<valuemap type="QVariantMap">
- <value key="ProjectExplorer.BuildConfiguration.DisplayName"
type="QString"></value>
- <value key="mkspec" type="QString"></value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">2</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Target.S60EmulatorTarget</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.ToolChain">INVALID</value>
+ <valuemap type="QVariantMap"
key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
+ <valuemap type="QVariantMap"
key="ProjectExplorer.BuildStepList.Step.0">
+ <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">false</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="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>
+ <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">Compiler</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</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="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>
+ <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">Nettoyer</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</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">Debug</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
+ <value type="int"
key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value>
+ <value type="QString"
key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/home/onix/qt/XmlParser</value>
+ <value type="int"
key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId">-1</value>
+ <value type="bool"
key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value>
+ </valuemap>
+ <valuemap type="QVariantMap"
key="ProjectExplorer.Target.BuildConfiguration.1">
+ <value type="QString"
key="ProjectExplorer.BuildCOnfiguration.ToolChain">INVALID</value>
+ <valuemap type="QVariantMap"
key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
+ <valuemap type="QVariantMap"
key="ProjectExplorer.BuildStepList.Step.0">
+ <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">false</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="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>
+ <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">Compiler</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</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="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>
+ <value type="bool"
key="Qt4ProjectManager.MakeStep.Clean">true</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">1</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Nettoyer</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</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">Release</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
+ <value type="int"
key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
+ <value type="QString"
key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/home/onix/qt/XmlParser</value>
+ <value type="int"
key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId">-1</value>
+ <value type="bool"
key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</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">Déploiement</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.DisplayName">Deploy</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">Pas de
déploiement</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.DisplayName">Pas de
déploiement</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.RunConfiguration.0">
+ <value type="bool"
key="Analyzer.Project.UseGlobal">true</value>
+ <value type="bool"
key="Analyzer.Project.UseGlobal">true</value>
+ <valuelist type="QVariantList"
key="Analyzer.Valgrind.AddedSuppressionFiles"/>
+ <valuelist type="QVariantList"
key="Analyzer.Valgrind.AddedSuppressionFiles"/>
+ <value type="bool"
key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
+ <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.CollectSystime">false</value>
+ <value type="bool"
key="Analyzer.Valgrind.Callgrind.EnableBranchSim">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.EnableCacheSim">false</value>
+ <value type="bool"
key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</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.MinimumCostRatio">0.01</value>
+ <value type="double"
key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
+ <value type="double"
key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
+ <value type="bool"
key="Analyzer.Valgrind.FilterExternalIssues">true</value>
+ <value type="bool"
key="Analyzer.Valgrind.FilterExternalIssues">true</value>
+ <value type="int"
key="Analyzer.Valgrind.NumCallers">25</value>
+ <value type="int"
key="Analyzer.Valgrind.NumCallers">25</value>
+ <valuelist type="QVariantList"
key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
+ <valuelist type="QVariantList"
key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
+ <value type="bool"
key="Analyzer.Valgrind.TrackOrigins">true</value>
+ <value type="bool"
key="Analyzer.Valgrind.TrackOrigins">true</value>
+ <value type="QString"
key="Analyzer.Valgrind.ValgrindExecutable">valgrind</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>
+ <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="QString"
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">XmlParser sur
l'émulateur Symbian</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.S60EmulatorRunConfiguration</value>
+ <value type="QString"
key="Qt4ProjectManager.S60EmulatorRunConfiguration.ProFile">XmlParser.pro</value>
+ <value type="uint"
key="RunConfiguration.QmlDebugServerPort">3768</value>
+ <value type="bool"
key="RunConfiguration.UseCppDebugger">true</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>buildstep1</variable>
+ <variable>ProjectExplorer.Project.Target.2</variable>
<valuemap type="QVariantMap">
- <value key="ProjectExplorer.BuildConfiguration.DisplayName"
type="QString"></value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">3</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Target.S60DeviceTarget</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.ToolChain">INVALID</value>
+ <valuemap type="QVariantMap"
key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
+ <valuemap type="QVariantMap"
key="ProjectExplorer.BuildStepList.Step.0">
+ <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">false</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="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>
+ <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">Compiler</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</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="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>
+ <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">Nettoyer</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</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">Debug</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
+ <value type="int"
key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value>
+ <value type="QString"
key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/home/onix/qt/XmlParser</value>
+ <value type="int"
key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId">-1</value>
+ <value type="bool"
key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value>
+ </valuemap>
+ <valuemap type="QVariantMap"
key="ProjectExplorer.Target.BuildConfiguration.1">
+ <value type="QString"
key="ProjectExplorer.BuildCOnfiguration.ToolChain">INVALID</value>
+ <valuemap type="QVariantMap"
key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
+ <valuemap type="QVariantMap"
key="ProjectExplorer.BuildStepList.Step.0">
+ <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">false</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="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>
+ <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">Compiler</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</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="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>
+ <value type="bool"
key="Qt4ProjectManager.MakeStep.Clean">true</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">1</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Nettoyer</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</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">Release</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
+ <value type="int"
key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
+ <value type="QString"
key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/home/onix/qt/XmlParser</value>
+ <value type="int"
key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId">-1</value>
+ <value type="bool"
key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</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">
+ <valuemap type="QVariantMap"
key="ProjectExplorer.BuildStepList.Step.0">
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Créer le paquet
SIS</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.DisplayName">Create SIS
package</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.S60SignBuildStep</value>
+ <value type="QString"
key="Qt4ProjectManager.S60CreatePackageStep.Certificate"></value>
+ <value type="QString"
key="Qt4ProjectManager.S60CreatePackageStep.Keyfile"></value>
+ <value type="int"
key="Qt4ProjectManager.S60CreatePackageStep.SignMode">0</value>
+ <value type="bool"
key="Qt4ProjectManager.S60CreatorPackageStep.SmartInstaller">false</value>
+ <value type="bool"
key="Qt4ProjectManager.S60CreatorPackageStep.SuppressPatchWarningDialog">false</value>
+ </valuemap>
+ <valuemap type="QVariantMap"
key="ProjectExplorer.BuildStepList.Step.1">
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Déployer</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.S60DeployStep</value>
+ </valuemap>
+ <value type="int"
key="ProjectExplorer.BuildStepList.StepsCount">2</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Déploiement</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.DisplayName">Deploy</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">Pas de
déploiement</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.DisplayName">Déployer sur un
périphérique Symbian</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.RunConfiguration.0">
+ <value type="bool"
key="Analyzer.Project.UseGlobal">true</value>
+ <value type="bool"
key="Analyzer.Project.UseGlobal">true</value>
+ <valuelist type="QVariantList"
key="Analyzer.Valgrind.AddedSuppressionFiles"/>
+ <valuelist type="QVariantList"
key="Analyzer.Valgrind.AddedSuppressionFiles"/>
+ <value type="bool"
key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
+ <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.CollectSystime">false</value>
+ <value type="bool"
key="Analyzer.Valgrind.Callgrind.EnableBranchSim">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.EnableCacheSim">false</value>
+ <value type="bool"
key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</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.MinimumCostRatio">0.01</value>
+ <value type="double"
key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
+ <value type="double"
key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
+ <value type="bool"
key="Analyzer.Valgrind.FilterExternalIssues">true</value>
+ <value type="bool"
key="Analyzer.Valgrind.FilterExternalIssues">true</value>
+ <value type="int"
key="Analyzer.Valgrind.NumCallers">25</value>
+ <value type="int"
key="Analyzer.Valgrind.NumCallers">25</value>
+ <valuelist type="QVariantList"
key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
+ <valuelist type="QVariantList"
key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
+ <value type="bool"
key="Analyzer.Valgrind.TrackOrigins">true</value>
+ <value type="bool"
key="Analyzer.Valgrind.TrackOrigins">true</value>
+ <value type="QString"
key="Analyzer.Valgrind.ValgrindExecutable">valgrind</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>
+ <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="QString"
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">XmlParser sur
périphérique Symbian</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.S60DeviceRunConfiguration</value>
+ <value type="QString"
key="Qt4ProjectManager.S60DeviceRunConfiguration.CommandLineArguments"></value>
+ <value type="QString"
key="Qt4ProjectManager.S60DeviceRunConfiguration.ProFile">XmlParser.pro</value>
+ <value type="uint"
key="RunConfiguration.QmlDebugServerPort">3768</value>
+ <value type="bool"
key="RunConfiguration.UseCppDebugger">true</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>buildsteps</variable>
- <valuelist type="QVariantList">
- <value type="QString">trolltech.qt4projectmanager.qmake</value>
- <value type="QString">trolltech.qt4projectmanager.make</value>
- </valuelist>
- </data>
- <data>
- <variable>cleanstep0</variable>
+ <variable>ProjectExplorer.Project.Target.3</variable>
<valuemap type="QVariantMap">
- <value key="ProjectExplorer.BuildConfiguration.DisplayName"
type="QString"></value>
- <value key="clean" type="bool">true</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">4</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Target.MaemoDeviceTarget</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.ToolChain">INVALID</value>
+ <valuemap type="QVariantMap"
key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
+ <valuemap type="QVariantMap"
key="ProjectExplorer.BuildStepList.Step.0">
+ <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">false</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="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>
+ <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">Compiler</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</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="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>
+ <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">Nettoyer</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</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">Debug</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
+ <value type="int"
key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value>
+ <value type="QString"
key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/home/onix/qt/XmlParser-build-maemo-Debug</value>
+ <value type="int"
key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId">-1</value>
+ <value type="bool"
key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value>
+ </valuemap>
+ <valuemap type="QVariantMap"
key="ProjectExplorer.Target.BuildConfiguration.1">
+ <value type="QString"
key="ProjectExplorer.BuildCOnfiguration.ToolChain">INVALID</value>
+ <valuemap type="QVariantMap"
key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
+ <valuemap type="QVariantMap"
key="ProjectExplorer.BuildStepList.Step.0">
+ <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">false</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="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>
+ <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">Compiler</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</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="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>
+ <value type="bool"
key="Qt4ProjectManager.MakeStep.Clean">true</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">1</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Nettoyer</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</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">Release</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
+ <value type="int"
key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
+ <value type="QString"
key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/home/onix/qt/XmlParser-build-maemo-Release</value>
+ <value type="int"
key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId">-1</value>
+ <value type="bool"
key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</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">
+ <valuemap type="QVariantMap"
key="ProjectExplorer.BuildStepList.Step.0">
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Déployer le
paquet par montage UTFS</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MaemoDeployStep</value>
+ <valuelist type="QVariantList"
key="Qt4ProjectManager.MaemoRunConfiguration.LastDeployedFiles"/>
+ <valuelist type="QVariantList"
key="Qt4ProjectManager.MaemoRunConfiguration.LastDeployedHosts"/>
+ <valuelist type="QVariantList"
key="Qt4ProjectManager.MaemoRunConfiguration.LastDeployedRemotePaths"/>
+ <valuelist type="QVariantList"
key="Qt4ProjectManager.MaemoRunConfiguration.LastDeployedTimes"/>
+ </valuemap>
+ <value type="int"
key="ProjectExplorer.BuildStepList.StepsCount">1</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Déploiement</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.DisplayName">Deploy</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">Compilation du
paquet Debian et installation sur le périphérique Maemo5</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.DisplayName">Déployer sur un
périphérique Maemo</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.Id">2.2MaemoDeployConfig</value>
+ <value type="qulonglong"
key="Qt4ProjectManager.MaemoRunConfiguration.DeviceId">0</value>
+ </valuemap>
+ <value type="int"
key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
+ <valuemap type="QVariantMap"
key="ProjectExplorer.Target.RunConfiguration.0">
+ <value type="bool"
key="Analyzer.Project.UseGlobal">true</value>
+ <value type="bool"
key="Analyzer.Project.UseGlobal">true</value>
+ <valuelist type="QVariantList"
key="Analyzer.Valgrind.AddedSuppressionFiles"/>
+ <valuelist type="QVariantList"
key="Analyzer.Valgrind.AddedSuppressionFiles"/>
+ <value type="bool"
key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
+ <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.CollectSystime">false</value>
+ <value type="bool"
key="Analyzer.Valgrind.Callgrind.EnableBranchSim">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.EnableCacheSim">false</value>
+ <value type="bool"
key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</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.MinimumCostRatio">0.01</value>
+ <value type="double"
key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
+ <value type="double"
key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
+ <value type="bool"
key="Analyzer.Valgrind.FilterExternalIssues">true</value>
+ <value type="bool"
key="Analyzer.Valgrind.FilterExternalIssues">true</value>
+ <value type="int"
key="Analyzer.Valgrind.NumCallers">25</value>
+ <value type="int"
key="Analyzer.Valgrind.NumCallers">25</value>
+ <valuelist type="QVariantList"
key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
+ <valuelist type="QVariantList"
key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
+ <value type="bool"
key="Analyzer.Valgrind.TrackOrigins">true</value>
+ <value type="bool"
key="Analyzer.Valgrind.TrackOrigins">true</value>
+ <value type="QString"
key="Analyzer.Valgrind.ValgrindExecutable">valgrind</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>
+ <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="QString"
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">XmlParser (sur
un périphérique distant)</value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+ <value type="QString"
key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MaemoRunConfiguration</value>
+ <value type="QString"
key="Qt4ProjectManager.MaemoRunConfiguration.Arguments"></value>
+ <value type="int"
key="Qt4ProjectManager.MaemoRunConfiguration.BaseEnvironmentBase">1</value>
+ <valuelist type="QVariantList"
key="Qt4ProjectManager.MaemoRunConfiguration.ExportedLocalDirs"/>
+ <value type="QString"
key="Qt4ProjectManager.MaemoRunConfiguration.ProFile">XmlParser.pro</value>
+ <valuelist type="QVariantList"
key="Qt4ProjectManager.MaemoRunConfiguration.RemoteMountPoints"/>
+ <valuelist type="QVariantList"
key="Qt4ProjectManager.MaemoRunConfiguration.UserEnvironmentChanges"/>
+ <value type="QString"
key="RemoteLinux.RunConfig.AlternateRemoteExecutable"></value>
+ <value type="bool"
key="RemoteLinux.RunConfig.UseAlternateRemoteExecutable">false</value>
+ <value type="uint"
key="RunConfiguration.QmlDebugServerPort">3768</value>
+ <value type="bool"
key="RunConfiguration.UseCppDebugger">true</value>
+ <value type="bool"
key="RunConfiguration.UseQmlDebugger">false</value>
+ <value type="bool"
key="RunConfiguration.UseQmlDebuggerAuto">false</value>
+ </valuemap>
+ <value type="int"
key="ProjectExplorer.Target.RunConfigurationCount">1</value>
</valuemap>
</data>
<data>
- <variable>cleansteps</variable>
- <valuelist type="QVariantList">
- <value type="QString">trolltech.qt4projectmanager.make</value>
- </valuelist>
+ <variable>ProjectExplorer.Project.TargetCount</variable>
+ <value type="int">4</value>
</data>
<data>
- <variable>defaultFileEncoding</variable>
- <value type="QByteArray">System</value>
+ <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable>
+ <value
type="QString">{85013502-198d-4c19-bf98-d077226e7b1b}</value>
</data>
<data>
- <variable>project</variable>
- <valuemap type="QVariantMap"/>
+ <variable>ProjectExplorer.Project.Updater.FileVersion</variable>
+ <value type="int">10</value>
</data>
</qtcreator>
diff --git a/XmlParser/XmlParser.pro.user b/XmlParser/XmlParser.pro.user.1.3
similarity index 100%
copy from XmlParser/XmlParser.pro.user
copy to XmlParser/XmlParser.pro.user.1.3
diff --git a/XmlParser/graphicsview.cpp b/XmlParser/graphicsview.cpp
deleted file mode 100644
index e69aec3..0000000
--- a/XmlParser/graphicsview.cpp
+++ /dev/null
@@ -1,70 +0,0 @@
-#include "graphicsview.h"
-
-GraphicsView::GraphicsView()
-{
- QGraphicsScene *scene = new QGraphicsScene(this);
- setScene(scene);
- isPressing = false;
- selRect.setRect(0, 0, 0, 0);
-}
-
-GraphicsView::GraphicsView(QWidget *parent)
-{
- isPressing = false;
- QGraphicsScene *scene = new QGraphicsScene(this);
- setScene(scene);
- setParent(parent);
- selRect.setRect(0, 0, 0, 0);
- setGeometry(0, 0, parent->width(), parent->height());
-}
-
-GraphicsView::GraphicsView(SelectionItem *selectionItem)
-{
- isPressing = false;
- QGraphicsScene *scene = new QGraphicsScene(this);
- setScene(scene);
- selRect.setRect(0, 0, 0, 0);
- this->selectionItem = selectionItem;
- scene->addItem(selectionItem);
-}
-
-GraphicsView::GraphicsView(QWidget *parent, SelectionItem *selectionItem)
-{
- isPressing = false;
- QGraphicsScene *scene = new QGraphicsScene(this);
- setScene(scene);
- setParent(parent);
- selRect.setRect(0, 0, 0, 0);
- setGeometry(0, 0, parent->width(), parent->height());
- this->selectionItem = selectionItem;
- scene->addItem(selectionItem);
-}
-
-void GraphicsView::mousePressEvent(QMouseEvent *event)
-{
- if(event->button() == Qt::LeftButton && !isPressing)
- {
- isPressing = true;
- pressPoint = event->posF();
- selRect.setTopLeft(mapFromScene(event->posF()));
- }
-}
-
-void GraphicsView::mouseMoveEvent(QMouseEvent *event)
-{
- if(isPressing)
- {
- selRect.setBottomRight(mapFromScene(event->posF()));
- selectionItem->changeShape(selRect.normalized());
- }
-}
-
-void GraphicsView::mouseReleaseEvent(QMouseEvent *event)
-{
- if(event->button() == Qt::LeftButton)
- {
- isPressing = false;
- selRect.setBottomRight(mapFromScene(event->posF()));
- selectionItem->changeShape(selRect.normalized());
- }
-}
diff --git a/XmlParser/graphicsview.h b/XmlParser/graphicsview.h
deleted file mode 100644
index 65c5876..0000000
--- a/XmlParser/graphicsview.h
+++ /dev/null
@@ -1,29 +0,0 @@
-#ifndef VIEWPORT_H
-#define VIEWPORT_H
-
-#include <QGraphicsView>
-#include <QMouseEvent>
-#include "selectionitem.h"
-
-class GraphicsView :
- public QGraphicsView
-{
- public:
- GraphicsView();
- explicit GraphicsView(QWidget *parent);
- explicit GraphicsView(SelectionItem *selectionItem);
- explicit GraphicsView(QWidget *parent, SelectionItem *selectionItem);
-
- protected:
- void mousePressEvent(QMouseEvent *event);
- void mouseReleaseEvent(QMouseEvent *event);
- void mouseMoveEvent(QMouseEvent *event);
-
- private:
- QPointF pressPoint;
- QRectF selRect;
- bool isPressing;
- SelectionItem *selectionItem;
-};
-
-#endif // VIEWPORT_H
diff --git a/XmlParser/mainwindow.cpp b/XmlParser/mainwindow.cpp
index acd6c52..9a28a42 100644
--- a/XmlParser/mainwindow.cpp
+++ b/XmlParser/mainwindow.cpp
@@ -6,8 +6,11 @@ MainWindow::MainWindow(QWidget *parent) :
ui(new Ui::MainWindow)
{
ui->setupUi(this);
- selectionItem = new SelectionItem(0, 0, 0, 0);
- graphicsView = new GraphicsView(ui->groupBox, selectionItem);
+ ui->graphicsView->setGeometry(0, 0, ui->groupBox->width(),
ui->groupBox->height());
+ Scene *scene = new Scene(ui->graphicsView);
+ scene->setSceneRect(ui->graphicsView->geometry());
+ ui->graphicsView->setScene(scene);
+ connect(scene, SIGNAL(sendString(QString&)), this,
SLOT(on_action(QString&)));
}
MainWindow::~MainWindow()
@@ -31,5 +34,10 @@ void MainWindow::changeEvent(QEvent *e)
void MainWindow::on_actionOpen_triggered()
{
QPixmap pixmap(QFileDialog::getOpenFileName(this));
- graphicsView->scene()->addPixmap(pixmap);
+ ui->graphicsView->scene()->addPixmap(pixmap);
+}
+
+void MainWindow::on_action(QString& string)
+{
+ ui->textEdit->setText(string);
}
diff --git a/XmlParser/mainwindow.h b/XmlParser/mainwindow.h
index a21f4ca..a308a2f 100644
--- a/XmlParser/mainwindow.h
+++ b/XmlParser/mainwindow.h
@@ -4,8 +4,7 @@
#include <QMainWindow>
#include <QGraphicsView>
#include <QFileDialog>
-#include "selectionitem.h"
-#include "graphicsview.h"
+#include "scene.h"
namespace Ui
{
@@ -15,6 +14,7 @@ namespace Ui
class MainWindow : public QMainWindow
{
Q_OBJECT
+
public:
MainWindow(QWidget *parent = 0);
~MainWindow();
@@ -24,11 +24,10 @@ class MainWindow : public QMainWindow
private:
Ui::MainWindow *ui;
- SelectionItem *selectionItem;
- GraphicsView *graphicsView;
private slots:
void on_actionOpen_triggered();
+ void on_action(QString& string);
};
#endif // MAINWINDOW_H
diff --git a/XmlParser/mainwindow.ui b/XmlParser/mainwindow.ui
index e819578..80ee3b4 100644
--- a/XmlParser/mainwindow.ui
+++ b/XmlParser/mainwindow.ui
@@ -36,6 +36,16 @@
<property name="title">
<string>Picture</string>
</property>
+ <widget class="QGraphicsView" name="graphicsView">
+ <property name="geometry">
+ <rect>
+ <x>280</x>
+ <y>130</y>
+ <width>256</width>
+ <height>192</height>
+ </rect>
+ </property>
+ </widget>
</widget>
</widget>
<widget class="QMenuBar" name="menuBar">
@@ -44,7 +54,7 @@
<x>0</x>
<y>0</y>
<width>1035</width>
- <height>23</height>
+ <height>25</height>
</rect>
</property>
<widget class="QMenu" name="menuFile">
diff --git a/XmlParser/scene.cpp b/XmlParser/scene.cpp
new file mode 100644
index 0000000..0422210
--- /dev/null
+++ b/XmlParser/scene.cpp
@@ -0,0 +1,70 @@
+#include "scene.h"
+
+Scene::Scene(QObject *parent):
+ QGraphicsScene(parent)
+{
+ init();
+}
+
+Scene::Scene(const QRectF &sceneRect, QObject *parent):
+ QGraphicsScene(sceneRect, parent)
+{
+ init();
+}
+
+Scene::Scene(qreal x, qreal y, qreal width, qreal height, QObject *parent):
+ QGraphicsScene(x, y, width, height, parent)
+{
+ init();
+}
+
+void Scene::init()
+{
+ isPressing = false;
+ selection = new Selection(this);
+}
+
+void Scene::mousePressEvent(QGraphicsSceneMouseEvent *event)
+{
+ if(event->button() == Qt::LeftButton && !isPressing)
+ {
+ isPressing = true;
+ pressPos = event->scenePos();
+ selection->show();
+ }
+}
+
+void Scene::mouseMoveEvent(QGraphicsSceneMouseEvent *event)
+{
+ if(isPressing)
+ {
+ if(pressPos.x() < event->scenePos().x())
+ selection->setRect(pressPos.x(), 0, event->scenePos().x()-pressPos.x(),
0);
+ else
+ selection->setRect(event->scenePos().x(), 0,
pressPos.x()-event->scenePos().x(), 0);
+ if(pressPos.y() < event->scenePos().y())
+ selection->setRect(selection->rect().x(), pressPos.y(),
selection->rect().width(), event->scenePos().y()-pressPos.y());
+ else
+ selection->setRect(selection->rect().x(), event->scenePos().y(),
selection->rect().width(), pressPos.y()-event->scenePos().y());
+ selection->changeShape();
+ }
+}
+
+void Scene::mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
+{
+ if(event->button() == Qt::LeftButton)
+ {
+ isPressing = false;
+ QRect rect = selection->rect().toRect();
+ QString str = debug(rect);
+ emit sendString(str);
+ selection->setRect(0, 0, 0, 0);
+ selection->hide();
+ }
+}
+
+QString Scene::debug(QRect &rect)
+{
+ return "Position : " + QString::number(rect.x()) + ", " +
QString::number(rect.y()) + "\n" +
+ "Size : " + QString::number(rect.width()) + ", " +
QString::number(rect.height());
+}
diff --git a/XmlParser/scene.h b/XmlParser/scene.h
new file mode 100644
index 0000000..30efef8
--- /dev/null
+++ b/XmlParser/scene.h
@@ -0,0 +1,35 @@
+#ifndef SCENE_H
+#define SCENE_H
+
+#include <QGraphicsScene>
+#include <QGraphicsSceneMouseEvent>
+#include "selection.h"
+
+class Scene :
+ public QGraphicsScene
+{
+ Q_OBJECT
+
+ public:
+ explicit Scene(QObject *parent = 0);
+ explicit Scene(const QRectF &sceneRect, QObject *parent = 0);
+ explicit Scene(qreal x, qreal y, qreal width, qreal height, QObject *parent =
0);
+
+ protected:
+ void mousePressEvent(QGraphicsSceneMouseEvent *event);
+ void mouseReleaseEvent(QGraphicsSceneMouseEvent *event);
+ void mouseMoveEvent(QGraphicsSceneMouseEvent *event);
+
+ signals:
+ void sendString(QString& string);
+
+ private:
+ void init();
+ QString debug(QRect &rect);
+
+ Selection *selection;
+ QPointF pressPos;
+ bool isPressing;
+};
+
+#endif // SCENE_H
diff --git a/XmlParser/selection.cpp b/XmlParser/selection.cpp
new file mode 100644
index 0000000..34e2c3a
--- /dev/null
+++ b/XmlParser/selection.cpp
@@ -0,0 +1,40 @@
+#include "selection.h"
+
+Selection::Selection(QGraphicsScene *scene):
+ QGraphicsRectItem(0, scene)
+{
+ init();
+}
+
+Selection::Selection(const QRectF &rect, QGraphicsScene *scene):
+ QGraphicsRectItem(rect, 0, scene)
+{
+ init();
+}
+
+Selection::Selection(qreal x, qreal y, qreal width, qreal height, QGraphicsScene
*scene):
+ QGraphicsRectItem(x, y, width, height, 0, scene)
+{
+ init();
+}
+
+void Selection::init()
+{
+ setZValue(INT_MAX);
+ QPen pen;
+ pen.setStyle(Qt::DashLine);
+ pen.setCapStyle(Qt::SquareCap);
+ pen.setWidth(1);
+ setPen(pen);
+ QBrush brush;
+ brush.setStyle(Qt::Dense4Pattern);
+ brush.setColor(QColor::fromRgb(100, 200, 60, 100));
+ setBrush(brush);
+}
+
+void Selection::changeShape()
+{
+ ensureVisible(rect());
+ prepareGeometryChange();
+ update(rect());
+}
diff --git a/XmlParser/selection.h b/XmlParser/selection.h
new file mode 100644
index 0000000..f548be6
--- /dev/null
+++ b/XmlParser/selection.h
@@ -0,0 +1,22 @@
+#ifndef SELECTION_H
+#define SELECTION_H
+
+#include <QGraphicsRectItem>
+#include <QPen>
+#include <climits>
+
+
+class Selection :
+ public QGraphicsRectItem
+{
+ public:
+ explicit Selection(QGraphicsScene *scene = 0);
+ explicit Selection(const QRectF& rect, QGraphicsScene *scene = 0);
+ explicit Selection(qreal x, qreal y, qreal width, qreal height, QGraphicsScene
*scene = 0);
+ void changeShape();
+
+ private:
+ void init();
+};
+
+#endif // SELECTION_H
diff --git a/XmlParser/selectionitem.cpp b/XmlParser/selectionitem.cpp
deleted file mode 100644
index 33bde80..0000000
--- a/XmlParser/selectionitem.cpp
+++ /dev/null
@@ -1,52 +0,0 @@
-#include "selectionitem.h"
-
-SelectionItem::SelectionItem()
-{
- QPen pen;
- pen.setStyle(Qt::DashLine);
- pen.setCapStyle(Qt::SquareCap);
- pen.setWidth(1);
- setPen(pen);
- QBrush brush;
- brush.setStyle(Qt::Dense4Pattern);
- brush.setColor(QColor::fromRgb(100, 200, 60, 100));
- setBrush(brush);
- setZValue(INT_MAX);
-}
-
-SelectionItem::SelectionItem(QRectF rectangle)
-{
- setRect(rectangle);
- QPen pen;
- pen.setStyle(Qt::DashLine);
- pen.setCapStyle(Qt::SquareCap);
- pen.setWidth(1);
- setPen(pen);
- QBrush brush;
- brush.setStyle(Qt::Dense4Pattern);
- brush.setColor(QColor::fromRgb(100, 200, 60, 100));
- setBrush(brush);
- setZValue(INT_MAX);
-}
-
-SelectionItem::SelectionItem(qreal x, qreal y, qreal width, qreal height)
-{
- setRect(x, y, width, height);
- QPen pen;
- pen.setStyle(Qt::DashLine);
- pen.setCapStyle(Qt::SquareCap);
- pen.setWidth(1);
- setPen(pen);
- QBrush brush;
- brush.setStyle(Qt::Dense4Pattern);
- brush.setColor(QColor::fromRgb(100, 200, 60, 100));
- setBrush(brush);
- setZValue(INT_MAX);
-}
-
-void SelectionItem::changeShape(QRectF rectangle)
-{
- setRect(rectangle);
- prepareGeometryChange();
- update(rectangle);
-}
diff --git a/XmlParser/selectionitem.h b/XmlParser/selectionitem.h
deleted file mode 100644
index 79d4138..0000000
--- a/XmlParser/selectionitem.h
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef SELECTIONITEM_H
-#define SELECTIONITEM_H
-
-#include <QGraphicsRectItem>
-#include <QPen>
-#include <climits>
-
-
-class SelectionItem :
- public QGraphicsRectItem
-{
- public:
- SelectionItem();
- explicit SelectionItem(qreal x, qreal y, qreal width, qreal height);
- explicit SelectionItem(QRectF rectangle);
- void changeShape(QRectF rectangle);
-};
-
-#endif // SELECTIONITEM_H
--
1.7.2.5