qt_details.ui 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>Dialog</class>
  4. <widget class="QDialog" name="Dialog">
  5. <property name="windowModality">
  6. <enum>Qt::ApplicationModal</enum>
  7. </property>
  8. <property name="geometry">
  9. <rect>
  10. <x>0</x>
  11. <y>0</y>
  12. <width>665</width>
  13. <height>572</height>
  14. </rect>
  15. </property>
  16. <property name="font">
  17. <font>
  18. <family>Verdana</family>
  19. </font>
  20. </property>
  21. <property name="windowTitle">
  22. <string>Détails de l'objet</string>
  23. </property>
  24. <property name="windowIcon">
  25. <iconset>
  26. <normaloff>rsc/icon.svg</normaloff>rsc/icon.svg</iconset>
  27. </property>
  28. <property name="modal">
  29. <bool>true</bool>
  30. </property>
  31. <layout class="QVBoxLayout" name="verticalLayout">
  32. <item>
  33. <widget class="QLabel" name="lbl_title">
  34. <property name="minimumSize">
  35. <size>
  36. <width>571</width>
  37. <height>21</height>
  38. </size>
  39. </property>
  40. <property name="maximumSize">
  41. <size>
  42. <width>16777215</width>
  43. <height>21</height>
  44. </size>
  45. </property>
  46. <property name="font">
  47. <font>
  48. <pointsize>12</pointsize>
  49. </font>
  50. </property>
  51. <property name="text">
  52. <string>ObjectType: ObjectName</string>
  53. </property>
  54. </widget>
  55. </item>
  56. <item>
  57. <layout class="QHBoxLayout" name="horizontalLayout">
  58. <property name="topMargin">
  59. <number>0</number>
  60. </property>
  61. <property name="bottomMargin">
  62. <number>5</number>
  63. </property>
  64. <item>
  65. <widget class="QLabel" name="label_2">
  66. <property name="minimumSize">
  67. <size>
  68. <width>311</width>
  69. <height>21</height>
  70. </size>
  71. </property>
  72. <property name="maximumSize">
  73. <size>
  74. <width>16777215</width>
  75. <height>21</height>
  76. </size>
  77. </property>
  78. <property name="text">
  79. <string>Mentionne les objets suivants dans son code-source:</string>
  80. </property>
  81. </widget>
  82. </item>
  83. <item>
  84. <spacer name="horizontalSpacer">
  85. <property name="orientation">
  86. <enum>Qt::Horizontal</enum>
  87. </property>
  88. <property name="sizeHint" stdset="0">
  89. <size>
  90. <width>40</width>
  91. <height>20</height>
  92. </size>
  93. </property>
  94. </spacer>
  95. </item>
  96. <item>
  97. <widget class="QToolButton" name="btn_add">
  98. <property name="minimumSize">
  99. <size>
  100. <width>28</width>
  101. <height>28</height>
  102. </size>
  103. </property>
  104. <property name="toolTip">
  105. <string>Ajouter une mention</string>
  106. </property>
  107. <property name="text">
  108. <string/>
  109. </property>
  110. <property name="icon">
  111. <iconset>
  112. <normaloff>rsc/add_16.png</normaloff>rsc/add_16.png</iconset>
  113. </property>
  114. </widget>
  115. </item>
  116. <item>
  117. <widget class="QToolButton" name="btn_edit">
  118. <property name="enabled">
  119. <bool>false</bool>
  120. </property>
  121. <property name="minimumSize">
  122. <size>
  123. <width>28</width>
  124. <height>28</height>
  125. </size>
  126. </property>
  127. <property name="toolTip">
  128. <string>Editer la mention</string>
  129. </property>
  130. <property name="text">
  131. <string>edit</string>
  132. </property>
  133. <property name="icon">
  134. <iconset>
  135. <normaloff>rsc/edit_16.png</normaloff>rsc/edit_16.png</iconset>
  136. </property>
  137. </widget>
  138. </item>
  139. <item>
  140. <spacer name="horizontalSpacer_2">
  141. <property name="orientation">
  142. <enum>Qt::Horizontal</enum>
  143. </property>
  144. <property name="sizeType">
  145. <enum>QSizePolicy::Fixed</enum>
  146. </property>
  147. <property name="sizeHint" stdset="0">
  148. <size>
  149. <width>20</width>
  150. <height>0</height>
  151. </size>
  152. </property>
  153. </spacer>
  154. </item>
  155. <item>
  156. <widget class="QToolButton" name="btn_del">
  157. <property name="enabled">
  158. <bool>false</bool>
  159. </property>
  160. <property name="minimumSize">
  161. <size>
  162. <width>28</width>
  163. <height>28</height>
  164. </size>
  165. </property>
  166. <property name="toolTip">
  167. <string>Supprimer la mention</string>
  168. </property>
  169. <property name="text">
  170. <string>...</string>
  171. </property>
  172. <property name="icon">
  173. <iconset>
  174. <normaloff>rsc/del_16.png</normaloff>rsc/del_16.png</iconset>
  175. </property>
  176. </widget>
  177. </item>
  178. </layout>
  179. </item>
  180. <item>
  181. <widget class="QTableWidget" name="tbl_mentions">
  182. <property name="minimumSize">
  183. <size>
  184. <width>600</width>
  185. <height>231</height>
  186. </size>
  187. </property>
  188. <property name="font">
  189. <font>
  190. <family>Verdana</family>
  191. <pointsize>8</pointsize>
  192. </font>
  193. </property>
  194. <property name="editTriggers">
  195. <set>QAbstractItemView::NoEditTriggers</set>
  196. </property>
  197. <property name="showDropIndicator" stdset="0">
  198. <bool>false</bool>
  199. </property>
  200. <property name="dragDropOverwriteMode">
  201. <bool>false</bool>
  202. </property>
  203. <property name="selectionMode">
  204. <enum>QAbstractItemView::SingleSelection</enum>
  205. </property>
  206. <property name="selectionBehavior">
  207. <enum>QAbstractItemView::SelectRows</enum>
  208. </property>
  209. <attribute name="horizontalHeaderStretchLastSection">
  210. <bool>true</bool>
  211. </attribute>
  212. <column>
  213. <property name="text">
  214. <string>index</string>
  215. </property>
  216. </column>
  217. <column>
  218. <property name="text">
  219. <string>Ligne</string>
  220. </property>
  221. </column>
  222. <column>
  223. <property name="text">
  224. <string>Type</string>
  225. </property>
  226. </column>
  227. <column>
  228. <property name="text">
  229. <string>Nom</string>
  230. </property>
  231. </column>
  232. <column>
  233. <property name="text">
  234. <string>Extrait</string>
  235. </property>
  236. </column>
  237. </widget>
  238. </item>
  239. <item>
  240. <layout class="QHBoxLayout" name="horizontalLayout_2">
  241. <property name="topMargin">
  242. <number>0</number>
  243. </property>
  244. <property name="bottomMargin">
  245. <number>5</number>
  246. </property>
  247. </layout>
  248. </item>
  249. <item>
  250. <layout class="QHBoxLayout" name="horizontalLayout_3">
  251. <property name="bottomMargin">
  252. <number>0</number>
  253. </property>
  254. <item>
  255. <spacer name="horizontalSpacer_3">
  256. <property name="orientation">
  257. <enum>Qt::Horizontal</enum>
  258. </property>
  259. <property name="sizeHint" stdset="0">
  260. <size>
  261. <width>40</width>
  262. <height>20</height>
  263. </size>
  264. </property>
  265. </spacer>
  266. </item>
  267. <item>
  268. <widget class="QPushButton" name="btn_cancel">
  269. <property name="minimumSize">
  270. <size>
  271. <width>150</width>
  272. <height>30</height>
  273. </size>
  274. </property>
  275. <property name="text">
  276. <string>Annuler</string>
  277. </property>
  278. <property name="autoDefault">
  279. <bool>false</bool>
  280. </property>
  281. </widget>
  282. </item>
  283. <item>
  284. <widget class="QPushButton" name="btn_ok">
  285. <property name="minimumSize">
  286. <size>
  287. <width>150</width>
  288. <height>30</height>
  289. </size>
  290. </property>
  291. <property name="text">
  292. <string>Valider</string>
  293. </property>
  294. <property name="default">
  295. <bool>true</bool>
  296. </property>
  297. </widget>
  298. </item>
  299. </layout>
  300. </item>
  301. </layout>
  302. </widget>
  303. <resources/>
  304. <connections/>
  305. </ui>