Your warranties manager
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

351 lines
11 KiB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>InfosProduitDialog</class>
  4. <widget class="QDialog" name="InfosProduitDialog">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>694</width>
  10. <height>427</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Informations sur le produit</string>
  15. </property>
  16. <layout class="QVBoxLayout" name="verticalLayout">
  17. <item>
  18. <widget class="QTabWidget" name="tabWidget">
  19. <property name="currentIndex">
  20. <number>0</number>
  21. </property>
  22. <widget class="QWidget" name="tabProduit">
  23. <attribute name="title">
  24. <string>Produit</string>
  25. </attribute>
  26. <layout class="QFormLayout" name="formLayout">
  27. <property name="fieldGrowthPolicy">
  28. <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
  29. </property>
  30. <item row="0" column="0">
  31. <widget class="QLabel" name="label">
  32. <property name="text">
  33. <string>Nom :</string>
  34. </property>
  35. </widget>
  36. </item>
  37. <item row="0" column="1">
  38. <widget class="QLineEdit" name="txtNom"/>
  39. </item>
  40. <item row="2" column="0">
  41. <widget class="QLabel" name="label_3">
  42. <property name="text">
  43. <string>Date d'achat :</string>
  44. </property>
  45. </widget>
  46. </item>
  47. <item row="2" column="1">
  48. <widget class="QDateEdit" name="dateAchat">
  49. <property name="calendarPopup">
  50. <bool>true</bool>
  51. </property>
  52. </widget>
  53. </item>
  54. <item row="4" column="0">
  55. <widget class="QLabel" name="label_6">
  56. <property name="text">
  57. <string>Fin de la garantie :</string>
  58. </property>
  59. </widget>
  60. </item>
  61. <item row="4" column="1">
  62. <widget class="QDateEdit" name="dateFinGarantie">
  63. <property name="minimumDate">
  64. <date>
  65. <year>1975</year>
  66. <month>1</month>
  67. <day>1</day>
  68. </date>
  69. </property>
  70. <property name="calendarPopup">
  71. <bool>true</bool>
  72. </property>
  73. </widget>
  74. </item>
  75. <item row="6" column="1">
  76. <widget class="QComboBox" name="comboMagasin"/>
  77. </item>
  78. <item row="7" column="1">
  79. <widget class="QCheckBox" name="checkSAV">
  80. <property name="toolTip">
  81. <string>Cochez cette case si vous avez envoyé le produit en SAV.</string>
  82. </property>
  83. <property name="text">
  84. <string>Actuellement en SAV</string>
  85. </property>
  86. </widget>
  87. </item>
  88. <item row="8" column="0">
  89. <widget class="QLabel" name="label_2">
  90. <property name="text">
  91. <string>Image à afficher :</string>
  92. </property>
  93. </widget>
  94. </item>
  95. <item row="8" column="1">
  96. <widget class="QWidget" name="widget" native="true">
  97. <layout class="QVBoxLayout" name="verticalLayout_5">
  98. <item>
  99. <widget class="QLabel" name="image">
  100. <property name="text">
  101. <string>Image</string>
  102. </property>
  103. <property name="alignment">
  104. <set>Qt::AlignCenter</set>
  105. </property>
  106. </widget>
  107. </item>
  108. <item>
  109. <layout class="QHBoxLayout" name="horizontalLayout_3">
  110. <item>
  111. <widget class="QPushButton" name="btnImageParcourir">
  112. <property name="text">
  113. <string>Parcourir...</string>
  114. </property>
  115. </widget>
  116. </item>
  117. <item>
  118. <widget class="QPushButton" name="btnImageSupprimer">
  119. <property name="text">
  120. <string>Supprimer</string>
  121. </property>
  122. </widget>
  123. </item>
  124. </layout>
  125. </item>
  126. <item>
  127. <widget class="QLabel" name="label_7">
  128. <property name="text">
  129. <string>Taille conseillée : 128px de hauteur</string>
  130. </property>
  131. <property name="alignment">
  132. <set>Qt::AlignCenter</set>
  133. </property>
  134. </widget>
  135. </item>
  136. </layout>
  137. </widget>
  138. </item>
  139. <item row="5" column="1">
  140. <widget class="QCheckBox" name="checkGarantieAVie">
  141. <property name="text">
  142. <string>Ce produit bénéficie d'une garantie à vie</string>
  143. </property>
  144. </widget>
  145. </item>
  146. <item row="6" column="0">
  147. <widget class="QLabel" name="label_4">
  148. <property name="text">
  149. <string>Magasin :</string>
  150. </property>
  151. </widget>
  152. </item>
  153. </layout>
  154. </widget>
  155. <widget class="QWidget" name="tabFactures">
  156. <attribute name="title">
  157. <string>Factures &amp;&amp; garanties</string>
  158. </attribute>
  159. <layout class="QVBoxLayout" name="verticalLayout_2">
  160. <item>
  161. <widget class="QLabel" name="label_5">
  162. <property name="text">
  163. <string>Cet onglet permet de conserver des versions numérisées de vos factures et garanties, afin de vous délester de papiers encombrants. Un scanner de bonne qualité est toutefois requis, ces pièces devant être imprimées en cas de retour du produit en SAV.
  164. Vous pouvez ouvrir une facture ou une garantie en double-cliquant dessus.</string>
  165. </property>
  166. <property name="wordWrap">
  167. <bool>true</bool>
  168. </property>
  169. </widget>
  170. </item>
  171. <item>
  172. <widget class="QGroupBox" name="groupBox">
  173. <property name="title">
  174. <string>Factures</string>
  175. </property>
  176. <layout class="QHBoxLayout" name="horizontalLayout">
  177. <item>
  178. <widget class="QListWidget" name="listFactures"/>
  179. </item>
  180. <item>
  181. <layout class="QVBoxLayout" name="verticalLayout_3">
  182. <property name="spacing">
  183. <number>0</number>
  184. </property>
  185. <item>
  186. <widget class="QPushButton" name="btnAjoutFacture">
  187. <property name="toolTip">
  188. <string>Ajouter une facture</string>
  189. </property>
  190. <property name="text">
  191. <string/>
  192. </property>
  193. <property name="icon">
  194. <iconset resource="resources.qrc">
  195. <normaloff>:/icons/add.png</normaloff>:/icons/add.png</iconset>
  196. </property>
  197. </widget>
  198. </item>
  199. <item>
  200. <widget class="QPushButton" name="btnSupprFacture">
  201. <property name="enabled">
  202. <bool>false</bool>
  203. </property>
  204. <property name="toolTip">
  205. <string>Supprimer la facture</string>
  206. </property>
  207. <property name="text">
  208. <string/>
  209. </property>
  210. <property name="icon">
  211. <iconset resource="resources.qrc">
  212. <normaloff>:/icons/remove.png</normaloff>:/icons/remove.png</iconset>
  213. </property>
  214. </widget>
  215. </item>
  216. <item>
  217. <spacer name="verticalSpacer">
  218. <property name="orientation">
  219. <enum>Qt::Vertical</enum>
  220. </property>
  221. <property name="sizeHint" stdset="0">
  222. <size>
  223. <width>20</width>
  224. <height>40</height>
  225. </size>
  226. </property>
  227. </spacer>
  228. </item>
  229. </layout>
  230. </item>
  231. </layout>
  232. </widget>
  233. </item>
  234. <item>
  235. <widget class="QGroupBox" name="groupBox_2">
  236. <property name="title">
  237. <string>Garanties</string>
  238. </property>
  239. <layout class="QHBoxLayout" name="horizontalLayout_2">
  240. <item>
  241. <widget class="QListWidget" name="listGaranties"/>
  242. </item>
  243. <item>
  244. <layout class="QVBoxLayout" name="verticalLayout_4">
  245. <property name="spacing">
  246. <number>0</number>
  247. </property>
  248. <item>
  249. <widget class="QPushButton" name="btnAjoutGarantie">
  250. <property name="toolTip">
  251. <string>Ajouter une garantie</string>
  252. </property>
  253. <property name="text">
  254. <string/>
  255. </property>
  256. <property name="icon">
  257. <iconset resource="resources.qrc">
  258. <normaloff>:/icons/add.png</normaloff>:/icons/add.png</iconset>
  259. </property>
  260. </widget>
  261. </item>
  262. <item>
  263. <widget class="QPushButton" name="btnSupprGarantie">
  264. <property name="enabled">
  265. <bool>false</bool>
  266. </property>
  267. <property name="toolTip">
  268. <string>Supprimer la garantie</string>
  269. </property>
  270. <property name="text">
  271. <string/>
  272. </property>
  273. <property name="icon">
  274. <iconset resource="resources.qrc">
  275. <normaloff>:/icons/remove.png</normaloff>:/icons/remove.png</iconset>
  276. </property>
  277. </widget>
  278. </item>
  279. <item>
  280. <spacer name="verticalSpacer_2">
  281. <property name="orientation">
  282. <enum>Qt::Vertical</enum>
  283. </property>
  284. <property name="sizeHint" stdset="0">
  285. <size>
  286. <width>20</width>
  287. <height>40</height>
  288. </size>
  289. </property>
  290. </spacer>
  291. </item>
  292. </layout>
  293. </item>
  294. </layout>
  295. </widget>
  296. </item>
  297. </layout>
  298. </widget>
  299. </widget>
  300. </item>
  301. <item>
  302. <widget class="QDialogButtonBox" name="buttonBox">
  303. <property name="orientation">
  304. <enum>Qt::Horizontal</enum>
  305. </property>
  306. <property name="standardButtons">
  307. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  308. </property>
  309. </widget>
  310. </item>
  311. </layout>
  312. </widget>
  313. <resources>
  314. <include location="resources.qrc"/>
  315. </resources>
  316. <connections>
  317. <connection>
  318. <sender>buttonBox</sender>
  319. <signal>accepted()</signal>
  320. <receiver>InfosProduitDialog</receiver>
  321. <slot>accept()</slot>
  322. <hints>
  323. <hint type="sourcelabel">
  324. <x>257</x>
  325. <y>417</y>
  326. </hint>
  327. <hint type="destinationlabel">
  328. <x>157</x>
  329. <y>274</y>
  330. </hint>
  331. </hints>
  332. </connection>
  333. <connection>
  334. <sender>buttonBox</sender>
  335. <signal>rejected()</signal>
  336. <receiver>InfosProduitDialog</receiver>
  337. <slot>reject()</slot>
  338. <hints>
  339. <hint type="sourcelabel">
  340. <x>325</x>
  341. <y>417</y>
  342. </hint>
  343. <hint type="destinationlabel">
  344. <x>286</x>
  345. <y>274</y>
  346. </hint>
  347. </hints>
  348. </connection>
  349. </connections>
  350. </ui>