main.ui 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>mainWindow</class>
  4. <widget class="QMainWindow" name="mainWindow">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>521</width>
  10. <height>292</height>
  11. </rect>
  12. </property>
  13. <property name="minimumSize">
  14. <size>
  15. <width>521</width>
  16. <height>292</height>
  17. </size>
  18. </property>
  19. <property name="maximumSize">
  20. <size>
  21. <width>521</width>
  22. <height>300</height>
  23. </size>
  24. </property>
  25. <property name="font">
  26. <font>
  27. <family>Verdana</family>
  28. <pointsize>8</pointsize>
  29. </font>
  30. </property>
  31. <property name="windowTitle">
  32. <string>Pardit</string>
  33. </property>
  34. <property name="windowIcon">
  35. <iconset resource="pardit.qrc">
  36. <normaloff>:/img/rsc/cone.png</normaloff>:/img/rsc/cone.png</iconset>
  37. </property>
  38. <widget class="QWidget" name="centralwidget">
  39. <layout class="QVBoxLayout" name="verticalLayout">
  40. <property name="spacing">
  41. <number>3</number>
  42. </property>
  43. <property name="leftMargin">
  44. <number>3</number>
  45. </property>
  46. <property name="topMargin">
  47. <number>3</number>
  48. </property>
  49. <property name="rightMargin">
  50. <number>3</number>
  51. </property>
  52. <property name="bottomMargin">
  53. <number>3</number>
  54. </property>
  55. <item>
  56. <widget class="QStackedWidget" name="mainStack">
  57. <property name="currentIndex">
  58. <number>0</number>
  59. </property>
  60. <widget class="QWidget" name="page0">
  61. <layout class="QVBoxLayout" name="verticalLayout_2">
  62. <item>
  63. <widget class="DropLabel" name="lblDropzone">
  64. <property name="minimumSize">
  65. <size>
  66. <width>0</width>
  67. <height>150</height>
  68. </size>
  69. </property>
  70. <property name="palette">
  71. <palette>
  72. <active>
  73. <colorrole role="Base">
  74. <brush brushstyle="SolidPattern">
  75. <color alpha="255">
  76. <red>255</red>
  77. <green>255</green>
  78. <blue>255</blue>
  79. </color>
  80. </brush>
  81. </colorrole>
  82. <colorrole role="Window">
  83. <brush brushstyle="SolidPattern">
  84. <color alpha="110">
  85. <red>255</red>
  86. <green>255</green>
  87. <blue>255</blue>
  88. </color>
  89. </brush>
  90. </colorrole>
  91. </active>
  92. <inactive>
  93. <colorrole role="Base">
  94. <brush brushstyle="SolidPattern">
  95. <color alpha="255">
  96. <red>255</red>
  97. <green>255</green>
  98. <blue>255</blue>
  99. </color>
  100. </brush>
  101. </colorrole>
  102. <colorrole role="Window">
  103. <brush brushstyle="SolidPattern">
  104. <color alpha="110">
  105. <red>255</red>
  106. <green>255</green>
  107. <blue>255</blue>
  108. </color>
  109. </brush>
  110. </colorrole>
  111. </inactive>
  112. <disabled>
  113. <colorrole role="Base">
  114. <brush brushstyle="SolidPattern">
  115. <color alpha="110">
  116. <red>255</red>
  117. <green>255</green>
  118. <blue>255</blue>
  119. </color>
  120. </brush>
  121. </colorrole>
  122. <colorrole role="Window">
  123. <brush brushstyle="SolidPattern">
  124. <color alpha="110">
  125. <red>255</red>
  126. <green>255</green>
  127. <blue>255</blue>
  128. </color>
  129. </brush>
  130. </colorrole>
  131. </disabled>
  132. </palette>
  133. </property>
  134. <property name="font">
  135. <font>
  136. <pointsize>9</pointsize>
  137. <weight>75</weight>
  138. <bold>true</bold>
  139. </font>
  140. </property>
  141. <property name="acceptDrops">
  142. <bool>true</bool>
  143. </property>
  144. <property name="autoFillBackground">
  145. <bool>true</bool>
  146. </property>
  147. <property name="frameShape">
  148. <enum>QFrame::Box</enum>
  149. </property>
  150. <property name="frameShadow">
  151. <enum>QFrame::Raised</enum>
  152. </property>
  153. <property name="text">
  154. <string>Déposer votre fichier ici</string>
  155. </property>
  156. <property name="alignment">
  157. <set>Qt::AlignCenter</set>
  158. </property>
  159. </widget>
  160. </item>
  161. <item>
  162. <spacer name="verticalSpacer">
  163. <property name="orientation">
  164. <enum>Qt::Vertical</enum>
  165. </property>
  166. <property name="sizeHint" stdset="0">
  167. <size>
  168. <width>20</width>
  169. <height>40</height>
  170. </size>
  171. </property>
  172. </spacer>
  173. </item>
  174. <item>
  175. <layout class="QHBoxLayout" name="horizontalLayout_2">
  176. <property name="leftMargin">
  177. <number>10</number>
  178. </property>
  179. <property name="rightMargin">
  180. <number>10</number>
  181. </property>
  182. <item>
  183. <widget class="QLabel" name="label_2">
  184. <property name="font">
  185. <font>
  186. <italic>true</italic>
  187. </font>
  188. </property>
  189. <property name="text">
  190. <string>Ou:</string>
  191. </property>
  192. </widget>
  193. </item>
  194. <item>
  195. <widget class="QPushButton" name="btnRun">
  196. <property name="minimumSize">
  197. <size>
  198. <width>250</width>
  199. <height>41</height>
  200. </size>
  201. </property>
  202. <property name="maximumSize">
  203. <size>
  204. <width>1000</width>
  205. <height>41</height>
  206. </size>
  207. </property>
  208. <property name="font">
  209. <font>
  210. <family>Verdana</family>
  211. <pointsize>9</pointsize>
  212. <weight>75</weight>
  213. <bold>true</bold>
  214. </font>
  215. </property>
  216. <property name="text">
  217. <string>Sélectionnez le fichier à traiter</string>
  218. </property>
  219. <property name="autoDefault">
  220. <bool>false</bool>
  221. </property>
  222. <property name="default">
  223. <bool>true</bool>
  224. </property>
  225. </widget>
  226. </item>
  227. </layout>
  228. </item>
  229. <item>
  230. <spacer name="verticalSpacer_3">
  231. <property name="orientation">
  232. <enum>Qt::Vertical</enum>
  233. </property>
  234. <property name="sizeHint" stdset="0">
  235. <size>
  236. <width>20</width>
  237. <height>40</height>
  238. </size>
  239. </property>
  240. </spacer>
  241. </item>
  242. <item>
  243. <spacer name="verticalSpacer_2">
  244. <property name="orientation">
  245. <enum>Qt::Vertical</enum>
  246. </property>
  247. <property name="sizeHint" stdset="0">
  248. <size>
  249. <width>20</width>
  250. <height>40</height>
  251. </size>
  252. </property>
  253. </spacer>
  254. </item>
  255. <item>
  256. <layout class="QHBoxLayout" name="horizontalLayout">
  257. <item>
  258. <spacer name="horizontalSpacer">
  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="btnHelp">
  272. <property name="minimumSize">
  273. <size>
  274. <width>121</width>
  275. <height>31</height>
  276. </size>
  277. </property>
  278. <property name="text">
  279. <string> Aide</string>
  280. </property>
  281. <property name="icon">
  282. <iconset resource="pardit.qrc">
  283. <normaloff>:/img/rsc/question.png</normaloff>:/img/rsc/question.png</iconset>
  284. </property>
  285. </widget>
  286. </item>
  287. <item>
  288. <widget class="QPushButton" name="btnSettings">
  289. <property name="minimumSize">
  290. <size>
  291. <width>121</width>
  292. <height>31</height>
  293. </size>
  294. </property>
  295. <property name="maximumSize">
  296. <size>
  297. <width>121</width>
  298. <height>31</height>
  299. </size>
  300. </property>
  301. <property name="font">
  302. <font>
  303. <family>Verdana</family>
  304. <pointsize>8</pointsize>
  305. </font>
  306. </property>
  307. <property name="text">
  308. <string> Configuration</string>
  309. </property>
  310. <property name="icon">
  311. <iconset resource="pardit.qrc">
  312. <normaloff>:/img/rsc/settings.png</normaloff>:/img/rsc/settings.png</iconset>
  313. </property>
  314. </widget>
  315. </item>
  316. </layout>
  317. </item>
  318. </layout>
  319. </widget>
  320. <widget class="QWidget" name="page1">
  321. <layout class="QVBoxLayout" name="verticalLayout_3">
  322. <item>
  323. <widget class="QLabel" name="lblWait">
  324. <property name="font">
  325. <font>
  326. <family>Verdana</family>
  327. <pointsize>11</pointsize>
  328. </font>
  329. </property>
  330. <property name="text">
  331. <string>Veuillez patienter...</string>
  332. </property>
  333. <property name="alignment">
  334. <set>Qt::AlignCenter</set>
  335. </property>
  336. </widget>
  337. </item>
  338. <item>
  339. <layout class="QHBoxLayout" name="horizontalLayout_3">
  340. <item>
  341. <widget class="QLabel" name="imgHourglass">
  342. <property name="minimumSize">
  343. <size>
  344. <width>61</width>
  345. <height>81</height>
  346. </size>
  347. </property>
  348. <property name="maximumSize">
  349. <size>
  350. <width>61</width>
  351. <height>81</height>
  352. </size>
  353. </property>
  354. <property name="text">
  355. <string/>
  356. </property>
  357. <property name="pixmap">
  358. <pixmap resource="pardit.qrc">:/img/rsc/hourglass.png</pixmap>
  359. </property>
  360. </widget>
  361. </item>
  362. </layout>
  363. </item>
  364. </layout>
  365. </widget>
  366. <widget class="QWidget" name="page2">
  367. <layout class="QVBoxLayout" name="verticalLayout_4">
  368. <item>
  369. <layout class="QVBoxLayout" name="verticalLayout_6" stretch="5,0,5,1">
  370. <property name="bottomMargin">
  371. <number>0</number>
  372. </property>
  373. <item>
  374. <layout class="QHBoxLayout" name="horizontalLayout_4">
  375. <property name="leftMargin">
  376. <number>6</number>
  377. </property>
  378. <property name="rightMargin">
  379. <number>6</number>
  380. </property>
  381. <item>
  382. <widget class="QLabel" name="lblFilenameTitle">
  383. <property name="font">
  384. <font>
  385. <pointsize>9</pointsize>
  386. <weight>75</weight>
  387. <bold>true</bold>
  388. </font>
  389. </property>
  390. <property name="text">
  391. <string>Opération réussie</string>
  392. </property>
  393. </widget>
  394. </item>
  395. <item>
  396. <spacer name="horizontalSpacer_4">
  397. <property name="orientation">
  398. <enum>Qt::Horizontal</enum>
  399. </property>
  400. <property name="sizeHint" stdset="0">
  401. <size>
  402. <width>40</width>
  403. <height>20</height>
  404. </size>
  405. </property>
  406. </spacer>
  407. </item>
  408. </layout>
  409. </item>
  410. <item>
  411. <layout class="QVBoxLayout" name="filenames_layout"/>
  412. </item>
  413. <item>
  414. <layout class="QHBoxLayout" name="horizontalLayout_5">
  415. <property name="spacing">
  416. <number>15</number>
  417. </property>
  418. <property name="leftMargin">
  419. <number>15</number>
  420. </property>
  421. <property name="rightMargin">
  422. <number>15</number>
  423. </property>
  424. <item>
  425. <widget class="QPushButton" name="btnOpen">
  426. <property name="minimumSize">
  427. <size>
  428. <width>0</width>
  429. <height>32</height>
  430. </size>
  431. </property>
  432. <property name="text">
  433. <string> Voir</string>
  434. </property>
  435. <property name="icon">
  436. <iconset resource="pardit.qrc">
  437. <normaloff>:/img/rsc/pdf.png</normaloff>:/img/rsc/pdf.png</iconset>
  438. </property>
  439. <property name="iconSize">
  440. <size>
  441. <width>20</width>
  442. <height>20</height>
  443. </size>
  444. </property>
  445. </widget>
  446. </item>
  447. <item>
  448. <widget class="QPushButton" name="btnDir">
  449. <property name="minimumSize">
  450. <size>
  451. <width>0</width>
  452. <height>32</height>
  453. </size>
  454. </property>
  455. <property name="text">
  456. <string>Ouvrir le dossier</string>
  457. </property>
  458. <property name="icon">
  459. <iconset resource="pardit.qrc">
  460. <normaloff>:/img/rsc/folder.png</normaloff>:/img/rsc/folder.png</iconset>
  461. </property>
  462. </widget>
  463. </item>
  464. <item>
  465. <widget class="QPushButton" name="btnMail">
  466. <property name="minimumSize">
  467. <size>
  468. <width>0</width>
  469. <height>32</height>
  470. </size>
  471. </property>
  472. <property name="text">
  473. <string> Envoyer par mail</string>
  474. </property>
  475. <property name="icon">
  476. <iconset resource="pardit.qrc">
  477. <normaloff>:/img/rsc/email.png</normaloff>:/img/rsc/email.png</iconset>
  478. </property>
  479. <property name="iconSize">
  480. <size>
  481. <width>18</width>
  482. <height>18</height>
  483. </size>
  484. </property>
  485. <property name="shortcut">
  486. <string>Ctrl+S</string>
  487. </property>
  488. </widget>
  489. </item>
  490. </layout>
  491. </item>
  492. <item>
  493. <layout class="QHBoxLayout" name="horizontalLayout_6">
  494. <property name="sizeConstraint">
  495. <enum>QLayout::SetMinimumSize</enum>
  496. </property>
  497. <item>
  498. <widget class="QPushButton" name="btnCancel">
  499. <property name="minimumSize">
  500. <size>
  501. <width>0</width>
  502. <height>20</height>
  503. </size>
  504. </property>
  505. <property name="maximumSize">
  506. <size>
  507. <width>16777215</width>
  508. <height>20</height>
  509. </size>
  510. </property>
  511. <property name="palette">
  512. <palette>
  513. <active>
  514. <colorrole role="ButtonText">
  515. <brush brushstyle="SolidPattern">
  516. <color alpha="255">
  517. <red>0</red>
  518. <green>0</green>
  519. <blue>127</blue>
  520. </color>
  521. </brush>
  522. </colorrole>
  523. </active>
  524. <inactive>
  525. <colorrole role="ButtonText">
  526. <brush brushstyle="SolidPattern">
  527. <color alpha="255">
  528. <red>0</red>
  529. <green>0</green>
  530. <blue>127</blue>
  531. </color>
  532. </brush>
  533. </colorrole>
  534. </inactive>
  535. <disabled>
  536. <colorrole role="ButtonText">
  537. <brush brushstyle="SolidPattern">
  538. <color alpha="255">
  539. <red>120</red>
  540. <green>120</green>
  541. <blue>120</blue>
  542. </color>
  543. </brush>
  544. </colorrole>
  545. </disabled>
  546. </palette>
  547. </property>
  548. <property name="font">
  549. <font>
  550. <underline>true</underline>
  551. </font>
  552. </property>
  553. <property name="text">
  554. <string>Retour</string>
  555. </property>
  556. <property name="flat">
  557. <bool>false</bool>
  558. </property>
  559. </widget>
  560. </item>
  561. <item>
  562. <spacer name="horizontalSpacer_5">
  563. <property name="orientation">
  564. <enum>Qt::Horizontal</enum>
  565. </property>
  566. <property name="sizeType">
  567. <enum>QSizePolicy::Expanding</enum>
  568. </property>
  569. <property name="sizeHint" stdset="0">
  570. <size>
  571. <width>40</width>
  572. <height>0</height>
  573. </size>
  574. </property>
  575. </spacer>
  576. </item>
  577. </layout>
  578. </item>
  579. </layout>
  580. </item>
  581. </layout>
  582. </widget>
  583. </widget>
  584. </item>
  585. </layout>
  586. </widget>
  587. <widget class="QStatusBar" name="statusbar"/>
  588. </widget>
  589. <customwidgets>
  590. <customwidget>
  591. <class>DropLabel</class>
  592. <extends>QLabel</extends>
  593. <header>ui.widgets.DropLabel.h</header>
  594. </customwidget>
  595. </customwidgets>
  596. <resources>
  597. <include location="pardit.qrc"/>
  598. </resources>
  599. <connections/>
  600. </ui>