qt_details.ui 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308
  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. <attribute name="verticalHeaderVisible">
  213. <bool>false</bool>
  214. </attribute>
  215. <column>
  216. <property name="text">
  217. <string>index</string>
  218. </property>
  219. </column>
  220. <column>
  221. <property name="text">
  222. <string>Ligne</string>
  223. </property>
  224. </column>
  225. <column>
  226. <property name="text">
  227. <string>Nom</string>
  228. </property>
  229. </column>
  230. <column>
  231. <property name="text">
  232. <string>Type</string>
  233. </property>
  234. </column>
  235. <column>
  236. <property name="text">
  237. <string>Extrait</string>
  238. </property>
  239. </column>
  240. </widget>
  241. </item>
  242. <item>
  243. <layout class="QHBoxLayout" name="horizontalLayout_2">
  244. <property name="topMargin">
  245. <number>0</number>
  246. </property>
  247. <property name="bottomMargin">
  248. <number>5</number>
  249. </property>
  250. </layout>
  251. </item>
  252. <item>
  253. <layout class="QHBoxLayout" name="horizontalLayout_3">
  254. <property name="bottomMargin">
  255. <number>0</number>
  256. </property>
  257. <item>
  258. <spacer name="horizontalSpacer_3">
  259. <property name="orientation">
  260. <enum>Qt::Horizontal</enum>
  261. </property>
  262. <property name="sizeHint" stdset="0">
  263. <size>
  264. <width>40</width>
  265. <height>20</height>
  266. </size>
  267. </property>
  268. </spacer>
  269. </item>
  270. <item>
  271. <widget class="QPushButton" name="btn_cancel">
  272. <property name="minimumSize">
  273. <size>
  274. <width>150</width>
  275. <height>30</height>
  276. </size>
  277. </property>
  278. <property name="text">
  279. <string>Annuler</string>
  280. </property>
  281. <property name="autoDefault">
  282. <bool>false</bool>
  283. </property>
  284. </widget>
  285. </item>
  286. <item>
  287. <widget class="QPushButton" name="btn_ok">
  288. <property name="minimumSize">
  289. <size>
  290. <width>150</width>
  291. <height>30</height>
  292. </size>
  293. </property>
  294. <property name="text">
  295. <string>Valider</string>
  296. </property>
  297. <property name="default">
  298. <bool>true</bool>
  299. </property>
  300. </widget>
  301. </item>
  302. </layout>
  303. </item>
  304. </layout>
  305. </widget>
  306. <resources/>
  307. <connections/>
  308. </ui>