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.
 
 
 

379 lines
12 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="btnScannerFacture">
  201. <property name="toolTip">
  202. <string>Numériser une facture et l'ajouter</string>
  203. </property>
  204. <property name="text">
  205. <string/>
  206. </property>
  207. <property name="icon">
  208. <iconset resource="resources.qrc">
  209. <normaloff>:/icons/scanner.png</normaloff>:/icons/scanner.png</iconset>
  210. </property>
  211. </widget>
  212. </item>
  213. <item>
  214. <widget class="QPushButton" name="btnSupprFacture">
  215. <property name="enabled">
  216. <bool>false</bool>
  217. </property>
  218. <property name="toolTip">
  219. <string>Supprimer la facture</string>
  220. </property>
  221. <property name="text">
  222. <string/>
  223. </property>
  224. <property name="icon">
  225. <iconset resource="resources.qrc">
  226. <normaloff>:/icons/remove.png</normaloff>:/icons/remove.png</iconset>
  227. </property>
  228. </widget>
  229. </item>
  230. <item>
  231. <spacer name="verticalSpacer">
  232. <property name="orientation">
  233. <enum>Qt::Vertical</enum>
  234. </property>
  235. <property name="sizeHint" stdset="0">
  236. <size>
  237. <width>20</width>
  238. <height>40</height>
  239. </size>
  240. </property>
  241. </spacer>
  242. </item>
  243. </layout>
  244. </item>
  245. </layout>
  246. </widget>
  247. </item>
  248. <item>
  249. <widget class="QGroupBox" name="groupBox_2">
  250. <property name="title">
  251. <string>Garanties</string>
  252. </property>
  253. <layout class="QHBoxLayout" name="horizontalLayout_2">
  254. <item>
  255. <widget class="QListWidget" name="listGaranties"/>
  256. </item>
  257. <item>
  258. <layout class="QVBoxLayout" name="verticalLayout_4">
  259. <property name="spacing">
  260. <number>0</number>
  261. </property>
  262. <item>
  263. <widget class="QPushButton" name="btnAjoutGarantie">
  264. <property name="toolTip">
  265. <string>Ajouter une garantie</string>
  266. </property>
  267. <property name="text">
  268. <string/>
  269. </property>
  270. <property name="icon">
  271. <iconset resource="resources.qrc">
  272. <normaloff>:/icons/add.png</normaloff>:/icons/add.png</iconset>
  273. </property>
  274. </widget>
  275. </item>
  276. <item>
  277. <widget class="QPushButton" name="btnScannerGarantie">
  278. <property name="toolTip">
  279. <string>Numériser une garantie et l'ajouter</string>
  280. </property>
  281. <property name="text">
  282. <string/>
  283. </property>
  284. <property name="icon">
  285. <iconset resource="resources.qrc">
  286. <normaloff>:/icons/scanner.png</normaloff>:/icons/scanner.png</iconset>
  287. </property>
  288. </widget>
  289. </item>
  290. <item>
  291. <widget class="QPushButton" name="btnSupprGarantie">
  292. <property name="enabled">
  293. <bool>false</bool>
  294. </property>
  295. <property name="toolTip">
  296. <string>Supprimer la garantie</string>
  297. </property>
  298. <property name="text">
  299. <string/>
  300. </property>
  301. <property name="icon">
  302. <iconset resource="resources.qrc">
  303. <normaloff>:/icons/remove.png</normaloff>:/icons/remove.png</iconset>
  304. </property>
  305. </widget>
  306. </item>
  307. <item>
  308. <spacer name="verticalSpacer_2">
  309. <property name="orientation">
  310. <enum>Qt::Vertical</enum>
  311. </property>
  312. <property name="sizeHint" stdset="0">
  313. <size>
  314. <width>20</width>
  315. <height>40</height>
  316. </size>
  317. </property>
  318. </spacer>
  319. </item>
  320. </layout>
  321. </item>
  322. </layout>
  323. </widget>
  324. </item>
  325. </layout>
  326. </widget>
  327. </widget>
  328. </item>
  329. <item>
  330. <widget class="QDialogButtonBox" name="buttonBox">
  331. <property name="orientation">
  332. <enum>Qt::Horizontal</enum>
  333. </property>
  334. <property name="standardButtons">
  335. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  336. </property>
  337. </widget>
  338. </item>
  339. </layout>
  340. </widget>
  341. <resources>
  342. <include location="resources.qrc"/>
  343. </resources>
  344. <connections>
  345. <connection>
  346. <sender>buttonBox</sender>
  347. <signal>accepted()</signal>
  348. <receiver>InfosProduitDialog</receiver>
  349. <slot>accept()</slot>
  350. <hints>
  351. <hint type="sourcelabel">
  352. <x>257</x>
  353. <y>417</y>
  354. </hint>
  355. <hint type="destinationlabel">
  356. <x>157</x>
  357. <y>274</y>
  358. </hint>
  359. </hints>
  360. </connection>
  361. <connection>
  362. <sender>buttonBox</sender>
  363. <signal>rejected()</signal>
  364. <receiver>InfosProduitDialog</receiver>
  365. <slot>reject()</slot>
  366. <hints>
  367. <hint type="sourcelabel">
  368. <x>325</x>
  369. <y>417</y>
  370. </hint>
  371. <hint type="destinationlabel">
  372. <x>286</x>
  373. <y>274</y>
  374. </hint>
  375. </hints>
  376. </connection>
  377. </connections>
  378. </ui>