mainwindow.ui 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310
  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>450</width>
  10. <height>281</height>
  11. </rect>
  12. </property>
  13. <property name="minimumSize">
  14. <size>
  15. <width>450</width>
  16. <height>281</height>
  17. </size>
  18. </property>
  19. <property name="maximumSize">
  20. <size>
  21. <width>450</width>
  22. <height>281</height>
  23. </size>
  24. </property>
  25. <property name="windowTitle">
  26. <string>OrdersGuru Signer</string>
  27. </property>
  28. <property name="windowIcon">
  29. <iconset>
  30. <normaloff>resources/icon.ico</normaloff>resources/icon.ico</iconset>
  31. </property>
  32. <property name="dockOptions">
  33. <set>QMainWindow::AllowTabbedDocks|QMainWindow::AnimatedDocks</set>
  34. </property>
  35. <widget class="QWidget" name="centralwidget">
  36. <layout class="QVBoxLayout" name="verticalLayout">
  37. <item>
  38. <widget class="QLabel" name="lblLogo">
  39. <property name="text">
  40. <string/>
  41. </property>
  42. <property name="pixmap">
  43. <pixmap>resources/logo.png</pixmap>
  44. </property>
  45. <property name="scaledContents">
  46. <bool>false</bool>
  47. </property>
  48. <property name="alignment">
  49. <set>Qt::AlignCenter</set>
  50. </property>
  51. </widget>
  52. </item>
  53. <item>
  54. <widget class="QTabWidget" name="tabWidget">
  55. <property name="layoutDirection">
  56. <enum>Qt::LeftToRight</enum>
  57. </property>
  58. <property name="styleSheet">
  59. <string notr="true"/>
  60. </property>
  61. <property name="tabShape">
  62. <enum>QTabWidget::Rounded</enum>
  63. </property>
  64. <property name="currentIndex">
  65. <number>0</number>
  66. </property>
  67. <property name="elideMode">
  68. <enum>Qt::ElideNone</enum>
  69. </property>
  70. <property name="movable">
  71. <bool>false</bool>
  72. </property>
  73. <property name="tabBarAutoHide">
  74. <bool>false</bool>
  75. </property>
  76. <widget class="QWidget" name="tabDirectory">
  77. <attribute name="title">
  78. <string>Directory</string>
  79. </attribute>
  80. <attribute name="whatsThis">
  81. <string>Sign XML file in directory and rename files appropriately</string>
  82. </attribute>
  83. <layout class="QVBoxLayout" name="verticalLayout_5">
  84. <item>
  85. <widget class="QGroupBox" name="gbDirectory">
  86. <property name="title">
  87. <string>Sign XML and arrange files in directory</string>
  88. </property>
  89. <layout class="QVBoxLayout" name="verticalLayout_4">
  90. <item>
  91. <layout class="QGridLayout" name="glDirectory">
  92. <property name="horizontalSpacing">
  93. <number>12</number>
  94. </property>
  95. <item row="1" column="1">
  96. <widget class="QLineEdit" name="leDirectory">
  97. <property name="enabled">
  98. <bool>true</bool>
  99. </property>
  100. <property name="echoMode">
  101. <enum>QLineEdit::Normal</enum>
  102. </property>
  103. <property name="dragEnabled">
  104. <bool>true</bool>
  105. </property>
  106. <property name="readOnly">
  107. <bool>false</bool>
  108. </property>
  109. <property name="placeholderText">
  110. <string/>
  111. </property>
  112. </widget>
  113. </item>
  114. <item row="1" column="0">
  115. <widget class="QLabel" name="lblDirectory">
  116. <property name="text">
  117. <string>Directory:</string>
  118. </property>
  119. </widget>
  120. </item>
  121. <item row="1" column="2">
  122. <widget class="QPushButton" name="btnDirectoryBrowse">
  123. <property name="text">
  124. <string>Browse</string>
  125. </property>
  126. <property name="autoDefault">
  127. <bool>false</bool>
  128. </property>
  129. <property name="default">
  130. <bool>true</bool>
  131. </property>
  132. </widget>
  133. </item>
  134. </layout>
  135. </item>
  136. </layout>
  137. </widget>
  138. </item>
  139. <item>
  140. <widget class="QPushButton" name="btnDirectorySignArrange">
  141. <property name="enabled">
  142. <bool>false</bool>
  143. </property>
  144. <property name="text">
  145. <string>Sign XML and arrange files</string>
  146. </property>
  147. <property name="autoDefault">
  148. <bool>false</bool>
  149. </property>
  150. <property name="default">
  151. <bool>false</bool>
  152. </property>
  153. <property name="flat">
  154. <bool>false</bool>
  155. </property>
  156. </widget>
  157. </item>
  158. </layout>
  159. </widget>
  160. <widget class="QWidget" name="tabFile">
  161. <attribute name="title">
  162. <string>File</string>
  163. </attribute>
  164. <attribute name="whatsThis">
  165. <string>Sign single XML file</string>
  166. </attribute>
  167. <layout class="QVBoxLayout" name="verticalLayout_6">
  168. <item>
  169. <widget class="QGroupBox" name="gbFile">
  170. <property name="title">
  171. <string>Sign single XML file</string>
  172. </property>
  173. <layout class="QVBoxLayout" name="verticalLayout_3">
  174. <item>
  175. <layout class="QGridLayout" name="glFile">
  176. <property name="horizontalSpacing">
  177. <number>12</number>
  178. </property>
  179. <item row="1" column="1">
  180. <widget class="QLineEdit" name="leFile">
  181. <property name="enabled">
  182. <bool>true</bool>
  183. </property>
  184. <property name="echoMode">
  185. <enum>QLineEdit::Normal</enum>
  186. </property>
  187. <property name="dragEnabled">
  188. <bool>true</bool>
  189. </property>
  190. <property name="readOnly">
  191. <bool>false</bool>
  192. </property>
  193. <property name="placeholderText">
  194. <string/>
  195. </property>
  196. </widget>
  197. </item>
  198. <item row="1" column="0">
  199. <widget class="QLabel" name="lblFile">
  200. <property name="text">
  201. <string>File:</string>
  202. </property>
  203. </widget>
  204. </item>
  205. <item row="1" column="2">
  206. <widget class="QPushButton" name="btnFileBrowse">
  207. <property name="text">
  208. <string>Browse</string>
  209. </property>
  210. <property name="autoDefault">
  211. <bool>false</bool>
  212. </property>
  213. <property name="default">
  214. <bool>true</bool>
  215. </property>
  216. </widget>
  217. </item>
  218. </layout>
  219. </item>
  220. </layout>
  221. </widget>
  222. </item>
  223. <item>
  224. <widget class="QPushButton" name="btnFileSign">
  225. <property name="enabled">
  226. <bool>false</bool>
  227. </property>
  228. <property name="text">
  229. <string>Sign XML file</string>
  230. </property>
  231. <property name="autoDefault">
  232. <bool>false</bool>
  233. </property>
  234. <property name="default">
  235. <bool>false</bool>
  236. </property>
  237. <property name="flat">
  238. <bool>false</bool>
  239. </property>
  240. </widget>
  241. </item>
  242. </layout>
  243. </widget>
  244. </widget>
  245. </item>
  246. </layout>
  247. </widget>
  248. <widget class="QMenuBar" name="menubar">
  249. <property name="geometry">
  250. <rect>
  251. <x>0</x>
  252. <y>0</y>
  253. <width>450</width>
  254. <height>25</height>
  255. </rect>
  256. </property>
  257. <widget class="QMenu" name="menuFile">
  258. <property name="title">
  259. <string>&amp;File</string>
  260. </property>
  261. <addaction name="action_Settings"/>
  262. <addaction name="separator"/>
  263. <addaction name="action_Quit"/>
  264. </widget>
  265. <widget class="QMenu" name="menuHelp">
  266. <property name="title">
  267. <string>&amp;Help</string>
  268. </property>
  269. <addaction name="action_About"/>
  270. </widget>
  271. <addaction name="menuFile"/>
  272. <addaction name="menuHelp"/>
  273. </widget>
  274. <widget class="QStatusBar" name="statusbar">
  275. <property name="sizeGripEnabled">
  276. <bool>false</bool>
  277. </property>
  278. </widget>
  279. <action name="action_Quit">
  280. <property name="icon">
  281. <iconset>
  282. <normaloff>resources/quit.png</normaloff>resources/quit.png</iconset>
  283. </property>
  284. <property name="text">
  285. <string>&amp;Quit</string>
  286. </property>
  287. </action>
  288. <action name="action_About">
  289. <property name="icon">
  290. <iconset>
  291. <normaloff>resources/about.png</normaloff>resources/about.png</iconset>
  292. </property>
  293. <property name="text">
  294. <string>&amp;About</string>
  295. </property>
  296. </action>
  297. <action name="action_Settings">
  298. <property name="icon">
  299. <iconset>
  300. <normaloff>resources/settings.png</normaloff>resources/settings.png</iconset>
  301. </property>
  302. <property name="text">
  303. <string>&amp;Settings</string>
  304. </property>
  305. </action>
  306. </widget>
  307. <resources/>
  308. <connections/>
  309. </ui>