소스 검색

Qq ameliorations avec l'import des ressources

olinox14 10 년 전
부모
커밋
94af02ab81
100개의 변경된 파일8584개의 추가작업 그리고 0개의 파일을 삭제
  1. 0 0
      .metadata/.lock
  2. 173 0
      .metadata/.log
  3. BIN
      .metadata/.mylyn/.taskListIndex/segments.gen
  4. BIN
      .metadata/.mylyn/.taskListIndex/segments_1
  5. BIN
      .metadata/.mylyn/.tasks.xml.zip
  6. BIN
      .metadata/.mylyn/repositories.xml.zip
  7. BIN
      .metadata/.mylyn/tasks.xml.zip
  8. 1 0
      .metadata/.plugins/org.eclipse.core.resources/.root/.indexes/history.version
  9. BIN
      .metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.index
  10. 1 0
      .metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.version
  11. BIN
      .metadata/.plugins/org.eclipse.core.resources/.root/2.tree
  12. BIN
      .metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources
  13. 2 0
      .metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.core.resources.prefs
  14. 3 0
      .metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.epp.logging.aeri.ui.prefs
  15. 13 0
      .metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.ui.prefs
  16. 2 0
      .metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.m2e.discovery.prefs
  17. 2 0
      .metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.mylyn.context.core.prefs
  18. 2 0
      .metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.mylyn.monitor.ui.prefs
  19. 4 0
      .metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.mylyn.tasks.ui.prefs
  20. 5 0
      .metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.ide.prefs
  21. 2 0
      .metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.prefs
  22. 3 0
      .metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.workbench.prefs
  23. 2 0
      .metadata/.plugins/org.eclipse.core.runtime/.settings/org.python.pydev.prefs
  24. 151 0
      .metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi
  25. BIN
      .metadata/.plugins/org.eclipse.epp.logging.aeri.ui/history/_0.fdt
  26. BIN
      .metadata/.plugins/org.eclipse.epp.logging.aeri.ui/history/_0.fdx
  27. 1 0
      .metadata/.plugins/org.eclipse.epp.logging.aeri.ui/history/_0.fnm
  28. 0 0
      .metadata/.plugins/org.eclipse.epp.logging.aeri.ui/history/_0.frq
  29. 1 0
      .metadata/.plugins/org.eclipse.epp.logging.aeri.ui/history/_0.nrm
  30. BIN
      .metadata/.plugins/org.eclipse.epp.logging.aeri.ui/history/_0.tii
  31. BIN
      .metadata/.plugins/org.eclipse.epp.logging.aeri.ui/history/_0.tis
  32. BIN
      .metadata/.plugins/org.eclipse.epp.logging.aeri.ui/history/segments.gen
  33. BIN
      .metadata/.plugins/org.eclipse.epp.logging.aeri.ui/history/segments_1
  34. BIN
      .metadata/.plugins/org.eclipse.epp.logging.aeri.ui/remote-index/_0.fdt
  35. BIN
      .metadata/.plugins/org.eclipse.epp.logging.aeri.ui/remote-index/_0.fdx
  36. 1 0
      .metadata/.plugins/org.eclipse.epp.logging.aeri.ui/remote-index/_0.fnm
  37. 0 0
      .metadata/.plugins/org.eclipse.epp.logging.aeri.ui/remote-index/_0.frq
  38. 1 0
      .metadata/.plugins/org.eclipse.epp.logging.aeri.ui/remote-index/_0.nrm
  39. BIN
      .metadata/.plugins/org.eclipse.epp.logging.aeri.ui/remote-index/_0.tii
  40. BIN
      .metadata/.plugins/org.eclipse.epp.logging.aeri.ui/remote-index/_0.tis
  41. BIN
      .metadata/.plugins/org.eclipse.epp.logging.aeri.ui/remote-index/segments.gen
  42. BIN
      .metadata/.plugins/org.eclipse.epp.logging.aeri.ui/remote-index/segments_1
  43. BIN
      .metadata/.plugins/org.eclipse.jdt.core/assumedExternalFilesCache
  44. BIN
      .metadata/.plugins/org.eclipse.jdt.core/externalFilesCache
  45. BIN
      .metadata/.plugins/org.eclipse.jdt.core/nonChainingJarsCache
  46. BIN
      .metadata/.plugins/org.eclipse.jdt.core/variablesAndContainers.dat
  47. 2 0
      .metadata/.plugins/org.eclipse.jdt.ui/OpenTypeHistory.xml
  48. 2 0
      .metadata/.plugins/org.eclipse.jdt.ui/QualifiedTypeNameHistory.xml
  49. 5 0
      .metadata/.plugins/org.eclipse.jdt.ui/dialog_settings.xml
  50. 0 0
      .metadata/.plugins/org.eclipse.m2e.logback.configuration/0.log
  51. 43 0
      .metadata/.plugins/org.eclipse.m2e.logback.configuration/logback.1.6.0.20150526-2032.xml
  52. 6 0
      .metadata/.plugins/org.eclipse.oomph.setup/workspace.setup
  53. 11 0
      .metadata/.plugins/org.eclipse.ui.ide/dialog_settings.xml
  54. 4 0
      .metadata/.plugins/org.eclipse.ui.intro/dialog_settings.xml
  55. 15 0
      .metadata/.plugins/org.eclipse.ui.workbench/dialog_settings.xml
  56. 4 0
      .metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml
  57. 3 0
      .metadata/version.ini
  58. 3 0
      .settings/org.eclipse.mylyn.tasks.ui.prefs
  59. 59 0
      avancement.TXT
  60. 42 0
      lib/EcranAltitude.py
  61. 51 0
      lib/EcranConfirmation.py
  62. 54 0
      lib/EcranSaisie.py
  63. 155 0
      lib/commun.py
  64. 120 0
      lib/dialogues.py
  65. 203 0
      lib/explorateurMat.py
  66. 203 0
      lib/gM.py
  67. 61 0
      lib/mat.py
  68. 1 0
      lib/ui/convertAlt.cmd
  69. 1 0
      lib/ui/convertCfrm.cmd
  70. 1 0
      lib/ui/convertEditerImage.cmd
  71. 1 0
      lib/ui/convertExplorateur.cmd
  72. 1 0
      lib/ui/convertExplorateurImage.cmd
  73. 1 0
      lib/ui/convertExplorateurMateriels.cmd
  74. 1 0
      lib/ui/convertExplorateur_image.cmd
  75. 1 0
      lib/ui/convertMessage.cmd
  76. 1 0
      lib/ui/convertPanneauImage.cmd
  77. 1 0
      lib/ui/convertPanneauMateriel.cmd
  78. 1 0
      lib/ui/convertSaisie.cmd
  79. 274 0
      lib/ui/corbeille_ui/dmtableattaques_-_Copie.py
  80. 92 0
      lib/ui/dial_altitude.ui
  81. 106 0
      lib/ui/dial_confirmation.ui
  82. 71 0
      lib/ui/dial_msg.ui
  83. 153 0
      lib/ui/dial_saisie.ui
  84. 70 0
      lib/ui/ecran_altitude.py
  85. 78 0
      lib/ui/ecran_confirmation.py
  86. 95 0
      lib/ui/ecran_editerImage.py
  87. 209 0
      lib/ui/ecran_explorateurMat.py
  88. 66 0
      lib/ui/ecran_message.py
  89. 92 0
      lib/ui/ecran_saisie.py
  90. 179 0
      lib/ui/editerImage.ui
  91. 517 0
      lib/ui/explorateurMateriels.ui
  92. 105 0
      lib/ui/panneauMateriel.py
  93. 198 0
      lib/ui/panneauMateriel.ui
  94. 4823 0
      lib/ui/principal.ui
  95. BIN
      lib/ui/ressource/brise_16.png
  96. BIN
      lib/ui/ressource/import_16.png
  97. BIN
      lib/ui/ressource/moins_16.png
  98. BIN
      lib/ui/ressource/verrou_ferme_16.png
  99. BIN
      lib/ui/ressource/verrou_ouvert_16.png
  100. 29 0
      lib/uid.py

+ 0 - 0
.metadata/.lock


+ 173 - 0
.metadata/.log

@@ -0,0 +1,173 @@
+!SESSION 2015-09-04 09:54:22.945 -----------------------------------------------
+eclipse.buildId=4.5.0.I20150603-2000
+java.version=1.8.0_40
+java.vendor=Oracle Corporation
+BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_FR
+Framework arguments:  -product org.eclipse.epp.package.java.product
+Command-line arguments:  -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.java.product
+
+!ENTRY org.eclipse.equinox.p2.publisher.eclipse 4 0 2015-09-04 09:55:15.879
+!MESSAGE Unable to acquire PluginConverter service during generation for: F:\eclipse\plugins\org.eclipse.orion.client.cf.
+
+!ENTRY org.eclipse.equinox.p2.publisher.eclipse 4 0 2015-09-04 09:55:15.919
+!MESSAGE Unable to acquire PluginConverter service during generation for: F:\eclipse\plugins\org.eclipse.orion.client.editor.
+
+!ENTRY org.eclipse.equinox.p2.publisher.eclipse 4 0 2015-09-04 09:55:15.936
+!MESSAGE Unable to acquire PluginConverter service during generation for: F:\eclipse\plugins\org.eclipse.orion.client.git.
+
+!ENTRY org.eclipse.equinox.p2.publisher.eclipse 4 0 2015-09-04 09:55:15.953
+!MESSAGE Unable to acquire PluginConverter service during generation for: F:\eclipse\plugins\org.eclipse.orion.client.help.
+
+!ENTRY org.eclipse.equinox.p2.publisher.eclipse 4 0 2015-09-04 09:55:15.970
+!MESSAGE Unable to acquire PluginConverter service during generation for: F:\eclipse\plugins\org.eclipse.orion.client.javascript.
+
+!ENTRY org.eclipse.equinox.p2.publisher.eclipse 4 0 2015-09-04 09:55:15.987
+!MESSAGE Unable to acquire PluginConverter service during generation for: F:\eclipse\plugins\org.eclipse.orion.client.ui.
+
+!ENTRY org.eclipse.equinox.p2.publisher.eclipse 4 0 2015-09-04 09:55:16.005
+!MESSAGE Unable to acquire PluginConverter service during generation for: F:\eclipse\plugins\org.eclipse.orion.client.users.
+
+!ENTRY org.eclipse.equinox.p2.publisher.eclipse 4 0 2015-09-04 09:55:16.022
+!MESSAGE Unable to acquire PluginConverter service during generation for: F:\eclipse\plugins\org.eclipse.orion.client.webtools.
+
+!ENTRY org.eclipse.equinox.p2.publisher.eclipse 4 0 2015-09-04 09:55:19.682
+!MESSAGE Unable to acquire PluginConverter service during generation for: F:\eclipse\plugins\org.eclipse.orion.client.cf.
+
+!ENTRY org.eclipse.equinox.p2.publisher.eclipse 4 0 2015-09-04 09:55:19.712
+!MESSAGE Unable to acquire PluginConverter service during generation for: F:\eclipse\plugins\org.eclipse.orion.client.editor.
+
+!ENTRY org.eclipse.equinox.p2.publisher.eclipse 4 0 2015-09-04 09:55:19.727
+!MESSAGE Unable to acquire PluginConverter service during generation for: F:\eclipse\plugins\org.eclipse.orion.client.git.
+
+!ENTRY org.eclipse.equinox.p2.publisher.eclipse 4 0 2015-09-04 09:55:19.742
+!MESSAGE Unable to acquire PluginConverter service during generation for: F:\eclipse\plugins\org.eclipse.orion.client.help.
+
+!ENTRY org.eclipse.equinox.p2.publisher.eclipse 4 0 2015-09-04 09:55:19.756
+!MESSAGE Unable to acquire PluginConverter service during generation for: F:\eclipse\plugins\org.eclipse.orion.client.javascript.
+
+!ENTRY org.eclipse.equinox.p2.publisher.eclipse 4 0 2015-09-04 09:55:19.771
+!MESSAGE Unable to acquire PluginConverter service during generation for: F:\eclipse\plugins\org.eclipse.orion.client.ui.
+
+!ENTRY org.eclipse.equinox.p2.publisher.eclipse 4 0 2015-09-04 09:55:19.785
+!MESSAGE Unable to acquire PluginConverter service during generation for: F:\eclipse\plugins\org.eclipse.orion.client.users.
+
+!ENTRY org.eclipse.equinox.p2.publisher.eclipse 4 0 2015-09-04 09:55:19.800
+!MESSAGE Unable to acquire PluginConverter service during generation for: F:\eclipse\plugins\org.eclipse.orion.client.webtools.
+
+!ENTRY org.eclipse.core.net 4 0 2015-09-04 10:04:07.370
+!MESSAGE WinHttp.GetProxyForUrl for pac failed with error 'Une erreur s’est produite lors du traitement du script de configuration automatique du Proxy
' #12166.
+
+!ENTRY org.eclipse.oomph.setup.core 4 0 2015-09-04 10:04:12.517
+!MESSAGE Proxy Authentication Required
+!STACK 0
+org.eclipse.oomph.util.IOExceptionWithCause: Proxy Authentication Required
+	at org.eclipse.oomph.setup.internal.core.util.ECFURIHandlerImpl.createInputStream(ECFURIHandlerImpl.java:266)
+	at org.eclipse.emf.ecore.resource.impl.ExtensibleURIConverterImpl.createInputStream(ExtensibleURIConverterImpl.java:360)
+	at org.eclipse.oomph.setup.internal.core.util.SetupCoreUtil.handleArchiveRedirection(SetupCoreUtil.java:356)
+	at org.eclipse.oomph.setup.internal.core.util.SetupCoreUtil.configureResourceSet(SetupCoreUtil.java:342)
+	at org.eclipse.oomph.setup.internal.core.util.SetupCoreUtil.createResourceSet(SetupCoreUtil.java:124)
+	at org.eclipse.oomph.setup.ui.SetupUIPlugin.performStartup(SetupUIPlugin.java:369)
+	at org.eclipse.oomph.setup.ui.SetupUIPlugin.access$3(SetupUIPlugin.java:310)
+	at org.eclipse.oomph.setup.ui.SetupUIPlugin$1$1.run(SetupUIPlugin.java:210)
+	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
+Caused by: org.eclipse.ecf.filetransfer.IncomingFileTransferException: Proxy Authentication Required
+	at org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientRetrieveFileTransfer.openStreams(HttpClientRetrieveFileTransfer.java:658)
+	at org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTransfer.java:885)
+	at org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTransfer.java:576)
+	at org.eclipse.ecf.provider.filetransfer.retrieve.MultiProtocolRetrieveAdapter.sendRetrieveRequest(MultiProtocolRetrieveAdapter.java:106)
+	at org.eclipse.oomph.setup.internal.core.util.ECFURIHandlerImpl.createInputStream(ECFURIHandlerImpl.java:201)
+	... 8 more
+
+!ENTRY org.eclipse.oomph.setup.core 4 0 2015-09-04 10:04:22.482
+!MESSAGE Proxy Authentication Required
+!STACK 0
+org.eclipse.oomph.util.IOExceptionWithCause: Proxy Authentication Required
+	at org.eclipse.oomph.setup.internal.core.util.ECFURIHandlerImpl.createInputStream(ECFURIHandlerImpl.java:266)
+	at org.eclipse.emf.ecore.resource.impl.ExtensibleURIConverterImpl.createInputStream(ExtensibleURIConverterImpl.java:360)
+	at org.eclipse.oomph.setup.internal.core.util.SetupCoreUtil.handleArchiveRedirection(SetupCoreUtil.java:356)
+	at org.eclipse.oomph.setup.internal.core.util.SetupCoreUtil.configureResourceSet(SetupCoreUtil.java:342)
+	at org.eclipse.oomph.setup.internal.core.util.SetupCoreUtil.createResourceSet(SetupCoreUtil.java:124)
+	at org.eclipse.oomph.setup.internal.core.SetupContext.associate(SetupContext.java:354)
+	at org.eclipse.oomph.setup.internal.core.SetupContext.createSelf(SetupContext.java:235)
+	at org.eclipse.oomph.setup.ui.SetupUIPlugin.performStartup(SetupUIPlugin.java:416)
+	at org.eclipse.oomph.setup.ui.SetupUIPlugin.access$3(SetupUIPlugin.java:310)
+	at org.eclipse.oomph.setup.ui.SetupUIPlugin$1$1.run(SetupUIPlugin.java:210)
+	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
+Caused by: org.eclipse.ecf.filetransfer.IncomingFileTransferException: Proxy Authentication Required
+	at org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientRetrieveFileTransfer.openStreams(HttpClientRetrieveFileTransfer.java:658)
+	at org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTransfer.java:885)
+	at org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTransfer.java:576)
+	at org.eclipse.ecf.provider.filetransfer.retrieve.MultiProtocolRetrieveAdapter.sendRetrieveRequest(MultiProtocolRetrieveAdapter.java:106)
+	at org.eclipse.oomph.setup.internal.core.util.ECFURIHandlerImpl.createInputStream(ECFURIHandlerImpl.java:201)
+	... 10 more
+
+!ENTRY org.eclipse.epp.logging.aeri.ui 1 4 2015-09-04 10:04:26.197
+!MESSAGE The error reporting server is not available. Error reporting will be disabled until next restart. Version: 1.0.0.v20150617-0732
+!STACK 0
+org.eclipse.epp.internal.logging.aeri.ui.l10n.Logs$LogTraceException
+	at org.eclipse.epp.internal.logging.aeri.ui.l10n.Logs$LogTraceException.newTrace(Logs.java:382)
+	at org.eclipse.epp.internal.logging.aeri.ui.l10n.Logs.log(Logs.java:134)
+	at org.eclipse.epp.internal.logging.aeri.ui.l10n.Logs.log(Logs.java:126)
+	at org.eclipse.epp.internal.logging.aeri.ui.log.CheckServerAvailabilityJob.run(CheckServerAvailabilityJob.java:53)
+	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
+
+!ENTRY org.eclipse.epp.logging.aeri.ui 4 32 2015-09-04 10:04:26.509
+!MESSAGE Failed to do network communication. Please file a bug with the EPP Logging project (https://bugs.eclipse.org/bugs/enter_bug.cgi?product=EPP&component=logging) along with any information you can provide us with regarding your network settings. Please include the following information which will help us fix this issue: 
+Communication URL: http://download.eclipse.org/stats/technology/epp/logging/network-communication-test/apache/java-1.8.0_40/Windows+7-6.1/Native-NTLM;Basic/proxyHost/noProxyUsername-noProxyPassword/
+Response Code: 407 - Proxy Authentication Required
+Response Headers:
+Server: squid
+Mime-Version: 1.0
+Date: Fri, 04 Sep 2015 08:04:26 GMT
+Content-Type: text/html
+Content-Length: 3963
+X-Squid-Error: ERR_CACHE_ACCESS_DENIED 0
+Vary: Accept-Language
+Content-Language: en
+Proxy-Authenticate: NTLM
+Proxy-Authenticate: Basic realm="Squid Olfeo"
+X-Cache: MISS from olfeov5.cg67.fr
+X-Cache-Lookup: NONE from olfeov5.cg67.fr:3127
+Connection: close
+Proxy-Connection: close
+ Version: 1.0.0.v20150617-0732
+!STACK 0
+org.eclipse.epp.internal.logging.aeri.ui.l10n.Logs$LogTraceException
+	at org.eclipse.epp.internal.logging.aeri.ui.l10n.Logs$LogTraceException.newTrace(Logs.java:382)
+	at org.eclipse.epp.internal.logging.aeri.ui.l10n.Logs.log(Logs.java:134)
+	at org.eclipse.epp.internal.logging.aeri.ui.log.NetworkCommunicationTestJob.doApacheHeadRequest(NetworkCommunicationTestJob.java:155)
+	at org.eclipse.epp.internal.logging.aeri.ui.log.NetworkCommunicationTestJob.run(NetworkCommunicationTestJob.java:88)
+	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
+
+!ENTRY org.eclipse.epp.logging.aeri.ui 4 33 2015-09-04 10:04:26.683
+!MESSAGE Error performing a HEAD request with P2 to URL ‘http://download.eclipse.org/stats/technology/epp/logging/network-communication-test/p2/java-1.8.0_40/Windows+7-6.1/Native-NTLM;Basic/proxyHost/noProxyUsername-noProxyPassword/’. Version: 1.0.0.v20150617-0732
+!STACK 1
+org.eclipse.core.runtime.CoreException: HTTP Proxy Authentication Required: http://download.eclipse.org/stats/technology/epp/logging/network-communication-test/p2/java-1.8.0_40/Windows+7-6.1/Native-NTLM;Basic/proxyHost/noProxyUsername-noProxyPassword/
+	at org.eclipse.equinox.internal.p2.transport.ecf.RepositoryTransport.getLastModified(RepositoryTransport.java:235)
+	at org.eclipse.epp.internal.logging.aeri.ui.log.NetworkCommunicationTestJob.doP2HeadRequest(NetworkCommunicationTestJob.java:166)
+	at org.eclipse.epp.internal.logging.aeri.ui.log.NetworkCommunicationTestJob.run(NetworkCommunicationTestJob.java:91)
+	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
+Caused by: org.eclipse.ecf.filetransfer.BrowseFileTransferException: Proxy Authentication Required
+	at org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientFileSystemBrowser.runRequest(HttpClientFileSystemBrowser.java:287)
+	at org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser$DirectoryJob.run(AbstractFileSystemBrowser.java:69)
+	... 1 more
+!SUBENTRY 1 org.eclipse.equinox.p2.transport.ecf 4 1002 2015-09-04 10:04:26.684
+!MESSAGE HTTP Proxy Authentication Required: http://download.eclipse.org/stats/technology/epp/logging/network-communication-test/p2/java-1.8.0_40/Windows+7-6.1/Native-NTLM;Basic/proxyHost/noProxyUsername-noProxyPassword/
+!STACK 1
+org.eclipse.ecf.filetransfer.BrowseFileTransferException: Proxy Authentication Required
+	at org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientFileSystemBrowser.runRequest(HttpClientFileSystemBrowser.java:287)
+	at org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser$DirectoryJob.run(AbstractFileSystemBrowser.java:69)
+	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
+!SUBENTRY 2 org.eclipse.ecf.identity 4 0 2015-09-04 10:04:26.684
+!MESSAGE Proxy Authentication Required
+
+!ENTRY org.eclipse.epp.logging.aeri.ui 2 18 2015-09-04 10:05:10.957
+!MESSAGE Updating the index from remote failed. Version: 1.0.0.v20150617-0732
+!STACK 0
+java.lang.NullPointerException
+	at org.eclipse.epp.internal.logging.aeri.ui.log.ProblemsDatabaseUpdateJob.getEtag(ProblemsDatabaseUpdateJob.java:95)
+	at org.eclipse.epp.internal.logging.aeri.ui.log.ProblemsDatabaseUpdateJob.run(ProblemsDatabaseUpdateJob.java:58)
+	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
+
+!ENTRY org.eclipse.epp.logging.aeri.ui 2 6 2015-09-04 10:05:10.986
+!MESSAGE Failed to determine ETAG for remote problems database. Stopping update. Version: 1.0.0.v20150617-0732

BIN
.metadata/.mylyn/.taskListIndex/segments.gen


BIN
.metadata/.mylyn/.taskListIndex/segments_1


BIN
.metadata/.mylyn/.tasks.xml.zip


BIN
.metadata/.mylyn/repositories.xml.zip


BIN
.metadata/.mylyn/tasks.xml.zip


+ 1 - 0
.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/history.version

@@ -0,0 +1 @@
+

BIN
.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.index


+ 1 - 0
.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.version

@@ -0,0 +1 @@
+

BIN
.metadata/.plugins/org.eclipse.core.resources/.root/2.tree


BIN
.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources


+ 2 - 0
.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.core.resources.prefs

@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+version=1

+ 3 - 0
.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.epp.logging.aeri.ui.prefs

@@ -0,0 +1,3 @@
+action=IGNORE
+eclipse.preferences.version=1
+rememberSendAction=RESTART

+ 13 - 0
.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.ui.prefs

@@ -0,0 +1,13 @@
+content_assist_proposals_background=255,255,255
+content_assist_proposals_foreground=0,0,0
+eclipse.preferences.version=1
+fontPropagated=true
+org.eclipse.jdt.ui.editor.tab.width=
+org.eclipse.jdt.ui.formatterprofiles.version=12
+org.eclipse.jdt.ui.javadoclocations.migrated=true
+org.eclipse.jface.textfont=1|Consolas|10.0|0|WINDOWS|1|0|0|0|0|0|0|0|0|1|0|0|0|0|Consolas;
+proposalOrderMigrated=true
+spelling_locale_initialized=true
+tabWidthPropagated=true
+useAnnotationsPrefPage=true
+useQuickDiffPrefPage=true

+ 2 - 0
.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.m2e.discovery.prefs

@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+org.eclipse.m2e.discovery.pref.projects=

+ 2 - 0
.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.mylyn.context.core.prefs

@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+mylyn.attention.migrated=true

+ 2 - 0
.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.mylyn.monitor.ui.prefs

@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+org.eclipse.mylyn.monitor.activity.tracking.enabled.checked=true

+ 4 - 0
.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.mylyn.tasks.ui.prefs

@@ -0,0 +1,4 @@
+eclipse.preferences.version=1
+migrated.task.repositories.secure.store=true
+org.eclipse.mylyn.tasks.ui.filters.nonmatching=true
+org.eclipse.mylyn.tasks.ui.filters.nonmatching.encouraged=true

+ 5 - 0
.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.ide.prefs

@@ -0,0 +1,5 @@
+PROBLEMS_FILTERS_MIGRATE=true
+eclipse.preferences.version=1
+platformState=1436169307507
+quickStart=false
+tipsAndTricks=true

+ 2 - 0
.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.prefs

@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+showIntro=false

+ 3 - 0
.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.workbench.prefs

@@ -0,0 +1,3 @@
+//org.eclipse.ui.commands/state/org.eclipse.ui.navigator.resources.nested.changeProjectPresentation/org.eclipse.ui.commands.radioState=false
+PLUGINS_NOT_ACTIVATED_ON_STARTUP=org.eclipse.m2e.discovery;
+eclipse.preferences.version=1

+ 2 - 0
.metadata/.plugins/org.eclipse.core.runtime/.settings/org.python.pydev.prefs

@@ -0,0 +1,2 @@
+INTERPRETERS_CHECKED_ONCE=true
+eclipse.preferences.version=1

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 151 - 0
.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi


BIN
.metadata/.plugins/org.eclipse.epp.logging.aeri.ui/history/_0.fdt


BIN
.metadata/.plugins/org.eclipse.epp.logging.aeri.ui/history/_0.fdx


+ 1 - 0
.metadata/.plugins/org.eclipse.epp.logging.aeri.ui/history/_0.fnm

@@ -0,0 +1 @@
+ýÿÿÿversion

+ 0 - 0
.metadata/.plugins/org.eclipse.epp.logging.aeri.ui/history/_0.frq


+ 1 - 0
.metadata/.plugins/org.eclipse.epp.logging.aeri.ui/history/_0.nrm

@@ -0,0 +1 @@
+NRM�

BIN
.metadata/.plugins/org.eclipse.epp.logging.aeri.ui/history/_0.tii


BIN
.metadata/.plugins/org.eclipse.epp.logging.aeri.ui/history/_0.tis


BIN
.metadata/.plugins/org.eclipse.epp.logging.aeri.ui/history/segments.gen


BIN
.metadata/.plugins/org.eclipse.epp.logging.aeri.ui/history/segments_1


BIN
.metadata/.plugins/org.eclipse.epp.logging.aeri.ui/remote-index/_0.fdt


BIN
.metadata/.plugins/org.eclipse.epp.logging.aeri.ui/remote-index/_0.fdx


+ 1 - 0
.metadata/.plugins/org.eclipse.epp.logging.aeri.ui/remote-index/_0.fnm

@@ -0,0 +1 @@
+ýÿÿÿversion

+ 0 - 0
.metadata/.plugins/org.eclipse.epp.logging.aeri.ui/remote-index/_0.frq


+ 1 - 0
.metadata/.plugins/org.eclipse.epp.logging.aeri.ui/remote-index/_0.nrm

@@ -0,0 +1 @@
+NRM�

BIN
.metadata/.plugins/org.eclipse.epp.logging.aeri.ui/remote-index/_0.tii


BIN
.metadata/.plugins/org.eclipse.epp.logging.aeri.ui/remote-index/_0.tis


BIN
.metadata/.plugins/org.eclipse.epp.logging.aeri.ui/remote-index/segments.gen


BIN
.metadata/.plugins/org.eclipse.epp.logging.aeri.ui/remote-index/segments_1


BIN
.metadata/.plugins/org.eclipse.jdt.core/assumedExternalFilesCache


BIN
.metadata/.plugins/org.eclipse.jdt.core/externalFilesCache


BIN
.metadata/.plugins/org.eclipse.jdt.core/nonChainingJarsCache


BIN
.metadata/.plugins/org.eclipse.jdt.core/variablesAndContainers.dat


+ 2 - 0
.metadata/.plugins/org.eclipse.jdt.ui/OpenTypeHistory.xml

@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<typeInfoHistroy/>

+ 2 - 0
.metadata/.plugins/org.eclipse.jdt.ui/QualifiedTypeNameHistory.xml

@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<qualifiedTypeNameHistroy/>

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 5 - 0
.metadata/.plugins/org.eclipse.jdt.ui/dialog_settings.xml


+ 0 - 0
.metadata/.plugins/org.eclipse.m2e.logback.configuration/0.log


+ 43 - 0
.metadata/.plugins/org.eclipse.m2e.logback.configuration/logback.1.6.0.20150526-2032.xml

@@ -0,0 +1,43 @@
+<configuration scan="true">
+  <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
+    <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
+      <pattern>%date [%thread] %-5level %logger{35} - %msg%n</pattern>
+    </encoder>
+    <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
+      <level>OFF</level> <!-- change to DEBUG to mimic '-consolelog' behaviour -->
+    </filter>
+  </appender>
+
+  <appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
+    <File>${org.eclipse.m2e.log.dir}/0.log</File>
+    <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
+      <FileNamePattern>${org.eclipse.m2e.log.dir}/%i.log</FileNamePattern>
+      <MinIndex>1</MinIndex>
+      <MaxIndex>10</MaxIndex>
+    </rollingPolicy>
+    <triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
+      <MaxFileSize>100MB</MaxFileSize>
+    </triggeringPolicy>
+    <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
+      <pattern>%date [%thread] %-5level %logger{35} - %msg%n</pattern>
+    </encoder>
+  </appender>
+
+  <appender name="EclipseLog" class="org.eclipse.m2e.logback.appender.EclipseLogAppender">
+    <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
+      <level>WARN</level>
+    </filter>
+  </appender>
+
+  <appender name="MavenConsoleLog" class="org.eclipse.m2e.logback.appender.MavenConsoleAppender">
+  </appender>
+        
+  <root level="INFO">
+    <appender-ref ref="FILE" />
+    <appender-ref ref="STDOUT" />
+    <appender-ref ref="EclipseLog" />
+    <appender-ref ref="MavenConsoleLog" />
+  </root>
+
+  <logger name="com.ning.http.client" level="INFO" />
+</configuration>

+ 6 - 0
.metadata/.plugins/org.eclipse.oomph.setup/workspace.setup

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<setup:Workspace
+    xmi:version="2.0"
+    xmlns:xmi="http://www.omg.org/XMI"
+    xmlns:setup="http://www.eclipse.org/oomph/setup/1.0"
+    name="workspace"/>

+ 11 - 0
.metadata/.plugins/org.eclipse.ui.ide/dialog_settings.xml

@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<section name="Workbench">
+	<section name="WORKBENCH_SETTINGS">
+		<list key="ENABLED_TRANSFERS">
+		</list>
+	</section>
+	<section name="ChooseWorkspaceDialogSettings">
+		<item value="451" key="DIALOG_X_ORIGIN"/>
+		<item value="218" key="DIALOG_Y_ORIGIN"/>
+	</section>
+</section>

+ 4 - 0
.metadata/.plugins/org.eclipse.ui.intro/dialog_settings.xml

@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<section name="Workbench">
+	<item value="1024" key="introLaunchBar.location"/>
+</section>

+ 15 - 0
.metadata/.plugins/org.eclipse.ui.workbench/dialog_settings.xml

@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<section name="Workbench">
+	<section name="org.eclipse.ui.internal.QuickAccess">
+		<item value="-1" key="dialogHeight"/>
+		<item value="-1" key="dialogWidth"/>
+		<list key="textEntries">
+		</list>
+		<list key="orderedElements">
+		</list>
+		<list key="orderedProviders">
+		</list>
+		<list key="textArray">
+		</list>
+	</section>
+</section>

+ 4 - 0
.metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml

@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<workingSetManager>
+<workingSet aggregate="true" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1441194200106_0" label="Fenêtre Jeu de documents" name="Aggregate for window 1441194200106"/>
+</workingSetManager>

+ 3 - 0
.metadata/version.ini

@@ -0,0 +1,3 @@
+#Fri Sep 04 10:03:22 CEST 2015
+org.eclipse.core.runtime=2
+org.eclipse.platform=4.5.0.v20150603-2000

+ 3 - 0
.settings/org.eclipse.mylyn.tasks.ui.prefs

@@ -0,0 +1,3 @@
+eclipse.preferences.version=1
+project.repository.kind=local
+project.repository.url=local

+ 59 - 0
avancement.TXT

@@ -0,0 +1,59 @@
+### bugs
+1- bug a la suppression d'un decor
+  *2- la description du plateau est remplacée par le nom du plateau
+  *3- l'accès aux décors depuis la biblio est en mode édition: impossible de modifier la forme
+  *4- decors: dans les détails, le poids et la dimension ne sont pas enregistrés
+  *5- decors: le parametre "jusqu'au plafond" ne sert à rien, et il n'est pas enregistré
+  *6- le panneau d'info sur les decors est tout pourri, celui des combattants est incomplet
+  *7- la mise a jour des effets ne fonctionne pas
+  *8- zone de placement ne peut pas etre scindee
+  *9- edition cbtants: le bouton aide n'affiche rien
+10- tables mat: impossible de supprimer un objet
+  *11- dragon: image ne pivote pas avec le pion!
+  *12- interdire deplacement sur d'autres pions
+  *14- Fiches de perso: quand on ouvre direct sur la page 3, les onglets a droite ne suivent pas
+  *15- champ degats des attaques est un peu etroit
+  *16- fixer la taille de la fenetre d'edition, ou mettre un layout
+       elargir un peu la scrollarea des attaques
+  *17- inventaire commence sur l'onglet "trésor"
+  *18- pj: quand on modifie la couleur apres la creation, la couleur de la frame n'est pas mise a jour
+19- a l'ouverture, les frames PJ sont PARFOIS les unes sur les autres
+  *20- ne plus ouvrir le pateau en mode combat au chargement
+21- impossible de placer un materiel charge dans la table de mat
+  *22- epaisseur ne fonctionne pas avec ligne (dessin)
+  *23- zone placement: hachures ne s'enlèvent pas aprés dessin, pas de curseur pinceau
+  *24- notes plateau: s'ouvre plusieurs fois (pas bien supprimé aprés fermeture?)
+25- ne pas afficher les pions sous les caches dans l'ordre de jeu
+26- ecran gestion du combat ne s'affiche pas
+27 bug au remplissage de la liste des PJ
+28- gomme: le point d'effet du curseur est en bas a droite
+29- retirer de dm les refs a 'commun', 'mat'...ETc
+30- Remettre en marche la liste des attributs des pions
+31- Afficher possibilité de deplacement meme lorsqu'on clique sur une 'case secondaire' d'un grand decor
+32- lorsque pion sur decor: pion toujours au dessus
+
+
+### orga fichiers/ fonctions
+1- mettre tous les algo geometriques dans une lib 'geometrie'
+2- changer les noms des fonctions du plateau pour qu'elles soient similaires a celles des modes
+3- changer 'fenetre' en 'prog' dans Plateau
+
+### ameliorations (importantes)
+1- creer ecran partie
+2- creer menu combat
+3- pouvoir afficher les fiches des pions, generation de valeurs aleatoires, mode edition
+4- ameliorer la perf de la zone disque et de la zone cone
+5- creer un bandeau de description de l'action en cours (a la place du journal)
+6- décors à forme variables
+7- integrer l'attribut hauteurMax pour les decors
+8- ajouter les effets aux cases, decors, et combattants
+9- Faire une gestion des materiels plus propre pour le plateau
+
+### ameliorations (secondaires)
+1- ajouter des pieges
+2- ajouter des rappels pour les effets a duree limitee
+3- codes couleurs bordure des pions
+4- regler l'effet de la tabulation dans les fiches
+5- Permettre l'envoi de sons par le chat 
+6- creer une frame qui montre une vue en coupe de l'altitude et des obstacles (a la place du journal) lors des deplacements, attaques à distance ou de zone
+

+ 42 - 0
lib/EcranAltitude.py

@@ -0,0 +1,42 @@
+#from __future__ import unicode_literals
+# -*- coding: utf-8 -*-
+import sys
+from PyQt4.QtCore import *
+from PyQt4.QtGui import *
+from ui.ecran_altitude import Ui_alt_fenetre
+
+class EcranAltitude(QDialog):
+    """interface de gestion du vol d'un pion
+        renvoie la nouvelle altitude du pion"""
+    def __init__(self, parent=None):
+        """initialisation de la fenetre"""
+        super (EcranAltitude, self).__init__(parent)
+        self._resultat = 0
+        self.createWidgets()
+          
+    def createWidgets(self):
+        """construction de l'interface"""
+        #construction de l'interface
+        self.ui = Ui_alt_fenetre()
+        self.ui.setupUi(self)                                                          
+        self.connect(self.ui.alt_ok, SIGNAL("clicked()"), self.ok)
+        self.ui.alt_valeur.selectAll()
+
+    def resultat(self):
+        return self._resultat
+
+    def ok(self):
+        """enregistre le terrain cree/edite"""
+        self._resultat = self.ui.alt_valeur.value()
+        self.done(1)
+
+if __name__ == "__main__":
+    app = QApplication(sys.argv)
+    ecran = EcranAltitude()
+    ecran.show()
+    r = app.exec_()
+    print ecran.resultat()
+    exit(r)  
+
+
+ 

+ 51 - 0
lib/EcranConfirmation.py

@@ -0,0 +1,51 @@
+#from __future__ import unicode_literals
+# -*- coding: utf-8 -*-
+import sys
+from PyQt4.QtCore import *
+from PyQt4.QtGui import *
+
+from ui.ecran_confirmation import Ui_cfrm_fenetre
+   
+class EcranConfirmation(QDialog):
+    """boite de dialogue d'affichage de texte longs"""
+    def __init__(self, parent=None):
+        """initialisation de la fenetre - le controle source est le widget a remettre a jour avec le texte a la fermeture"""
+        super (EcranConfirmation, self).__init__()
+        self._resultat = False
+        self.createWidgets()
+        
+    def createWidgets(self):
+        """construction de l'interface"""
+        self.ui = Ui_cfrm_fenetre()
+        self.ui.setupUi(self)
+        self.connect(self.ui.cfrm_non, SIGNAL("clicked()"), self.non, Qt.UniqueConnection) 
+        self.connect(self.ui.cfrm_oui, SIGNAL("clicked()"), self.oui, Qt.UniqueConnection)   
+
+    def afficher(self, texte = "Confirmer?"):
+        self.ui.cfrm_txt.setText(QString.fromUtf8(texte))
+        
+    def resultat(self):
+        return self._resultat    
+        
+    def oui(self):
+        self._resultat = True
+        self.done(1)     
+
+    def non(self):
+        self.done(0)
+
+
+def dmConfirmer(txt):
+    ecran = EcranConfirmation()
+    ecran.afficher(txt)
+    ecran.show()
+    ecran.exec_() 
+    retour = ecran.resultat()
+    del ecran
+    return retour
+
+if __name__ == "__main__":
+    app = QApplication(sys.argv)
+    print dmConfirmer("test: confirmer?")
+    r = app.exec_()
+    exit(r)  

+ 54 - 0
lib/EcranSaisie.py

@@ -0,0 +1,54 @@
+#from __future__ import unicode_literals
+# -*- coding: utf-8 -*-
+import sys
+from PyQt4.QtCore import *
+from PyQt4.QtGui import *
+
+from ui.ecran_saisie import Ui_saisi_fenetre
+   
+class EcranSaisie(QDialog):
+    """boite de dialogue d'affichage de texte longs"""
+    def __init__(self, parent=None):
+        """initialisation de la fenetre - le controle source est le widget a remettre a jour avec le texte a la fermeture"""
+        super (EcranSaisie, self).__init__()
+        self._resultat = ""
+        self.createWidgets()
+        
+    def createWidgets(self):
+        """construction de l'interface"""
+        self.ui = Ui_saisi_fenetre()
+        self.ui.setupUi(self)
+        self.connect(self.ui.saisi_annuler, SIGNAL("clicked()"), self.annuler, Qt.UniqueConnection) 
+        self.connect(self.ui.saisi_ok, SIGNAL("clicked()"), self.ok, Qt.UniqueConnection)   
+        self.ui.saisi_ok.setShortcut("Enter") 
+        self.ui.saisi_reponse.setFocus()
+
+    def afficher(self, texte = "Saisir votre texte ici:"):
+        self.ui.saisi_txt.setText(QString.fromUtf8(texte))
+        
+    def resultat(self):
+        self._resultat = self.ui.saisi_reponse.text().toUtf8()
+        return self._resultat    
+        
+    def ok(self):
+        self.done(1)     
+
+    def annuler(self):
+        self._resultat = ""
+        self.done(0)
+
+
+def dmSaisie(txt):
+    ecran = EcranSaisie()
+    ecran.afficher(txt)
+    ecran.show()
+    ecran.exec_() 
+    retour = ecran.resultat()
+    del ecran
+    return retour
+
+if __name__ == "__main__":
+    app = QApplication(sys.argv)
+    print dmSaisie("test: saisie")
+    r = app.exec_()
+    exit(r)  

+ 155 - 0
lib/commun.py

@@ -0,0 +1,155 @@
+'''
+Fonctions communes
+'''
+import os
+from random import randint
+import time
+
+from PyQt4.QtCore import SIGNAL, Qt, QString
+from PyQt4.QtGui import QDialog, QApplication
+
+import cPickle as pickle
+from ui.ecran_confirmation import Ui_cfrm_fenetre
+from ui.ecran_saisie import Ui_saisi_fenetre  
+from ui.ecran_message import Ui_msg_fenetre 
+
+
+ppal = os.path.abspath(os.path.join(os.path.dirname(os.path.realpath(__file__)), os.pardir))
+
+def rep(nature):
+    """retourne le chemin du repertoire demande, le cree s'il n'existe pas
+       (!!!) ne retourne que les chemins fixes (ne comprenant pas de part variable)"""
+    #premier niveau de rep
+    if nature == "app":
+        retour =  ppal
+    elif nature == "rsc":
+        retour =  os.path.join(ppal, "rsc\\")
+    elif nature in ["mat", "jeu"]:
+        retour =  os.path.join(ppal, "mat\\")
+    elif nature in ["parties", "partie", "mde", "grp", "cbt"]:
+        retour =  os.path.join(ppal, "parties\\")
+    elif nature in ["profils", "profil", "reception"]:
+        retour =  os.path.join(ppal, "profils\\")
+    elif nature == "tmp":
+        retour =  os.path.join(ppal, "tmp\\")           
+    if not os.path.isdir(retour): os.mkdir(retour)
+
+    #2e niveau
+    if nature in ["partie", "mde", "grp", "cbt"]:
+        s = sessionEnCours()    
+        partie = s.partie()
+        retour = os.path.join(retour, "{}\\".format(partie))        
+    elif nature in ["profil", "reception"]:
+        s = sessionEnCours()    
+        partie = s.util()
+        retour = os.path.join(retour, "{}\\".format(partie))              
+    elif nature == "jeu":
+        s = sessionEnCours()    
+        jeu = s.jeu()
+        retour = os.path.join(retour, "{}\\".format(jeu))          
+    if not os.path.isdir(retour): os.mkdir(retour)        
+
+    #3e niveau
+    if nature in ["reception", "mde", "grp", "cbt"]:
+        retour = os.path.join(retour, "{}\\".format(nature))  
+    if not os.path.isdir(retour): os.mkdir(retour)         
+
+    return retour
+
+def uid(prefixe = ""):
+    """construit un identifiant unique de 10 caracteres"""
+    #representation de la date (annee/mois/jour/heure/min/seconde)
+    base = ["a","b","c","d","e","f","g","h","i","j","k","l","m","n", \
+        "o","p","q","r","s","t","u","v","w","x","y","z", \
+        "A","B","C","D","E","F","G","H","I","J","K","L", \
+        "M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z", \
+        "2","3","4","5","6","7","8","9"]
+    dat = time.gmtime()
+    a = dat[0] ; m = dat[1] ; j = dat[2] ; h = dat[3] ; mn = dat[4] ; s = dat[5]
+    a_, m_, j_, h_, mn_, s_ = base[(int(a)-2000)], base[int(m)], base[int(j)], base[int(h)], base[int(mn)], base[int(s)]
+    #ajout de 2 caracteres aleatoires
+    c1 = base[randint(0,59)] ; c2 = base[randint(0,59)]
+    #concatenation
+    if len(prefixe) >= 2:
+        p_ = prefixe[0:2]
+    else:
+        while len(prefixe) < 2:
+            prefixe += "-"
+        p_ = prefixe  
+    retour = "{}{}{}{}{}{}{}{}{}".format(p_, a_, m_, j_, h_, mn_, s_, c1, c2)
+    
+    return retour
+
+def enregistrerSous(objet, cible):
+    """enregistre l'objet dans le fichier cible"""
+    with open(cible, 'wb') as f:
+        pickle.dump(objet, f, protocol=pickle.HIGHEST_PROTOCOL)
+    f.close()      
+
+def charger(fichier):
+    """charge l'objet depuis le fichier demande"""
+    fichier = "{}".format(fichier) 
+    #on recupere l'objet
+#     try:
+    with open(fichier, 'rb') as f:
+        objet = pickle.load(f)
+    f.close()
+#     except IOError:
+#         objet = None
+    return objet
+
+def sessionEnCours():
+    """retourne la donnee demandee de la session idS"""
+    arg = QApplication.argv()
+    idS = arg[1]
+    s = charger(os.path.join(os.path.join(ppal, "tmp\\"), "{}.tmp".format(idS)))
+    return s
+
+class Session(object):
+    def __init__(self):
+        self._idS = uid("se")
+        self._idU = "defaut"   #id utilisateur
+        self._idP = "defaut"   #id partie
+        self._idJ = "defaut"   #id du jeu (materiels)
+        self.enregistrer()
+
+    def idS(self):
+        return self._idS
+
+    def fichier(self):
+        return os.path.join(os.path.join(ppal, "tmp\\") , "{}.tmp".format(self._idS))
+
+    def enregistrer(self):
+        enregistrerSous(self, self.fichier())
+        
+    def util(self):
+        return self._idU
+        
+    def majUtil(self, idU): 
+        self._idU = idU  
+        self.enregistrer() 
+
+    def partie(self):
+        return self._idP
+        
+    def majPartie(self, idP):
+        self._idP = idP  
+        self.enregistrer()    
+
+    def jeu(self):
+        return self._idJ
+        
+    def majJeu(self, idJ):
+        self._idJ = idJ  
+        self.enregistrer()    
+     
+    def fin(self):
+        try:
+            os.remove(self.fichier())
+        except:
+            pass
+            
+
+
+    
+

+ 120 - 0
lib/dialogues.py

@@ -0,0 +1,120 @@
+'''
+boites de dialogues
+'''
+from PyQt4.QtCore import SIGNAL, Qt, QString
+from PyQt4.QtGui import QDialog
+
+from lib.ui.ecran_confirmation import Ui_cfrm_fenetre
+from lib.ui.ecran_saisie import Ui_saisi_fenetre
+from lib.ui.ecran_message import Ui_msg_fenetre
+
+
+def dmConfirmer(txt):
+    """affiche une boite de dialogue pour demander confirmation d'une action"""
+    ecran = EcranConfirmation()
+    ecran.afficher(txt)
+    ecran.show()
+    ecran.exec_() 
+    retour = ecran.resultat()
+    del ecran
+    return retour
+
+class EcranConfirmation(QDialog):
+    """boite de dialogue d'affichage de texte longs"""
+    def __init__(self, parent=None):
+        """initialisation de la fenetre - le controle source est le widget a remettre a jour avec le texte a la fermeture"""
+        super (EcranConfirmation, self).__init__()
+        self._resultat = False
+        self.createWidgets()
+        
+    def createWidgets(self):
+        """construction de l'interface"""
+        self.ui = Ui_cfrm_fenetre()
+        self.ui.setupUi(self)
+        self.connect(self.ui.cfrm_non, SIGNAL("clicked()"), self.non, Qt.UniqueConnection) 
+        self.connect(self.ui.cfrm_oui, SIGNAL("clicked()"), self.oui, Qt.UniqueConnection)   
+
+    def afficher(self, texte = "Confirmer?"):
+        self.ui.cfrm_txt.setText(QString.fromUtf8(texte))
+        
+    def resultat(self):
+        return self._resultat    
+        
+    def oui(self):
+        self._resultat = True
+        self.done(1)     
+
+    def non(self):
+        self.done(0)
+
+def dmSaisie(txt):
+    """affiche une boite de dialogue dediee a la saisie d'un texte"""
+    ecran = EcranSaisie()
+    ecran.afficher(txt)
+    ecran.show()
+    ecran.exec_() 
+    retour = ecran.resultat()
+    del ecran
+    return retour
+
+
+class EcranSaisie(QDialog):
+    """boite de dialogue d'affichage de texte longs"""
+    def __init__(self, parent=None):
+        """initialisation de la fenetre - le controle source est le widget a remettre a jour avec le texte a la fermeture"""
+        super (EcranSaisie, self).__init__()
+        self._resultat = ""
+        self.createWidgets()
+        
+    def createWidgets(self):
+        """construction de l'interface"""
+        self.ui = Ui_saisi_fenetre()
+        self.ui.setupUi(self)
+        self.connect(self.ui.saisi_annuler, SIGNAL("clicked()"), self.annuler, Qt.UniqueConnection) 
+        self.connect(self.ui.saisi_ok, SIGNAL("clicked()"), self.ok, Qt.UniqueConnection)   
+        self.ui.saisi_ok.setShortcut("Enter") 
+        self.ui.saisi_reponse.setFocus()
+
+    def afficher(self, texte = "Saisir votre texte ici:"):
+        self.ui.saisi_txt.setText(QString.fromUtf8(texte))
+        
+    def resultat(self):
+        self._resultat = self.ui.saisi_reponse.text().toUtf8()
+        return self._resultat    
+        
+    def ok(self):
+        self.done(1)     
+
+    def annuler(self):
+        self._resultat = ""
+        self.done(0)
+
+def dmMessage(txt):
+    """affiche une msgbox"""
+    ecran = EcranMessage()
+    ecran.afficher(txt)
+    ecran.show()
+    ecran.exec_() 
+    del ecran    
+
+class EcranMessage(QDialog):
+    """boite de dialogue d'affichage de texte longs"""
+    def __init__(self, parent=None):
+        """initialisation de la fenetre - le controle source est le widget a remettre a jour avec le texte a la fermeture"""
+        super (EcranMessage, self).__init__()
+        self._resultat = ""
+        self.createWidgets()
+        
+    def createWidgets(self):
+        """construction de l'interface"""
+        self.ui = Ui_msg_fenetre()
+        self.ui.setupUi(self)
+        self.connect(self.ui.msg_ok, SIGNAL("clicked()"), self.ok, Qt.UniqueConnection)   
+        self.ui.msg_ok.setShortcut("Enter") 
+
+    def afficher(self, texte = "Message"):
+        self.ui.msg_txt.majTexte(texte)
+
+    def ok(self):
+        self.done(1)     
+ 

+ 203 - 0
lib/explorateurMat.py

@@ -0,0 +1,203 @@
+# -*- coding: utf-8 -*-
+'''
+Fenetre d'exploration des materiels du jeu
+
+'''
+from os.path import os
+
+from PyQt4.QtCore import SIGNAL, QString, Qt
+from PyQt4.QtGui import QDialog, QFrame, QColor, QPalette, QApplication
+
+from lib.EcranEditionCombattant import EcranEditionCombattant
+from lib.EcranEditionDecor import EcranEditionDecor
+from lib.EcranEditionTerrain import EcranEditionTerrain
+from lib.commun import rep, charger, Session
+from lib.dialogues import dmConfirmer
+from lib.mat import supprimerMat
+from ui.ecran_explorateurMat import Ui_exm_fenetre
+from ui.panneauMateriel import Ui_pem_panneau
+
+def importerMateriel(ongletInit = 0):
+    expl = ExplorateurMateriel(ongletInit)
+    expl.charger()
+    expl.exec_()
+    listeMat = expl.selection()
+    del expl    
+    return listeMat
+
+class ExplorateurMateriel(QDialog):
+    def __init__(self, ongletInit = 0, parent=None):
+        """initialisation de la fenetre"""
+        super (ExplorateurMateriel, self).__init__(parent)
+        self.createWidgets()
+        self._selection = []
+        self.ui.exm_onglets.setCurrentIndex(ongletInit)
+#         self._panneaux = [] 
+
+    def createWidgets(self):
+        """construction de l'interface"""
+        self.ui = Ui_exm_fenetre()
+        self.ui.setupUi(self)
+        self.connect(self.ui.exm_ok, SIGNAL("clicked()"), self.valider)
+        self.connect(self.ui.exm_annuler, SIGNAL("clicked()"), self.annuler)
+        self.connect(self.ui.exm_filtreNom, SIGNAL("textEdited(QString)"), self.majFiltre)
+        self.initLayout()
+
+    def layout(self, typMat):
+        dico = {"tr" : self.ui.exm_layout_tr, \
+                "cb" : self.ui.exm_layout_cb, \
+                "dc" : self.ui.exm_layout_dc}
+        return dico[typMat]
+    
+    def charger(self):
+        """charge les images disponibles dans l'explorateur"""
+        listeMat = []
+        for attributsFichier in os.walk(rep("jeu")):
+            for f in attributsFichier[2]:
+                if os.path.splitext(f)[1] == ".dm":
+                    mat = charger(os.path.join(rep("jeu"), f))       
+                    listeMat.append(mat)
+        listeMat.sort(key=lambda x: x.nom)
+        for mat in listeMat:
+            self.ajouterMat(mat)
+            
+    def ajouterMat(self, mat):
+        """ajoute un panneau materiel a la liste deroulante correspondante"""
+        panneau = PanneauMateriel(self)
+        panneau.chargerMat(mat)
+        self.layout(mat.idM()[:2]).addWidget(panneau)
+
+    def selection(self):
+        return self._selection
+
+    def majSelection(self, idMat):
+        if idMat in self._selection:
+            self._selection.remove(idMat)
+        else:
+            self._selection.append(idMat)
+        self.majAffichage()
+
+    def majAffichage(self):
+        self.ui.exm_ok.setEnabled((len(self._selection) > 0))
+        self.ui.exm_ok.setText(QString("Importer ({})".format(len(self._selection))))
+
+    def retirerPanneau(self, panneau):
+        layout = self.layout(panneau.mat().idM()[:2])
+        layout.removeWidget(panneau)
+        panneau.setParent(None)
+        layout.update()
+
+    def majFiltre(self):
+        filtreNom = self.ui.exm_filtreNom.text()
+        self.emit(SIGNAL("majFiltre(QString)"), filtreNom)
+
+
+    def initLayout(self):
+        for layout in [self.ui.exm_layout_tr, self.ui.exm_layout_cb, self.ui.exm_layout_dc]:
+            layout.setColumnMinimumWidth(0, 140)
+            layout.setColumnStretch(0, 1)
+            layout.setColumnMinimumWidth(1, 140)
+            layout.setColumnStretch(1, 1)
+            layout.setColumnMinimumWidth(2, 140)
+            layout.setColumnStretch(2, 1)
+            layout.setAlignment(Qt.AlignLeft | Qt.AlignTop)
+        
+    def valider(self):
+        self.done(1)
+
+    def annuler(self):
+        self._selection = []
+        self.done(0)
+
+class PanneauMateriel(QFrame):
+    def __init__(self, fenetre, parent=None):
+        """initialisation de la fenetre"""
+        self.fenetre = fenetre
+        super (PanneauMateriel, self).__init__(parent)
+        self.createWidgets()
+        self._mat = None
+        self._selectionnee = False
+
+    def createWidgets(self):
+        """construction de l'interface"""
+        self.ui = Ui_pem_panneau()
+        self.ui.setupUi(self)
+        self.ui.pem_editer.setVisible(False)
+        self.ui.pem_supprimer.setVisible(False)
+        self.connect(self.fenetre, SIGNAL("majFiltre(QString)"), self.appliquerFiltre)
+        self.connect(self.ui.pem_image, SIGNAL("clicked()"), self.clic)
+        self.connect(self.ui.pem_nom, SIGNAL("clicked()"), self.clic)
+        self.connect(self.ui.pem_editer, SIGNAL("clicked()"), self.editer)
+        self.connect(self.ui.pem_supprimer, SIGNAL("clicked()"), self.supprimer)
+        self.setMouseTracking(True)
+
+    def selectionner(self, actif):
+        self._selectionnee = actif
+        if actif:
+            couleur = QColor(250, 250, 250, 250)
+        else:
+            couleur = QColor(240, 240, 240, 240)
+        palette = QPalette()
+        palette.setColor(QPalette.Window, couleur)
+        self.setPalette(palette)
+
+    def mat(self):
+        return self._mat
+    
+    def chargerMat(self, mat):
+        self._mat = mat
+        self.maj()
+
+    def maj(self):
+        self.ui.pem_image.chargerImage(self._mat.icone())
+        self.ui.pem_nom.majTexte(self._mat.nom())
+        
+    def editer(self):
+        if self._mat.typ() == "tr":
+            fen = EcranEditionTerrain(self._mat)    
+        elif self.mat().typ() == "cb":
+            fen = EcranEditionCombattant(self._mat) 
+        elif self.mat().typ() == "dc":
+            fen = EcranEditionDecor(self._mat) 
+        r = fen.exec_()
+        if r == 1:
+            mat = fen.mat()
+            if mat: 
+                mat.enregistrer()
+                self._mat = mat
+        del fen
+    
+    def supprimer(self):
+        msg = "Êtes-vous sûr de vouloir supprimer définitivement: \n\n{}".format(self._mat.nom())
+        if not dmConfirmer(msg): return
+        supprimerMat(self._mat.idM())
+        self.fenetre.retirerPanneau(self)
+
+    def appliquerFiltre(self, filtreNom):
+        self.setVisible(str(filtreNom.toUtf8()).lower() in self._mat.nom().lower())
+
+    def clic(self):
+        self.selectionner(not self._selectionnee)
+        self.fenetre.majSelection(self.mat().idM()) 
+        
+    def mousePressEvent(self, event):
+        if event.button() == 1:
+            self.clic()
+
+    def enterEvent(self, event):
+        self.ui.pem_editer.setVisible(True)
+        self.ui.pem_supprimer.setVisible(True)
+
+    def leaveEvent(self, event):
+        self.ui.pem_editer.setVisible(False)
+        self.ui.pem_supprimer.setVisible(False)
+        
+        
+if __name__ == "__main__":
+    s = Session()
+    arg = ["DMonde", s.idS()]
+    app = QApplication(arg)
+    listeMat = importerMateriel()
+    print listeMat
+    s.fin()
+    exit()      

+ 203 - 0
lib/gM.py

@@ -0,0 +1,203 @@
+'''gestion des materiels pour le plateau'''
+from PyQt4.QtCore import SIGNAL, Qt
+
+from lib.EcranEditionCombattant import EcranEditionCombattant
+from lib.EcranEditionDecor import EcranEditionDecor
+from lib.EcranEditionTerrain import EcranEditionTerrain
+from lib.explorateurMat import ExplorateurMateriel, importerMateriel
+from lib.mat import chargerMat
+
+
+class GestionMateriel(object):
+    '''gestion du materiel'''
+    def __init__(self):
+        self._m = []    #liste des idM des materiels utilisees par le plateau
+
+    def __getstate__(self):
+        state = {key:value for key, value in self.__dict__.items() if not key in ["prog"]}
+        return (state)
+
+    def __setstate__(self, state):
+        self.__dict__ = state
+
+    def initialiser(self, prog):
+        """charge les tables de materiel avec les mat enregistres"""
+        self.prog = prog
+        for typMat in ["tr", "dc", "cb"]:
+            self.table(typMat).charger(self.chargerMateriels(typMat))
+            
+        self.prog.connect(self.prog.ui.cp_importTerrain, SIGNAL("clicked()"), self.importerTr, Qt.UniqueConnection)
+        self.prog.connect(self.prog.ui.cp_importDecor, SIGNAL("clicked()"), self.importerDc, Qt.UniqueConnection)
+        self.prog.connect(self.prog.ui.cp_importCombattant, SIGNAL("clicked()"), self.importerCb, Qt.UniqueConnection)
+        
+        self.prog.connect(self.prog.ui.cp_editerTerrain, SIGNAL("clicked()"), self.terrainEdit, Qt.UniqueConnection)
+        self.prog.connect(self.prog.ui.cp_nouveauTerrain, SIGNAL("clicked()"), self.terrainNouveau, Qt.UniqueConnection)
+        self.prog.connect(self.prog.ui.cp_retirerTerrain, SIGNAL("clicked()"), self.terrainRetirer, Qt.UniqueConnection)
+        
+        self.prog.connect(self.prog.ui.cp_editerCombattant, SIGNAL("clicked()"), self.creatureEdit, Qt.UniqueConnection)
+        self.prog.connect(self.prog.ui.cp_nouveauCombattant, SIGNAL("clicked()"), self.creatureNouveau, Qt.UniqueConnection)
+        self.prog.connect(self.prog.ui.cp_retirerCombattant, SIGNAL("clicked()"), self.creatureRetirer, Qt.UniqueConnection)
+        
+        self.prog.connect(self.prog.ui.cp_editerDecor, SIGNAL("clicked()"), self.decorEdit, Qt.UniqueConnection)
+        self.prog.connect(self.prog.ui.cp_nouveauDecor, SIGNAL("clicked()"), self.decorNouveau, Qt.UniqueConnection)
+        self.prog.connect(self.prog.ui.cp_retirerDecor, SIGNAL("clicked()"), self.decorRetirer, Qt.UniqueConnection)
+
+    def vider(self):
+        pass
+       
+    def ajouterMat(self, idR):
+        if not idR in self._m: self._m.append(idR)
+    
+    def materiels(self, filtre=""):     
+        return [m for m in self._m if (m[:2] == filtre or len(filtre) == 0)]
+
+    def chargerMateriels(self, filtre = ""):
+        listeMat = []
+        for idM in self.materiels(filtre):
+            listeMat.append(chargerMat(idM))     
+        return listeMat   
+
+    def table(self, typ):
+        """renvoie le nom de la table correspondant au type de mat demande"""
+        tables = {"tr": self.prog.ui.cp_listeTerrains, \
+                  "dc": self.prog.ui.cp_listeDecors, \
+                  "cb":self.prog.ui.cp_listeCreatures}
+        return tables[typ]
+
+
+    def reinitModePlateau(self):
+        """ramene le mode du plateau au mode creation standard"""
+        if self.prog.plateau:
+            self.prog.plateau.plateauModeCreation()
+
+    def importerTr(self):
+        self.importer("tr")
+        
+    def importerDc(self):
+        self.importer("dc")
+        
+    def importerCb(self):
+        self.importer("cb")
+
+    def importer(self, origine):
+        onglets = {"tr": 0, "dc":1, "cb":2}
+        ongletInit = onglets[origine[-2:]]
+        listeMat = importerMateriel(ongletInit)
+        for idMat in listeMat:
+            self.ajouterMat(idMat)
+        self.majTables()
+    
+    def majTables(self):
+        self.majListeTerrains()
+        self.majListeDecors()
+        self.majListeCreatures()
+                 
+    ### TERRAINS
+    
+    def majListeTerrains(self):
+        """mise a jour de la liste des terrains depuis la sauvegarde"""
+        self.prog.ui.cp_listeTerrains.vider()
+        self.prog.ui.cp_listeTerrains.charger(self.chargerMateriels("tr"))
+    
+    def terrainEdit(self):
+        """ouvre la fenetre 'terrains' en mode edition"""
+        mat = chargerMat(self.prog.ui.cp_listeTerrains.selection())
+        self.afficheEcranEditionTerrains(mat)
+        self.reinitModePlateau()
+        
+    def terrainNouveau(self):
+        """ouvre la fenetre 'terrains' en mode edition"""
+        self.afficheEcranEditionTerrains()
+        self.reinitModePlateau()
+        
+    def afficheEcranEditionTerrains(self, terrain = None):
+        """affiche l'ecran d'edition/creation de terrains"""
+        fen = EcranEditionTerrain(terrain)     
+        r = fen.exec_()
+        if r == 1:
+            terrain = fen.terrain
+            if terrain: terrain.enregistrer()
+            self.ajouterMat(terrain.idM())
+            self.majListeTerrains()
+            self.reinitModePlateau()
+        del fen
+        
+    def terrainRetirer(self):
+        """retire le terrain selectionne de la table"""
+        idM = self.prog.ui.cp_listeTerrains.selection()
+        if idM:
+            self._m.remove(idM)
+            self.majListeTerrains()
+            
+    ### CREATURES    
+    def majListeCreatures(self):
+        """mise a jour de la liste des creatures depuis la sauvegarde"""
+        self.prog.ui.cp_listeCreatures.vider()
+        self.prog.ui.cp_listeCreatures.charger(self.chargerMateriels("cb"))
+
+    def creatureEdit(self):
+        """ouvre la fenetre 'creatures' en mode edition"""
+        mat = chargerMat(self.prog.ui.cp_listeCreatures.selection())
+        self.afficheEcranEditionCombattants(mat)
+        self.reinitModePlateau()
+        
+    def creatureNouveau(self):
+        """ouvre la fenetre 'creatures' en mode edition"""
+        self.afficheEcranEditionCombattants()
+        self.reinitModePlateau()
+        
+    def afficheEcranEditionCombattants(self, combattant = None):
+        """affiche l'ecran d'edition/creation de creatures"""
+        fen = EcranEditionCombattant(combattant, 0)
+        r = fen.exec_()
+        if r == 1:
+            combattant = fen.combattant()
+            if combattant: combattant.enregistrer()
+            self.ajouterMat(combattant.idM())
+            self.majListeCreatures()
+            self.reinitModePlateau()
+        del fen
+
+    def creatureRetirer(self):
+        """retire la creature selectionne de la table"""
+        idM = self.prog.ui.cp_listeCreatures.selection()
+        if idM:
+            self._m.remove(idM)
+            self.majListeCreatures()
+        
+    ### DECORS 
+    def majListeDecors(self):
+        """mise a jour de la liste des decors depuis la sauvegarde"""   
+        self.prog.ui.cp_listeDecors.vider()
+        self.prog.ui.cp_listeDecors.charger(self.chargerMateriels("dc"))  
+         
+    def decorEdit(self):
+        """ouvre la fenetre 'decors' en mode edition"""
+        mat = chargerMat(self.prog.ui.cp_listeDecors.selection())
+        self.afficheEcranEditionDecors(mat)
+        self.reinitModePlateau()
+        
+    def decorNouveau(self):
+        """ouvre la fenetre 'decors' en mode edition"""
+        self.afficheEcranEditionDecors()
+        self.reinitModePlateau()
+        
+    def afficheEcranEditionDecors(self, decor = None):
+        """affiche l'ecran d'edition/creation de decors"""
+        fen = EcranEditionDecor(decor, 0)
+        r = fen.exec_()
+        if r == 1:
+            decor = fen.decor
+            if decor: decor.enregistrer()
+            self.ajouterMat(decor.idM())
+            self.majListeDecors()
+            self.reinitModePlateau()
+        del fen
+            
+    def decorRetirer(self):
+        """retire le decor selectionne de la table"""
+        idM = self.prog.ui.cp_listeDecors.selection()
+        if idM:
+            self._m.remove(idM)
+            self.majListeDecors()
+

+ 61 - 0
lib/mat.py

@@ -0,0 +1,61 @@
+# -*- coding: utf-8 -*-
+'''
+gestion des materiels: pateaux, maquettes, decors, creatures, terrains, pieges
+'''
+import os
+
+from PyQt4.QtCore import QObject
+from PyQt4.QtGui import QPixmap
+
+from lib.commun import uid, rep, enregistrerSous, charger
+
+
+
+def chargerMat(idM, cible = ""):
+    """idM peut etre seulement l'id, ou le chemin complet"""
+    if len(cible) == 0: cible = "jeu" 
+    if len(idM) == 10:
+        mat = charger(os.path.join(rep(cible), "{}.dm".format(idM)))
+    else:
+        mat = charger(idM)
+    return mat
+
+def supprimerMat(idM, cible = ""):
+    if len(cible) == 0: cible = "jeu" 
+    os.remove(os.path.join(rep(cible), "{}.dm".format(idM)))
+
+class Materiel(QObject):
+    """classe de base des materiels utilises"""
+    def __init__(self):
+        super(Materiel, self).__init__()
+        if not "_idM" in self.__dict__:   #le materiel est deja parametre
+            self._idM = ""
+            self._repCible = "jeu"
+            self._type = "ma"
+            self._nom = ""
+            self._regle = ""  #regle de jeu associee au materiel
+
+    def nom(self):
+        return self._nom
+    
+    def majNom(self, nom):
+        self._nom = nom
+
+    def typ(self):
+        return self._type
+    
+    def majType(self, typ):
+        self._type = typ
+        
+    def idM(self):
+        return self._idM
+
+    def icone(self):
+        return QPixmap()
+
+    def enregistrer(self, cible = ""):      
+        if len(self._idM) == 0: self._idM = uid(self.typ())
+        if len(cible) == 0: cible = self._repCible
+        cible = os.path.join(rep(cible), "{}.dm".format(self._idM))
+        enregistrerSous(self, cible)
+

+ 1 - 0
lib/ui/convertAlt.cmd

@@ -0,0 +1 @@
+pyuic4 -x dial_altitude.ui -o ecran_altitude.py

+ 1 - 0
lib/ui/convertCfrm.cmd

@@ -0,0 +1 @@
+pyuic4 -x dial_confirmation.ui -o ecran_confirmation.py

+ 1 - 0
lib/ui/convertEditerImage.cmd

@@ -0,0 +1 @@
+pyuic4 -x editerImage.ui -o ecran_editerImage.py

+ 1 - 0
lib/ui/convertExplorateur.cmd

@@ -0,0 +1 @@
+pyuic4 -x explorateurRessources.ui -o ecran_explorateur.py

+ 1 - 0
lib/ui/convertExplorateurImage.cmd

@@ -0,0 +1 @@
+pyuic4 -x explorateurRessources.ui -o ecran_explorateur.py

+ 1 - 0
lib/ui/convertExplorateurMateriels.cmd

@@ -0,0 +1 @@
+pyuic4 -x explorateurMateriels.ui -o ecran_explorateurMat.py

+ 1 - 0
lib/ui/convertExplorateur_image.cmd

@@ -0,0 +1 @@
+pyuic4 -x panneauImage.ui -o panneauImage.py

+ 1 - 0
lib/ui/convertMessage.cmd

@@ -0,0 +1 @@
+pyuic4 -x dial_msg.ui -o ecran_message.py

+ 1 - 0
lib/ui/convertPanneauImage.cmd

@@ -0,0 +1 @@
+pyuic4 -x panneauImage.ui -o panneauImage.py

+ 1 - 0
lib/ui/convertPanneauMateriel.cmd

@@ -0,0 +1 @@
+pyuic4 -x panneauMateriel.ui -o panneauMateriel.py

+ 1 - 0
lib/ui/convertSaisie.cmd

@@ -0,0 +1 @@
+pyuic4 -x dial_saisie.ui -o ecran_saisie.py

+ 274 - 0
lib/ui/corbeille_ui/dmtableattaques_-_Copie.py

@@ -0,0 +1,274 @@
+#from __future__ import unicode_literals
+# -*- coding: utf-8 -*-
+from PyQt4.QtCore import *
+from PyQt4.QtGui import *
+from lib.Actions import *
+import lib.regles as regles
+from dm import *
+
+#dans une DmTableAttaques, les 10 premieres colonnes sont reservees aux donnees de base
+#le reste des colonnes sert aux donnees complementaires issues des regles
+colonnesBase= ["numAttaque","Type","Nom","Portee","Forme","Rayon"]
+largeurColonnesBase = {"numAttaque": 0, "Type": 70, "Nom": 100, "Portee": 60, "Forme": 80,"Rayon": 60}
+        
+class DmTableAttaques(DmTableWidget):
+    """interface d'edition des attaques du combattant"""
+    def __init__(self, parent=None):
+        super (DmTableAttaques, self).__init__()
+        self.combattant = None
+        self.construire()
+
+    def construire(self):
+        """cree les colonnes de la table"""
+        #colonnes de base: celles qui ne dependent pas des regles utilisees
+        for i in range(0, 10):
+            self.insertColumn(i)
+            #on cache les colonnes qui ne seront pas utilisees
+            self.setColumnHidden(i, (i >= len(colonnesBase)))
+            if i < len(colonnesBase):
+                #la largeur est geree par une variable globale
+                self.setHorizontalHeaderItem(i, QTableWidgetItem(colonnesBase[i]))
+
+                if colonnesBase[i] in largeurColonnesBase:
+                    largeur = largeurColonnesBase[colonnesBase[i]]
+                else:
+                    largeur = 60
+                if largeur > 0:    
+                    self.setColumnWidth(i, largeur)
+                else:    
+                    self.setColumnHidden(i, True)
+
+
+##        self.cellWidget(index, self.posColonne("Type")).setEnabled(False)
+                    
+        #on ajoute maintenant les colonnes issues des regles            
+        ordre = regles.ordreAttributsAttaques()
+        for elt in ordre:
+            numCol = 10 + ordre.index(elt)
+            self.insertColumn(numCol)
+            self.setHorizontalHeaderItem(numCol, QTableWidgetItem(QString.fromUtf8(elt)))
+            self.setColumnWidth(numCol, 45)
+            self.setColumnHidden(numCol, False)
+
+        self.connect(self, SIGNAL("cellChanged(int, int)"), self.celluleModifiee)
+
+    def siCombattant(fonction):
+        """decorateur: si combattant"""
+        
+        def _siCombattant(self, *args):
+            def fVide(*args):
+                pass
+            retour = fVide
+            if self.combattant:
+                retour = fonction
+            retour(self)                            
+        return _siCombattant  
+
+    def charger(self, combattant):
+        self.combattant = combattant
+        self.maj()
+        self.nouvelle()
+
+    @siCombattant
+    def maj(self):
+        """met a jour le contenu de la table des donnees"""
+        self.vider()
+        self.majEnCours = True
+        
+        index = 0
+        for attaque in self.combattant.attaques:
+            self.insertRow(int(index))
+            #liste deroulante des types d'attaque
+            
+            
+##            #num de l'attaque
+##            self.setItem(int(index), 0, QTableWidgetItem(QString.fromUtf8(str(index))))
+        
+            donneesAttaque = {"NumAttaque": index, "Nom": attaque.nom, "Portee": attaque.portee}
+            self.majLigne(index, donneesAttaque)  #[Qt.NoItemFlags, Qt.ItemIsSelectable]
+
+            #met a jour l'index en cours de la liste deroulante des types d'attaque
+            widget = self.listeTypesAttaques()
+            widget.allerA(attaque.typeAtt())
+            self.setCellWidget(int(index), self.posColonne("Type"), widget)
+##            self.setCellWidget(int(index), self.posColonne("Type"), self.listeTypesAttaques())
+##            self.cellWidget(index, self.posColonne("Type")).allerA(attaque.typ)
+            self.afficherDonneesAttaqueZone(index, (attaque.typ == "zone"))            
+
+            ### parametres supplementaires (issus des regles)
+            self.majLigne(index, attaque.attributs)
+##            for elt in attaque.attributs:
+##                col = 10 + regles.ordreAttributsAttaques().index(elt)
+##                self.setItem(index, col , QTableWidgetItem(QString.fromUtf8(str(attaque.attributs[elt]))))
+          
+            index += 1
+
+        self.majEnCours = False
+
+    def posColonne(self, nom):
+        """renvoie la position de la colonne demandee"""
+        retour = None
+        if nom in colonnesBase:
+            retour = colonnesBase.index(nom)
+        elif nom in regles.ordreAttributsAttaques():
+            retour = 10 + regles.ordreAttributsAttaques().index(nom)
+        return retour
+    
+    @siCombattant
+    def celluleModifiee(self, ligne, colonne):
+        """une cellule de la table a ete modifiee par l'utilisateur"""
+        if not self.majEnCours:
+            numAttaque = int(self.val(ligne, 0))
+            attaque = self.combattant.attaques[numAttaque]
+            
+            if colonne < len(colonnesBase):
+                if colonne == self.posColonne("Nom"):
+                    #maj du nom de l'attaque
+                    nom = self.texte(ligne, colonne)
+                    if not len(nom) > 0:
+                        nom = "Att. {}".format(numAttaque)
+                    attaque.nom = nom
+                
+                elif colonne == self.posColonne("Type"):
+                    #maj du type de l'attaque
+                    typ = str(self.cellWidget(ligne, colonne).valeurActuelle().toString())
+                    attaque.typ = typ
+                    self.afficherDonneesAttaqueZone(ligne, (typ == "zone"))
+                    
+                elif colonne == self.posColonne("Forme"):
+                    #maj de la forme de l'attaque
+                    forme = str(self.cellWidget(ligne, colonne).valeurActuelle().toString())
+                    attaque.formeZone = forme
+                    
+                elif colonne == self.posColonne("Portee"):
+                    #maj de la portee de l'attaque
+                    #doit etre de type numerique
+                    try:
+                        portee = int(self.data(ligne, colonne))
+                        if portee < 1000:
+                            attaque.portee = portee
+                        else:
+                            self.majEnt(ligne, colonne, attaque.portee)
+                    except:
+                        #sinon, on restaure l'ancienne valeur
+                        self.majEnt(ligne, colonne, attaque.portee)
+
+                elif colonne == self.posColonne("Rayon"):
+                    #doit etre de type numerique
+                    try:
+                        rayon = int(self.data(ligne, colonne))
+                        if rayon < 100:
+                            self.combattant.attaques[numAttaque].rayon = rayon
+                        else:
+                            self.majEnt(ligne, colonne, attaque.rayon)         
+                    except:
+                        self.majEnt(ligne, colonne, attaque.rayon) 
+    
+            elif colonne >= 10:
+                #colonnes issues des regles
+                index = colonne - 10
+                attribut = regles.ordreAttributsAttaques()[index]
+                valeurAttribut = regles.listeControleAttaques()[attribut].controler(str(self.data(ligne, colonne).toString()))
+                if valeurAttribut != None:
+                    attaque.attributs[attribut] = valeurAttribut
+                else:
+                    self.majData(ligne, colonne, attaque.attributs[attribut])
+
+    @siCombattant
+    def nouvelle(self):
+        """ajoute une ligne a la table et une attaque au pion"""
+        self.combattant.attaques.append(Cac())
+        self.maj()
+
+    @siCombattant
+    def supprimer(self):
+        """supprime l'attaque selectionnee de la liste des attaques du pion"""
+        select = self.ligneSelectionnee()
+        if select:
+            numAttaque = int(self.data(sel,0))
+            reponse = QMessageBox.question(self, 'Message',
+                           "Etes vous sûr de vouloir supprimer cette attaque?", QMessageBox.Yes | 
+                           QMessageBox.No, QMessageBox.No)
+            if reponse == QMessageBox.Yes:   
+                del self.combattant.attaques[numAttaque]
+                self.maj()
+
+    def majTypeAttaque(self):
+        """une des liste de type a ete modifiee, on met a jour toute la colonne (en attendant mieux :( )"""
+        colonne = self.posColonne("Type")
+        for i in range(0, self.rowCount()):
+            if str(self.cellWidget(i, colonne).itemData(\
+                   self.cellWidget(i, colonne).currentIndex())) != \
+                   self.combattant.attaques[int(self.item(i, 0).text().toUtf8())].typ:
+                self.celluleModifiee(i, colonne)
+
+    def majFormeZone(self):
+        """une des liste de type a ete modifiee, on met a jour toute la colonne (en attendant mieux :( )"""
+        colonne = self.posColonne("Forme")
+        for i in range(0, self.rowCount()):
+            if self.cellWidget(i, colonne).__class__.__name__ == "QComboBox":
+                if str(self.cellWidget(i, colonne).itemData(\
+                       self.cellWidget(i, colonne).currentIndex())) != \
+                       self.combattant.attaques[int(self.item(i, 0).text().toUtf8())].formeZone:
+                    self.celluleModifiee(i, colonne)
+                
+    def listeTypesAttaques(self):
+        """retourne la DmComboBox qui apparait dans la colonne Type d'attaque"""
+        liste = DmComboBox()
+        liste.addItem(QIcon("img\\curseurEpee.png"), QString.fromUtf8("C.à.C"), "cac")
+        liste.addItem(QIcon("img\\arc.png"), QString.fromUtf8("Dist."), "dist")
+        liste.addItem(QIcon("img\\baguette.png"), QString.fromUtf8("Zone"), "zone")
+        self.connect(liste, SIGNAL("currentIndexChanged(int)"), self.majTypeAttaque)
+        return liste
+    
+    def listeFormesZone(self):
+        """retourne la QComboBox qui apparait dans la colonne forme de zone"""
+        liste = QComboBox()
+        liste.addItem(QIcon("img\\formeLigne.png"), QString.fromUtf8("Ligne"), "ligne")
+        liste.addItem(QIcon("img\\formeEllipsePlein.png"), QString.fromUtf8("Disque"), "disque")
+        liste.addItem(QIcon("img\\cone.png"), QString.fromUtf8("Cone"), "cone")
+        self.connect(liste, SIGNAL("currentIndexChanged(int)"), self.majFormeZone)
+        return liste
+
+    @siCombattant
+    def afficherDonneesAttaqueZone(self, ligne, afficher):
+        """rend modifiables ou non les donnees de base liees aux attaques de zone et modifie l'affichage en consequence"""
+        self.majEnCours = True
+        
+        if afficher:
+            numAttaque = int(self.data(ligne, 0))
+            attaque = self.combattant.attaques[numAttaque]
+            
+            if self.cellWidget(ligne, self.posColonne("Forme")) == None:
+                self.setCellWidget(ligne, self.posColonne("Forme"), self.listeFormesZone())
+                
+            if attaque.formeZone in ["ligne", "disque", "cone"]:
+                self.cellWidget(ligne, self.posColonne("Forme")).allerA(attaque.formeZone)
+
+            item = QTableWidgetItem()
+            item.setData(0, attaque.rayon)
+            item.setBackgroundColor(QColor("white"))
+            self.setItem(ligne, self.posColonne("Rayon"), item)
+            
+        else:
+            if self.cellWidget(ligne, self.posColonne("Forme")) != None:
+                self.removeCellWidget(ligne, self.posColonne("Forme"))
+                
+            item = QTableWidgetItem(QString.fromUtf8(""))
+            item.setFlags(Qt.NoItemFlags)
+            item.setFlags(Qt.ItemIsSelectable | Qt.ItemIsEnabled)
+            item.setBackgroundColor(QColor(200,200,200))
+            self.setItem(ligne, self.posColonne("Forme"), item)
+            
+            item = QTableWidgetItem(QString.fromUtf8(""))
+            item.setFlags(Qt.NoItemFlags)
+            item.setFlags(Qt.ItemIsSelectable | Qt.ItemIsEnabled)
+            item.setBackgroundColor(QColor(200,200,200))
+            self.setItem(ligne, self.posColonne("Rayon"), item)
+
+        self.majEnCours = False
+
+
+
+
+

+ 92 - 0
lib/ui/dial_altitude.ui

@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>alt_fenetre</class>
+ <widget class="QDialog" name="alt_fenetre">
+  <property name="windowModality">
+   <enum>Qt::WindowModal</enum>
+  </property>
+  <property name="geometry">
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>196</width>
+    <height>71</height>
+   </rect>
+  </property>
+  <property name="minimumSize">
+   <size>
+    <width>196</width>
+    <height>71</height>
+   </size>
+  </property>
+  <property name="maximumSize">
+   <size>
+    <width>196</width>
+    <height>71</height>
+   </size>
+  </property>
+  <property name="font">
+   <font>
+    <family>Verdana</family>
+   </font>
+  </property>
+  <property name="windowTitle">
+   <string>Saisir l'altitude</string>
+  </property>
+  <widget class="DmSpinBox" name="alt_valeur">
+   <property name="geometry">
+    <rect>
+     <x>20</x>
+     <y>10</y>
+     <width>101</width>
+     <height>51</height>
+    </rect>
+   </property>
+   <property name="font">
+    <font>
+     <pointsize>18</pointsize>
+    </font>
+   </property>
+   <property name="minimum">
+    <number>-99</number>
+   </property>
+  </widget>
+  <widget class="QPushButton" name="alt_ok">
+   <property name="geometry">
+    <rect>
+     <x>130</x>
+     <y>10</y>
+     <width>51</width>
+     <height>51</height>
+    </rect>
+   </property>
+   <property name="text">
+    <string/>
+   </property>
+   <property name="icon">
+    <iconset resource="ressource.qrc">
+     <normaloff>:/interface/32/ressource/montagne_32.png</normaloff>:/interface/32/ressource/montagne_32.png</iconset>
+   </property>
+   <property name="iconSize">
+    <size>
+     <width>32</width>
+     <height>32</height>
+    </size>
+   </property>
+   <property name="default">
+    <bool>true</bool>
+   </property>
+  </widget>
+ </widget>
+ <customwidgets>
+  <customwidget>
+   <class>DmSpinBox</class>
+   <extends>QSpinBox</extends>
+   <header>dm.h</header>
+  </customwidget>
+ </customwidgets>
+ <resources>
+  <include location="ressource.qrc"/>
+ </resources>
+ <connections/>
+</ui>

+ 106 - 0
lib/ui/dial_confirmation.ui

@@ -0,0 +1,106 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>cfrm_fenetre</class>
+ <widget class="QDialog" name="cfrm_fenetre">
+  <property name="windowModality">
+   <enum>Qt::ApplicationModal</enum>
+  </property>
+  <property name="geometry">
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>400</width>
+    <height>157</height>
+   </rect>
+  </property>
+  <property name="minimumSize">
+   <size>
+    <width>400</width>
+    <height>157</height>
+   </size>
+  </property>
+  <property name="maximumSize">
+   <size>
+    <width>400</width>
+    <height>157</height>
+   </size>
+  </property>
+  <property name="font">
+   <font>
+    <family>Verdana</family>
+    <pointsize>9</pointsize>
+   </font>
+  </property>
+  <property name="windowTitle">
+   <string>Confirmation</string>
+  </property>
+  <widget class="QLabel" name="cfrm_txt">
+   <property name="geometry">
+    <rect>
+     <x>20</x>
+     <y>20</y>
+     <width>361</width>
+     <height>61</height>
+    </rect>
+   </property>
+   <property name="text">
+    <string>texte</string>
+   </property>
+   <property name="alignment">
+    <set>Qt::AlignCenter</set>
+   </property>
+   <property name="wordWrap">
+    <bool>true</bool>
+   </property>
+  </widget>
+  <widget class="QPushButton" name="cfrm_non">
+   <property name="geometry">
+    <rect>
+     <x>40</x>
+     <y>100</y>
+     <width>141</width>
+     <height>41</height>
+    </rect>
+   </property>
+   <property name="font">
+    <font>
+     <pointsize>10</pointsize>
+    </font>
+   </property>
+   <property name="text">
+    <string>Non</string>
+   </property>
+   <property name="autoDefault">
+    <bool>false</bool>
+   </property>
+  </widget>
+  <widget class="QPushButton" name="cfrm_oui">
+   <property name="geometry">
+    <rect>
+     <x>220</x>
+     <y>100</y>
+     <width>141</width>
+     <height>41</height>
+    </rect>
+   </property>
+   <property name="font">
+    <font>
+     <pointsize>10</pointsize>
+     <weight>50</weight>
+     <bold>false</bold>
+    </font>
+   </property>
+   <property name="text">
+    <string>Oui</string>
+   </property>
+   <property name="autoDefault">
+    <bool>false</bool>
+   </property>
+   <property name="default">
+    <bool>true</bool>
+   </property>
+  </widget>
+ </widget>
+ <resources/>
+ <connections/>
+</ui>

+ 71 - 0
lib/ui/dial_msg.ui

@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>msg_fenetre</class>
+ <widget class="QDialog" name="msg_fenetre">
+  <property name="windowModality">
+   <enum>Qt::ApplicationModal</enum>
+  </property>
+  <property name="geometry">
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>259</width>
+    <height>106</height>
+   </rect>
+  </property>
+  <property name="font">
+   <font>
+    <family>Verdana</family>
+   </font>
+  </property>
+  <property name="windowTitle">
+   <string>DMonde</string>
+  </property>
+  <layout class="QVBoxLayout" name="verticalLayout">
+   <item>
+    <widget class="DmLabel" name="msg_txt">
+     <property name="minimumSize">
+      <size>
+       <width>241</width>
+       <height>51</height>
+      </size>
+     </property>
+     <property name="text">
+      <string>TextLabel</string>
+     </property>
+     <property name="alignment">
+      <set>Qt::AlignCenter</set>
+     </property>
+     <property name="wordWrap">
+      <bool>true</bool>
+     </property>
+    </widget>
+   </item>
+   <item>
+    <widget class="QPushButton" name="msg_ok">
+     <property name="minimumSize">
+      <size>
+       <width>241</width>
+       <height>31</height>
+      </size>
+     </property>
+     <property name="text">
+      <string>D'accord</string>
+     </property>
+     <property name="default">
+      <bool>true</bool>
+     </property>
+    </widget>
+   </item>
+  </layout>
+ </widget>
+ <customwidgets>
+  <customwidget>
+   <class>DmLabel</class>
+   <extends>QLabel</extends>
+   <header location="global">dm.h</header>
+  </customwidget>
+ </customwidgets>
+ <resources/>
+ <connections/>
+</ui>

+ 153 - 0
lib/ui/dial_saisie.ui

@@ -0,0 +1,153 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>saisi_fenetre</class>
+ <widget class="QDialog" name="saisi_fenetre">
+  <property name="windowModality">
+   <enum>Qt::ApplicationModal</enum>
+  </property>
+  <property name="geometry">
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>400</width>
+    <height>112</height>
+   </rect>
+  </property>
+  <property name="minimumSize">
+   <size>
+    <width>400</width>
+    <height>112</height>
+   </size>
+  </property>
+  <property name="maximumSize">
+   <size>
+    <width>400</width>
+    <height>112</height>
+   </size>
+  </property>
+  <property name="font">
+   <font>
+    <family>Verdana</family>
+    <pointsize>9</pointsize>
+   </font>
+  </property>
+  <property name="windowTitle">
+   <string>Saisie</string>
+  </property>
+  <widget class="QLabel" name="saisi_txt">
+   <property name="geometry">
+    <rect>
+     <x>20</x>
+     <y>0</y>
+     <width>361</width>
+     <height>31</height>
+    </rect>
+   </property>
+   <property name="text">
+    <string>Saisir le texte : </string>
+   </property>
+   <property name="alignment">
+    <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
+   </property>
+   <property name="wordWrap">
+    <bool>true</bool>
+   </property>
+  </widget>
+  <widget class="QPushButton" name="saisi_annuler">
+   <property name="geometry">
+    <rect>
+     <x>40</x>
+     <y>70</y>
+     <width>141</width>
+     <height>31</height>
+    </rect>
+   </property>
+   <property name="font">
+    <font>
+     <pointsize>10</pointsize>
+    </font>
+   </property>
+   <property name="text">
+    <string>Annuler</string>
+   </property>
+   <property name="autoDefault">
+    <bool>false</bool>
+   </property>
+  </widget>
+  <widget class="QPushButton" name="saisi_ok">
+   <property name="geometry">
+    <rect>
+     <x>220</x>
+     <y>70</y>
+     <width>141</width>
+     <height>31</height>
+    </rect>
+   </property>
+   <property name="font">
+    <font>
+     <pointsize>10</pointsize>
+     <weight>50</weight>
+     <bold>false</bold>
+    </font>
+   </property>
+   <property name="text">
+    <string>Valider</string>
+   </property>
+   <property name="autoDefault">
+    <bool>false</bool>
+   </property>
+   <property name="default">
+    <bool>true</bool>
+   </property>
+  </widget>
+  <widget class="QLineEdit" name="saisi_reponse">
+   <property name="geometry">
+    <rect>
+     <x>20</x>
+     <y>30</y>
+     <width>361</width>
+     <height>31</height>
+    </rect>
+   </property>
+   <property name="palette">
+    <palette>
+     <active>
+      <colorrole role="Base">
+       <brush brushstyle="SolidPattern">
+        <color alpha="255">
+         <red>249</red>
+         <green>249</green>
+         <blue>249</blue>
+        </color>
+       </brush>
+      </colorrole>
+     </active>
+     <inactive>
+      <colorrole role="Base">
+       <brush brushstyle="SolidPattern">
+        <color alpha="255">
+         <red>249</red>
+         <green>249</green>
+         <blue>249</blue>
+        </color>
+       </brush>
+      </colorrole>
+     </inactive>
+     <disabled>
+      <colorrole role="Base">
+       <brush brushstyle="SolidPattern">
+        <color alpha="255">
+         <red>240</red>
+         <green>240</green>
+         <blue>240</blue>
+        </color>
+       </brush>
+      </colorrole>
+     </disabled>
+    </palette>
+   </property>
+  </widget>
+ </widget>
+ <resources/>
+ <connections/>
+</ui>

+ 70 - 0
lib/ui/ecran_altitude.py

@@ -0,0 +1,70 @@
+# -*- coding: utf-8 -*-
+
+# Form implementation generated from reading ui file 'dial_altitude.ui'
+#
+# Created: Fri Aug 28 13:29:35 2015
+#      by: PyQt4 UI code generator 4.10.4
+#
+# WARNING! All changes made in this file will be lost!
+
+from PyQt4 import QtCore, QtGui
+
+try:
+    _fromUtf8 = QtCore.QString.fromUtf8
+except AttributeError:
+    def _fromUtf8(s):
+        return s
+
+try:
+    _encoding = QtGui.QApplication.UnicodeUTF8
+    def _translate(context, text, disambig):
+        return QtGui.QApplication.translate(context, text, disambig, _encoding)
+except AttributeError:
+    def _translate(context, text, disambig):
+        return QtGui.QApplication.translate(context, text, disambig)
+
+class Ui_alt_fenetre(object):
+    def setupUi(self, alt_fenetre):
+        alt_fenetre.setObjectName(_fromUtf8("alt_fenetre"))
+        alt_fenetre.setWindowModality(QtCore.Qt.WindowModal)
+        alt_fenetre.resize(196, 71)
+        alt_fenetre.setMinimumSize(QtCore.QSize(196, 71))
+        alt_fenetre.setMaximumSize(QtCore.QSize(196, 71))
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        alt_fenetre.setFont(font)
+        self.alt_valeur = DmSpinBox(alt_fenetre)
+        self.alt_valeur.setGeometry(QtCore.QRect(20, 10, 101, 51))
+        font = QtGui.QFont()
+        font.setPointSize(18)
+        self.alt_valeur.setFont(font)
+        self.alt_valeur.setMinimum(-99)
+        self.alt_valeur.setObjectName(_fromUtf8("alt_valeur"))
+        self.alt_ok = QtGui.QPushButton(alt_fenetre)
+        self.alt_ok.setGeometry(QtCore.QRect(130, 10, 51, 51))
+        self.alt_ok.setText(_fromUtf8(""))
+        icon = QtGui.QIcon()
+        icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/interface/32/ressource/montagne_32.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+        self.alt_ok.setIcon(icon)
+        self.alt_ok.setIconSize(QtCore.QSize(32, 32))
+        self.alt_ok.setDefault(True)
+        self.alt_ok.setObjectName(_fromUtf8("alt_ok"))
+
+        self.retranslateUi(alt_fenetre)
+        QtCore.QMetaObject.connectSlotsByName(alt_fenetre)
+
+    def retranslateUi(self, alt_fenetre):
+        alt_fenetre.setWindowTitle(_translate("alt_fenetre", "Saisir l\'altitude", None))
+
+from dm import DmSpinBox
+import ressource_rc
+
+if __name__ == "__main__":
+    import sys
+    app = QtGui.QApplication(sys.argv)
+    alt_fenetre = QtGui.QDialog()
+    ui = Ui_alt_fenetre()
+    ui.setupUi(alt_fenetre)
+    alt_fenetre.show()
+    sys.exit(app.exec_())
+

+ 78 - 0
lib/ui/ecran_confirmation.py

@@ -0,0 +1,78 @@
+# -*- coding: utf-8 -*-
+
+# Form implementation generated from reading ui file 'dial_confirmation.ui'
+#
+# Created: Tue Sep 01 16:24:58 2015
+#      by: PyQt4 UI code generator 4.10.4
+#
+# WARNING! All changes made in this file will be lost!
+
+from PyQt4 import QtCore, QtGui
+
+try:
+    _fromUtf8 = QtCore.QString.fromUtf8
+except AttributeError:
+    def _fromUtf8(s):
+        return s
+
+try:
+    _encoding = QtGui.QApplication.UnicodeUTF8
+    def _translate(context, text, disambig):
+        return QtGui.QApplication.translate(context, text, disambig, _encoding)
+except AttributeError:
+    def _translate(context, text, disambig):
+        return QtGui.QApplication.translate(context, text, disambig)
+
+class Ui_cfrm_fenetre(object):
+    def setupUi(self, cfrm_fenetre):
+        cfrm_fenetre.setObjectName(_fromUtf8("cfrm_fenetre"))
+        cfrm_fenetre.setWindowModality(QtCore.Qt.ApplicationModal)
+        cfrm_fenetre.resize(400, 157)
+        cfrm_fenetre.setMinimumSize(QtCore.QSize(400, 157))
+        cfrm_fenetre.setMaximumSize(QtCore.QSize(400, 157))
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        font.setPointSize(9)
+        cfrm_fenetre.setFont(font)
+        self.cfrm_txt = QtGui.QLabel(cfrm_fenetre)
+        self.cfrm_txt.setGeometry(QtCore.QRect(20, 20, 361, 61))
+        self.cfrm_txt.setAlignment(QtCore.Qt.AlignCenter)
+        self.cfrm_txt.setWordWrap(True)
+        self.cfrm_txt.setObjectName(_fromUtf8("cfrm_txt"))
+        self.cfrm_non = QtGui.QPushButton(cfrm_fenetre)
+        self.cfrm_non.setGeometry(QtCore.QRect(40, 100, 141, 41))
+        font = QtGui.QFont()
+        font.setPointSize(10)
+        self.cfrm_non.setFont(font)
+        self.cfrm_non.setAutoDefault(False)
+        self.cfrm_non.setObjectName(_fromUtf8("cfrm_non"))
+        self.cfrm_oui = QtGui.QPushButton(cfrm_fenetre)
+        self.cfrm_oui.setGeometry(QtCore.QRect(220, 100, 141, 41))
+        font = QtGui.QFont()
+        font.setPointSize(10)
+        font.setBold(False)
+        font.setWeight(50)
+        self.cfrm_oui.setFont(font)
+        self.cfrm_oui.setAutoDefault(False)
+        self.cfrm_oui.setDefault(True)
+        self.cfrm_oui.setObjectName(_fromUtf8("cfrm_oui"))
+
+        self.retranslateUi(cfrm_fenetre)
+        QtCore.QMetaObject.connectSlotsByName(cfrm_fenetre)
+
+    def retranslateUi(self, cfrm_fenetre):
+        cfrm_fenetre.setWindowTitle(_translate("cfrm_fenetre", "Confirmation", None))
+        self.cfrm_txt.setText(_translate("cfrm_fenetre", "texte", None))
+        self.cfrm_non.setText(_translate("cfrm_fenetre", "Non", None))
+        self.cfrm_oui.setText(_translate("cfrm_fenetre", "Oui", None))
+
+
+if __name__ == "__main__":
+    import sys
+    app = QtGui.QApplication(sys.argv)
+    cfrm_fenetre = QtGui.QDialog()
+    ui = Ui_cfrm_fenetre()
+    ui.setupUi(cfrm_fenetre)
+    cfrm_fenetre.show()
+    sys.exit(app.exec_())
+

+ 95 - 0
lib/ui/ecran_editerImage.py

@@ -0,0 +1,95 @@
+# -*- coding: utf-8 -*-
+
+# Form implementation generated from reading ui file 'editerImage.ui'
+#
+# Created: Mon Sep 07 14:03:26 2015
+#      by: PyQt4 UI code generator 4.10.4
+#
+# WARNING! All changes made in this file will be lost!
+
+from PyQt4 import QtCore, QtGui
+
+try:
+    _fromUtf8 = QtCore.QString.fromUtf8
+except AttributeError:
+    def _fromUtf8(s):
+        return s
+
+try:
+    _encoding = QtGui.QApplication.UnicodeUTF8
+    def _translate(context, text, disambig):
+        return QtGui.QApplication.translate(context, text, disambig, _encoding)
+except AttributeError:
+    def _translate(context, text, disambig):
+        return QtGui.QApplication.translate(context, text, disambig)
+
+class Ui_edi_fenetre(object):
+    def setupUi(self, edi_fenetre):
+        edi_fenetre.setObjectName(_fromUtf8("edi_fenetre"))
+        edi_fenetre.setWindowModality(QtCore.Qt.ApplicationModal)
+        edi_fenetre.resize(329, 142)
+        edi_fenetre.setMinimumSize(QtCore.QSize(329, 142))
+        edi_fenetre.setMaximumSize(QtCore.QSize(329, 142))
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        edi_fenetre.setFont(font)
+        self.edi_nom = DmLineEdit(edi_fenetre)
+        self.edi_nom.setGeometry(QtCore.QRect(10, 10, 311, 31))
+        palette = QtGui.QPalette()
+        brush = QtGui.QBrush(QtGui.QColor(249, 249, 249))
+        brush.setStyle(QtCore.Qt.SolidPattern)
+        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
+        brush = QtGui.QBrush(QtGui.QColor(249, 249, 249))
+        brush.setStyle(QtCore.Qt.SolidPattern)
+        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
+        brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
+        brush.setStyle(QtCore.Qt.SolidPattern)
+        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
+        self.edi_nom.setPalette(palette)
+        self.edi_nom.setObjectName(_fromUtf8("edi_nom"))
+        self.edi_sType = QtGui.QComboBox(edi_fenetre)
+        self.edi_sType.setGeometry(QtCore.QRect(10, 50, 311, 31))
+        self.edi_sType.setMinimumSize(QtCore.QSize(170, 22))
+        self.edi_sType.setMaximumSize(QtCore.QSize(1000, 10000))
+        self.edi_sType.setObjectName(_fromUtf8("edi_sType"))
+        self.edi_sType.addItem(_fromUtf8(""))
+        self.edi_sType.addItem(_fromUtf8(""))
+        self.edi_sType.addItem(_fromUtf8(""))
+        self.edi_sType.addItem(_fromUtf8(""))
+        self.edi_sType.addItem(_fromUtf8(""))
+        self.edi_sType.addItem(_fromUtf8(""))
+        self.edi_enregistrer = QtGui.QPushButton(edi_fenetre)
+        self.edi_enregistrer.setGeometry(QtCore.QRect(180, 100, 141, 31))
+        self.edi_enregistrer.setAutoDefault(False)
+        self.edi_enregistrer.setDefault(True)
+        self.edi_enregistrer.setObjectName(_fromUtf8("edi_enregistrer"))
+        self.edi_annuler = QtGui.QPushButton(edi_fenetre)
+        self.edi_annuler.setGeometry(QtCore.QRect(10, 100, 101, 31))
+        self.edi_annuler.setObjectName(_fromUtf8("edi_annuler"))
+
+        self.retranslateUi(edi_fenetre)
+        QtCore.QMetaObject.connectSlotsByName(edi_fenetre)
+
+    def retranslateUi(self, edi_fenetre):
+        edi_fenetre.setWindowTitle(_translate("edi_fenetre", "Editer l\'image", None))
+        self.edi_sType.setItemText(0, _translate("edi_fenetre", "Créature (portrait)", None))
+        self.edi_sType.setItemText(1, _translate("edi_fenetre", "Créature (pion)", None))
+        self.edi_sType.setItemText(2, _translate("edi_fenetre", "Décor (portrait)", None))
+        self.edi_sType.setItemText(3, _translate("edi_fenetre", "Décor (pion)", None))
+        self.edi_sType.setItemText(4, _translate("edi_fenetre", "Terrain", None))
+        self.edi_sType.setItemText(5, _translate("edi_fenetre", "Autre", None))
+        self.edi_enregistrer.setText(_translate("edi_fenetre", "Enregistrer", None))
+        self.edi_annuler.setText(_translate("edi_fenetre", "Annuler", None))
+
+from dm import DmLineEdit
+import ressource_rc
+
+if __name__ == "__main__":
+    import sys
+    app = QtGui.QApplication(sys.argv)
+    edi_fenetre = QtGui.QDialog()
+    ui = Ui_edi_fenetre()
+    ui.setupUi(edi_fenetre)
+    edi_fenetre.show()
+    sys.exit(app.exec_())
+

+ 209 - 0
lib/ui/ecran_explorateurMat.py

@@ -0,0 +1,209 @@
+# -*- coding: utf-8 -*-
+
+# Form implementation generated from reading ui file 'explorateurMateriels.ui'
+#
+# Created: Thu Sep 10 17:06:55 2015
+#      by: PyQt4 UI code generator 4.10.4
+#
+# WARNING! All changes made in this file will be lost!
+
+from PyQt4 import QtCore, QtGui
+
+try:
+    _fromUtf8 = QtCore.QString.fromUtf8
+except AttributeError:
+    def _fromUtf8(s):
+        return s
+
+try:
+    _encoding = QtGui.QApplication.UnicodeUTF8
+    def _translate(context, text, disambig):
+        return QtGui.QApplication.translate(context, text, disambig, _encoding)
+except AttributeError:
+    def _translate(context, text, disambig):
+        return QtGui.QApplication.translate(context, text, disambig)
+
+class Ui_exm_fenetre(object):
+    def setupUi(self, exm_fenetre):
+        exm_fenetre.setObjectName(_fromUtf8("exm_fenetre"))
+        exm_fenetre.setWindowModality(QtCore.Qt.ApplicationModal)
+        exm_fenetre.resize(481, 255)
+        exm_fenetre.setMinimumSize(QtCore.QSize(481, 200))
+        exm_fenetre.setMaximumSize(QtCore.QSize(713, 578))
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        exm_fenetre.setFont(font)
+        self.verticalLayout = QtGui.QVBoxLayout(exm_fenetre)
+        self.verticalLayout.setSpacing(3)
+        self.verticalLayout.setMargin(5)
+        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
+        self.frame = QtGui.QFrame(exm_fenetre)
+        self.frame.setFrameShape(QtGui.QFrame.StyledPanel)
+        self.frame.setFrameShadow(QtGui.QFrame.Raised)
+        self.frame.setObjectName(_fromUtf8("frame"))
+        self.exr_panneauHaut = QtGui.QHBoxLayout(self.frame)
+        self.exr_panneauHaut.setMargin(3)
+        self.exr_panneauHaut.setObjectName(_fromUtf8("exr_panneauHaut"))
+        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
+        self.exr_panneauHaut.addItem(spacerItem)
+        self.label = QtGui.QLabel(self.frame)
+        self.label.setMinimumSize(QtCore.QSize(61, 16))
+        self.label.setMaximumSize(QtCore.QSize(61, 16))
+        self.label.setObjectName(_fromUtf8("label"))
+        self.exr_panneauHaut.addWidget(self.label)
+        self.exm_filtreNom = DmLineEdit(self.frame)
+        self.exm_filtreNom.setMinimumSize(QtCore.QSize(100, 20))
+        self.exm_filtreNom.setMaximumSize(QtCore.QSize(16777215, 20))
+        palette = QtGui.QPalette()
+        brush = QtGui.QBrush(QtGui.QColor(248, 248, 248))
+        brush.setStyle(QtCore.Qt.SolidPattern)
+        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
+        brush = QtGui.QBrush(QtGui.QColor(248, 248, 248))
+        brush.setStyle(QtCore.Qt.SolidPattern)
+        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
+        brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
+        brush.setStyle(QtCore.Qt.SolidPattern)
+        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
+        self.exm_filtreNom.setPalette(palette)
+        self.exm_filtreNom.setObjectName(_fromUtf8("exm_filtreNom"))
+        self.exr_panneauHaut.addWidget(self.exm_filtreNom)
+        self.exm_rafraichir = QtGui.QToolButton(self.frame)
+        self.exm_rafraichir.setMinimumSize(QtCore.QSize(23, 22))
+        self.exm_rafraichir.setMaximumSize(QtCore.QSize(23, 22))
+        icon = QtGui.QIcon()
+        icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/interface/16/ressource/rafraichir_16.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+        self.exm_rafraichir.setIcon(icon)
+        self.exm_rafraichir.setIconSize(QtCore.QSize(14, 14))
+        self.exm_rafraichir.setObjectName(_fromUtf8("exm_rafraichir"))
+        self.exr_panneauHaut.addWidget(self.exm_rafraichir)
+        self.verticalLayout.addWidget(self.frame)
+        self.exm_onglets = QtGui.QTabWidget(exm_fenetre)
+        self.exm_onglets.setObjectName(_fromUtf8("exm_onglets"))
+        self.exm_tab_tr = QtGui.QWidget()
+        self.exm_tab_tr.setObjectName(_fromUtf8("exm_tab_tr"))
+        self.horizontalLayout_4 = QtGui.QHBoxLayout(self.exm_tab_tr)
+        self.horizontalLayout_4.setSpacing(0)
+        self.horizontalLayout_4.setMargin(1)
+        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
+        self.exm_deroul_tr = QtGui.QScrollArea(self.exm_tab_tr)
+        self.exm_deroul_tr.setMinimumSize(QtCore.QSize(460, 0))
+        self.exm_deroul_tr.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
+        self.exm_deroul_tr.setWidgetResizable(True)
+        self.exm_deroul_tr.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
+        self.exm_deroul_tr.setObjectName(_fromUtf8("exm_deroul_tr"))
+        self.scrollAreaWidgetContents = QtGui.QWidget()
+        self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 461, 137))
+        self.scrollAreaWidgetContents.setObjectName(_fromUtf8("scrollAreaWidgetContents"))
+        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.scrollAreaWidgetContents)
+        self.horizontalLayout_2.setMargin(3)
+        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
+        self.exm_layout_tr = QtGui.QGridLayout()
+        self.exm_layout_tr.setObjectName(_fromUtf8("exm_layout_tr"))
+        self.horizontalLayout_2.addLayout(self.exm_layout_tr)
+        self.exm_deroul_tr.setWidget(self.scrollAreaWidgetContents)
+        self.horizontalLayout_4.addWidget(self.exm_deroul_tr)
+        icon1 = QtGui.QIcon()
+        icon1.addPixmap(QtGui.QPixmap(_fromUtf8(":/interface/32/ressource/montagne_32.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+        self.exm_onglets.addTab(self.exm_tab_tr, icon1, _fromUtf8(""))
+        self.exm_tab_dc = QtGui.QWidget()
+        self.exm_tab_dc.setObjectName(_fromUtf8("exm_tab_dc"))
+        self.horizontalLayout_8 = QtGui.QHBoxLayout(self.exm_tab_dc)
+        self.horizontalLayout_8.setMargin(1)
+        self.horizontalLayout_8.setObjectName(_fromUtf8("horizontalLayout_8"))
+        self.exm_deroul_dc = QtGui.QScrollArea(self.exm_tab_dc)
+        self.exm_deroul_dc.setMinimumSize(QtCore.QSize(460, 0))
+        self.exm_deroul_dc.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
+        self.exm_deroul_dc.setWidgetResizable(True)
+        self.exm_deroul_dc.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
+        self.exm_deroul_dc.setObjectName(_fromUtf8("exm_deroul_dc"))
+        self.scrollAreaWidgetContents_3 = QtGui.QWidget()
+        self.scrollAreaWidgetContents_3.setGeometry(QtCore.QRect(0, 0, 461, 137))
+        self.scrollAreaWidgetContents_3.setObjectName(_fromUtf8("scrollAreaWidgetContents_3"))
+        self.horizontalLayout_7 = QtGui.QHBoxLayout(self.scrollAreaWidgetContents_3)
+        self.horizontalLayout_7.setMargin(3)
+        self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7"))
+        self.exm_layout_dc = QtGui.QGridLayout()
+        self.exm_layout_dc.setObjectName(_fromUtf8("exm_layout_dc"))
+        self.horizontalLayout_7.addLayout(self.exm_layout_dc)
+        self.exm_deroul_dc.setWidget(self.scrollAreaWidgetContents_3)
+        self.horizontalLayout_8.addWidget(self.exm_deroul_dc)
+        icon2 = QtGui.QIcon()
+        icon2.addPixmap(QtGui.QPixmap(_fromUtf8(":/interface/32/ressource/decor_32.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+        self.exm_onglets.addTab(self.exm_tab_dc, icon2, _fromUtf8(""))
+        self.exm_tab_cb = QtGui.QWidget()
+        self.exm_tab_cb.setObjectName(_fromUtf8("exm_tab_cb"))
+        self.horizontalLayout_6 = QtGui.QHBoxLayout(self.exm_tab_cb)
+        self.horizontalLayout_6.setMargin(1)
+        self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
+        self.exm_deroul_cb = QtGui.QScrollArea(self.exm_tab_cb)
+        self.exm_deroul_cb.setMinimumSize(QtCore.QSize(460, 0))
+        self.exm_deroul_cb.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
+        self.exm_deroul_cb.setWidgetResizable(True)
+        self.exm_deroul_cb.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
+        self.exm_deroul_cb.setObjectName(_fromUtf8("exm_deroul_cb"))
+        self.scrollAreaWidgetContents_2 = QtGui.QWidget()
+        self.scrollAreaWidgetContents_2.setGeometry(QtCore.QRect(0, 0, 461, 137))
+        self.scrollAreaWidgetContents_2.setObjectName(_fromUtf8("scrollAreaWidgetContents_2"))
+        self.horizontalLayout_5 = QtGui.QHBoxLayout(self.scrollAreaWidgetContents_2)
+        self.horizontalLayout_5.setMargin(3)
+        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
+        self.exm_layout_cb = QtGui.QGridLayout()
+        self.exm_layout_cb.setObjectName(_fromUtf8("exm_layout_cb"))
+        self.horizontalLayout_5.addLayout(self.exm_layout_cb)
+        self.exm_deroul_cb.setWidget(self.scrollAreaWidgetContents_2)
+        self.horizontalLayout_6.addWidget(self.exm_deroul_cb)
+        icon3 = QtGui.QIcon()
+        icon3.addPixmap(QtGui.QPixmap(_fromUtf8(":/interface/32/ressource/creature_32.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+        self.exm_onglets.addTab(self.exm_tab_cb, icon3, _fromUtf8(""))
+        self.verticalLayout.addWidget(self.exm_onglets)
+        self.exm_panneauBas = QtGui.QFrame(exm_fenetre)
+        self.exm_panneauBas.setMinimumSize(QtCore.QSize(0, 0))
+        self.exm_panneauBas.setFrameShape(QtGui.QFrame.StyledPanel)
+        self.exm_panneauBas.setFrameShadow(QtGui.QFrame.Raised)
+        self.exm_panneauBas.setObjectName(_fromUtf8("exm_panneauBas"))
+        self.horizontalLayout = QtGui.QHBoxLayout(self.exm_panneauBas)
+        self.horizontalLayout.setMargin(3)
+        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
+        self.exm_annuler = QtGui.QPushButton(self.exm_panneauBas)
+        self.exm_annuler.setMinimumSize(QtCore.QSize(111, 31))
+        self.exm_annuler.setMaximumSize(QtCore.QSize(111, 31))
+        self.exm_annuler.setObjectName(_fromUtf8("exm_annuler"))
+        self.horizontalLayout.addWidget(self.exm_annuler)
+        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
+        self.horizontalLayout.addItem(spacerItem1)
+        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
+        self.horizontalLayout.addItem(spacerItem2)
+        self.exm_ok = QtGui.QPushButton(self.exm_panneauBas)
+        self.exm_ok.setEnabled(False)
+        self.exm_ok.setMinimumSize(QtCore.QSize(131, 31))
+        self.exm_ok.setMaximumSize(QtCore.QSize(131, 31))
+        self.exm_ok.setDefault(True)
+        self.exm_ok.setObjectName(_fromUtf8("exm_ok"))
+        self.horizontalLayout.addWidget(self.exm_ok)
+        self.verticalLayout.addWidget(self.exm_panneauBas)
+
+        self.retranslateUi(exm_fenetre)
+        self.exm_onglets.setCurrentIndex(2)
+        QtCore.QMetaObject.connectSlotsByName(exm_fenetre)
+
+    def retranslateUi(self, exm_fenetre):
+        exm_fenetre.setWindowTitle(_translate("exm_fenetre", "Explorateur de materiel", None))
+        self.label.setText(_translate("exm_fenetre", "Chercher : ", None))
+        self.exm_onglets.setTabText(self.exm_onglets.indexOf(self.exm_tab_tr), _translate("exm_fenetre", "Terrains", None))
+        self.exm_onglets.setTabText(self.exm_onglets.indexOf(self.exm_tab_dc), _translate("exm_fenetre", "Décors", None))
+        self.exm_onglets.setTabText(self.exm_onglets.indexOf(self.exm_tab_cb), _translate("exm_fenetre", "Créatures", None))
+        self.exm_annuler.setText(_translate("exm_fenetre", "Annuler", None))
+        self.exm_ok.setText(_translate("exm_fenetre", "Importer", None))
+
+from dm import DmLineEdit
+import ressource_rc
+
+if __name__ == "__main__":
+    import sys
+    app = QtGui.QApplication(sys.argv)
+    exm_fenetre = QtGui.QDialog()
+    ui = Ui_exm_fenetre()
+    ui.setupUi(exm_fenetre)
+    exm_fenetre.show()
+    sys.exit(app.exec_())
+

+ 66 - 0
lib/ui/ecran_message.py

@@ -0,0 +1,66 @@
+# -*- coding: utf-8 -*-
+
+# Form implementation generated from reading ui file 'dial_msg.ui'
+#
+# Created: Wed Sep 09 16:24:56 2015
+#      by: PyQt4 UI code generator 4.10.4
+#
+# WARNING! All changes made in this file will be lost!
+
+from PyQt4 import QtCore, QtGui
+
+try:
+    _fromUtf8 = QtCore.QString.fromUtf8
+except AttributeError:
+    def _fromUtf8(s):
+        return s
+
+try:
+    _encoding = QtGui.QApplication.UnicodeUTF8
+    def _translate(context, text, disambig):
+        return QtGui.QApplication.translate(context, text, disambig, _encoding)
+except AttributeError:
+    def _translate(context, text, disambig):
+        return QtGui.QApplication.translate(context, text, disambig)
+
+class Ui_msg_fenetre(object):
+    def setupUi(self, msg_fenetre):
+        msg_fenetre.setObjectName(_fromUtf8("msg_fenetre"))
+        msg_fenetre.setWindowModality(QtCore.Qt.ApplicationModal)
+        msg_fenetre.resize(259, 106)
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        msg_fenetre.setFont(font)
+        self.verticalLayout = QtGui.QVBoxLayout(msg_fenetre)
+        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
+        self.msg_txt = DmLabel(msg_fenetre)
+        self.msg_txt.setMinimumSize(QtCore.QSize(241, 51))
+        self.msg_txt.setAlignment(QtCore.Qt.AlignCenter)
+        self.msg_txt.setWordWrap(True)
+        self.msg_txt.setObjectName(_fromUtf8("msg_txt"))
+        self.verticalLayout.addWidget(self.msg_txt)
+        self.msg_ok = QtGui.QPushButton(msg_fenetre)
+        self.msg_ok.setMinimumSize(QtCore.QSize(241, 31))
+        self.msg_ok.setDefault(True)
+        self.msg_ok.setObjectName(_fromUtf8("msg_ok"))
+        self.verticalLayout.addWidget(self.msg_ok)
+
+        self.retranslateUi(msg_fenetre)
+        QtCore.QMetaObject.connectSlotsByName(msg_fenetre)
+
+    def retranslateUi(self, msg_fenetre):
+        msg_fenetre.setWindowTitle(_translate("msg_fenetre", "DMonde", None))
+        self.msg_txt.setText(_translate("msg_fenetre", "TextLabel", None))
+        self.msg_ok.setText(_translate("msg_fenetre", "D\'accord", None))
+
+from dm import DmLabel
+
+if __name__ == "__main__":
+    import sys
+    app = QtGui.QApplication(sys.argv)
+    msg_fenetre = QtGui.QDialog()
+    ui = Ui_msg_fenetre()
+    ui.setupUi(msg_fenetre)
+    msg_fenetre.show()
+    sys.exit(app.exec_())
+

+ 92 - 0
lib/ui/ecran_saisie.py

@@ -0,0 +1,92 @@
+# -*- coding: utf-8 -*-
+
+# Form implementation generated from reading ui file 'dial_saisie.ui'
+#
+# Created: Tue Sep 01 16:31:52 2015
+#      by: PyQt4 UI code generator 4.10.4
+#
+# WARNING! All changes made in this file will be lost!
+
+from PyQt4 import QtCore, QtGui
+
+try:
+    _fromUtf8 = QtCore.QString.fromUtf8
+except AttributeError:
+    def _fromUtf8(s):
+        return s
+
+try:
+    _encoding = QtGui.QApplication.UnicodeUTF8
+    def _translate(context, text, disambig):
+        return QtGui.QApplication.translate(context, text, disambig, _encoding)
+except AttributeError:
+    def _translate(context, text, disambig):
+        return QtGui.QApplication.translate(context, text, disambig)
+
+class Ui_saisi_fenetre(object):
+    def setupUi(self, saisi_fenetre):
+        saisi_fenetre.setObjectName(_fromUtf8("saisi_fenetre"))
+        saisi_fenetre.setWindowModality(QtCore.Qt.ApplicationModal)
+        saisi_fenetre.resize(400, 112)
+        saisi_fenetre.setMinimumSize(QtCore.QSize(400, 112))
+        saisi_fenetre.setMaximumSize(QtCore.QSize(400, 112))
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        font.setPointSize(9)
+        saisi_fenetre.setFont(font)
+        self.saisi_txt = QtGui.QLabel(saisi_fenetre)
+        self.saisi_txt.setGeometry(QtCore.QRect(20, 0, 361, 31))
+        self.saisi_txt.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
+        self.saisi_txt.setWordWrap(True)
+        self.saisi_txt.setObjectName(_fromUtf8("saisi_txt"))
+        self.saisi_annuler = QtGui.QPushButton(saisi_fenetre)
+        self.saisi_annuler.setGeometry(QtCore.QRect(40, 70, 141, 31))
+        font = QtGui.QFont()
+        font.setPointSize(10)
+        self.saisi_annuler.setFont(font)
+        self.saisi_annuler.setAutoDefault(False)
+        self.saisi_annuler.setObjectName(_fromUtf8("saisi_annuler"))
+        self.saisi_ok = QtGui.QPushButton(saisi_fenetre)
+        self.saisi_ok.setGeometry(QtCore.QRect(220, 70, 141, 31))
+        font = QtGui.QFont()
+        font.setPointSize(10)
+        font.setBold(False)
+        font.setWeight(50)
+        self.saisi_ok.setFont(font)
+        self.saisi_ok.setAutoDefault(False)
+        self.saisi_ok.setDefault(True)
+        self.saisi_ok.setObjectName(_fromUtf8("saisi_ok"))
+        self.saisi_reponse = QtGui.QLineEdit(saisi_fenetre)
+        self.saisi_reponse.setGeometry(QtCore.QRect(20, 30, 361, 31))
+        palette = QtGui.QPalette()
+        brush = QtGui.QBrush(QtGui.QColor(249, 249, 249))
+        brush.setStyle(QtCore.Qt.SolidPattern)
+        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
+        brush = QtGui.QBrush(QtGui.QColor(249, 249, 249))
+        brush.setStyle(QtCore.Qt.SolidPattern)
+        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
+        brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
+        brush.setStyle(QtCore.Qt.SolidPattern)
+        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
+        self.saisi_reponse.setPalette(palette)
+        self.saisi_reponse.setObjectName(_fromUtf8("saisi_reponse"))
+
+        self.retranslateUi(saisi_fenetre)
+        QtCore.QMetaObject.connectSlotsByName(saisi_fenetre)
+
+    def retranslateUi(self, saisi_fenetre):
+        saisi_fenetre.setWindowTitle(_translate("saisi_fenetre", "Confirmation", None))
+        self.saisi_txt.setText(_translate("saisi_fenetre", "Saisir le texte : ", None))
+        self.saisi_annuler.setText(_translate("saisi_fenetre", "Annuler", None))
+        self.saisi_ok.setText(_translate("saisi_fenetre", "Valider", None))
+
+
+if __name__ == "__main__":
+    import sys
+    app = QtGui.QApplication(sys.argv)
+    saisi_fenetre = QtGui.QDialog()
+    ui = Ui_saisi_fenetre()
+    ui.setupUi(saisi_fenetre)
+    saisi_fenetre.show()
+    sys.exit(app.exec_())
+

+ 179 - 0
lib/ui/editerImage.ui

@@ -0,0 +1,179 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>edi_fenetre</class>
+ <widget class="QDialog" name="edi_fenetre">
+  <property name="windowModality">
+   <enum>Qt::ApplicationModal</enum>
+  </property>
+  <property name="geometry">
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>329</width>
+    <height>142</height>
+   </rect>
+  </property>
+  <property name="minimumSize">
+   <size>
+    <width>329</width>
+    <height>142</height>
+   </size>
+  </property>
+  <property name="maximumSize">
+   <size>
+    <width>329</width>
+    <height>142</height>
+   </size>
+  </property>
+  <property name="font">
+   <font>
+    <family>Verdana</family>
+   </font>
+  </property>
+  <property name="windowTitle">
+   <string>Editer l'image</string>
+  </property>
+  <widget class="DmLineEdit" name="edi_nom">
+   <property name="geometry">
+    <rect>
+     <x>10</x>
+     <y>10</y>
+     <width>311</width>
+     <height>31</height>
+    </rect>
+   </property>
+   <property name="palette">
+    <palette>
+     <active>
+      <colorrole role="Base">
+       <brush brushstyle="SolidPattern">
+        <color alpha="255">
+         <red>249</red>
+         <green>249</green>
+         <blue>249</blue>
+        </color>
+       </brush>
+      </colorrole>
+     </active>
+     <inactive>
+      <colorrole role="Base">
+       <brush brushstyle="SolidPattern">
+        <color alpha="255">
+         <red>249</red>
+         <green>249</green>
+         <blue>249</blue>
+        </color>
+       </brush>
+      </colorrole>
+     </inactive>
+     <disabled>
+      <colorrole role="Base">
+       <brush brushstyle="SolidPattern">
+        <color alpha="255">
+         <red>240</red>
+         <green>240</green>
+         <blue>240</blue>
+        </color>
+       </brush>
+      </colorrole>
+     </disabled>
+    </palette>
+   </property>
+  </widget>
+  <widget class="QComboBox" name="edi_sType">
+   <property name="geometry">
+    <rect>
+     <x>10</x>
+     <y>50</y>
+     <width>311</width>
+     <height>31</height>
+    </rect>
+   </property>
+   <property name="minimumSize">
+    <size>
+     <width>170</width>
+     <height>22</height>
+    </size>
+   </property>
+   <property name="maximumSize">
+    <size>
+     <width>1000</width>
+     <height>10000</height>
+    </size>
+   </property>
+   <item>
+    <property name="text">
+     <string>Créature (portrait)</string>
+    </property>
+   </item>
+   <item>
+    <property name="text">
+     <string>Créature (pion)</string>
+    </property>
+   </item>
+   <item>
+    <property name="text">
+     <string>Décor (portrait)</string>
+    </property>
+   </item>
+   <item>
+    <property name="text">
+     <string>Décor (pion)</string>
+    </property>
+   </item>
+   <item>
+    <property name="text">
+     <string>Terrain</string>
+    </property>
+   </item>
+   <item>
+    <property name="text">
+     <string>Autre</string>
+    </property>
+   </item>
+  </widget>
+  <widget class="QPushButton" name="edi_enregistrer">
+   <property name="geometry">
+    <rect>
+     <x>180</x>
+     <y>100</y>
+     <width>141</width>
+     <height>31</height>
+    </rect>
+   </property>
+   <property name="text">
+    <string>Enregistrer</string>
+   </property>
+   <property name="autoDefault">
+    <bool>false</bool>
+   </property>
+   <property name="default">
+    <bool>true</bool>
+   </property>
+  </widget>
+  <widget class="QPushButton" name="edi_annuler">
+   <property name="geometry">
+    <rect>
+     <x>10</x>
+     <y>100</y>
+     <width>101</width>
+     <height>31</height>
+    </rect>
+   </property>
+   <property name="text">
+    <string>Annuler</string>
+   </property>
+  </widget>
+ </widget>
+ <customwidgets>
+  <customwidget>
+   <class>DmLineEdit</class>
+   <extends>QLineEdit</extends>
+   <header location="global">dm.h</header>
+  </customwidget>
+ </customwidgets>
+ <resources>
+  <include location="ressource.qrc"/>
+ </resources>
+ <connections/>
+</ui>

+ 517 - 0
lib/ui/explorateurMateriels.ui

@@ -0,0 +1,517 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>exm_fenetre</class>
+ <widget class="QDialog" name="exm_fenetre">
+  <property name="windowModality">
+   <enum>Qt::ApplicationModal</enum>
+  </property>
+  <property name="geometry">
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>481</width>
+    <height>255</height>
+   </rect>
+  </property>
+  <property name="minimumSize">
+   <size>
+    <width>481</width>
+    <height>200</height>
+   </size>
+  </property>
+  <property name="maximumSize">
+   <size>
+    <width>713</width>
+    <height>578</height>
+   </size>
+  </property>
+  <property name="font">
+   <font>
+    <family>Verdana</family>
+   </font>
+  </property>
+  <property name="windowTitle">
+   <string>Explorateur de materiel</string>
+  </property>
+  <layout class="QVBoxLayout" name="verticalLayout" stretch="0,0,0">
+   <property name="spacing">
+    <number>3</number>
+   </property>
+   <property name="leftMargin">
+    <number>5</number>
+   </property>
+   <property name="topMargin">
+    <number>5</number>
+   </property>
+   <property name="rightMargin">
+    <number>5</number>
+   </property>
+   <property name="bottomMargin">
+    <number>5</number>
+   </property>
+   <item>
+    <widget class="QFrame" name="frame">
+     <property name="frameShape">
+      <enum>QFrame::StyledPanel</enum>
+     </property>
+     <property name="frameShadow">
+      <enum>QFrame::Raised</enum>
+     </property>
+     <layout class="QHBoxLayout" name="exr_panneauHaut">
+      <property name="leftMargin">
+       <number>3</number>
+      </property>
+      <property name="topMargin">
+       <number>3</number>
+      </property>
+      <property name="rightMargin">
+       <number>3</number>
+      </property>
+      <property name="bottomMargin">
+       <number>3</number>
+      </property>
+      <item>
+       <spacer name="horizontalSpacer_2">
+        <property name="orientation">
+         <enum>Qt::Horizontal</enum>
+        </property>
+        <property name="sizeHint" stdset="0">
+         <size>
+          <width>40</width>
+          <height>20</height>
+         </size>
+        </property>
+       </spacer>
+      </item>
+      <item>
+       <widget class="QLabel" name="label">
+        <property name="minimumSize">
+         <size>
+          <width>61</width>
+          <height>16</height>
+         </size>
+        </property>
+        <property name="maximumSize">
+         <size>
+          <width>61</width>
+          <height>16</height>
+         </size>
+        </property>
+        <property name="text">
+         <string>Chercher : </string>
+        </property>
+       </widget>
+      </item>
+      <item>
+       <widget class="DmLineEdit" name="exm_filtreNom">
+        <property name="minimumSize">
+         <size>
+          <width>100</width>
+          <height>20</height>
+         </size>
+        </property>
+        <property name="maximumSize">
+         <size>
+          <width>16777215</width>
+          <height>20</height>
+         </size>
+        </property>
+        <property name="palette">
+         <palette>
+          <active>
+           <colorrole role="Base">
+            <brush brushstyle="SolidPattern">
+             <color alpha="255">
+              <red>248</red>
+              <green>248</green>
+              <blue>248</blue>
+             </color>
+            </brush>
+           </colorrole>
+          </active>
+          <inactive>
+           <colorrole role="Base">
+            <brush brushstyle="SolidPattern">
+             <color alpha="255">
+              <red>248</red>
+              <green>248</green>
+              <blue>248</blue>
+             </color>
+            </brush>
+           </colorrole>
+          </inactive>
+          <disabled>
+           <colorrole role="Base">
+            <brush brushstyle="SolidPattern">
+             <color alpha="255">
+              <red>240</red>
+              <green>240</green>
+              <blue>240</blue>
+             </color>
+            </brush>
+           </colorrole>
+          </disabled>
+         </palette>
+        </property>
+       </widget>
+      </item>
+      <item>
+       <widget class="QToolButton" name="exm_rafraichir">
+        <property name="minimumSize">
+         <size>
+          <width>23</width>
+          <height>22</height>
+         </size>
+        </property>
+        <property name="maximumSize">
+         <size>
+          <width>23</width>
+          <height>22</height>
+         </size>
+        </property>
+        <property name="icon">
+         <iconset resource="ressource.qrc">
+          <normaloff>:/interface/16/ressource/rafraichir_16.png</normaloff>:/interface/16/ressource/rafraichir_16.png</iconset>
+        </property>
+        <property name="iconSize">
+         <size>
+          <width>14</width>
+          <height>14</height>
+         </size>
+        </property>
+       </widget>
+      </item>
+     </layout>
+    </widget>
+   </item>
+   <item>
+    <widget class="QTabWidget" name="exm_onglets">
+     <property name="currentIndex">
+      <number>2</number>
+     </property>
+     <widget class="QWidget" name="exm_tab_tr">
+      <attribute name="icon">
+       <iconset resource="ressource.qrc">
+        <normaloff>:/interface/32/ressource/montagne_32.png</normaloff>:/interface/32/ressource/montagne_32.png</iconset>
+      </attribute>
+      <attribute name="title">
+       <string>Terrains</string>
+      </attribute>
+      <layout class="QHBoxLayout" name="horizontalLayout_4">
+       <property name="spacing">
+        <number>0</number>
+       </property>
+       <property name="leftMargin">
+        <number>1</number>
+       </property>
+       <property name="topMargin">
+        <number>1</number>
+       </property>
+       <property name="rightMargin">
+        <number>1</number>
+       </property>
+       <property name="bottomMargin">
+        <number>1</number>
+       </property>
+       <item>
+        <widget class="QScrollArea" name="exm_deroul_tr">
+         <property name="minimumSize">
+          <size>
+           <width>460</width>
+           <height>0</height>
+          </size>
+         </property>
+         <property name="horizontalScrollBarPolicy">
+          <enum>Qt::ScrollBarAlwaysOff</enum>
+         </property>
+         <property name="widgetResizable">
+          <bool>true</bool>
+         </property>
+         <property name="alignment">
+          <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
+         </property>
+         <widget class="QWidget" name="scrollAreaWidgetContents">
+          <property name="geometry">
+           <rect>
+            <x>0</x>
+            <y>0</y>
+            <width>461</width>
+            <height>137</height>
+           </rect>
+          </property>
+          <layout class="QHBoxLayout" name="horizontalLayout_2">
+           <property name="leftMargin">
+            <number>3</number>
+           </property>
+           <property name="topMargin">
+            <number>3</number>
+           </property>
+           <property name="rightMargin">
+            <number>3</number>
+           </property>
+           <property name="bottomMargin">
+            <number>3</number>
+           </property>
+           <item>
+            <layout class="QGridLayout" name="exm_layout_tr"/>
+           </item>
+          </layout>
+         </widget>
+        </widget>
+       </item>
+      </layout>
+     </widget>
+     <widget class="QWidget" name="exm_tab_dc">
+      <attribute name="icon">
+       <iconset resource="ressource.qrc">
+        <normaloff>:/interface/32/ressource/decor_32.png</normaloff>:/interface/32/ressource/decor_32.png</iconset>
+      </attribute>
+      <attribute name="title">
+       <string>Décors</string>
+      </attribute>
+      <layout class="QHBoxLayout" name="horizontalLayout_8">
+       <property name="leftMargin">
+        <number>1</number>
+       </property>
+       <property name="topMargin">
+        <number>1</number>
+       </property>
+       <property name="rightMargin">
+        <number>1</number>
+       </property>
+       <property name="bottomMargin">
+        <number>1</number>
+       </property>
+       <item>
+        <widget class="QScrollArea" name="exm_deroul_dc">
+         <property name="minimumSize">
+          <size>
+           <width>460</width>
+           <height>0</height>
+          </size>
+         </property>
+         <property name="horizontalScrollBarPolicy">
+          <enum>Qt::ScrollBarAlwaysOff</enum>
+         </property>
+         <property name="widgetResizable">
+          <bool>true</bool>
+         </property>
+         <property name="alignment">
+          <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
+         </property>
+         <widget class="QWidget" name="scrollAreaWidgetContents_3">
+          <property name="geometry">
+           <rect>
+            <x>0</x>
+            <y>0</y>
+            <width>461</width>
+            <height>137</height>
+           </rect>
+          </property>
+          <layout class="QHBoxLayout" name="horizontalLayout_7">
+           <property name="leftMargin">
+            <number>3</number>
+           </property>
+           <property name="topMargin">
+            <number>3</number>
+           </property>
+           <property name="rightMargin">
+            <number>3</number>
+           </property>
+           <property name="bottomMargin">
+            <number>3</number>
+           </property>
+           <item>
+            <layout class="QGridLayout" name="exm_layout_dc"/>
+           </item>
+          </layout>
+         </widget>
+        </widget>
+       </item>
+      </layout>
+     </widget>
+     <widget class="QWidget" name="exm_tab_cb">
+      <attribute name="icon">
+       <iconset resource="ressource.qrc">
+        <normaloff>:/interface/32/ressource/creature_32.png</normaloff>:/interface/32/ressource/creature_32.png</iconset>
+      </attribute>
+      <attribute name="title">
+       <string>Créatures</string>
+      </attribute>
+      <layout class="QHBoxLayout" name="horizontalLayout_6">
+       <property name="leftMargin">
+        <number>1</number>
+       </property>
+       <property name="topMargin">
+        <number>1</number>
+       </property>
+       <property name="rightMargin">
+        <number>1</number>
+       </property>
+       <property name="bottomMargin">
+        <number>1</number>
+       </property>
+       <item>
+        <widget class="QScrollArea" name="exm_deroul_cb">
+         <property name="minimumSize">
+          <size>
+           <width>460</width>
+           <height>0</height>
+          </size>
+         </property>
+         <property name="horizontalScrollBarPolicy">
+          <enum>Qt::ScrollBarAlwaysOff</enum>
+         </property>
+         <property name="widgetResizable">
+          <bool>true</bool>
+         </property>
+         <property name="alignment">
+          <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
+         </property>
+         <widget class="QWidget" name="scrollAreaWidgetContents_2">
+          <property name="geometry">
+           <rect>
+            <x>0</x>
+            <y>0</y>
+            <width>461</width>
+            <height>137</height>
+           </rect>
+          </property>
+          <layout class="QHBoxLayout" name="horizontalLayout_5">
+           <property name="leftMargin">
+            <number>3</number>
+           </property>
+           <property name="topMargin">
+            <number>3</number>
+           </property>
+           <property name="rightMargin">
+            <number>3</number>
+           </property>
+           <property name="bottomMargin">
+            <number>3</number>
+           </property>
+           <item>
+            <layout class="QGridLayout" name="exm_layout_cb"/>
+           </item>
+          </layout>
+         </widget>
+        </widget>
+       </item>
+      </layout>
+     </widget>
+    </widget>
+   </item>
+   <item>
+    <widget class="QFrame" name="exm_panneauBas">
+     <property name="minimumSize">
+      <size>
+       <width>0</width>
+       <height>0</height>
+      </size>
+     </property>
+     <property name="frameShape">
+      <enum>QFrame::StyledPanel</enum>
+     </property>
+     <property name="frameShadow">
+      <enum>QFrame::Raised</enum>
+     </property>
+     <layout class="QHBoxLayout" name="horizontalLayout">
+      <property name="leftMargin">
+       <number>3</number>
+      </property>
+      <property name="topMargin">
+       <number>3</number>
+      </property>
+      <property name="rightMargin">
+       <number>3</number>
+      </property>
+      <property name="bottomMargin">
+       <number>3</number>
+      </property>
+      <item>
+       <widget class="QPushButton" name="exm_annuler">
+        <property name="minimumSize">
+         <size>
+          <width>111</width>
+          <height>31</height>
+         </size>
+        </property>
+        <property name="maximumSize">
+         <size>
+          <width>111</width>
+          <height>31</height>
+         </size>
+        </property>
+        <property name="text">
+         <string>Annuler</string>
+        </property>
+       </widget>
+      </item>
+      <item>
+       <spacer name="horizontalSpacer_3">
+        <property name="orientation">
+         <enum>Qt::Horizontal</enum>
+        </property>
+        <property name="sizeHint" stdset="0">
+         <size>
+          <width>40</width>
+          <height>20</height>
+         </size>
+        </property>
+       </spacer>
+      </item>
+      <item>
+       <spacer name="horizontalSpacer">
+        <property name="orientation">
+         <enum>Qt::Horizontal</enum>
+        </property>
+        <property name="sizeHint" stdset="0">
+         <size>
+          <width>40</width>
+          <height>20</height>
+         </size>
+        </property>
+       </spacer>
+      </item>
+      <item>
+       <widget class="QPushButton" name="exm_ok">
+        <property name="enabled">
+         <bool>false</bool>
+        </property>
+        <property name="minimumSize">
+         <size>
+          <width>131</width>
+          <height>31</height>
+         </size>
+        </property>
+        <property name="maximumSize">
+         <size>
+          <width>131</width>
+          <height>31</height>
+         </size>
+        </property>
+        <property name="text">
+         <string>Importer</string>
+        </property>
+        <property name="default">
+         <bool>true</bool>
+        </property>
+       </widget>
+      </item>
+     </layout>
+    </widget>
+   </item>
+  </layout>
+ </widget>
+ <customwidgets>
+  <customwidget>
+   <class>DmLineEdit</class>
+   <extends>QLineEdit</extends>
+   <header location="global">dm.h</header>
+  </customwidget>
+ </customwidgets>
+ <resources>
+  <include location="ressource.qrc"/>
+ </resources>
+ <connections/>
+</ui>

+ 105 - 0
lib/ui/panneauMateriel.py

@@ -0,0 +1,105 @@
+# -*- coding: utf-8 -*-
+
+# Form implementation generated from reading ui file 'panneauMateriel.ui'
+#
+# Created: Thu Sep 10 15:39:31 2015
+#      by: PyQt4 UI code generator 4.10.4
+#
+# WARNING! All changes made in this file will be lost!
+
+from PyQt4 import QtCore, QtGui
+
+try:
+    _fromUtf8 = QtCore.QString.fromUtf8
+except AttributeError:
+    def _fromUtf8(s):
+        return s
+
+try:
+    _encoding = QtGui.QApplication.UnicodeUTF8
+    def _translate(context, text, disambig):
+        return QtGui.QApplication.translate(context, text, disambig, _encoding)
+except AttributeError:
+    def _translate(context, text, disambig):
+        return QtGui.QApplication.translate(context, text, disambig)
+
+class Ui_pem_panneau(object):
+    def setupUi(self, pem_panneau):
+        pem_panneau.setObjectName(_fromUtf8("pem_panneau"))
+        pem_panneau.resize(297, 77)
+        pem_panneau.setMinimumSize(QtCore.QSize(153, 54))
+        pem_panneau.setMaximumSize(QtCore.QSize(338, 77))
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        pem_panneau.setFont(font)
+        pem_panneau.setAutoFillBackground(True)
+        pem_panneau.setFrameShape(QtGui.QFrame.StyledPanel)
+        pem_panneau.setFrameShadow(QtGui.QFrame.Sunken)
+        self.horizontalLayout = QtGui.QHBoxLayout(pem_panneau)
+        self.horizontalLayout.setMargin(3)
+        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
+        self.pem_image = DmLabel(pem_panneau)
+        self.pem_image.setFrameShape(QtGui.QFrame.NoFrame)
+        self.pem_image.setText(_fromUtf8(""))
+        self.pem_image.setAlignment(QtCore.Qt.AlignCenter)
+        self.pem_image.setObjectName(_fromUtf8("pem_image"))
+        self.horizontalLayout.addWidget(self.pem_image)
+        self.verticalLayout = QtGui.QVBoxLayout()
+        self.verticalLayout.setContentsMargins(3, 4, -1, 5)
+        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
+        self.pem_nom = DmLabel(pem_panneau)
+        self.pem_nom.setObjectName(_fromUtf8("pem_nom"))
+        self.verticalLayout.addWidget(self.pem_nom)
+        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
+        self.verticalLayout.addItem(spacerItem)
+        self.horizontalLayout_2 = QtGui.QHBoxLayout()
+        self.horizontalLayout_2.setContentsMargins(-1, 0, -1, -1)
+        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
+        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
+        self.horizontalLayout_2.addItem(spacerItem1)
+        self.pem_supprimer = QtGui.QToolButton(pem_panneau)
+        self.pem_supprimer.setEnabled(True)
+        self.pem_supprimer.setMinimumSize(QtCore.QSize(24, 24))
+        self.pem_supprimer.setMaximumSize(QtCore.QSize(24, 24))
+        self.pem_supprimer.setText(_fromUtf8(""))
+        icon = QtGui.QIcon()
+        icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/interface/16/ressource/corbeille_16.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+        self.pem_supprimer.setIcon(icon)
+        self.pem_supprimer.setIconSize(QtCore.QSize(12, 12))
+        self.pem_supprimer.setObjectName(_fromUtf8("pem_supprimer"))
+        self.horizontalLayout_2.addWidget(self.pem_supprimer)
+        self.pem_editer = QtGui.QToolButton(pem_panneau)
+        self.pem_editer.setEnabled(True)
+        self.pem_editer.setMinimumSize(QtCore.QSize(24, 24))
+        self.pem_editer.setMaximumSize(QtCore.QSize(24, 24))
+        icon1 = QtGui.QIcon()
+        icon1.addPixmap(QtGui.QPixmap(_fromUtf8(":/interface/16/ressource/editer_16.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+        self.pem_editer.setIcon(icon1)
+        self.pem_editer.setIconSize(QtCore.QSize(12, 12))
+        self.pem_editer.setObjectName(_fromUtf8("pem_editer"))
+        self.horizontalLayout_2.addWidget(self.pem_editer)
+        self.verticalLayout.addLayout(self.horizontalLayout_2)
+        self.horizontalLayout.addLayout(self.verticalLayout)
+        self.horizontalLayout.setStretch(0, 1)
+        self.horizontalLayout.setStretch(1, 3)
+
+        self.retranslateUi(pem_panneau)
+        QtCore.QMetaObject.connectSlotsByName(pem_panneau)
+
+    def retranslateUi(self, pem_panneau):
+        pem_panneau.setWindowTitle(_translate("pem_panneau", "pem_panneau", None))
+        self.pem_nom.setText(_translate("pem_panneau", "nom", None))
+        self.pem_editer.setText(_translate("pem_panneau", "...", None))
+
+from dm import DmLabel
+import ressource_rc
+
+if __name__ == "__main__":
+    import sys
+    app = QtGui.QApplication(sys.argv)
+    pem_panneau = QtGui.QFrame()
+    ui = Ui_pem_panneau()
+    ui.setupUi(pem_panneau)
+    pem_panneau.show()
+    sys.exit(app.exec_())
+

+ 198 - 0
lib/ui/panneauMateriel.ui

@@ -0,0 +1,198 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>pem_panneau</class>
+ <widget class="QFrame" name="pem_panneau">
+  <property name="geometry">
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>297</width>
+    <height>77</height>
+   </rect>
+  </property>
+  <property name="minimumSize">
+   <size>
+    <width>153</width>
+    <height>54</height>
+   </size>
+  </property>
+  <property name="maximumSize">
+   <size>
+    <width>338</width>
+    <height>77</height>
+   </size>
+  </property>
+  <property name="font">
+   <font>
+    <family>Verdana</family>
+   </font>
+  </property>
+  <property name="windowTitle">
+   <string>pem_panneau</string>
+  </property>
+  <property name="autoFillBackground">
+   <bool>true</bool>
+  </property>
+  <property name="frameShape">
+   <enum>QFrame::StyledPanel</enum>
+  </property>
+  <property name="frameShadow">
+   <enum>QFrame::Sunken</enum>
+  </property>
+  <layout class="QHBoxLayout" name="horizontalLayout" stretch="1,3">
+   <property name="leftMargin">
+    <number>3</number>
+   </property>
+   <property name="topMargin">
+    <number>3</number>
+   </property>
+   <property name="rightMargin">
+    <number>3</number>
+   </property>
+   <property name="bottomMargin">
+    <number>3</number>
+   </property>
+   <item>
+    <widget class="DmLabel" name="pem_image">
+     <property name="frameShape">
+      <enum>QFrame::NoFrame</enum>
+     </property>
+     <property name="text">
+      <string/>
+     </property>
+     <property name="alignment">
+      <set>Qt::AlignCenter</set>
+     </property>
+    </widget>
+   </item>
+   <item>
+    <layout class="QVBoxLayout" name="verticalLayout">
+     <property name="leftMargin">
+      <number>3</number>
+     </property>
+     <property name="topMargin">
+      <number>4</number>
+     </property>
+     <property name="bottomMargin">
+      <number>5</number>
+     </property>
+     <item>
+      <widget class="DmLabel" name="pem_nom">
+       <property name="text">
+        <string>nom</string>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <spacer name="verticalSpacer">
+       <property name="orientation">
+        <enum>Qt::Vertical</enum>
+       </property>
+       <property name="sizeHint" stdset="0">
+        <size>
+         <width>20</width>
+         <height>40</height>
+        </size>
+       </property>
+      </spacer>
+     </item>
+     <item>
+      <layout class="QHBoxLayout" name="horizontalLayout_2">
+       <property name="topMargin">
+        <number>0</number>
+       </property>
+       <item>
+        <spacer name="horizontalSpacer">
+         <property name="orientation">
+          <enum>Qt::Horizontal</enum>
+         </property>
+         <property name="sizeHint" stdset="0">
+          <size>
+           <width>40</width>
+           <height>20</height>
+          </size>
+         </property>
+        </spacer>
+       </item>
+       <item>
+        <widget class="QToolButton" name="pem_supprimer">
+         <property name="enabled">
+          <bool>true</bool>
+         </property>
+         <property name="minimumSize">
+          <size>
+           <width>24</width>
+           <height>24</height>
+          </size>
+         </property>
+         <property name="maximumSize">
+          <size>
+           <width>24</width>
+           <height>24</height>
+          </size>
+         </property>
+         <property name="text">
+          <string/>
+         </property>
+         <property name="icon">
+          <iconset resource="ressource.qrc">
+           <normaloff>:/interface/16/ressource/corbeille_16.png</normaloff>:/interface/16/ressource/corbeille_16.png</iconset>
+         </property>
+         <property name="iconSize">
+          <size>
+           <width>12</width>
+           <height>12</height>
+          </size>
+         </property>
+        </widget>
+       </item>
+       <item>
+        <widget class="QToolButton" name="pem_editer">
+         <property name="enabled">
+          <bool>true</bool>
+         </property>
+         <property name="minimumSize">
+          <size>
+           <width>24</width>
+           <height>24</height>
+          </size>
+         </property>
+         <property name="maximumSize">
+          <size>
+           <width>24</width>
+           <height>24</height>
+          </size>
+         </property>
+         <property name="text">
+          <string>...</string>
+         </property>
+         <property name="icon">
+          <iconset resource="ressource.qrc">
+           <normaloff>:/interface/16/ressource/editer_16.png</normaloff>:/interface/16/ressource/editer_16.png</iconset>
+         </property>
+         <property name="iconSize">
+          <size>
+           <width>12</width>
+           <height>12</height>
+          </size>
+         </property>
+        </widget>
+       </item>
+      </layout>
+     </item>
+    </layout>
+   </item>
+  </layout>
+ </widget>
+ <customwidgets>
+  <customwidget>
+   <class>DmLabel</class>
+   <extends>QLabel</extends>
+   <header location="global">dm.h</header>
+  </customwidget>
+ </customwidgets>
+ <resources>
+  <include location="ressource.qrc"/>
+ </resources>
+ <connections/>
+</ui>

+ 4823 - 0
lib/ui/principal.ui

@@ -0,0 +1,4823 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>principal</class>
+ <widget class="QMainWindow" name="principal">
+  <property name="geometry">
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>1153</width>
+    <height>691</height>
+   </rect>
+  </property>
+  <property name="minimumSize">
+   <size>
+    <width>882</width>
+    <height>623</height>
+   </size>
+  </property>
+  <property name="font">
+   <font>
+    <family>MS Shell Dlg 2</family>
+   </font>
+  </property>
+  <property name="acceptDrops">
+   <bool>true</bool>
+  </property>
+  <property name="windowTitle">
+   <string>Bienvenue sur le Dé-Monde</string>
+  </property>
+  <widget class="QWidget" name="baseWidget">
+   <layout class="QHBoxLayout" name="horizontalLayout">
+    <item>
+     <widget class="QTabWidget" name="dm_panneauCentre">
+      <property name="enabled">
+       <bool>true</bool>
+      </property>
+      <property name="minimumSize">
+       <size>
+        <width>660</width>
+        <height>561</height>
+       </size>
+      </property>
+      <property name="font">
+       <font>
+        <family>Verdana</family>
+       </font>
+      </property>
+      <property name="acceptDrops">
+       <bool>false</bool>
+      </property>
+      <property name="currentIndex">
+       <number>1</number>
+      </property>
+      <widget class="QWidget" name="tab">
+       <attribute name="title">
+        <string>Partie</string>
+       </attribute>
+       <widget class="QLabel" name="label_5">
+        <property name="geometry">
+         <rect>
+          <x>40</x>
+          <y>30</y>
+          <width>171</width>
+          <height>41</height>
+         </rect>
+        </property>
+        <property name="text">
+         <string>Partie 1 / Chapitre 1</string>
+        </property>
+       </widget>
+       <widget class="QLabel" name="label_6">
+        <property name="geometry">
+         <rect>
+          <x>40</x>
+          <y>90</y>
+          <width>171</width>
+          <height>41</height>
+         </rect>
+        </property>
+        <property name="text">
+         <string>Règles utilisées</string>
+        </property>
+       </widget>
+       <widget class="QLabel" name="label_7">
+        <property name="geometry">
+         <rect>
+          <x>40</x>
+          <y>150</y>
+          <width>171</width>
+          <height>41</height>
+         </rect>
+        </property>
+        <property name="text">
+         <string>Participants: </string>
+        </property>
+       </widget>
+      </widget>
+      <widget class="QWidget" name="Combats_tab">
+       <attribute name="title">
+        <string>Combats</string>
+       </attribute>
+       <layout class="QHBoxLayout" name="horizontalLayout_3">
+        <item>
+         <widget class="QStackedWidget" name="combatPanneau">
+          <property name="minimumSize">
+           <size>
+            <width>50</width>
+            <height>0</height>
+           </size>
+          </property>
+          <property name="currentIndex">
+           <number>1</number>
+          </property>
+          <widget class="QWidget" name="menu"/>
+          <widget class="QWidget" name="combat">
+           <layout class="QHBoxLayout" name="horizontalLayout_9">
+            <property name="spacing">
+             <number>1</number>
+            </property>
+            <property name="leftMargin">
+             <number>1</number>
+            </property>
+            <property name="topMargin">
+             <number>1</number>
+            </property>
+            <property name="rightMargin">
+             <number>1</number>
+            </property>
+            <property name="bottomMargin">
+             <number>1</number>
+            </property>
+            <item>
+             <layout class="QVBoxLayout" name="layoutCombat">
+              <item>
+               <widget class="QStackedWidget" name="cbt_panneauHaut">
+                <property name="minimumSize">
+                 <size>
+                  <width>0</width>
+                  <height>32</height>
+                 </size>
+                </property>
+                <property name="maximumSize">
+                 <size>
+                  <width>16777215</width>
+                  <height>32</height>
+                 </size>
+                </property>
+                <property name="currentIndex">
+                 <number>1</number>
+                </property>
+                <widget class="QWidget" name="page_3"/>
+                <widget class="QWidget" name="page_6">
+                 <layout class="QVBoxLayout" name="verticalLayout_14">
+                  <property name="spacing">
+                   <number>0</number>
+                  </property>
+                  <property name="leftMargin">
+                   <number>0</number>
+                  </property>
+                  <property name="topMargin">
+                   <number>0</number>
+                  </property>
+                  <property name="rightMargin">
+                   <number>0</number>
+                  </property>
+                  <property name="bottomMargin">
+                   <number>0</number>
+                  </property>
+                  <item>
+                   <layout class="QHBoxLayout" name="ppal_layout">
+                    <property name="spacing">
+                     <number>8</number>
+                    </property>
+                    <item>
+                     <spacer name="horizontalSpacer">
+                      <property name="orientation">
+                       <enum>Qt::Horizontal</enum>
+                      </property>
+                      <property name="sizeType">
+                       <enum>QSizePolicy::Expanding</enum>
+                      </property>
+                      <property name="sizeHint" stdset="0">
+                       <size>
+                        <width>40</width>
+                        <height>20</height>
+                       </size>
+                      </property>
+                     </spacer>
+                    </item>
+                    <item>
+                     <widget class="QPushButton" name="cbt_sauver">
+                      <property name="minimumSize">
+                       <size>
+                        <width>34</width>
+                        <height>30</height>
+                       </size>
+                      </property>
+                      <property name="maximumSize">
+                       <size>
+                        <width>34</width>
+                        <height>30</height>
+                       </size>
+                      </property>
+                      <property name="toolTip">
+                       <string>Enregistrer le combat</string>
+                      </property>
+                      <property name="text">
+                       <string/>
+                      </property>
+                      <property name="icon">
+                       <iconset resource="ressource.qrc">
+                        <normaloff>:/interface/16/ressource/enregistrer_16.png</normaloff>:/interface/16/ressource/enregistrer_16.png</iconset>
+                      </property>
+                      <property name="iconSize">
+                       <size>
+                        <width>19</width>
+                        <height>19</height>
+                       </size>
+                      </property>
+                     </widget>
+                    </item>
+                    <item>
+                     <widget class="QPushButton" name="cbt_nom">
+                      <property name="minimumSize">
+                       <size>
+                        <width>150</width>
+                        <height>30</height>
+                       </size>
+                      </property>
+                      <property name="maximumSize">
+                       <size>
+                        <width>16777215</width>
+                        <height>30</height>
+                       </size>
+                      </property>
+                      <property name="font">
+                       <font>
+                        <family>Verdana</family>
+                        <pointsize>9</pointsize>
+                        <weight>75</weight>
+                        <bold>true</bold>
+                       </font>
+                      </property>
+                      <property name="text">
+                       <string>    La tour sombre [Non Publié]    </string>
+                      </property>
+                     </widget>
+                    </item>
+                    <item>
+                     <widget class="QPushButton" name="cbt_fermer">
+                      <property name="minimumSize">
+                       <size>
+                        <width>34</width>
+                        <height>30</height>
+                       </size>
+                      </property>
+                      <property name="maximumSize">
+                       <size>
+                        <width>34</width>
+                        <height>30</height>
+                       </size>
+                      </property>
+                      <property name="toolTip">
+                       <string>Fermer le combat</string>
+                      </property>
+                      <property name="text">
+                       <string/>
+                      </property>
+                      <property name="icon">
+                       <iconset resource="ressource.qrc">
+                        <normaloff>:/interface/16/ressource/fermer_16.png</normaloff>:/interface/16/ressource/fermer_16.png</iconset>
+                      </property>
+                     </widget>
+                    </item>
+                    <item>
+                     <spacer name="horizontalSpacer_2">
+                      <property name="orientation">
+                       <enum>Qt::Horizontal</enum>
+                      </property>
+                      <property name="sizeType">
+                       <enum>QSizePolicy::Expanding</enum>
+                      </property>
+                      <property name="sizeHint" stdset="0">
+                       <size>
+                        <width>60</width>
+                        <height>20</height>
+                       </size>
+                      </property>
+                     </spacer>
+                    </item>
+                    <item>
+                     <widget class="QPushButton" name="cbt_modeCreation">
+                      <property name="minimumSize">
+                       <size>
+                        <width>40</width>
+                        <height>30</height>
+                       </size>
+                      </property>
+                      <property name="maximumSize">
+                       <size>
+                        <width>40</width>
+                        <height>30</height>
+                       </size>
+                      </property>
+                      <property name="toolTip">
+                       <string>Passer en mode Création</string>
+                      </property>
+                      <property name="icon">
+                       <iconset resource="ressource.qrc">
+                        <normaloff>:/interface/16/ressource/creation_16.png</normaloff>:/interface/16/ressource/creation_16.png</iconset>
+                      </property>
+                      <property name="checkable">
+                       <bool>true</bool>
+                      </property>
+                     </widget>
+                    </item>
+                    <item>
+                     <widget class="QPushButton" name="cbt_modeCombat">
+                      <property name="minimumSize">
+                       <size>
+                        <width>40</width>
+                        <height>30</height>
+                       </size>
+                      </property>
+                      <property name="maximumSize">
+                       <size>
+                        <width>40</width>
+                        <height>30</height>
+                       </size>
+                      </property>
+                      <property name="toolTip">
+                       <string>Passer en mode Combat</string>
+                      </property>
+                      <property name="text">
+                       <string/>
+                      </property>
+                      <property name="icon">
+                       <iconset resource="ressource.qrc">
+                        <normaloff>:/interface/16/ressource/armes_16.png</normaloff>:/interface/16/ressource/armes_16.png</iconset>
+                      </property>
+                      <property name="checkable">
+                       <bool>true</bool>
+                      </property>
+                     </widget>
+                    </item>
+                   </layout>
+                  </item>
+                 </layout>
+                </widget>
+               </widget>
+              </item>
+              <item>
+               <layout class="QHBoxLayout" name="plateauLayoutH" stretch="0,1,0">
+                <property name="spacing">
+                 <number>3</number>
+                </property>
+                <item>
+                 <widget class="QStackedWidget" name="cbt_panneauGauche">
+                  <property name="minimumSize">
+                   <size>
+                    <width>90</width>
+                    <height>0</height>
+                   </size>
+                  </property>
+                  <property name="maximumSize">
+                   <size>
+                    <width>128</width>
+                    <height>16777215</height>
+                   </size>
+                  </property>
+                  <property name="currentIndex">
+                   <number>1</number>
+                  </property>
+                  <widget class="QWidget" name="page_4"/>
+                  <widget class="QWidget" name="page_5">
+                   <layout class="QHBoxLayout" name="horizontalLayout_6">
+                    <property name="spacing">
+                     <number>0</number>
+                    </property>
+                    <property name="leftMargin">
+                     <number>0</number>
+                    </property>
+                    <property name="topMargin">
+                     <number>0</number>
+                    </property>
+                    <property name="rightMargin">
+                     <number>0</number>
+                    </property>
+                    <property name="bottomMargin">
+                     <number>0</number>
+                    </property>
+                    <item>
+                     <widget class="QFrame" name="inf_panneau">
+                      <property name="minimumSize">
+                       <size>
+                        <width>90</width>
+                        <height>0</height>
+                       </size>
+                      </property>
+                      <property name="maximumSize">
+                       <size>
+                        <width>128</width>
+                        <height>16777215</height>
+                       </size>
+                      </property>
+                      <layout class="QVBoxLayout" name="panneauInfosPlateau" stretch="0,0,0">
+                       <property name="spacing">
+                        <number>0</number>
+                       </property>
+                       <property name="leftMargin">
+                        <number>6</number>
+                       </property>
+                       <property name="topMargin">
+                        <number>6</number>
+                       </property>
+                       <property name="rightMargin">
+                        <number>6</number>
+                       </property>
+                       <property name="bottomMargin">
+                        <number>6</number>
+                       </property>
+                       <item>
+                        <widget class="QTableWidget" name="inf_listeOrdreJeu">
+                         <property name="minimumSize">
+                          <size>
+                           <width>80</width>
+                           <height>208</height>
+                          </size>
+                         </property>
+                         <property name="maximumSize">
+                          <size>
+                           <width>110</width>
+                           <height>16777215</height>
+                          </size>
+                         </property>
+                         <property name="palette">
+                          <palette>
+                           <active>
+                            <colorrole role="Base">
+                             <brush brushstyle="SolidPattern">
+                              <color alpha="120">
+                               <red>255</red>
+                               <green>255</green>
+                               <blue>255</blue>
+                              </color>
+                             </brush>
+                            </colorrole>
+                           </active>
+                           <inactive>
+                            <colorrole role="Base">
+                             <brush brushstyle="SolidPattern">
+                              <color alpha="120">
+                               <red>255</red>
+                               <green>255</green>
+                               <blue>255</blue>
+                              </color>
+                             </brush>
+                            </colorrole>
+                           </inactive>
+                           <disabled>
+                            <colorrole role="Base">
+                             <brush brushstyle="SolidPattern">
+                              <color alpha="255">
+                               <red>240</red>
+                               <green>240</green>
+                               <blue>240</blue>
+                              </color>
+                             </brush>
+                            </colorrole>
+                           </disabled>
+                          </palette>
+                         </property>
+                         <property name="frameShape">
+                          <enum>QFrame::WinPanel</enum>
+                         </property>
+                         <property name="editTriggers">
+                          <set>QAbstractItemView::NoEditTriggers</set>
+                         </property>
+                         <property name="dragDropOverwriteMode">
+                          <bool>false</bool>
+                         </property>
+                         <property name="alternatingRowColors">
+                          <bool>false</bool>
+                         </property>
+                         <property name="selectionMode">
+                          <enum>QAbstractItemView::SingleSelection</enum>
+                         </property>
+                         <property name="selectionBehavior">
+                          <enum>QAbstractItemView::SelectItems</enum>
+                         </property>
+                         <property name="textElideMode">
+                          <enum>Qt::ElideMiddle</enum>
+                         </property>
+                         <property name="sortingEnabled">
+                          <bool>true</bool>
+                         </property>
+                         <property name="cornerButtonEnabled">
+                          <bool>false</bool>
+                         </property>
+                         <attribute name="horizontalHeaderVisible">
+                          <bool>false</bool>
+                         </attribute>
+                         <attribute name="horizontalHeaderDefaultSectionSize">
+                          <number>100</number>
+                         </attribute>
+                         <attribute name="verticalHeaderVisible">
+                          <bool>false</bool>
+                         </attribute>
+                         <column>
+                          <property name="text">
+                           <string>num</string>
+                          </property>
+                         </column>
+                         <column>
+                          <property name="text">
+                           <string>nom</string>
+                          </property>
+                         </column>
+                         <column>
+                          <property name="text">
+                           <string>enCours</string>
+                          </property>
+                         </column>
+                         <column>
+                          <property name="text">
+                           <string>ordre</string>
+                          </property>
+                         </column>
+                        </widget>
+                       </item>
+                       <item>
+                        <widget class="QToolButton" name="cbt_afficherGestion">
+                         <property name="minimumSize">
+                          <size>
+                           <width>80</width>
+                           <height>38</height>
+                          </size>
+                         </property>
+                         <property name="maximumSize">
+                          <size>
+                           <width>110</width>
+                           <height>38</height>
+                          </size>
+                         </property>
+                         <property name="toolTip">
+                          <string>Afficher le tableau de gestion du combat (MJ)</string>
+                         </property>
+                         <property name="text">
+                          <string/>
+                         </property>
+                         <property name="icon">
+                          <iconset resource="ressource.qrc">
+                           <normaloff>:/interface/32/ressource/tableau_32.png</normaloff>:/interface/32/ressource/tableau_32.png</iconset>
+                         </property>
+                         <property name="iconSize">
+                          <size>
+                           <width>24</width>
+                           <height>24</height>
+                          </size>
+                         </property>
+                        </widget>
+                       </item>
+                       <item>
+                        <widget class="QFrame" name="inf_bas">
+                         <property name="minimumSize">
+                          <size>
+                           <width>90</width>
+                           <height>200</height>
+                          </size>
+                         </property>
+                         <property name="maximumSize">
+                          <size>
+                           <width>120</width>
+                           <height>200</height>
+                          </size>
+                         </property>
+                         <property name="frameShape">
+                          <enum>QFrame::StyledPanel</enum>
+                         </property>
+                         <property name="frameShadow">
+                          <enum>QFrame::Raised</enum>
+                         </property>
+                         <widget class="DmFrameInf_Combattant" name="inf_boitePion">
+                          <property name="geometry">
+                           <rect>
+                            <x>0</x>
+                            <y>0</y>
+                            <width>110</width>
+                            <height>65</height>
+                           </rect>
+                          </property>
+                          <property name="minimumSize">
+                           <size>
+                            <width>80</width>
+                            <height>65</height>
+                           </size>
+                          </property>
+                          <property name="maximumSize">
+                           <size>
+                            <width>110</width>
+                            <height>16777215</height>
+                           </size>
+                          </property>
+                          <property name="title">
+                           <string/>
+                          </property>
+                          <widget class="DmLabel" name="inf_pionSante">
+                           <property name="geometry">
+                            <rect>
+                             <x>50</x>
+                             <y>20</y>
+                             <width>51</width>
+                             <height>21</height>
+                            </rect>
+                           </property>
+                           <property name="text">
+                            <string>sante</string>
+                           </property>
+                           <property name="margin">
+                            <number>1</number>
+                           </property>
+                           <property name="indent">
+                            <number>-1</number>
+                           </property>
+                          </widget>
+                          <widget class="DmLabel" name="inf_pionImage">
+                           <property name="geometry">
+                            <rect>
+                             <x>10</x>
+                             <y>20</y>
+                             <width>31</width>
+                             <height>31</height>
+                            </rect>
+                           </property>
+                           <property name="frameShape">
+                            <enum>QFrame::StyledPanel</enum>
+                           </property>
+                           <property name="text">
+                            <string/>
+                           </property>
+                          </widget>
+                          <widget class="DmLabel" name="inf_pionEffet">
+                           <property name="geometry">
+                            <rect>
+                             <x>50</x>
+                             <y>40</y>
+                             <width>21</width>
+                             <height>20</height>
+                            </rect>
+                           </property>
+                           <property name="toolTip">
+                            <string>Evanoui</string>
+                           </property>
+                           <property name="text">
+                            <string/>
+                           </property>
+                           <property name="pixmap">
+                            <pixmap>../../../../../Users/olivier.massot/.designer/backup/img/etatEtourdi.png</pixmap>
+                           </property>
+                           <property name="scaledContents">
+                            <bool>false</bool>
+                           </property>
+                          </widget>
+                          <widget class="DmLabel" name="inf_pionNom">
+                           <property name="geometry">
+                            <rect>
+                             <x>10</x>
+                             <y>0</y>
+                             <width>91</width>
+                             <height>21</height>
+                            </rect>
+                           </property>
+                           <property name="text">
+                            <string>nom</string>
+                           </property>
+                           <property name="margin">
+                            <number>1</number>
+                           </property>
+                           <property name="indent">
+                            <number>-1</number>
+                           </property>
+                          </widget>
+                         </widget>
+                         <widget class="DmFrameInf_Decor" name="inf_boiteDecor">
+                          <property name="enabled">
+                           <bool>true</bool>
+                          </property>
+                          <property name="geometry">
+                           <rect>
+                            <x>0</x>
+                            <y>70</y>
+                            <width>110</width>
+                            <height>61</height>
+                           </rect>
+                          </property>
+                          <property name="minimumSize">
+                           <size>
+                            <width>80</width>
+                            <height>61</height>
+                           </size>
+                          </property>
+                          <property name="maximumSize">
+                           <size>
+                            <width>110</width>
+                            <height>16777215</height>
+                           </size>
+                          </property>
+                          <property name="title">
+                           <string/>
+                          </property>
+                          <widget class="DmLabel" name="inf_decorNom">
+                           <property name="geometry">
+                            <rect>
+                             <x>10</x>
+                             <y>0</y>
+                             <width>91</width>
+                             <height>21</height>
+                            </rect>
+                           </property>
+                           <property name="text">
+                            <string>nom</string>
+                           </property>
+                          </widget>
+                          <widget class="DmLabel" name="inf_decorImage">
+                           <property name="geometry">
+                            <rect>
+                             <x>10</x>
+                             <y>20</y>
+                             <width>31</width>
+                             <height>31</height>
+                            </rect>
+                           </property>
+                           <property name="frameShape">
+                            <enum>QFrame::StyledPanel</enum>
+                           </property>
+                           <property name="text">
+                            <string/>
+                           </property>
+                          </widget>
+                          <widget class="DmLabel" name="inf_decorEffet">
+                           <property name="geometry">
+                            <rect>
+                             <x>50</x>
+                             <y>20</y>
+                             <width>21</width>
+                             <height>21</height>
+                            </rect>
+                           </property>
+                           <property name="text">
+                            <string/>
+                           </property>
+                           <property name="pixmap">
+                            <pixmap resource="ressource.qrc">:/interface/16/ressource/feu_16.png</pixmap>
+                           </property>
+                          </widget>
+                          <widget class="DmLabel" name="inf_decorDetruit">
+                           <property name="geometry">
+                            <rect>
+                             <x>50</x>
+                             <y>40</y>
+                             <width>21</width>
+                             <height>21</height>
+                            </rect>
+                           </property>
+                           <property name="text">
+                            <string/>
+                           </property>
+                           <property name="pixmap">
+                            <pixmap resource="ressource.qrc">:/interface/16/ressource/brise_16.png</pixmap>
+                           </property>
+                          </widget>
+                          <widget class="DmLabel" name="inf_decorVerrouille">
+                           <property name="geometry">
+                            <rect>
+                             <x>70</x>
+                             <y>20</y>
+                             <width>21</width>
+                             <height>21</height>
+                            </rect>
+                           </property>
+                           <property name="text">
+                            <string/>
+                           </property>
+                           <property name="pixmap">
+                            <pixmap resource="ressource.qrc">:/interface/16/ressource/verrou_ferme_16.png</pixmap>
+                           </property>
+                          </widget>
+                         </widget>
+                         <widget class="DmFrameInf_Case" name="inf_boiteCase">
+                          <property name="geometry">
+                           <rect>
+                            <x>0</x>
+                            <y>136</y>
+                            <width>110</width>
+                            <height>61</height>
+                           </rect>
+                          </property>
+                          <property name="minimumSize">
+                           <size>
+                            <width>80</width>
+                            <height>61</height>
+                           </size>
+                          </property>
+                          <property name="maximumSize">
+                           <size>
+                            <width>110</width>
+                            <height>16777215</height>
+                           </size>
+                          </property>
+                          <property name="title">
+                           <string/>
+                          </property>
+                          <widget class="QLabel" name="infoPionEnCours_depRestant_2">
+                           <property name="geometry">
+                            <rect>
+                             <x>10</x>
+                             <y>120</y>
+                             <width>71</width>
+                             <height>21</height>
+                            </rect>
+                           </property>
+                           <property name="text">
+                            <string>Dep.: 0 </string>
+                           </property>
+                           <property name="margin">
+                            <number>1</number>
+                           </property>
+                          </widget>
+                          <widget class="QLabel" name="infoPionEnCours_aJoue_2">
+                           <property name="geometry">
+                            <rect>
+                             <x>10</x>
+                             <y>140</y>
+                             <width>61</width>
+                             <height>21</height>
+                            </rect>
+                           </property>
+                           <property name="text">
+                            <string>A joué: Non</string>
+                           </property>
+                           <property name="margin">
+                            <number>1</number>
+                           </property>
+                          </widget>
+                          <widget class="QLabel" name="infoPionEnCours_endormi_2">
+                           <property name="geometry">
+                            <rect>
+                             <x>0</x>
+                             <y>180</y>
+                             <width>21</width>
+                             <height>21</height>
+                            </rect>
+                           </property>
+                           <property name="toolTip">
+                            <string>Endormi</string>
+                           </property>
+                           <property name="text">
+                            <string>end</string>
+                           </property>
+                          </widget>
+                          <widget class="QLabel" name="infoPionEnCours_paralyse_2">
+                           <property name="geometry">
+                            <rect>
+                             <x>20</x>
+                             <y>180</y>
+                             <width>21</width>
+                             <height>21</height>
+                            </rect>
+                           </property>
+                           <property name="toolTip">
+                            <string>Paralysé</string>
+                           </property>
+                           <property name="text">
+                            <string>par</string>
+                           </property>
+                          </widget>
+                          <widget class="QLabel" name="infoPionEnCours_entrave_2">
+                           <property name="geometry">
+                            <rect>
+                             <x>40</x>
+                             <y>180</y>
+                             <width>21</width>
+                             <height>21</height>
+                            </rect>
+                           </property>
+                           <property name="toolTip">
+                            <string>Entravé</string>
+                           </property>
+                           <property name="text">
+                            <string>ent</string>
+                           </property>
+                          </widget>
+                          <widget class="QLabel" name="infoPionEnCours_mort_2">
+                           <property name="geometry">
+                            <rect>
+                             <x>60</x>
+                             <y>180</y>
+                             <width>21</width>
+                             <height>21</height>
+                            </rect>
+                           </property>
+                           <property name="toolTip">
+                            <string>Mort</string>
+                           </property>
+                           <property name="text">
+                            <string>mrt</string>
+                           </property>
+                          </widget>
+                          <widget class="QLabel" name="infoPionEnCours_evanoui_2">
+                           <property name="geometry">
+                            <rect>
+                             <x>0</x>
+                             <y>160</y>
+                             <width>21</width>
+                             <height>21</height>
+                            </rect>
+                           </property>
+                           <property name="toolTip">
+                            <string>Evanoui</string>
+                           </property>
+                           <property name="text">
+                            <string>evn</string>
+                           </property>
+                          </widget>
+                          <widget class="QLabel" name="infoPionEnCours_brule_2">
+                           <property name="geometry">
+                            <rect>
+                             <x>20</x>
+                             <y>160</y>
+                             <width>21</width>
+                             <height>21</height>
+                            </rect>
+                           </property>
+                           <property name="toolTip">
+                            <string>Brûle</string>
+                           </property>
+                           <property name="text">
+                            <string>bru</string>
+                           </property>
+                          </widget>
+                          <widget class="QLabel" name="infoPionEnCours_mouille_2">
+                           <property name="geometry">
+                            <rect>
+                             <x>40</x>
+                             <y>160</y>
+                             <width>21</width>
+                             <height>21</height>
+                            </rect>
+                           </property>
+                           <property name="toolTip">
+                            <string>Mouillé</string>
+                           </property>
+                           <property name="text">
+                            <string>mou</string>
+                           </property>
+                          </widget>
+                          <widget class="QLabel" name="infoPionEnCours_vol_2">
+                           <property name="geometry">
+                            <rect>
+                             <x>60</x>
+                             <y>160</y>
+                             <width>21</width>
+                             <height>21</height>
+                            </rect>
+                           </property>
+                           <property name="toolTip">
+                            <string>En Vol</string>
+                           </property>
+                           <property name="text">
+                            <string>vol</string>
+                           </property>
+                          </widget>
+                          <widget class="DmLabel" name="inf_caseTerrain">
+                           <property name="geometry">
+                            <rect>
+                             <x>10</x>
+                             <y>0</y>
+                             <width>71</width>
+                             <height>21</height>
+                            </rect>
+                           </property>
+                           <property name="text">
+                            <string>terrain</string>
+                           </property>
+                           <property name="margin">
+                            <number>1</number>
+                           </property>
+                           <property name="indent">
+                            <number>-1</number>
+                           </property>
+                          </widget>
+                          <widget class="DmLabel" name="inf_caseCoord">
+                           <property name="geometry">
+                            <rect>
+                             <x>10</x>
+                             <y>20</y>
+                             <width>91</width>
+                             <height>21</height>
+                            </rect>
+                           </property>
+                           <property name="text">
+                            <string>coord</string>
+                           </property>
+                           <property name="margin">
+                            <number>1</number>
+                           </property>
+                           <property name="indent">
+                            <number>-1</number>
+                           </property>
+                          </widget>
+                          <widget class="DmLabel" name="inf_caseEffet">
+                           <property name="geometry">
+                            <rect>
+                             <x>60</x>
+                             <y>0</y>
+                             <width>21</width>
+                             <height>21</height>
+                            </rect>
+                           </property>
+                           <property name="text">
+                            <string/>
+                           </property>
+                           <property name="pixmap">
+                            <pixmap>../../../../../Users/olivier.massot/.designer/backup/img/etatFeu.png</pixmap>
+                           </property>
+                           <property name="scaledContents">
+                            <bool>true</bool>
+                           </property>
+                           <property name="margin">
+                            <number>1</number>
+                           </property>
+                           <property name="indent">
+                            <number>-1</number>
+                           </property>
+                          </widget>
+                          <widget class="DmLabel" name="inf_caseAltitude">
+                           <property name="geometry">
+                            <rect>
+                             <x>10</x>
+                             <y>40</y>
+                             <width>91</width>
+                             <height>21</height>
+                            </rect>
+                           </property>
+                           <property name="text">
+                            <string>alt</string>
+                           </property>
+                           <property name="margin">
+                            <number>1</number>
+                           </property>
+                           <property name="indent">
+                            <number>-1</number>
+                           </property>
+                          </widget>
+                          <widget class="DmLabel" name="inf_caseEffet_2">
+                           <property name="geometry">
+                            <rect>
+                             <x>90</x>
+                             <y>0</y>
+                             <width>21</width>
+                             <height>21</height>
+                            </rect>
+                           </property>
+                           <property name="text">
+                            <string/>
+                           </property>
+                           <property name="margin">
+                            <number>1</number>
+                           </property>
+                           <property name="indent">
+                            <number>-1</number>
+                           </property>
+                          </widget>
+                         </widget>
+                        </widget>
+                       </item>
+                      </layout>
+                     </widget>
+                    </item>
+                   </layout>
+                  </widget>
+                 </widget>
+                </item>
+                <item>
+                 <layout class="QVBoxLayout" name="layoutCombatCentre" stretch="0,0">
+                  <property name="spacing">
+                   <number>0</number>
+                  </property>
+                  <item>
+                   <widget class="DmGraphicsView" name="cbt_vue">
+                    <property name="minimumSize">
+                     <size>
+                      <width>100</width>
+                      <height>0</height>
+                     </size>
+                    </property>
+                    <property name="acceptDrops">
+                     <bool>true</bool>
+                    </property>
+                    <property name="verticalScrollBarPolicy">
+                     <enum>Qt::ScrollBarAsNeeded</enum>
+                    </property>
+                    <property name="horizontalScrollBarPolicy">
+                     <enum>Qt::ScrollBarAsNeeded</enum>
+                    </property>
+                    <property name="renderHints">
+                     <set>QPainter::Antialiasing|QPainter::HighQualityAntialiasing|QPainter::TextAntialiasing</set>
+                    </property>
+                    <property name="dragMode">
+                     <enum>QGraphicsView::NoDrag</enum>
+                    </property>
+                    <property name="transformationAnchor">
+                     <enum>QGraphicsView::NoAnchor</enum>
+                    </property>
+                    <property name="resizeAnchor">
+                     <enum>QGraphicsView::NoAnchor</enum>
+                    </property>
+                    <property name="viewportUpdateMode">
+                     <enum>QGraphicsView::MinimalViewportUpdate</enum>
+                    </property>
+                   </widget>
+                  </item>
+                  <item>
+                   <widget class="QStackedWidget" name="cbt_panneauBas">
+                    <property name="minimumSize">
+                     <size>
+                      <width>0</width>
+                      <height>75</height>
+                     </size>
+                    </property>
+                    <property name="maximumSize">
+                     <size>
+                      <width>16777215</width>
+                      <height>75</height>
+                     </size>
+                    </property>
+                    <property name="currentIndex">
+                     <number>1</number>
+                    </property>
+                    <widget class="QWidget" name="page"/>
+                    <widget class="QWidget" name="page_2">
+                     <layout class="QVBoxLayout" name="verticalLayout_13">
+                      <property name="spacing">
+                       <number>0</number>
+                      </property>
+                      <property name="leftMargin">
+                       <number>0</number>
+                      </property>
+                      <property name="topMargin">
+                       <number>0</number>
+                      </property>
+                      <property name="rightMargin">
+                       <number>0</number>
+                      </property>
+                      <property name="bottomMargin">
+                       <number>0</number>
+                      </property>
+                      <item>
+                       <widget class="QPushButton" name="histo_agrandir">
+                        <property name="minimumSize">
+                         <size>
+                          <width>0</width>
+                          <height>12</height>
+                         </size>
+                        </property>
+                        <property name="maximumSize">
+                         <size>
+                          <width>16777215</width>
+                          <height>12</height>
+                         </size>
+                        </property>
+                        <property name="text">
+                         <string/>
+                        </property>
+                        <property name="icon">
+                         <iconset resource="ressource.qrc">
+                          <normaloff>:/interface/16/ressource/flecheHaut_16.png</normaloff>:/interface/16/ressource/flecheHaut_16.png</iconset>
+                        </property>
+                        <property name="checkable">
+                         <bool>false</bool>
+                        </property>
+                        <property name="checked">
+                         <bool>false</bool>
+                        </property>
+                        <property name="autoDefault">
+                         <bool>false</bool>
+                        </property>
+                        <property name="default">
+                         <bool>false</bool>
+                        </property>
+                        <property name="flat">
+                         <bool>true</bool>
+                        </property>
+                       </widget>
+                      </item>
+                      <item>
+                       <widget class="QListWidget" name="histo_liste">
+                        <property name="minimumSize">
+                         <size>
+                          <width>0</width>
+                          <height>63</height>
+                         </size>
+                        </property>
+                        <property name="maximumSize">
+                         <size>
+                          <width>16777215</width>
+                          <height>63</height>
+                         </size>
+                        </property>
+                        <property name="palette">
+                         <palette>
+                          <active>
+                           <colorrole role="Base">
+                            <brush brushstyle="SolidPattern">
+                             <color alpha="255">
+                              <red>204</red>
+                              <green>204</green>
+                              <blue>204</blue>
+                             </color>
+                            </brush>
+                           </colorrole>
+                          </active>
+                          <inactive>
+                           <colorrole role="Base">
+                            <brush brushstyle="SolidPattern">
+                             <color alpha="255">
+                              <red>204</red>
+                              <green>204</green>
+                              <blue>204</blue>
+                             </color>
+                            </brush>
+                           </colorrole>
+                          </inactive>
+                          <disabled>
+                           <colorrole role="Base">
+                            <brush brushstyle="SolidPattern">
+                             <color alpha="255">
+                              <red>240</red>
+                              <green>240</green>
+                              <blue>240</blue>
+                             </color>
+                            </brush>
+                           </colorrole>
+                          </disabled>
+                         </palette>
+                        </property>
+                        <property name="font">
+                         <font>
+                          <pointsize>8</pointsize>
+                         </font>
+                        </property>
+                        <property name="horizontalScrollBarPolicy">
+                         <enum>Qt::ScrollBarAlwaysOff</enum>
+                        </property>
+                        <property name="editTriggers">
+                         <set>QAbstractItemView::NoEditTriggers</set>
+                        </property>
+                        <property name="selectionMode">
+                         <enum>QAbstractItemView::NoSelection</enum>
+                        </property>
+                        <property name="uniformItemSizes">
+                         <bool>false</bool>
+                        </property>
+                        <property name="wordWrap">
+                         <bool>true</bool>
+                        </property>
+                        <item>
+                         <property name="text">
+                          <string>Début du tour 1</string>
+                         </property>
+                        </item>
+                        <item>
+                         <property name="text">
+                          <string>Tour 1 - Orc 1 attaque Soldat 2 avec une boule de feu</string>
+                         </property>
+                        </item>
+                        <item>
+                         <property name="text">
+                          <string>Tour 1 -[MJ] Orc 1 jette 10D6 &gt; Il obtient 51</string>
+                         </property>
+                        </item>
+                        <item>
+                         <property name="text">
+                          <string>Début du tour 2</string>
+                         </property>
+                        </item>
+                       </widget>
+                      </item>
+                     </layout>
+                    </widget>
+                   </widget>
+                  </item>
+                 </layout>
+                </item>
+                <item>
+                 <layout class="QVBoxLayout" name="layoutV_droite">
+                  <property name="spacing">
+                   <number>0</number>
+                  </property>
+                  <property name="sizeConstraint">
+                   <enum>QLayout::SetDefaultConstraint</enum>
+                  </property>
+                  <property name="leftMargin">
+                   <number>3</number>
+                  </property>
+                  <property name="rightMargin">
+                   <number>3</number>
+                  </property>
+                  <item>
+                   <widget class="QStackedWidget" name="cbt_panneauDroite">
+                    <property name="minimumSize">
+                     <size>
+                      <width>170</width>
+                      <height>0</height>
+                     </size>
+                    </property>
+                    <property name="maximumSize">
+                     <size>
+                      <width>170</width>
+                      <height>16777215</height>
+                     </size>
+                    </property>
+                    <property name="currentIndex">
+                     <number>1</number>
+                    </property>
+                    <widget class="QWidget" name="cbt_panneauDroite0"/>
+                    <widget class="QWidget" name="cbt_panneauDroite1">
+                     <layout class="QHBoxLayout" name="horizontalLayout_5">
+                      <property name="spacing">
+                       <number>0</number>
+                      </property>
+                      <property name="leftMargin">
+                       <number>0</number>
+                      </property>
+                      <property name="topMargin">
+                       <number>0</number>
+                      </property>
+                      <property name="rightMargin">
+                       <number>0</number>
+                      </property>
+                      <property name="bottomMargin">
+                       <number>0</number>
+                      </property>
+                      <item>
+                       <widget class="QFrame" name="cp_panneau">
+                        <property name="minimumSize">
+                         <size>
+                          <width>170</width>
+                          <height>0</height>
+                         </size>
+                        </property>
+                        <property name="maximumSize">
+                         <size>
+                          <width>170</width>
+                          <height>16777215</height>
+                         </size>
+                        </property>
+                        <property name="autoFillBackground">
+                         <bool>true</bool>
+                        </property>
+                        <property name="frameShape">
+                         <enum>QFrame::StyledPanel</enum>
+                        </property>
+                        <property name="frameShadow">
+                         <enum>QFrame::Raised</enum>
+                        </property>
+                        <layout class="QVBoxLayout" name="verticalLayout_3">
+                         <property name="spacing">
+                          <number>5</number>
+                         </property>
+                         <property name="leftMargin">
+                          <number>5</number>
+                         </property>
+                         <property name="topMargin">
+                          <number>5</number>
+                         </property>
+                         <property name="rightMargin">
+                          <number>5</number>
+                         </property>
+                         <property name="bottomMargin">
+                          <number>5</number>
+                         </property>
+                         <item>
+                          <widget class="QFrame" name="cp_boiteCouleurs">
+                           <property name="minimumSize">
+                            <size>
+                             <width>152</width>
+                             <height>60</height>
+                            </size>
+                           </property>
+                           <property name="maximumSize">
+                            <size>
+                             <width>152</width>
+                             <height>60</height>
+                            </size>
+                           </property>
+                           <property name="frameShape">
+                            <enum>QFrame::StyledPanel</enum>
+                           </property>
+                           <property name="frameShadow">
+                            <enum>QFrame::Raised</enum>
+                           </property>
+                           <widget class="QToolButton" name="cp_couleur2">
+                            <property name="geometry">
+                             <rect>
+                              <x>16</x>
+                              <y>0</y>
+                              <width>16</width>
+                              <height>16</height>
+                             </rect>
+                            </property>
+                            <property name="text">
+                             <string/>
+                            </property>
+                           </widget>
+                           <widget class="QToolButton" name="cp_couleur14">
+                            <property name="geometry">
+                             <rect>
+                              <x>64</x>
+                              <y>17</y>
+                              <width>16</width>
+                              <height>16</height>
+                             </rect>
+                            </property>
+                            <property name="text">
+                             <string/>
+                            </property>
+                           </widget>
+                           <widget class="QToolButton" name="cp_couleur7">
+                            <property name="geometry">
+                             <rect>
+                              <x>96</x>
+                              <y>0</y>
+                              <width>16</width>
+                              <height>16</height>
+                             </rect>
+                            </property>
+                            <property name="text">
+                             <string/>
+                            </property>
+                           </widget>
+                           <widget class="QToolButton" name="cp_couleur12">
+                            <property name="geometry">
+                             <rect>
+                              <x>32</x>
+                              <y>17</y>
+                              <width>16</width>
+                              <height>16</height>
+                             </rect>
+                            </property>
+                            <property name="text">
+                             <string/>
+                            </property>
+                           </widget>
+                           <widget class="QToolButton" name="cp_couleur5">
+                            <property name="geometry">
+                             <rect>
+                              <x>64</x>
+                              <y>0</y>
+                              <width>16</width>
+                              <height>16</height>
+                             </rect>
+                            </property>
+                            <property name="text">
+                             <string/>
+                            </property>
+                           </widget>
+                           <widget class="QToolButton" name="cp_couleur10">
+                            <property name="geometry">
+                             <rect>
+                              <x>0</x>
+                              <y>17</y>
+                              <width>16</width>
+                              <height>16</height>
+                             </rect>
+                            </property>
+                            <property name="text">
+                             <string/>
+                            </property>
+                           </widget>
+                           <widget class="QToolButton" name="cp_couleur3">
+                            <property name="geometry">
+                             <rect>
+                              <x>32</x>
+                              <y>0</y>
+                              <width>16</width>
+                              <height>16</height>
+                             </rect>
+                            </property>
+                            <property name="text">
+                             <string/>
+                            </property>
+                           </widget>
+                           <widget class="QToolButton" name="cp_couleur15">
+                            <property name="geometry">
+                             <rect>
+                              <x>80</x>
+                              <y>17</y>
+                              <width>16</width>
+                              <height>16</height>
+                             </rect>
+                            </property>
+                            <property name="text">
+                             <string/>
+                            </property>
+                           </widget>
+                           <widget class="QToolButton" name="cp_couleur6">
+                            <property name="geometry">
+                             <rect>
+                              <x>80</x>
+                              <y>0</y>
+                              <width>16</width>
+                              <height>16</height>
+                             </rect>
+                            </property>
+                            <property name="text">
+                             <string/>
+                            </property>
+                           </widget>
+                           <widget class="QToolButton" name="cp_couleur1">
+                            <property name="geometry">
+                             <rect>
+                              <x>0</x>
+                              <y>0</y>
+                              <width>16</width>
+                              <height>16</height>
+                             </rect>
+                            </property>
+                            <property name="text">
+                             <string/>
+                            </property>
+                           </widget>
+                           <widget class="QToolButton" name="cp_couleur13">
+                            <property name="geometry">
+                             <rect>
+                              <x>48</x>
+                              <y>17</y>
+                              <width>16</width>
+                              <height>16</height>
+                             </rect>
+                            </property>
+                            <property name="text">
+                             <string/>
+                            </property>
+                           </widget>
+                           <widget class="QToolButton" name="cp_couleur4">
+                            <property name="geometry">
+                             <rect>
+                              <x>48</x>
+                              <y>0</y>
+                              <width>16</width>
+                              <height>16</height>
+                             </rect>
+                            </property>
+                            <property name="text">
+                             <string/>
+                            </property>
+                           </widget>
+                           <widget class="QToolButton" name="cp_couleur16">
+                            <property name="geometry">
+                             <rect>
+                              <x>96</x>
+                              <y>17</y>
+                              <width>16</width>
+                              <height>16</height>
+                             </rect>
+                            </property>
+                            <property name="text">
+                             <string/>
+                            </property>
+                           </widget>
+                           <widget class="QToolButton" name="cp_couleur11">
+                            <property name="geometry">
+                             <rect>
+                              <x>16</x>
+                              <y>17</y>
+                              <width>16</width>
+                              <height>16</height>
+                             </rect>
+                            </property>
+                            <property name="text">
+                             <string/>
+                            </property>
+                           </widget>
+                           <widget class="QToolButton" name="cp_pipetteCouleur">
+                            <property name="geometry">
+                             <rect>
+                              <x>40</x>
+                              <y>38</y>
+                              <width>31</width>
+                              <height>21</height>
+                             </rect>
+                            </property>
+                            <property name="toolTip">
+                             <string>Ligne</string>
+                            </property>
+                            <property name="text">
+                             <string>...</string>
+                            </property>
+                            <property name="icon">
+                             <iconset resource="ressource.qrc">
+                              <normaloff>:/interface/16/ressource/seringue_16.png</normaloff>:/interface/16/ressource/seringue_16.png</iconset>
+                            </property>
+                           </widget>
+                           <widget class="QPushButton" name="cp_dialogueCouleurs">
+                            <property name="geometry">
+                             <rect>
+                              <x>81</x>
+                              <y>38</y>
+                              <width>31</width>
+                              <height>21</height>
+                             </rect>
+                            </property>
+                            <property name="contextMenuPolicy">
+                             <enum>Qt::DefaultContextMenu</enum>
+                            </property>
+                            <property name="toolTip">
+                             <string>Autres couleurs</string>
+                            </property>
+                            <property name="text">
+                             <string/>
+                            </property>
+                            <property name="icon">
+                             <iconset resource="ressource.qrc">
+                              <normaloff>:/interface/16/ressource/palette_16.png</normaloff>:/interface/16/ressource/palette_16.png</iconset>
+                            </property>
+                           </widget>
+                           <widget class="QToolButton" name="cp_couleur8">
+                            <property name="geometry">
+                             <rect>
+                              <x>112</x>
+                              <y>0</y>
+                              <width>16</width>
+                              <height>16</height>
+                             </rect>
+                            </property>
+                            <property name="text">
+                             <string/>
+                            </property>
+                           </widget>
+                           <widget class="QToolButton" name="cp_couleur9">
+                            <property name="geometry">
+                             <rect>
+                              <x>128</x>
+                              <y>0</y>
+                              <width>16</width>
+                              <height>16</height>
+                             </rect>
+                            </property>
+                            <property name="text">
+                             <string/>
+                            </property>
+                           </widget>
+                           <widget class="QToolButton" name="cp_couleur17">
+                            <property name="geometry">
+                             <rect>
+                              <x>112</x>
+                              <y>17</y>
+                              <width>16</width>
+                              <height>16</height>
+                             </rect>
+                            </property>
+                            <property name="text">
+                             <string/>
+                            </property>
+                           </widget>
+                           <widget class="QToolButton" name="cp_couleur18">
+                            <property name="geometry">
+                             <rect>
+                              <x>128</x>
+                              <y>17</y>
+                              <width>16</width>
+                              <height>16</height>
+                             </rect>
+                            </property>
+                            <property name="text">
+                             <string/>
+                            </property>
+                           </widget>
+                          </widget>
+                         </item>
+                         <item alignment="Qt::AlignHCenter">
+                          <widget class="QFrame" name="cP_boiteFormes">
+                           <property name="minimumSize">
+                            <size>
+                             <width>152</width>
+                             <height>80</height>
+                            </size>
+                           </property>
+                           <property name="maximumSize">
+                            <size>
+                             <width>120</width>
+                             <height>80</height>
+                            </size>
+                           </property>
+                           <property name="frameShape">
+                            <enum>QFrame::StyledPanel</enum>
+                           </property>
+                           <property name="frameShadow">
+                            <enum>QFrame::Raised</enum>
+                           </property>
+                           <widget class="QToolButton" name="cp_formeRectPlein">
+                            <property name="geometry">
+                             <rect>
+                              <x>100</x>
+                              <y>25</y>
+                              <width>50</width>
+                              <height>25</height>
+                             </rect>
+                            </property>
+                            <property name="minimumSize">
+                             <size>
+                              <width>50</width>
+                              <height>25</height>
+                             </size>
+                            </property>
+                            <property name="maximumSize">
+                             <size>
+                              <width>50</width>
+                              <height>25</height>
+                             </size>
+                            </property>
+                            <property name="toolTip">
+                             <string>Rectangle (plein)</string>
+                            </property>
+                            <property name="statusTip">
+                             <string/>
+                            </property>
+                            <property name="text">
+                             <string>...</string>
+                            </property>
+                            <property name="icon">
+                             <iconset resource="ressource.qrc">
+                              <normaloff>:/interface/16/ressource/rectPlein_16.png</normaloff>:/interface/16/ressource/rectPlein_16.png</iconset>
+                            </property>
+                            <property name="iconSize">
+                             <size>
+                              <width>18</width>
+                              <height>18</height>
+                             </size>
+                            </property>
+                           </widget>
+                           <widget class="QToolButton" name="cp_formeRectVide">
+                            <property name="geometry">
+                             <rect>
+                              <x>50</x>
+                              <y>25</y>
+                              <width>50</width>
+                              <height>25</height>
+                             </rect>
+                            </property>
+                            <property name="minimumSize">
+                             <size>
+                              <width>50</width>
+                              <height>25</height>
+                             </size>
+                            </property>
+                            <property name="maximumSize">
+                             <size>
+                              <width>50</width>
+                              <height>25</height>
+                             </size>
+                            </property>
+                            <property name="toolTip">
+                             <string>Rectangle (vide)</string>
+                            </property>
+                            <property name="statusTip">
+                             <string/>
+                            </property>
+                            <property name="text">
+                             <string>...</string>
+                            </property>
+                            <property name="icon">
+                             <iconset resource="ressource.qrc">
+                              <normaloff>:/interface/16/ressource/rectVide_16.png</normaloff>:/interface/16/ressource/rectVide_16.png</iconset>
+                            </property>
+                            <property name="iconSize">
+                             <size>
+                              <width>18</width>
+                              <height>18</height>
+                             </size>
+                            </property>
+                           </widget>
+                           <widget class="DmLabel" name="cp_valeurEpaisseurPinceau">
+                            <property name="geometry">
+                             <rect>
+                              <x>14</x>
+                              <y>48</y>
+                              <width>16</width>
+                              <height>31</height>
+                             </rect>
+                            </property>
+                            <property name="minimumSize">
+                             <size>
+                              <width>16</width>
+                              <height>31</height>
+                             </size>
+                            </property>
+                            <property name="maximumSize">
+                             <size>
+                              <width>16</width>
+                              <height>31</height>
+                             </size>
+                            </property>
+                            <property name="font">
+                             <font>
+                              <pointsize>9</pointsize>
+                              <weight>75</weight>
+                              <bold>true</bold>
+                             </font>
+                            </property>
+                            <property name="text">
+                             <string>1</string>
+                            </property>
+                            <property name="alignment">
+                             <set>Qt::AlignCenter</set>
+                            </property>
+                           </widget>
+                           <widget class="QToolButton" name="cp_formeLigneOrientee">
+                            <property name="geometry">
+                             <rect>
+                              <x>100</x>
+                              <y>0</y>
+                              <width>50</width>
+                              <height>25</height>
+                             </rect>
+                            </property>
+                            <property name="minimumSize">
+                             <size>
+                              <width>50</width>
+                              <height>25</height>
+                             </size>
+                            </property>
+                            <property name="maximumSize">
+                             <size>
+                              <width>50</width>
+                              <height>25</height>
+                             </size>
+                            </property>
+                            <property name="toolTip">
+                             <string>Frontière</string>
+                            </property>
+                            <property name="statusTip">
+                             <string/>
+                            </property>
+                            <property name="text">
+                             <string>...</string>
+                            </property>
+                            <property name="icon">
+                             <iconset resource="ressource.qrc">
+                              <normaloff>:/interface/16/ressource/ligneOrientee_16.png</normaloff>:/interface/16/ressource/ligneOrientee_16.png</iconset>
+                            </property>
+                            <property name="iconSize">
+                             <size>
+                              <width>18</width>
+                              <height>18</height>
+                             </size>
+                            </property>
+                           </widget>
+                           <widget class="QToolButton" name="cp_formeLigne">
+                            <property name="geometry">
+                             <rect>
+                              <x>50</x>
+                              <y>0</y>
+                              <width>50</width>
+                              <height>25</height>
+                             </rect>
+                            </property>
+                            <property name="minimumSize">
+                             <size>
+                              <width>50</width>
+                              <height>25</height>
+                             </size>
+                            </property>
+                            <property name="maximumSize">
+                             <size>
+                              <width>50</width>
+                              <height>25</height>
+                             </size>
+                            </property>
+                            <property name="toolTip">
+                             <string>Ligne</string>
+                            </property>
+                            <property name="text">
+                             <string>...</string>
+                            </property>
+                            <property name="icon">
+                             <iconset resource="ressource.qrc">
+                              <normaloff>:/interface/16/ressource/ligne_16.png</normaloff>:/interface/16/ressource/ligne_16.png</iconset>
+                            </property>
+                            <property name="iconSize">
+                             <size>
+                              <width>18</width>
+                              <height>18</height>
+                             </size>
+                            </property>
+                           </widget>
+                           <widget class="QToolButton" name="cp_formeSimple">
+                            <property name="geometry">
+                             <rect>
+                              <x>0</x>
+                              <y>0</y>
+                              <width>50</width>
+                              <height>25</height>
+                             </rect>
+                            </property>
+                            <property name="minimumSize">
+                             <size>
+                              <width>50</width>
+                              <height>25</height>
+                             </size>
+                            </property>
+                            <property name="maximumSize">
+                             <size>
+                              <width>50</width>
+                              <height>25</height>
+                             </size>
+                            </property>
+                            <property name="toolTip">
+                             <string>Ligne</string>
+                            </property>
+                            <property name="text">
+                             <string>...</string>
+                            </property>
+                            <property name="icon">
+                             <iconset resource="ressource.qrc">
+                              <normaloff>:/interface/16/ressource/pinceau_16.png</normaloff>:/interface/16/ressource/pinceau_16.png</iconset>
+                            </property>
+                            <property name="iconSize">
+                             <size>
+                              <width>18</width>
+                              <height>18</height>
+                             </size>
+                            </property>
+                           </widget>
+                           <widget class="QSlider" name="cp_epaisseurPinceau">
+                            <property name="geometry">
+                             <rect>
+                              <x>38</x>
+                              <y>55</y>
+                              <width>91</width>
+                              <height>20</height>
+                             </rect>
+                            </property>
+                            <property name="minimumSize">
+                             <size>
+                              <width>91</width>
+                              <height>20</height>
+                             </size>
+                            </property>
+                            <property name="maximumSize">
+                             <size>
+                              <width>91</width>
+                              <height>20</height>
+                             </size>
+                            </property>
+                            <property name="minimum">
+                             <number>1</number>
+                            </property>
+                            <property name="maximum">
+                             <number>5</number>
+                            </property>
+                            <property name="value">
+                             <number>1</number>
+                            </property>
+                            <property name="orientation">
+                             <enum>Qt::Horizontal</enum>
+                            </property>
+                           </widget>
+                           <widget class="QToolButton" name="cp_formePot">
+                            <property name="geometry">
+                             <rect>
+                              <x>0</x>
+                              <y>25</y>
+                              <width>50</width>
+                              <height>25</height>
+                             </rect>
+                            </property>
+                            <property name="minimumSize">
+                             <size>
+                              <width>50</width>
+                              <height>25</height>
+                             </size>
+                            </property>
+                            <property name="maximumSize">
+                             <size>
+                              <width>50</width>
+                              <height>25</height>
+                             </size>
+                            </property>
+                            <property name="toolTip">
+                             <string>Frontière</string>
+                            </property>
+                            <property name="statusTip">
+                             <string/>
+                            </property>
+                            <property name="text">
+                             <string>...</string>
+                            </property>
+                            <property name="icon">
+                             <iconset resource="ressource.qrc">
+                              <normaloff>:/interface/16/ressource/potPeinture_16.png</normaloff>:/interface/16/ressource/potPeinture_16.png</iconset>
+                            </property>
+                            <property name="iconSize">
+                             <size>
+                              <width>18</width>
+                              <height>18</height>
+                             </size>
+                            </property>
+                           </widget>
+                          </widget>
+                         </item>
+                         <item>
+                          <widget class="QTabWidget" name="cp_ongletsListes">
+                           <property name="minimumSize">
+                            <size>
+                             <width>154</width>
+                             <height>0</height>
+                            </size>
+                           </property>
+                           <property name="maximumSize">
+                            <size>
+                             <width>154</width>
+                             <height>16777215</height>
+                            </size>
+                           </property>
+                           <property name="palette">
+                            <palette>
+                             <active>
+                              <colorrole role="Base">
+                               <brush brushstyle="SolidPattern">
+                                <color alpha="255">
+                                 <red>248</red>
+                                 <green>248</green>
+                                 <blue>248</blue>
+                                </color>
+                               </brush>
+                              </colorrole>
+                             </active>
+                             <inactive>
+                              <colorrole role="Base">
+                               <brush brushstyle="SolidPattern">
+                                <color alpha="255">
+                                 <red>248</red>
+                                 <green>248</green>
+                                 <blue>248</blue>
+                                </color>
+                               </brush>
+                              </colorrole>
+                             </inactive>
+                             <disabled>
+                              <colorrole role="Base">
+                               <brush brushstyle="SolidPattern">
+                                <color alpha="255">
+                                 <red>240</red>
+                                 <green>240</green>
+                                 <blue>240</blue>
+                                </color>
+                               </brush>
+                              </colorrole>
+                             </disabled>
+                            </palette>
+                           </property>
+                           <property name="currentIndex">
+                            <number>2</number>
+                           </property>
+                           <widget class="QWidget" name="cp_afficherTerrains">
+                            <attribute name="icon">
+                             <iconset resource="ressource.qrc">
+                              <normaloff>:/interface/32/ressource/montagne_32.png</normaloff>:/interface/32/ressource/montagne_32.png</iconset>
+                            </attribute>
+                            <attribute name="title">
+                             <string/>
+                            </attribute>
+                            <attribute name="toolTip">
+                             <string>Afficher la liste des terrains</string>
+                            </attribute>
+                            <layout class="QVBoxLayout" name="verticalLayout_4">
+                             <property name="spacing">
+                              <number>3</number>
+                             </property>
+                             <item>
+                              <widget class="DmTableMat" name="cp_listeTerrains">
+                               <property name="minimumSize">
+                                <size>
+                                 <width>81</width>
+                                 <height>0</height>
+                                </size>
+                               </property>
+                               <property name="horizontalScrollBarPolicy">
+                                <enum>Qt::ScrollBarAlwaysOff</enum>
+                               </property>
+                               <property name="editTriggers">
+                                <set>QAbstractItemView::AnyKeyPressed|QAbstractItemView::DoubleClicked</set>
+                               </property>
+                               <property name="iconSize">
+                                <size>
+                                 <width>2</width>
+                                 <height>2</height>
+                                </size>
+                               </property>
+                               <property name="textElideMode">
+                                <enum>Qt::ElideMiddle</enum>
+                               </property>
+                               <property name="columnCount">
+                                <number>2</number>
+                               </property>
+                               <attribute name="horizontalHeaderVisible">
+                                <bool>false</bool>
+                               </attribute>
+                               <attribute name="verticalHeaderVisible">
+                                <bool>false</bool>
+                               </attribute>
+                               <column>
+                                <property name="text">
+                                 <string>code</string>
+                                </property>
+                               </column>
+                               <column>
+                                <property name="text">
+                                 <string>Terrain</string>
+                                </property>
+                                <property name="font">
+                                 <font>
+                                  <pointsize>9</pointsize>
+                                 </font>
+                                </property>
+                               </column>
+                              </widget>
+                             </item>
+                             <item>
+                              <layout class="QHBoxLayout" name="horizontalLayout_4">
+                               <property name="topMargin">
+                                <number>0</number>
+                               </property>
+                               <item>
+                                <widget class="QToolButton" name="cp_importTerrain">
+                                 <property name="text">
+                                  <string>...</string>
+                                 </property>
+                                 <property name="icon">
+                                  <iconset resource="ressource.qrc">
+                                   <normaloff>:/interface/16/ressource/import_16.png</normaloff>:/interface/16/ressource/import_16.png</iconset>
+                                 </property>
+                                </widget>
+                               </item>
+                               <item>
+                                <spacer name="horizontalSpacer_5">
+                                 <property name="orientation">
+                                  <enum>Qt::Horizontal</enum>
+                                 </property>
+                                 <property name="sizeHint" stdset="0">
+                                  <size>
+                                   <width>40</width>
+                                   <height>20</height>
+                                  </size>
+                                 </property>
+                                </spacer>
+                               </item>
+                               <item>
+                                <widget class="QToolButton" name="cp_nouveauTerrain">
+                                 <property name="text">
+                                  <string/>
+                                 </property>
+                                 <property name="icon">
+                                  <iconset resource="ressource.qrc">
+                                   <normaloff>:/interface/16/ressource/plus_16.png</normaloff>:/interface/16/ressource/plus_16.png</iconset>
+                                 </property>
+                                </widget>
+                               </item>
+                               <item>
+                                <widget class="QToolButton" name="cp_editerTerrain">
+                                 <property name="text">
+                                  <string/>
+                                 </property>
+                                 <property name="icon">
+                                  <iconset resource="ressource.qrc">
+                                   <normaloff>:/interface/16/ressource/editer_16.png</normaloff>:/interface/16/ressource/editer_16.png</iconset>
+                                 </property>
+                                </widget>
+                               </item>
+                               <item>
+                                <widget class="QToolButton" name="cp_retirerTerrain">
+                                 <property name="text">
+                                  <string>...</string>
+                                 </property>
+                                 <property name="icon">
+                                  <iconset resource="ressource.qrc">
+                                   <normaloff>:/interface/16/ressource/moins_16.png</normaloff>:/interface/16/ressource/moins_16.png</iconset>
+                                 </property>
+                                </widget>
+                               </item>
+                              </layout>
+                             </item>
+                            </layout>
+                           </widget>
+                           <widget class="QWidget" name="cp_afficherDecors">
+                            <attribute name="icon">
+                             <iconset resource="ressource.qrc">
+                              <normaloff>:/interface/32/ressource/decor_32.png</normaloff>:/interface/32/ressource/decor_32.png</iconset>
+                            </attribute>
+                            <attribute name="title">
+                             <string/>
+                            </attribute>
+                            <attribute name="toolTip">
+                             <string>Afficher la liste des décors</string>
+                            </attribute>
+                            <layout class="QVBoxLayout" name="verticalLayout_7">
+                             <property name="spacing">
+                              <number>3</number>
+                             </property>
+                             <item>
+                              <widget class="DmTableMat" name="cp_listeDecors">
+                               <property name="minimumSize">
+                                <size>
+                                 <width>81</width>
+                                 <height>0</height>
+                                </size>
+                               </property>
+                               <property name="editTriggers">
+                                <set>QAbstractItemView::AnyKeyPressed|QAbstractItemView::DoubleClicked</set>
+                               </property>
+                               <property name="iconSize">
+                                <size>
+                                 <width>2</width>
+                                 <height>2</height>
+                                </size>
+                               </property>
+                               <property name="columnCount">
+                                <number>2</number>
+                               </property>
+                               <attribute name="horizontalHeaderVisible">
+                                <bool>false</bool>
+                               </attribute>
+                               <attribute name="verticalHeaderVisible">
+                                <bool>false</bool>
+                               </attribute>
+                               <column>
+                                <property name="text">
+                                 <string>code</string>
+                                </property>
+                               </column>
+                               <column>
+                                <property name="text">
+                                 <string>Decor</string>
+                                </property>
+                                <property name="font">
+                                 <font>
+                                  <pointsize>9</pointsize>
+                                 </font>
+                                </property>
+                               </column>
+                              </widget>
+                             </item>
+                             <item>
+                              <layout class="QHBoxLayout" name="horizontalLayout_7">
+                               <property name="topMargin">
+                                <number>0</number>
+                               </property>
+                               <item>
+                                <widget class="QToolButton" name="cp_importDecor">
+                                 <property name="text">
+                                  <string>...</string>
+                                 </property>
+                                 <property name="icon">
+                                  <iconset resource="ressource.qrc">
+                                   <normaloff>:/interface/16/ressource/import_16.png</normaloff>:/interface/16/ressource/import_16.png</iconset>
+                                 </property>
+                                </widget>
+                               </item>
+                               <item>
+                                <spacer name="horizontalSpacer_6">
+                                 <property name="orientation">
+                                  <enum>Qt::Horizontal</enum>
+                                 </property>
+                                 <property name="sizeHint" stdset="0">
+                                  <size>
+                                   <width>40</width>
+                                   <height>20</height>
+                                  </size>
+                                 </property>
+                                </spacer>
+                               </item>
+                               <item>
+                                <widget class="QToolButton" name="cp_nouveauDecor">
+                                 <property name="text">
+                                  <string/>
+                                 </property>
+                                 <property name="icon">
+                                  <iconset resource="ressource.qrc">
+                                   <normaloff>:/interface/16/ressource/plus_16.png</normaloff>:/interface/16/ressource/plus_16.png</iconset>
+                                 </property>
+                                </widget>
+                               </item>
+                               <item>
+                                <widget class="QToolButton" name="cp_editerDecor">
+                                 <property name="text">
+                                  <string/>
+                                 </property>
+                                 <property name="icon">
+                                  <iconset resource="ressource.qrc">
+                                   <normaloff>:/interface/16/ressource/editer_16.png</normaloff>:/interface/16/ressource/editer_16.png</iconset>
+                                 </property>
+                                </widget>
+                               </item>
+                               <item>
+                                <widget class="QToolButton" name="cp_retirerDecor">
+                                 <property name="text">
+                                  <string/>
+                                 </property>
+                                 <property name="icon">
+                                  <iconset resource="ressource.qrc">
+                                   <normaloff>:/interface/16/ressource/moins_16.png</normaloff>:/interface/16/ressource/moins_16.png</iconset>
+                                 </property>
+                                </widget>
+                               </item>
+                              </layout>
+                             </item>
+                            </layout>
+                           </widget>
+                           <widget class="QWidget" name="cp_afficherCreatures">
+                            <attribute name="icon">
+                             <iconset resource="ressource.qrc">
+                              <normaloff>:/interface/32/ressource/creature_32.png</normaloff>:/interface/32/ressource/creature_32.png</iconset>
+                            </attribute>
+                            <attribute name="title">
+                             <string/>
+                            </attribute>
+                            <attribute name="toolTip">
+                             <string>Afficher la liste des créatures</string>
+                            </attribute>
+                            <layout class="QVBoxLayout" name="verticalLayout_6">
+                             <property name="spacing">
+                              <number>3</number>
+                             </property>
+                             <item>
+                              <widget class="DmTableMat" name="cp_listeCreatures">
+                               <property name="minimumSize">
+                                <size>
+                                 <width>81</width>
+                                 <height>0</height>
+                                </size>
+                               </property>
+                               <property name="editTriggers">
+                                <set>QAbstractItemView::AnyKeyPressed|QAbstractItemView::DoubleClicked</set>
+                               </property>
+                               <property name="iconSize">
+                                <size>
+                                 <width>2</width>
+                                 <height>2</height>
+                                </size>
+                               </property>
+                               <property name="columnCount">
+                                <number>2</number>
+                               </property>
+                               <attribute name="horizontalHeaderVisible">
+                                <bool>false</bool>
+                               </attribute>
+                               <attribute name="verticalHeaderVisible">
+                                <bool>false</bool>
+                               </attribute>
+                               <column>
+                                <property name="text">
+                                 <string>code</string>
+                                </property>
+                               </column>
+                               <column>
+                                <property name="text">
+                                 <string>Creature</string>
+                                </property>
+                                <property name="font">
+                                 <font>
+                                  <pointsize>9</pointsize>
+                                 </font>
+                                </property>
+                               </column>
+                              </widget>
+                             </item>
+                             <item>
+                              <layout class="QHBoxLayout" name="horizontalLayout_8">
+                               <property name="topMargin">
+                                <number>0</number>
+                               </property>
+                               <item>
+                                <widget class="QToolButton" name="cp_importCombattant">
+                                 <property name="minimumSize">
+                                  <size>
+                                   <width>23</width>
+                                   <height>22</height>
+                                  </size>
+                                 </property>
+                                 <property name="maximumSize">
+                                  <size>
+                                   <width>23</width>
+                                   <height>22</height>
+                                  </size>
+                                 </property>
+                                 <property name="text">
+                                  <string>...</string>
+                                 </property>
+                                 <property name="icon">
+                                  <iconset resource="ressource.qrc">
+                                   <normaloff>:/interface/16/ressource/import_16.png</normaloff>:/interface/16/ressource/import_16.png</iconset>
+                                 </property>
+                                </widget>
+                               </item>
+                               <item>
+                                <spacer name="horizontalSpacer_7">
+                                 <property name="orientation">
+                                  <enum>Qt::Horizontal</enum>
+                                 </property>
+                                 <property name="sizeHint" stdset="0">
+                                  <size>
+                                   <width>40</width>
+                                   <height>20</height>
+                                  </size>
+                                 </property>
+                                </spacer>
+                               </item>
+                               <item>
+                                <widget class="QToolButton" name="cp_nouveauCombattant">
+                                 <property name="text">
+                                  <string/>
+                                 </property>
+                                 <property name="icon">
+                                  <iconset resource="ressource.qrc">
+                                   <normaloff>:/interface/16/ressource/plus_16.png</normaloff>:/interface/16/ressource/plus_16.png</iconset>
+                                 </property>
+                                </widget>
+                               </item>
+                               <item>
+                                <widget class="QToolButton" name="cp_editerCombattant">
+                                 <property name="text">
+                                  <string/>
+                                 </property>
+                                 <property name="icon">
+                                  <iconset resource="ressource.qrc">
+                                   <normaloff>:/interface/16/ressource/editer_16.png</normaloff>:/interface/16/ressource/editer_16.png</iconset>
+                                 </property>
+                                </widget>
+                               </item>
+                               <item>
+                                <widget class="QToolButton" name="cp_retirerCombattant">
+                                 <property name="text">
+                                  <string/>
+                                 </property>
+                                 <property name="icon">
+                                  <iconset resource="ressource.qrc">
+                                   <normaloff>:/interface/16/ressource/moins_16.png</normaloff>:/interface/16/ressource/moins_16.png</iconset>
+                                 </property>
+                                </widget>
+                               </item>
+                              </layout>
+                             </item>
+                            </layout>
+                           </widget>
+                          </widget>
+                         </item>
+                         <item>
+                          <widget class="QFrame" name="creationPlateau_sousPanneauBas">
+                           <property name="minimumSize">
+                            <size>
+                             <width>154</width>
+                             <height>81</height>
+                            </size>
+                           </property>
+                           <property name="maximumSize">
+                            <size>
+                             <width>154</width>
+                             <height>81</height>
+                            </size>
+                           </property>
+                           <property name="frameShape">
+                            <enum>QFrame::StyledPanel</enum>
+                           </property>
+                           <property name="frameShadow">
+                            <enum>QFrame::Raised</enum>
+                           </property>
+                           <layout class="QGridLayout" name="gridLayout_3">
+                            <property name="leftMargin">
+                             <number>3</number>
+                            </property>
+                            <property name="topMargin">
+                             <number>3</number>
+                            </property>
+                            <property name="rightMargin">
+                             <number>3</number>
+                            </property>
+                            <property name="bottomMargin">
+                             <number>3</number>
+                            </property>
+                            <property name="spacing">
+                             <number>3</number>
+                            </property>
+                            <item row="2" column="1">
+                             <widget class="QToolButton" name="cp_placerEntree">
+                              <property name="minimumSize">
+                               <size>
+                                <width>41</width>
+                                <height>31</height>
+                               </size>
+                              </property>
+                              <property name="maximumSize">
+                               <size>
+                                <width>41</width>
+                                <height>31</height>
+                               </size>
+                              </property>
+                              <property name="toolTip">
+                               <string>Placer la/les entrée(s)</string>
+                              </property>
+                              <property name="text">
+                               <string>...</string>
+                              </property>
+                              <property name="icon">
+                               <iconset resource="ressource.qrc">
+                                <normaloff>:/interface/16/ressource/entree_16.png</normaloff>:/interface/16/ressource/entree_16.png</iconset>
+                              </property>
+                             </widget>
+                            </item>
+                            <item row="2" column="2">
+                             <widget class="QToolButton" name="cp_placerSortie">
+                              <property name="minimumSize">
+                               <size>
+                                <width>41</width>
+                                <height>31</height>
+                               </size>
+                              </property>
+                              <property name="maximumSize">
+                               <size>
+                                <width>41</width>
+                                <height>31</height>
+                               </size>
+                              </property>
+                              <property name="toolTip">
+                               <string>Placer la/les sortie(s)</string>
+                              </property>
+                              <property name="text">
+                               <string>...</string>
+                              </property>
+                              <property name="icon">
+                               <iconset resource="ressource.qrc">
+                                <normaloff>:/interface/16/ressource/sortie_16.png</normaloff>:/interface/16/ressource/sortie_16.png</iconset>
+                              </property>
+                             </widget>
+                            </item>
+                            <item row="0" column="1">
+                             <widget class="QComboBox" name="cp_effets">
+                              <property name="minimumSize">
+                               <size>
+                                <width>41</width>
+                                <height>31</height>
+                               </size>
+                              </property>
+                              <property name="maximumSize">
+                               <size>
+                                <width>41</width>
+                                <height>31</height>
+                               </size>
+                              </property>
+                              <property name="toolTip">
+                               <string>Effets spéciaux</string>
+                              </property>
+                              <item>
+                               <property name="text">
+                                <string/>
+                               </property>
+                               <property name="icon">
+                                <iconset resource="ressource.qrc">
+                                 <normaloff>:/interface/16/ressource/feu_16.png</normaloff>:/interface/16/ressource/feu_16.png</iconset>
+                               </property>
+                              </item>
+                              <item>
+                               <property name="text">
+                                <string/>
+                               </property>
+                               <property name="icon">
+                                <iconset resource="ressource.qrc">
+                                 <normaloff>:/interface/16/ressource/eau_16.png</normaloff>:/interface/16/ressource/eau_16.png</iconset>
+                               </property>
+                              </item>
+                              <item>
+                               <property name="text">
+                                <string/>
+                               </property>
+                               <property name="icon">
+                                <iconset resource="ressource.qrc">
+                                 <normaloff>:/interface/16/ressource/glace_16.png</normaloff>:/interface/16/ressource/glace_16.png</iconset>
+                               </property>
+                              </item>
+                              <item>
+                               <property name="text">
+                                <string/>
+                               </property>
+                               <property name="icon">
+                                <iconset resource="ressource.qrc">
+                                 <normaloff>:/interface/16/ressource/poison_16.png</normaloff>:/interface/16/ressource/poison_16.png</iconset>
+                               </property>
+                              </item>
+                              <item>
+                               <property name="text">
+                                <string/>
+                               </property>
+                               <property name="icon">
+                                <iconset resource="ressource.qrc">
+                                 <normaloff>:/interface/16/ressource/gomme_16.png</normaloff>:/interface/16/ressource/gomme_16.png</iconset>
+                               </property>
+                              </item>
+                             </widget>
+                            </item>
+                            <item row="0" column="4">
+                             <widget class="QToolButton" name="cp_afficherNotes">
+                              <property name="minimumSize">
+                               <size>
+                                <width>41</width>
+                                <height>31</height>
+                               </size>
+                              </property>
+                              <property name="maximumSize">
+                               <size>
+                                <width>41</width>
+                                <height>31</height>
+                               </size>
+                              </property>
+                              <property name="toolTip">
+                               <string>Gérer les caches</string>
+                              </property>
+                              <property name="text">
+                               <string>...</string>
+                              </property>
+                              <property name="icon">
+                               <iconset resource="ressource.qrc">
+                                <normaloff>:/interface/32/ressource/note_32.png</normaloff>:/interface/32/ressource/note_32.png</iconset>
+                              </property>
+                             </widget>
+                            </item>
+                            <item row="2" column="4">
+                             <widget class="QToolButton" name="cp_defPlacement">
+                              <property name="minimumSize">
+                               <size>
+                                <width>41</width>
+                                <height>31</height>
+                               </size>
+                              </property>
+                              <property name="maximumSize">
+                               <size>
+                                <width>41</width>
+                                <height>31</height>
+                               </size>
+                              </property>
+                              <property name="toolTip">
+                               <string>Définir la zone de placement des joueurs</string>
+                              </property>
+                              <property name="text">
+                               <string>...</string>
+                              </property>
+                              <property name="icon">
+                               <iconset resource="ressource.qrc">
+                                <normaloff>:/interface/16/ressource/depart_16.png</normaloff>:/interface/16/ressource/depart_16.png</iconset>
+                              </property>
+                             </widget>
+                            </item>
+                            <item row="0" column="2">
+                             <widget class="QToolButton" name="cp_placerCache">
+                              <property name="minimumSize">
+                               <size>
+                                <width>41</width>
+                                <height>31</height>
+                               </size>
+                              </property>
+                              <property name="maximumSize">
+                               <size>
+                                <width>41</width>
+                                <height>31</height>
+                               </size>
+                              </property>
+                              <property name="text">
+                               <string>...</string>
+                              </property>
+                              <property name="icon">
+                               <iconset resource="ressource.qrc">
+                                <normaloff>:/interface/32/ressource/mainCache_32.png</normaloff>:/interface/32/ressource/mainCache_32.png</iconset>
+                              </property>
+                             </widget>
+                            </item>
+                           </layout>
+                          </widget>
+                         </item>
+                         <item>
+                          <widget class="QCheckBox" name="cp_gererAlt">
+                           <property name="font">
+                            <font>
+                             <pointsize>7</pointsize>
+                             <italic>true</italic>
+                            </font>
+                           </property>
+                           <property name="text">
+                            <string>Gérer les altitudes</string>
+                           </property>
+                          </widget>
+                         </item>
+                        </layout>
+                        <zorder>cp_ongletsListes</zorder>
+                        <zorder>creationPlateau_sousPanneauBas</zorder>
+                        <zorder>cP_boiteFormes</zorder>
+                        <zorder>cp_boiteCouleurs</zorder>
+                        <zorder>cp_gererAlt</zorder>
+                       </widget>
+                      </item>
+                     </layout>
+                    </widget>
+                    <widget class="QWidget" name="cbt_panneauDroite2">
+                     <widget class="QFrame" name="pi_panneau">
+                      <property name="geometry">
+                       <rect>
+                        <x>0</x>
+                        <y>0</y>
+                        <width>170</width>
+                        <height>501</height>
+                       </rect>
+                      </property>
+                      <property name="minimumSize">
+                       <size>
+                        <width>170</width>
+                        <height>0</height>
+                       </size>
+                      </property>
+                      <property name="maximumSize">
+                       <size>
+                        <width>170</width>
+                        <height>16777215</height>
+                       </size>
+                      </property>
+                      <property name="autoFillBackground">
+                       <bool>true</bool>
+                      </property>
+                      <property name="frameShape">
+                       <enum>QFrame::StyledPanel</enum>
+                      </property>
+                      <property name="frameShadow">
+                       <enum>QFrame::Raised</enum>
+                      </property>
+                      <layout class="QVBoxLayout" name="verticalLayout_10">
+                       <property name="leftMargin">
+                        <number>5</number>
+                       </property>
+                       <property name="topMargin">
+                        <number>5</number>
+                       </property>
+                       <property name="rightMargin">
+                        <number>5</number>
+                       </property>
+                       <property name="bottomMargin">
+                        <number>5</number>
+                       </property>
+                       <item>
+                        <widget class="QFrame" name="pi_infosPion">
+                         <property name="minimumSize">
+                          <size>
+                           <width>151</width>
+                           <height>41</height>
+                          </size>
+                         </property>
+                         <property name="maximumSize">
+                          <size>
+                           <width>151</width>
+                           <height>41</height>
+                          </size>
+                         </property>
+                         <property name="frameShape">
+                          <enum>QFrame::StyledPanel</enum>
+                         </property>
+                         <property name="frameShadow">
+                          <enum>QFrame::Raised</enum>
+                         </property>
+                         <widget class="DmLabel" name="pi_img">
+                          <property name="geometry">
+                           <rect>
+                            <x>10</x>
+                            <y>0</y>
+                            <width>31</width>
+                            <height>44</height>
+                           </rect>
+                          </property>
+                          <property name="toolTip">
+                           <string>Image du pion sélectionné</string>
+                          </property>
+                          <property name="text">
+                           <string>logo</string>
+                          </property>
+                         </widget>
+                         <widget class="DmLabel" name="pi_nom">
+                          <property name="geometry">
+                           <rect>
+                            <x>47</x>
+                            <y>0</y>
+                            <width>101</width>
+                            <height>44</height>
+                           </rect>
+                          </property>
+                          <property name="toolTip">
+                           <string>Nom du pion sélectionné</string>
+                          </property>
+                          <property name="text">
+                           <string>Pas de pion 
+selectionné</string>
+                          </property>
+                         </widget>
+                        </widget>
+                       </item>
+                       <item>
+                        <widget class="QFrame" name="pi_actions">
+                         <property name="minimumSize">
+                          <size>
+                           <width>151</width>
+                           <height>131</height>
+                          </size>
+                         </property>
+                         <property name="maximumSize">
+                          <size>
+                           <width>151</width>
+                           <height>131</height>
+                          </size>
+                         </property>
+                         <property name="frameShape">
+                          <enum>QFrame::StyledPanel</enum>
+                         </property>
+                         <property name="frameShadow">
+                          <enum>QFrame::Raised</enum>
+                         </property>
+                         <widget class="QSpinBox" name="pi_rayonAttaqueZone">
+                          <property name="geometry">
+                           <rect>
+                            <x>100</x>
+                            <y>90</y>
+                            <width>41</width>
+                            <height>31</height>
+                           </rect>
+                          </property>
+                          <property name="palette">
+                           <palette>
+                            <active>
+                             <colorrole role="Base">
+                              <brush brushstyle="SolidPattern">
+                               <color alpha="255">
+                                <red>240</red>
+                                <green>240</green>
+                                <blue>240</blue>
+                               </color>
+                              </brush>
+                             </colorrole>
+                            </active>
+                            <inactive>
+                             <colorrole role="Base">
+                              <brush brushstyle="SolidPattern">
+                               <color alpha="255">
+                                <red>240</red>
+                                <green>240</green>
+                                <blue>240</blue>
+                               </color>
+                              </brush>
+                             </colorrole>
+                            </inactive>
+                            <disabled>
+                             <colorrole role="Base">
+                              <brush brushstyle="SolidPattern">
+                               <color alpha="255">
+                                <red>240</red>
+                                <green>240</green>
+                                <blue>240</blue>
+                               </color>
+                              </brush>
+                             </colorrole>
+                            </disabled>
+                           </palette>
+                          </property>
+                          <property name="font">
+                           <font>
+                            <pointsize>9</pointsize>
+                            <weight>75</weight>
+                            <bold>true</bold>
+                           </font>
+                          </property>
+                          <property name="minimum">
+                           <number>1</number>
+                          </property>
+                         </widget>
+                         <widget class="QToolButton" name="pi_deplacement">
+                          <property name="geometry">
+                           <rect>
+                            <x>10</x>
+                            <y>10</y>
+                            <width>61</width>
+                            <height>31</height>
+                           </rect>
+                          </property>
+                          <property name="minimumSize">
+                           <size>
+                            <width>0</width>
+                            <height>0</height>
+                           </size>
+                          </property>
+                          <property name="maximumSize">
+                           <size>
+                            <width>100</width>
+                            <height>100</height>
+                           </size>
+                          </property>
+                          <property name="toolTip">
+                           <string>Déplacer le pion</string>
+                          </property>
+                          <property name="text">
+                           <string/>
+                          </property>
+                          <property name="icon">
+                           <iconset resource="ressource.qrc">
+                            <normaloff>:/interface/32/ressource/deplacement_32.png</normaloff>:/interface/32/ressource/deplacement_32.png</iconset>
+                          </property>
+                         </widget>
+                         <widget class="QComboBox" name="pi_formeAttaqueZone">
+                          <property name="geometry">
+                           <rect>
+                            <x>50</x>
+                            <y>91</y>
+                            <width>41</width>
+                            <height>29</height>
+                           </rect>
+                          </property>
+                          <item>
+                           <property name="text">
+                            <string/>
+                           </property>
+                           <property name="icon">
+                            <iconset resource="ressource.qrc">
+                             <normaloff>:/interface/16/ressource/ligne_16.png</normaloff>:/interface/16/ressource/ligne_16.png</iconset>
+                           </property>
+                          </item>
+                          <item>
+                           <property name="text">
+                            <string/>
+                           </property>
+                           <property name="icon">
+                            <iconset resource="ressource.qrc">
+                             <normaloff>:/interface/16/ressource/ellipsePleine_16.png</normaloff>:/interface/16/ressource/ellipsePleine_16.png</iconset>
+                           </property>
+                          </item>
+                          <item>
+                           <property name="text">
+                            <string/>
+                           </property>
+                           <property name="icon">
+                            <iconset resource="ressource.qrc">
+                             <normaloff>:/interface/16/ressource/cone_16.png</normaloff>:/interface/16/ressource/cone_16.png</iconset>
+                           </property>
+                          </item>
+                         </widget>
+                         <widget class="QToolButton" name="pi_attaqueCac">
+                          <property name="geometry">
+                           <rect>
+                            <x>10</x>
+                            <y>50</y>
+                            <width>61</width>
+                            <height>31</height>
+                           </rect>
+                          </property>
+                          <property name="minimumSize">
+                           <size>
+                            <width>0</width>
+                            <height>0</height>
+                           </size>
+                          </property>
+                          <property name="maximumSize">
+                           <size>
+                            <width>100</width>
+                            <height>100</height>
+                           </size>
+                          </property>
+                          <property name="toolTip">
+                           <string>Effectuer une attaque au corps à corps</string>
+                          </property>
+                          <property name="text">
+                           <string>...</string>
+                          </property>
+                          <property name="icon">
+                           <iconset resource="ressource.qrc">
+                            <normaloff>:/interface/16/ressource/epee_16.png</normaloff>:/interface/16/ressource/epee_16.png</iconset>
+                          </property>
+                         </widget>
+                         <widget class="QToolButton" name="pi_vol">
+                          <property name="geometry">
+                           <rect>
+                            <x>80</x>
+                            <y>10</y>
+                            <width>61</width>
+                            <height>31</height>
+                           </rect>
+                          </property>
+                          <property name="toolTip">
+                           <string>Modifier l'altitude du pion</string>
+                          </property>
+                          <property name="text">
+                           <string>...</string>
+                          </property>
+                          <property name="icon">
+                           <iconset resource="ressource.qrc">
+                            <normaloff>:/interface/32/ressource/oiseau_32.png</normaloff>:/interface/32/ressource/oiseau_32.png</iconset>
+                          </property>
+                         </widget>
+                         <widget class="QToolButton" name="pi_attaqueDist">
+                          <property name="geometry">
+                           <rect>
+                            <x>80</x>
+                            <y>50</y>
+                            <width>61</width>
+                            <height>31</height>
+                           </rect>
+                          </property>
+                          <property name="minimumSize">
+                           <size>
+                            <width>0</width>
+                            <height>0</height>
+                           </size>
+                          </property>
+                          <property name="maximumSize">
+                           <size>
+                            <width>100</width>
+                            <height>100</height>
+                           </size>
+                          </property>
+                          <property name="toolTip">
+                           <string>Effectuer une attaque à distance</string>
+                          </property>
+                          <property name="text">
+                           <string>...</string>
+                          </property>
+                          <property name="icon">
+                           <iconset resource="ressource.qrc">
+                            <normaloff>:/interface/16/ressource/arc_16.png</normaloff>:/interface/16/ressource/arc_16.png</iconset>
+                          </property>
+                         </widget>
+                         <widget class="QToolButton" name="pi_attaqueZone">
+                          <property name="geometry">
+                           <rect>
+                            <x>10</x>
+                            <y>90</y>
+                            <width>31</width>
+                            <height>31</height>
+                           </rect>
+                          </property>
+                          <property name="text">
+                           <string/>
+                          </property>
+                          <property name="icon">
+                           <iconset resource="ressource.qrc">
+                            <normaloff>:/interface/16/ressource/bombe_16.png</normaloff>:/interface/16/ressource/bombe_16.png</iconset>
+                          </property>
+                         </widget>
+                        </widget>
+                       </item>
+                       <item>
+                        <widget class="QTabWidget" name="pi_ongletsListes">
+                         <property name="minimumSize">
+                          <size>
+                           <width>154</width>
+                           <height>0</height>
+                          </size>
+                         </property>
+                         <property name="maximumSize">
+                          <size>
+                           <width>154</width>
+                           <height>16777215</height>
+                          </size>
+                         </property>
+                         <property name="currentIndex">
+                          <number>0</number>
+                         </property>
+                         <widget class="QWidget" name="pi_afficherAttributs">
+                          <attribute name="icon">
+                           <iconset resource="ressource.qrc">
+                            <normaloff>:/interface/32/ressource/profil_32.png</normaloff>:/interface/32/ressource/profil_32.png</iconset>
+                          </attribute>
+                          <attribute name="title">
+                           <string/>
+                          </attribute>
+                          <layout class="QVBoxLayout" name="verticalLayout_9">
+                           <item>
+                            <widget class="QTableWidget" name="pi_listeAttributs">
+                             <property name="palette">
+                              <palette>
+                               <active>
+                                <colorrole role="Base">
+                                 <brush brushstyle="SolidPattern">
+                                  <color alpha="150">
+                                   <red>255</red>
+                                   <green>255</green>
+                                   <blue>255</blue>
+                                  </color>
+                                 </brush>
+                                </colorrole>
+                               </active>
+                               <inactive>
+                                <colorrole role="Base">
+                                 <brush brushstyle="SolidPattern">
+                                  <color alpha="150">
+                                   <red>255</red>
+                                   <green>255</green>
+                                   <blue>255</blue>
+                                  </color>
+                                 </brush>
+                                </colorrole>
+                               </inactive>
+                               <disabled>
+                                <colorrole role="Base">
+                                 <brush brushstyle="SolidPattern">
+                                  <color alpha="255">
+                                   <red>240</red>
+                                   <green>240</green>
+                                   <blue>240</blue>
+                                  </color>
+                                 </brush>
+                                </colorrole>
+                               </disabled>
+                              </palette>
+                             </property>
+                             <property name="frameShape">
+                              <enum>QFrame::WinPanel</enum>
+                             </property>
+                             <property name="horizontalScrollBarPolicy">
+                              <enum>Qt::ScrollBarAlwaysOff</enum>
+                             </property>
+                             <property name="editTriggers">
+                              <set>QAbstractItemView::AllEditTriggers</set>
+                             </property>
+                             <property name="alternatingRowColors">
+                              <bool>true</bool>
+                             </property>
+                             <property name="selectionMode">
+                              <enum>QAbstractItemView::NoSelection</enum>
+                             </property>
+                             <property name="showGrid">
+                              <bool>true</bool>
+                             </property>
+                             <attribute name="horizontalHeaderVisible">
+                              <bool>false</bool>
+                             </attribute>
+                             <attribute name="horizontalHeaderDefaultSectionSize">
+                              <number>50</number>
+                             </attribute>
+                             <attribute name="verticalHeaderVisible">
+                              <bool>false</bool>
+                             </attribute>
+                             <column>
+                              <property name="text">
+                               <string>Id</string>
+                              </property>
+                             </column>
+                             <column>
+                              <property name="text">
+                               <string>Valeur</string>
+                              </property>
+                             </column>
+                            </widget>
+                           </item>
+                          </layout>
+                         </widget>
+                         <widget class="QWidget" name="pi_afficherAttaques">
+                          <attribute name="icon">
+                           <iconset resource="ressource.qrc">
+                            <normaloff>:/interface/32/ressource/attaque_32.png</normaloff>:/interface/32/ressource/attaque_32.png</iconset>
+                          </attribute>
+                          <attribute name="title">
+                           <string/>
+                          </attribute>
+                          <widget class="QGroupBox" name="pi_panneauAttaqueEC">
+                           <property name="geometry">
+                            <rect>
+                             <x>2</x>
+                             <y>140</y>
+                             <width>143</width>
+                             <height>221</height>
+                            </rect>
+                           </property>
+                           <property name="minimumSize">
+                            <size>
+                             <width>143</width>
+                             <height>0</height>
+                            </size>
+                           </property>
+                           <property name="maximumSize">
+                            <size>
+                             <width>143</width>
+                             <height>16777215</height>
+                            </size>
+                           </property>
+                           <property name="title">
+                            <string/>
+                           </property>
+                           <widget class="QTextEdit" name="pi_notesAttaqueEC">
+                            <property name="geometry">
+                             <rect>
+                              <x>4</x>
+                              <y>150</y>
+                              <width>135</width>
+                              <height>61</height>
+                             </rect>
+                            </property>
+                            <property name="minimumSize">
+                             <size>
+                              <width>135</width>
+                              <height>40</height>
+                             </size>
+                            </property>
+                            <property name="maximumSize">
+                             <size>
+                              <width>135</width>
+                              <height>16777215</height>
+                             </size>
+                            </property>
+                           </widget>
+                           <widget class="QTableWidget" name="pi_listeAttributsAttaqueEC">
+                            <property name="geometry">
+                             <rect>
+                              <x>4</x>
+                              <y>10</y>
+                              <width>135</width>
+                              <height>131</height>
+                             </rect>
+                            </property>
+                            <property name="minimumSize">
+                             <size>
+                              <width>135</width>
+                              <height>81</height>
+                             </size>
+                            </property>
+                            <property name="maximumSize">
+                             <size>
+                              <width>135</width>
+                              <height>16777215</height>
+                             </size>
+                            </property>
+                            <property name="palette">
+                             <palette>
+                              <active>
+                               <colorrole role="Base">
+                                <brush brushstyle="SolidPattern">
+                                 <color alpha="150">
+                                  <red>255</red>
+                                  <green>255</green>
+                                  <blue>255</blue>
+                                 </color>
+                                </brush>
+                               </colorrole>
+                              </active>
+                              <inactive>
+                               <colorrole role="Base">
+                                <brush brushstyle="SolidPattern">
+                                 <color alpha="150">
+                                  <red>255</red>
+                                  <green>255</green>
+                                  <blue>255</blue>
+                                 </color>
+                                </brush>
+                               </colorrole>
+                              </inactive>
+                              <disabled>
+                               <colorrole role="Base">
+                                <brush brushstyle="SolidPattern">
+                                 <color alpha="255">
+                                  <red>240</red>
+                                  <green>240</green>
+                                  <blue>240</blue>
+                                 </color>
+                                </brush>
+                               </colorrole>
+                              </disabled>
+                             </palette>
+                            </property>
+                            <property name="frameShape">
+                             <enum>QFrame::WinPanel</enum>
+                            </property>
+                            <property name="horizontalScrollBarPolicy">
+                             <enum>Qt::ScrollBarAlwaysOff</enum>
+                            </property>
+                            <property name="editTriggers">
+                             <set>QAbstractItemView::AllEditTriggers</set>
+                            </property>
+                            <property name="alternatingRowColors">
+                             <bool>true</bool>
+                            </property>
+                            <property name="selectionMode">
+                             <enum>QAbstractItemView::NoSelection</enum>
+                            </property>
+                            <property name="showGrid">
+                             <bool>true</bool>
+                            </property>
+                            <attribute name="horizontalHeaderVisible">
+                             <bool>false</bool>
+                            </attribute>
+                            <attribute name="horizontalHeaderDefaultSectionSize">
+                             <number>50</number>
+                            </attribute>
+                            <attribute name="verticalHeaderVisible">
+                             <bool>false</bool>
+                            </attribute>
+                            <column>
+                             <property name="text">
+                              <string>Nouvelle colonne</string>
+                             </property>
+                            </column>
+                            <column>
+                             <property name="text">
+                              <string>Valeur</string>
+                             </property>
+                            </column>
+                           </widget>
+                          </widget>
+                          <widget class="QTableWidget" name="pi_listeAttaques">
+                           <property name="geometry">
+                            <rect>
+                             <x>5</x>
+                             <y>10</y>
+                             <width>135</width>
+                             <height>121</height>
+                            </rect>
+                           </property>
+                           <property name="minimumSize">
+                            <size>
+                             <width>135</width>
+                             <height>100</height>
+                            </size>
+                           </property>
+                           <property name="maximumSize">
+                            <size>
+                             <width>135</width>
+                             <height>16777215</height>
+                            </size>
+                           </property>
+                           <property name="palette">
+                            <palette>
+                             <active>
+                              <colorrole role="Base">
+                               <brush brushstyle="SolidPattern">
+                                <color alpha="255">
+                                 <red>247</red>
+                                 <green>247</green>
+                                 <blue>247</blue>
+                                </color>
+                               </brush>
+                              </colorrole>
+                              <colorrole role="Highlight">
+                               <brush brushstyle="SolidPattern">
+                                <color alpha="150">
+                                 <red>255</red>
+                                 <green>170</green>
+                                 <blue>0</blue>
+                                </color>
+                               </brush>
+                              </colorrole>
+                              <colorrole role="HighlightedText">
+                               <brush brushstyle="SolidPattern">
+                                <color alpha="255">
+                                 <red>255</red>
+                                 <green>255</green>
+                                 <blue>255</blue>
+                                </color>
+                               </brush>
+                              </colorrole>
+                             </active>
+                             <inactive>
+                              <colorrole role="Base">
+                               <brush brushstyle="SolidPattern">
+                                <color alpha="255">
+                                 <red>247</red>
+                                 <green>247</green>
+                                 <blue>247</blue>
+                                </color>
+                               </brush>
+                              </colorrole>
+                              <colorrole role="Highlight">
+                               <brush brushstyle="SolidPattern">
+                                <color alpha="150">
+                                 <red>255</red>
+                                 <green>170</green>
+                                 <blue>0</blue>
+                                </color>
+                               </brush>
+                              </colorrole>
+                              <colorrole role="HighlightedText">
+                               <brush brushstyle="SolidPattern">
+                                <color alpha="255">
+                                 <red>255</red>
+                                 <green>255</green>
+                                 <blue>255</blue>
+                                </color>
+                               </brush>
+                              </colorrole>
+                             </inactive>
+                             <disabled>
+                              <colorrole role="Base">
+                               <brush brushstyle="SolidPattern">
+                                <color alpha="255">
+                                 <red>240</red>
+                                 <green>240</green>
+                                 <blue>240</blue>
+                                </color>
+                               </brush>
+                              </colorrole>
+                              <colorrole role="Highlight">
+                               <brush brushstyle="SolidPattern">
+                                <color alpha="255">
+                                 <red>51</red>
+                                 <green>153</green>
+                                 <blue>255</blue>
+                                </color>
+                               </brush>
+                              </colorrole>
+                              <colorrole role="HighlightedText">
+                               <brush brushstyle="SolidPattern">
+                                <color alpha="255">
+                                 <red>255</red>
+                                 <green>255</green>
+                                 <blue>255</blue>
+                                </color>
+                               </brush>
+                              </colorrole>
+                             </disabled>
+                            </palette>
+                           </property>
+                           <property name="frameShape">
+                            <enum>QFrame::Box</enum>
+                           </property>
+                           <property name="horizontalScrollBarPolicy">
+                            <enum>Qt::ScrollBarAlwaysOff</enum>
+                           </property>
+                           <property name="editTriggers">
+                            <set>QAbstractItemView::NoEditTriggers</set>
+                           </property>
+                           <property name="alternatingRowColors">
+                            <bool>true</bool>
+                           </property>
+                           <property name="selectionMode">
+                            <enum>QAbstractItemView::SingleSelection</enum>
+                           </property>
+                           <property name="selectionBehavior">
+                            <enum>QAbstractItemView::SelectRows</enum>
+                           </property>
+                           <property name="textElideMode">
+                            <enum>Qt::ElideMiddle</enum>
+                           </property>
+                           <property name="showGrid">
+                            <bool>false</bool>
+                           </property>
+                           <attribute name="horizontalHeaderVisible">
+                            <bool>false</bool>
+                           </attribute>
+                           <attribute name="horizontalHeaderDefaultSectionSize">
+                            <number>50</number>
+                           </attribute>
+                           <attribute name="verticalHeaderVisible">
+                            <bool>false</bool>
+                           </attribute>
+                           <column>
+                            <property name="text">
+                             <string>numAttaque</string>
+                            </property>
+                           </column>
+                           <column>
+                            <property name="text">
+                             <string>typeAttaque</string>
+                            </property>
+                           </column>
+                           <column>
+                            <property name="text">
+                             <string>nomAttaque</string>
+                            </property>
+                           </column>
+                          </widget>
+                         </widget>
+                         <widget class="QWidget" name="pi_afficherInventaire">
+                          <attribute name="icon">
+                           <iconset resource="ressource.qrc">
+                            <normaloff>:/interface/16/ressource/sac_16.png</normaloff>:/interface/16/ressource/sac_16.png</iconset>
+                          </attribute>
+                          <attribute name="title">
+                           <string/>
+                          </attribute>
+                         </widget>
+                         <widget class="QWidget" name="pi_afficherNotes">
+                          <attribute name="icon">
+                           <iconset resource="ressource.qrc">
+                            <normaloff>:/interface/32/ressource/note_32.png</normaloff>:/interface/32/ressource/note_32.png</iconset>
+                          </attribute>
+                          <attribute name="title">
+                           <string/>
+                          </attribute>
+                          <layout class="QVBoxLayout" name="verticalLayout_8">
+                           <item>
+                            <widget class="DmTextEdit" name="pi_notes">
+                             <property name="documentTitle">
+                              <string/>
+                             </property>
+                            </widget>
+                           </item>
+                          </layout>
+                         </widget>
+                        </widget>
+                       </item>
+                      </layout>
+                     </widget>
+                    </widget>
+                    <widget class="QWidget" name="cbt_panneauDroite3">
+                     <widget class="DmTableWidget" name="pc_listePJ">
+                      <property name="geometry">
+                       <rect>
+                        <x>10</x>
+                        <y>300</y>
+                        <width>151</width>
+                        <height>171</height>
+                       </rect>
+                      </property>
+                      <property name="palette">
+                       <palette>
+                        <active>
+                         <colorrole role="Base">
+                          <brush brushstyle="SolidPattern">
+                           <color alpha="255">
+                            <red>248</red>
+                            <green>248</green>
+                            <blue>248</blue>
+                           </color>
+                          </brush>
+                         </colorrole>
+                        </active>
+                        <inactive>
+                         <colorrole role="Base">
+                          <brush brushstyle="SolidPattern">
+                           <color alpha="255">
+                            <red>248</red>
+                            <green>248</green>
+                            <blue>248</blue>
+                           </color>
+                          </brush>
+                         </colorrole>
+                        </inactive>
+                        <disabled>
+                         <colorrole role="Base">
+                          <brush brushstyle="SolidPattern">
+                           <color alpha="255">
+                            <red>240</red>
+                            <green>240</green>
+                            <blue>240</blue>
+                           </color>
+                          </brush>
+                         </colorrole>
+                        </disabled>
+                       </palette>
+                      </property>
+                      <property name="frameShape">
+                       <enum>QFrame::WinPanel</enum>
+                      </property>
+                      <property name="horizontalScrollBarPolicy">
+                       <enum>Qt::ScrollBarAlwaysOff</enum>
+                      </property>
+                      <property name="editTriggers">
+                       <set>QAbstractItemView::EditKeyPressed</set>
+                      </property>
+                      <property name="showDropIndicator" stdset="0">
+                       <bool>false</bool>
+                      </property>
+                      <property name="selectionMode">
+                       <enum>QAbstractItemView::SingleSelection</enum>
+                      </property>
+                      <property name="selectionBehavior">
+                       <enum>QAbstractItemView::SelectRows</enum>
+                      </property>
+                      <property name="iconSize">
+                       <size>
+                        <width>32</width>
+                        <height>32</height>
+                       </size>
+                      </property>
+                      <property name="gridStyle">
+                       <enum>Qt::NoPen</enum>
+                      </property>
+                      <attribute name="horizontalHeaderVisible">
+                       <bool>false</bool>
+                      </attribute>
+                      <attribute name="horizontalHeaderStretchLastSection">
+                       <bool>true</bool>
+                      </attribute>
+                      <attribute name="verticalHeaderVisible">
+                       <bool>false</bool>
+                      </attribute>
+                      <attribute name="verticalHeaderDefaultSectionSize">
+                       <number>35</number>
+                      </attribute>
+                      <column>
+                       <property name="text">
+                        <string>idPj</string>
+                       </property>
+                      </column>
+                      <column>
+                       <property name="text">
+                        <string>img</string>
+                       </property>
+                      </column>
+                      <column>
+                       <property name="text">
+                        <string>nom</string>
+                       </property>
+                      </column>
+                     </widget>
+                     <widget class="QPushButton" name="cbt_rappels">
+                      <property name="geometry">
+                       <rect>
+                        <x>10</x>
+                        <y>250</y>
+                        <width>151</width>
+                        <height>41</height>
+                       </rect>
+                      </property>
+                      <property name="text">
+                       <string>Rappels</string>
+                      </property>
+                     </widget>
+                     <widget class="QPushButton" name="cbt_voirCarte">
+                      <property name="geometry">
+                       <rect>
+                        <x>10</x>
+                        <y>200</y>
+                        <width>151</width>
+                        <height>41</height>
+                       </rect>
+                      </property>
+                      <property name="text">
+                       <string>Voir sur la carte
+du monde</string>
+                      </property>
+                     </widget>
+                     <widget class="QLabel" name="cbt_presentation">
+                      <property name="geometry">
+                       <rect>
+                        <x>10</x>
+                        <y>10</y>
+                        <width>151</width>
+                        <height>101</height>
+                       </rect>
+                      </property>
+                      <property name="frameShape">
+                       <enum>QFrame::StyledPanel</enum>
+                      </property>
+                      <property name="text">
+                       <string>Texte de présentation...</string>
+                      </property>
+                      <property name="alignment">
+                       <set>Qt::AlignJustify|Qt::AlignTop</set>
+                      </property>
+                     </widget>
+                     <widget class="QLabel" name="label_4">
+                      <property name="geometry">
+                       <rect>
+                        <x>10</x>
+                        <y>120</y>
+                        <width>151</width>
+                        <height>71</height>
+                       </rect>
+                      </property>
+                      <property name="frameShape">
+                       <enum>QFrame::StyledPanel</enum>
+                      </property>
+                      <property name="text">
+                       <string>Joueurs sur le plateau</string>
+                      </property>
+                     </widget>
+                    </widget>
+                   </widget>
+                  </item>
+                  <item>
+                   <widget class="QPushButton" name="cbt_etapeSuivante">
+                    <property name="minimumSize">
+                     <size>
+                      <width>0</width>
+                      <height>50</height>
+                     </size>
+                    </property>
+                    <property name="maximumSize">
+                     <size>
+                      <width>1000</width>
+                      <height>50</height>
+                     </size>
+                    </property>
+                    <property name="font">
+                     <font>
+                      <weight>75</weight>
+                      <bold>true</bold>
+                     </font>
+                    </property>
+                    <property name="text">
+                     <string>Publier
+le plateau</string>
+                    </property>
+                   </widget>
+                  </item>
+                 </layout>
+                </item>
+               </layout>
+              </item>
+             </layout>
+            </item>
+           </layout>
+          </widget>
+         </widget>
+        </item>
+       </layout>
+      </widget>
+      <widget class="QWidget" name="Monde_tab">
+       <attribute name="title">
+        <string>Monde</string>
+       </attribute>
+      </widget>
+      <widget class="QWidget" name="Groupe_tab">
+       <attribute name="title">
+        <string>Groupe</string>
+       </attribute>
+       <layout class="QHBoxLayout" name="horizontalLayout_2">
+        <item>
+         <widget class="QScrollArea" name="grp_deroulement">
+          <property name="palette">
+           <palette>
+            <active>
+             <colorrole role="Base">
+              <brush brushstyle="SolidPattern">
+               <color alpha="255">
+                <red>255</red>
+                <green>255</green>
+                <blue>255</blue>
+               </color>
+              </brush>
+             </colorrole>
+             <colorrole role="Window">
+              <brush brushstyle="SolidPattern">
+               <color alpha="0">
+                <red>240</red>
+                <green>240</green>
+                <blue>240</blue>
+               </color>
+              </brush>
+             </colorrole>
+            </active>
+            <inactive>
+             <colorrole role="Base">
+              <brush brushstyle="SolidPattern">
+               <color alpha="255">
+                <red>255</red>
+                <green>255</green>
+                <blue>255</blue>
+               </color>
+              </brush>
+             </colorrole>
+             <colorrole role="Window">
+              <brush brushstyle="SolidPattern">
+               <color alpha="0">
+                <red>240</red>
+                <green>240</green>
+                <blue>240</blue>
+               </color>
+              </brush>
+             </colorrole>
+            </inactive>
+            <disabled>
+             <colorrole role="Base">
+              <brush brushstyle="SolidPattern">
+               <color alpha="0">
+                <red>240</red>
+                <green>240</green>
+                <blue>240</blue>
+               </color>
+              </brush>
+             </colorrole>
+             <colorrole role="Window">
+              <brush brushstyle="SolidPattern">
+               <color alpha="0">
+                <red>240</red>
+                <green>240</green>
+                <blue>240</blue>
+               </color>
+              </brush>
+             </colorrole>
+            </disabled>
+           </palette>
+          </property>
+          <property name="font">
+           <font>
+            <family>Verdana</family>
+           </font>
+          </property>
+          <property name="autoFillBackground">
+           <bool>true</bool>
+          </property>
+          <property name="frameShape">
+           <enum>QFrame::NoFrame</enum>
+          </property>
+          <property name="horizontalScrollBarPolicy">
+           <enum>Qt::ScrollBarAlwaysOff</enum>
+          </property>
+          <property name="widgetResizable">
+           <bool>true</bool>
+          </property>
+          <widget class="QWidget" name="grp_deroulement_contenu">
+           <property name="geometry">
+            <rect>
+             <x>0</x>
+             <y>0</y>
+             <width>756</width>
+             <height>588</height>
+            </rect>
+           </property>
+           <property name="palette">
+            <palette>
+             <active>
+              <colorrole role="WindowText">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>0</red>
+                 <green>0</green>
+                 <blue>0</blue>
+                </color>
+               </brush>
+              </colorrole>
+              <colorrole role="Button">
+               <brush brushstyle="SolidPattern">
+                <color alpha="0">
+                 <red>0</red>
+                 <green>0</green>
+                 <blue>0</blue>
+                </color>
+               </brush>
+              </colorrole>
+              <colorrole role="Midlight">
+               <brush brushstyle="SolidPattern">
+                <color alpha="0">
+                 <red>227</red>
+                 <green>227</green>
+                 <blue>227</blue>
+                </color>
+               </brush>
+              </colorrole>
+              <colorrole role="Dark">
+               <brush brushstyle="SolidPattern">
+                <color alpha="0">
+                 <red>160</red>
+                 <green>160</green>
+                 <blue>160</blue>
+                </color>
+               </brush>
+              </colorrole>
+              <colorrole role="Mid">
+               <brush brushstyle="SolidPattern">
+                <color alpha="0">
+                 <red>160</red>
+                 <green>160</green>
+                 <blue>160</blue>
+                </color>
+               </brush>
+              </colorrole>
+              <colorrole role="Text">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>0</red>
+                 <green>0</green>
+                 <blue>0</blue>
+                </color>
+               </brush>
+              </colorrole>
+              <colorrole role="ButtonText">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>0</red>
+                 <green>0</green>
+                 <blue>0</blue>
+                </color>
+               </brush>
+              </colorrole>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="0">
+                 <red>0</red>
+                 <green>0</green>
+                 <blue>0</blue>
+                </color>
+               </brush>
+              </colorrole>
+              <colorrole role="Window">
+               <brush brushstyle="SolidPattern">
+                <color alpha="0">
+                 <red>0</red>
+                 <green>0</green>
+                 <blue>0</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </active>
+             <inactive>
+              <colorrole role="WindowText">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>0</red>
+                 <green>0</green>
+                 <blue>0</blue>
+                </color>
+               </brush>
+              </colorrole>
+              <colorrole role="Button">
+               <brush brushstyle="SolidPattern">
+                <color alpha="0">
+                 <red>0</red>
+                 <green>0</green>
+                 <blue>0</blue>
+                </color>
+               </brush>
+              </colorrole>
+              <colorrole role="Midlight">
+               <brush brushstyle="SolidPattern">
+                <color alpha="0">
+                 <red>227</red>
+                 <green>227</green>
+                 <blue>227</blue>
+                </color>
+               </brush>
+              </colorrole>
+              <colorrole role="Dark">
+               <brush brushstyle="SolidPattern">
+                <color alpha="0">
+                 <red>160</red>
+                 <green>160</green>
+                 <blue>160</blue>
+                </color>
+               </brush>
+              </colorrole>
+              <colorrole role="Mid">
+               <brush brushstyle="SolidPattern">
+                <color alpha="0">
+                 <red>160</red>
+                 <green>160</green>
+                 <blue>160</blue>
+                </color>
+               </brush>
+              </colorrole>
+              <colorrole role="Text">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>0</red>
+                 <green>0</green>
+                 <blue>0</blue>
+                </color>
+               </brush>
+              </colorrole>
+              <colorrole role="ButtonText">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>0</red>
+                 <green>0</green>
+                 <blue>0</blue>
+                </color>
+               </brush>
+              </colorrole>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="0">
+                 <red>0</red>
+                 <green>0</green>
+                 <blue>0</blue>
+                </color>
+               </brush>
+              </colorrole>
+              <colorrole role="Window">
+               <brush brushstyle="SolidPattern">
+                <color alpha="0">
+                 <red>0</red>
+                 <green>0</green>
+                 <blue>0</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </inactive>
+             <disabled>
+              <colorrole role="WindowText">
+               <brush brushstyle="SolidPattern">
+                <color alpha="0">
+                 <red>160</red>
+                 <green>160</green>
+                 <blue>160</blue>
+                </color>
+               </brush>
+              </colorrole>
+              <colorrole role="Button">
+               <brush brushstyle="SolidPattern">
+                <color alpha="0">
+                 <red>0</red>
+                 <green>0</green>
+                 <blue>0</blue>
+                </color>
+               </brush>
+              </colorrole>
+              <colorrole role="Midlight">
+               <brush brushstyle="SolidPattern">
+                <color alpha="0">
+                 <red>227</red>
+                 <green>227</green>
+                 <blue>227</blue>
+                </color>
+               </brush>
+              </colorrole>
+              <colorrole role="Dark">
+               <brush brushstyle="SolidPattern">
+                <color alpha="0">
+                 <red>160</red>
+                 <green>160</green>
+                 <blue>160</blue>
+                </color>
+               </brush>
+              </colorrole>
+              <colorrole role="Mid">
+               <brush brushstyle="SolidPattern">
+                <color alpha="0">
+                 <red>160</red>
+                 <green>160</green>
+                 <blue>160</blue>
+                </color>
+               </brush>
+              </colorrole>
+              <colorrole role="Text">
+               <brush brushstyle="SolidPattern">
+                <color alpha="0">
+                 <red>160</red>
+                 <green>160</green>
+                 <blue>160</blue>
+                </color>
+               </brush>
+              </colorrole>
+              <colorrole role="ButtonText">
+               <brush brushstyle="SolidPattern">
+                <color alpha="0">
+                 <red>160</red>
+                 <green>160</green>
+                 <blue>160</blue>
+                </color>
+               </brush>
+              </colorrole>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="0">
+                 <red>0</red>
+                 <green>0</green>
+                 <blue>0</blue>
+                </color>
+               </brush>
+              </colorrole>
+              <colorrole role="Window">
+               <brush brushstyle="SolidPattern">
+                <color alpha="0">
+                 <red>0</red>
+                 <green>0</green>
+                 <blue>0</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </disabled>
+            </palette>
+           </property>
+           <layout class="QGridLayout" name="grp_deroulement_layout">
+            <property name="sizeConstraint">
+             <enum>QLayout::SetMaximumSize</enum>
+            </property>
+            <property name="leftMargin">
+             <number>5</number>
+            </property>
+            <property name="topMargin">
+             <number>2</number>
+            </property>
+            <property name="rightMargin">
+             <number>2</number>
+            </property>
+            <property name="bottomMargin">
+             <number>2</number>
+            </property>
+           </layout>
+          </widget>
+         </widget>
+        </item>
+        <item>
+         <widget class="QFrame" name="grp_panneauCommande">
+          <property name="minimumSize">
+           <size>
+            <width>50</width>
+            <height>50</height>
+           </size>
+          </property>
+          <property name="frameShape">
+           <enum>QFrame::StyledPanel</enum>
+          </property>
+          <property name="frameShadow">
+           <enum>QFrame::Raised</enum>
+          </property>
+          <layout class="QVBoxLayout" name="verticalLayout_12">
+           <property name="leftMargin">
+            <number>2</number>
+           </property>
+           <property name="topMargin">
+            <number>2</number>
+           </property>
+           <property name="rightMargin">
+            <number>2</number>
+           </property>
+           <property name="bottomMargin">
+            <number>2</number>
+           </property>
+           <item>
+            <spacer name="verticalSpacer">
+             <property name="orientation">
+              <enum>Qt::Vertical</enum>
+             </property>
+             <property name="sizeHint" stdset="0">
+              <size>
+               <width>20</width>
+               <height>40</height>
+              </size>
+             </property>
+            </spacer>
+           </item>
+           <item>
+            <widget class="QPushButton" name="grp_nouveauPj">
+             <property name="minimumSize">
+              <size>
+               <width>50</width>
+               <height>50</height>
+              </size>
+             </property>
+             <property name="maximumSize">
+              <size>
+               <width>50</width>
+               <height>50</height>
+              </size>
+             </property>
+             <property name="text">
+              <string/>
+             </property>
+             <property name="icon">
+              <iconset resource="ressource.qrc">
+               <normaloff>:/interface/32/ressource/nouveauJoueur_32.png</normaloff>:/interface/32/ressource/nouveauJoueur_32.png</iconset>
+             </property>
+             <property name="iconSize">
+              <size>
+               <width>24</width>
+               <height>24</height>
+              </size>
+             </property>
+            </widget>
+           </item>
+          </layout>
+         </widget>
+        </item>
+       </layout>
+      </widget>
+     </widget>
+    </item>
+    <item>
+     <widget class="QFrame" name="dm_panneauDroite">
+      <property name="minimumSize">
+       <size>
+        <width>230</width>
+        <height>0</height>
+       </size>
+      </property>
+      <property name="maximumSize">
+       <size>
+        <width>287</width>
+        <height>16777215</height>
+       </size>
+      </property>
+      <property name="frameShape">
+       <enum>QFrame::StyledPanel</enum>
+      </property>
+      <property name="frameShadow">
+       <enum>QFrame::Raised</enum>
+      </property>
+      <layout class="QVBoxLayout" name="verticalLayout_11">
+       <item>
+        <layout class="QVBoxLayout" name="layoutPanneauDroite" stretch="0,0,0,1,10,1,1">
+         <property name="sizeConstraint">
+          <enum>QLayout::SetFixedSize</enum>
+         </property>
+         <item>
+          <widget class="QLabel" name="label">
+           <property name="minimumSize">
+            <size>
+             <width>199</width>
+             <height>13</height>
+            </size>
+           </property>
+           <property name="maximumSize">
+            <size>
+             <width>259</width>
+             <height>16777215</height>
+            </size>
+           </property>
+           <property name="font">
+            <font>
+             <weight>75</weight>
+             <bold>true</bold>
+            </font>
+           </property>
+           <property name="text">
+            <string>Evenements</string>
+           </property>
+          </widget>
+         </item>
+         <item>
+          <widget class="QListWidget" name="listEvenement">
+           <property name="sizePolicy">
+            <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
+             <horstretch>20</horstretch>
+             <verstretch>20</verstretch>
+            </sizepolicy>
+           </property>
+           <property name="minimumSize">
+            <size>
+             <width>199</width>
+             <height>73</height>
+            </size>
+           </property>
+           <property name="maximumSize">
+            <size>
+             <width>259</width>
+             <height>16777215</height>
+            </size>
+           </property>
+          </widget>
+         </item>
+         <item>
+          <layout class="QHBoxLayout" name="layoutDes" stretch="1,1,3">
+           <property name="spacing">
+            <number>3</number>
+           </property>
+           <property name="sizeConstraint">
+            <enum>QLayout::SetMinimumSize</enum>
+           </property>
+           <property name="leftMargin">
+            <number>0</number>
+           </property>
+           <item>
+            <widget class="QPushButton" name="d20">
+             <property name="sizePolicy">
+              <sizepolicy hsizetype="Ignored" vsizetype="Fixed">
+               <horstretch>0</horstretch>
+               <verstretch>0</verstretch>
+              </sizepolicy>
+             </property>
+             <property name="minimumSize">
+              <size>
+               <width>53</width>
+               <height>23</height>
+              </size>
+             </property>
+             <property name="maximumSize">
+              <size>
+               <width>53</width>
+               <height>16777215</height>
+              </size>
+             </property>
+             <property name="text">
+              <string>D20</string>
+             </property>
+             <property name="autoDefault">
+              <bool>false</bool>
+             </property>
+            </widget>
+           </item>
+           <item>
+            <widget class="QPushButton" name="d100">
+             <property name="sizePolicy">
+              <sizepolicy hsizetype="Ignored" vsizetype="Fixed">
+               <horstretch>0</horstretch>
+               <verstretch>0</verstretch>
+              </sizepolicy>
+             </property>
+             <property name="minimumSize">
+              <size>
+               <width>52</width>
+               <height>23</height>
+              </size>
+             </property>
+             <property name="maximumSize">
+              <size>
+               <width>52</width>
+               <height>16777215</height>
+              </size>
+             </property>
+             <property name="text">
+              <string>D100</string>
+             </property>
+            </widget>
+           </item>
+           <item>
+            <widget class="QLineEdit" name="inJetDes">
+             <property name="minimumSize">
+              <size>
+               <width>86</width>
+               <height>20</height>
+              </size>
+             </property>
+             <property name="maximumSize">
+              <size>
+               <width>146</width>
+               <height>16777215</height>
+              </size>
+             </property>
+             <property name="whatsThis">
+              <string/>
+             </property>
+             <property name="inputMask">
+              <string/>
+             </property>
+             <property name="placeholderText">
+              <string>Autre lancer (ex: 1d4+6d6)</string>
+             </property>
+            </widget>
+           </item>
+          </layout>
+         </item>
+         <item>
+          <layout class="QHBoxLayout" name="layoutEnTeteChat" stretch="1,2">
+           <property name="spacing">
+            <number>6</number>
+           </property>
+           <property name="sizeConstraint">
+            <enum>QLayout::SetMinimumSize</enum>
+           </property>
+           <item>
+            <widget class="QLabel" name="label_3">
+             <property name="minimumSize">
+              <size>
+               <width>10</width>
+               <height>23</height>
+              </size>
+             </property>
+             <property name="maximumSize">
+              <size>
+               <width>161</width>
+               <height>16777215</height>
+              </size>
+             </property>
+             <property name="font">
+              <font>
+               <weight>75</weight>
+               <bold>true</bold>
+              </font>
+             </property>
+             <property name="text">
+              <string>Chat</string>
+             </property>
+            </widget>
+           </item>
+           <item>
+            <widget class="QPushButton" name="chatVoc">
+             <property name="sizePolicy">
+              <sizepolicy hsizetype="Ignored" vsizetype="Fixed">
+               <horstretch>0</horstretch>
+               <verstretch>0</verstretch>
+              </sizepolicy>
+             </property>
+             <property name="minimumSize">
+              <size>
+               <width>64</width>
+               <height>23</height>
+              </size>
+             </property>
+             <property name="maximumSize">
+              <size>
+               <width>90</width>
+               <height>16777215</height>
+              </size>
+             </property>
+             <property name="text">
+              <string>Chat vocal</string>
+             </property>
+            </widget>
+           </item>
+          </layout>
+         </item>
+         <item>
+          <widget class="QListWidget" name="listAffichage">
+           <property name="minimumSize">
+            <size>
+             <width>199</width>
+             <height>96</height>
+            </size>
+           </property>
+           <property name="maximumSize">
+            <size>
+             <width>259</width>
+             <height>16777215</height>
+            </size>
+           </property>
+          </widget>
+         </item>
+         <item>
+          <widget class="QLineEdit" name="inChat">
+           <property name="minimumSize">
+            <size>
+             <width>199</width>
+             <height>20</height>
+            </size>
+           </property>
+           <property name="maximumSize">
+            <size>
+             <width>259</width>
+             <height>16777215</height>
+            </size>
+           </property>
+           <property name="placeholderText">
+            <string>Entrez votre message...</string>
+           </property>
+          </widget>
+         </item>
+         <item>
+          <widget class="QTabWidget" name="tabStatutAppli">
+           <property name="minimumSize">
+            <size>
+             <width>201</width>
+             <height>151</height>
+            </size>
+           </property>
+           <property name="maximumSize">
+            <size>
+             <width>259</width>
+             <height>16777215</height>
+            </size>
+           </property>
+           <property name="currentIndex">
+            <number>2</number>
+           </property>
+           <widget class="QWidget" name="tabConnexion">
+            <attribute name="title">
+             <string>Connexion</string>
+            </attribute>
+            <layout class="QVBoxLayout" name="verticalLayout_2">
+             <item>
+              <widget class="QLabel" name="txtStatutCoPseudo">
+               <property name="minimumSize">
+                <size>
+                 <width>179</width>
+                 <height>13</height>
+                </size>
+               </property>
+               <property name="maximumSize">
+                <size>
+                 <width>230</width>
+                 <height>18</height>
+                </size>
+               </property>
+               <property name="text">
+                <string>Pseudo : </string>
+               </property>
+              </widget>
+             </item>
+             <item>
+              <widget class="QLabel" name="txtStatutCoServeur">
+               <property name="minimumSize">
+                <size>
+                 <width>179</width>
+                 <height>13</height>
+                </size>
+               </property>
+               <property name="maximumSize">
+                <size>
+                 <width>230</width>
+                 <height>18</height>
+                </size>
+               </property>
+               <property name="text">
+                <string>Serveur : Aucun serveur</string>
+               </property>
+              </widget>
+             </item>
+             <item>
+              <widget class="QLabel" name="txtStatutCoServeurVoc">
+               <property name="minimumSize">
+                <size>
+                 <width>179</width>
+                 <height>13</height>
+                </size>
+               </property>
+               <property name="maximumSize">
+                <size>
+                 <width>230</width>
+                 <height>17</height>
+                </size>
+               </property>
+               <property name="text">
+                <string>Serveur vocal : Aucun serveur vocal</string>
+               </property>
+              </widget>
+             </item>
+             <item>
+              <widget class="QLabel" name="txtStatutCoDebits">
+               <property name="minimumSize">
+                <size>
+                 <width>179</width>
+                 <height>0</height>
+                </size>
+               </property>
+               <property name="maximumSize">
+                <size>
+                 <width>230</width>
+                 <height>18</height>
+                </size>
+               </property>
+               <property name="text">
+                <string>Débits : E 0 ko/s  -  R 0 ko/s</string>
+               </property>
+              </widget>
+             </item>
+             <item>
+              <widget class="QPushButton" name="txtStatutCoEcranCo">
+               <property name="minimumSize">
+                <size>
+                 <width>179</width>
+                 <height>23</height>
+                </size>
+               </property>
+               <property name="maximumSize">
+                <size>
+                 <width>345</width>
+                 <height>23</height>
+                </size>
+               </property>
+               <property name="text">
+                <string>Ecran de connexion</string>
+               </property>
+              </widget>
+             </item>
+            </layout>
+           </widget>
+           <widget class="QWidget" name="tabJoueurs">
+            <attribute name="title">
+             <string>Joueurs</string>
+            </attribute>
+            <layout class="QVBoxLayout" name="verticalLayout">
+             <item>
+              <widget class="QListWidget" name="lstStatutJoueurs">
+               <property name="minimumSize">
+                <size>
+                 <width>177</width>
+                 <height>0</height>
+                </size>
+               </property>
+               <property name="maximumSize">
+                <size>
+                 <width>230</width>
+                 <height>16777215</height>
+                </size>
+               </property>
+               <property name="font">
+                <font>
+                 <family>Segoe UI Semibold</family>
+                 <pointsize>10</pointsize>
+                 <weight>50</weight>
+                 <bold>false</bold>
+                </font>
+               </property>
+               <property name="frameShape">
+                <enum>QFrame::WinPanel</enum>
+               </property>
+              </widget>
+             </item>
+             <item>
+              <widget class="QLabel" name="label_2">
+               <property name="maximumSize">
+                <size>
+                 <width>230</width>
+                 <height>16777215</height>
+                </size>
+               </property>
+               <property name="font">
+                <font>
+                 <italic>true</italic>
+                </font>
+               </property>
+               <property name="text">
+                <string>Double-cliquer pour ouvrir un chat privé</string>
+               </property>
+               <property name="wordWrap">
+                <bool>false</bool>
+               </property>
+              </widget>
+             </item>
+            </layout>
+           </widget>
+           <widget class="QWidget" name="tabFichiers">
+            <attribute name="title">
+             <string>Fichiers</string>
+            </attribute>
+            <layout class="QGridLayout" name="gridLayout">
+             <item row="1" column="0">
+              <widget class="QPushButton" name="repReceptionFichiers">
+               <property name="minimumSize">
+                <size>
+                 <width>85</width>
+                 <height>23</height>
+                </size>
+               </property>
+               <property name="maximumSize">
+                <size>
+                 <width>114</width>
+                 <height>16777215</height>
+                </size>
+               </property>
+               <property name="text">
+                <string>Rep. recept.</string>
+               </property>
+              </widget>
+             </item>
+             <item row="1" column="1">
+              <widget class="QPushButton" name="envoiFichier">
+               <property name="minimumSize">
+                <size>
+                 <width>86</width>
+                 <height>23</height>
+                </size>
+               </property>
+               <property name="maximumSize">
+                <size>
+                 <width>115</width>
+                 <height>16777215</height>
+                </size>
+               </property>
+               <property name="text">
+                <string>Envoi fichier</string>
+               </property>
+              </widget>
+             </item>
+             <item row="0" column="0" colspan="2">
+              <widget class="QTreeWidget" name="listFichiers">
+               <property name="minimumSize">
+                <size>
+                 <width>177</width>
+                 <height>78</height>
+                </size>
+               </property>
+               <property name="maximumSize">
+                <size>
+                 <width>235</width>
+                 <height>16777215</height>
+                </size>
+               </property>
+               <property name="baseSize">
+                <size>
+                 <width>0</width>
+                 <height>0</height>
+                </size>
+               </property>
+               <property name="frameShape">
+                <enum>QFrame::WinPanel</enum>
+               </property>
+               <property name="indentation">
+                <number>2</number>
+               </property>
+               <property name="columnCount">
+                <number>3</number>
+               </property>
+               <attribute name="headerDefaultSectionSize">
+                <number>28</number>
+               </attribute>
+               <attribute name="headerMinimumSectionSize">
+                <number>27</number>
+               </attribute>
+               <column>
+                <property name="text">
+                 <string>E/R</string>
+                </property>
+               </column>
+               <column>
+                <property name="text">
+                 <string>%</string>
+                </property>
+               </column>
+               <column>
+                <property name="text">
+                 <string>Fichier</string>
+                </property>
+               </column>
+              </widget>
+             </item>
+            </layout>
+           </widget>
+          </widget>
+         </item>
+        </layout>
+       </item>
+      </layout>
+     </widget>
+    </item>
+   </layout>
+  </widget>
+  <widget class="QMenuBar" name="menubar">
+   <property name="geometry">
+    <rect>
+     <x>0</x>
+     <y>0</y>
+     <width>1153</width>
+     <height>21</height>
+    </rect>
+   </property>
+   <widget class="QMenu" name="menuFichier">
+    <property name="title">
+     <string>Fichier</string>
+    </property>
+    <addaction name="actionOuvrir"/>
+    <addaction name="actionEnregistrer"/>
+    <addaction name="separator"/>
+    <addaction name="actionQuitter"/>
+   </widget>
+   <widget class="QMenu" name="menuEditer">
+    <property name="title">
+     <string>Editer</string>
+    </property>
+    <addaction name="actionParam_tres"/>
+   </widget>
+   <widget class="QMenu" name="menuAide">
+    <property name="title">
+     <string>Aide</string>
+    </property>
+    <addaction name="actionA_propos_de_D_Monde"/>
+    <addaction name="actionLexique"/>
+   </widget>
+   <addaction name="menuFichier"/>
+   <addaction name="menuEditer"/>
+   <addaction name="menuAide"/>
+  </widget>
+  <widget class="QStatusBar" name="statusbar"/>
+  <action name="actionOuvrir">
+   <property name="text">
+    <string>Ouvrir</string>
+   </property>
+  </action>
+  <action name="actionEnregistrer">
+   <property name="text">
+    <string>Enregistrer</string>
+   </property>
+  </action>
+  <action name="actionQuitter">
+   <property name="text">
+    <string>Quitter</string>
+   </property>
+  </action>
+  <action name="actionA_propos_de_D_Monde">
+   <property name="text">
+    <string>A propos de DéMonde...</string>
+   </property>
+  </action>
+  <action name="actionParam_tres">
+   <property name="text">
+    <string>Paramètres</string>
+   </property>
+  </action>
+  <action name="actionLexique">
+   <property name="text">
+    <string>Lexique</string>
+   </property>
+  </action>
+ </widget>
+ <customwidgets>
+  <customwidget>
+   <class>DmTableWidget</class>
+   <extends>QTableWidget</extends>
+   <header>dm.h</header>
+  </customwidget>
+  <customwidget>
+   <class>DmTextEdit</class>
+   <extends>QTextEdit</extends>
+   <header location="global">dm.h</header>
+  </customwidget>
+  <customwidget>
+   <class>DmLabel</class>
+   <extends>QLabel</extends>
+   <header location="global">dm.h</header>
+  </customwidget>
+  <customwidget>
+   <class>DmGraphicsView</class>
+   <extends>QGraphicsView</extends>
+   <header location="global">dm.h</header>
+  </customwidget>
+  <customwidget>
+   <class>DmTableMat</class>
+   <extends>QTableWidget</extends>
+   <header location="global">dm.h</header>
+  </customwidget>
+  <customwidget>
+   <class>DmFrameInf_Combattant</class>
+   <extends>QGroupBox</extends>
+   <header location="global">dm.h</header>
+   <container>1</container>
+  </customwidget>
+  <customwidget>
+   <class>DmFrameInf_Decor</class>
+   <extends>QGroupBox</extends>
+   <header location="global">dm.h</header>
+   <container>1</container>
+  </customwidget>
+  <customwidget>
+   <class>DmFrameInf_Case</class>
+   <extends>QGroupBox</extends>
+   <header location="global">dm.h</header>
+   <container>1</container>
+  </customwidget>
+ </customwidgets>
+ <resources>
+  <include location="ressource.qrc"/>
+  <include location="../../../../../Users/olivier.massot/.designer/backup/ressource.qrc"/>
+ </resources>
+ <connections/>
+</ui>

BIN
lib/ui/ressource/brise_16.png


BIN
lib/ui/ressource/import_16.png


BIN
lib/ui/ressource/moins_16.png


BIN
lib/ui/ressource/verrou_ferme_16.png


BIN
lib/ui/ressource/verrou_ouvert_16.png


+ 29 - 0
lib/uid.py

@@ -0,0 +1,29 @@
+import time
+from random import randint
+
+def uid(prefixe = ""):
+    """construit un identifiant unique de 10 caracteres"""
+    #representation de la date (annee/mois/jour/heure/min/seconde)
+    base = ["a","b","c","d","e","f","g","h","i","j","k","l","m","n", \
+        "o","p","q","r","s","t","u","v","w","x","y","z", \
+        "A","B","C","D","E","F","G","H","I","J","K","L", \
+        "M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z", \
+        "2","3","4","5","6","7","8","9"]
+    dat = time.gmtime()
+    a = dat[0] ; m = dat[1] ; j = dat[2] ; h = dat[3] ; mn = dat[4] ; s = dat[5]
+    a_, m_, j_, h_, mn_, s_ = base[(int(a)-2000)], base[int(m)], base[int(j)], base[int(h)], base[int(mn)], base[int(s)]
+    #ajout de 2 caracteres aleatoires
+    c1 = base[randint(0,59)] ; c2 = base[randint(0,59)]
+    #concatenation
+    if len(prefixe) >= 2:
+        p_ = prefixe[0:2]
+    else:
+        while len(prefixe) < 2:
+            prefixe += "-"
+        p_ = prefixe  
+    retour = "{}{}{}{}{}{}{}{}{}".format(p_, a_, m_, j_, h_, mn_, s_, c1, c2)
+    
+    return retour
+
+
+

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.