/MainWindow.ui

https://bitbucket.org/abom/qurename · Unknown · 461 lines · 461 code · 0 blank · 0 comment · 0 complexity · 670534466668d718882c32744f596f99 MD5 · raw file

  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>585</width>
  10. <height>455</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>QuRename</string>
  15. </property>
  16. <property name="windowIcon">
  17. <iconset>
  18. <normaloff>icons/32x32/edit-rename.png</normaloff>icons/32x32/edit-rename.png</iconset>
  19. </property>
  20. <widget class="QWidget" name="centralwidget">
  21. <layout class="QGridLayout" name="gridLayout">
  22. <item row="0" column="0">
  23. <widget class="QGroupBox" name="groupBox">
  24. <property name="sizePolicy">
  25. <sizepolicy hsizetype="Ignored" vsizetype="Maximum">
  26. <horstretch>0</horstretch>
  27. <verstretch>0</verstretch>
  28. </sizepolicy>
  29. </property>
  30. <property name="title">
  31. <string>Options:</string>
  32. </property>
  33. <layout class="QGridLayout" name="gridLayout_2">
  34. <item row="0" column="0">
  35. <widget class="QLabel" name="label_3">
  36. <property name="text">
  37. <string>Path:</string>
  38. </property>
  39. </widget>
  40. </item>
  41. <item row="0" column="1" colspan="4">
  42. <widget class="QLineEdit" name="txtpath">
  43. <property name="readOnly">
  44. <bool>true</bool>
  45. </property>
  46. </widget>
  47. </item>
  48. <item row="1" column="0">
  49. <widget class="QLabel" name="label">
  50. <property name="text">
  51. <string>Language:</string>
  52. </property>
  53. </widget>
  54. </item>
  55. <item row="1" column="1">
  56. <widget class="QComboBox" name="combolang"/>
  57. </item>
  58. <item row="1" column="2">
  59. <widget class="QLabel" name="label_2">
  60. <property name="text">
  61. <string>Extension:</string>
  62. </property>
  63. </widget>
  64. </item>
  65. <item row="1" column="3">
  66. <widget class="QComboBox" name="comboext"/>
  67. </item>
  68. <item row="2" column="0">
  69. <widget class="QLabel" name="label_7">
  70. <property name="text">
  71. <string>Separator:</string>
  72. </property>
  73. </widget>
  74. </item>
  75. <item row="2" column="1">
  76. <widget class="QLineEdit" name="txtsep">
  77. <property name="text">
  78. <string>-</string>
  79. </property>
  80. </widget>
  81. </item>
  82. <item row="0" column="5">
  83. <widget class="QPushButton" name="btnbrowse">
  84. <property name="sizePolicy">
  85. <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
  86. <horstretch>0</horstretch>
  87. <verstretch>0</verstretch>
  88. </sizepolicy>
  89. </property>
  90. <property name="maximumSize">
  91. <size>
  92. <width>30</width>
  93. <height>100</height>
  94. </size>
  95. </property>
  96. <property name="text">
  97. <string/>
  98. </property>
  99. <property name="icon">
  100. <iconset>
  101. <normaloff>icons/22x22/document-open-folder.png</normaloff>icons/22x22/document-open-folder.png</iconset>
  102. </property>
  103. </widget>
  104. </item>
  105. <item row="2" column="2" colspan="2">
  106. <widget class="QLabel" name="label_4">
  107. <property name="sizePolicy">
  108. <sizepolicy hsizetype="Maximum" vsizetype="Maximum">
  109. <horstretch>0</horstretch>
  110. <verstretch>0</verstretch>
  111. </sizepolicy>
  112. </property>
  113. <property name="text">
  114. <string>Between sura and index.</string>
  115. </property>
  116. </widget>
  117. </item>
  118. <item row="1" column="4" colspan="2">
  119. <spacer name="horizontalSpacer">
  120. <property name="orientation">
  121. <enum>Qt::Horizontal</enum>
  122. </property>
  123. <property name="sizeHint" stdset="0">
  124. <size>
  125. <width>156</width>
  126. <height>20</height>
  127. </size>
  128. </property>
  129. </spacer>
  130. </item>
  131. </layout>
  132. </widget>
  133. </item>
  134. <item row="1" column="0">
  135. <widget class="QTreeWidget" name="lstfiles">
  136. <property name="alternatingRowColors">
  137. <bool>true</bool>
  138. </property>
  139. <property name="uniformRowHeights">
  140. <bool>false</bool>
  141. </property>
  142. <property name="sortingEnabled">
  143. <bool>false</bool>
  144. </property>
  145. <column>
  146. <property name="text">
  147. <string>#</string>
  148. </property>
  149. </column>
  150. <column>
  151. <property name="text">
  152. <string>File</string>
  153. </property>
  154. </column>
  155. <column>
  156. <property name="text">
  157. <string>Current Name</string>
  158. </property>
  159. </column>
  160. <column>
  161. <property name="text">
  162. <string>New Name</string>
  163. </property>
  164. </column>
  165. </widget>
  166. </item>
  167. <item row="2" column="0">
  168. <widget class="QProgressBar" name="pb">
  169. <property name="sizePolicy">
  170. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  171. <horstretch>0</horstretch>
  172. <verstretch>0</verstretch>
  173. </sizepolicy>
  174. </property>
  175. <property name="value">
  176. <number>0</number>
  177. </property>
  178. <property name="alignment">
  179. <set>Qt::AlignLeading</set>
  180. </property>
  181. </widget>
  182. </item>
  183. </layout>
  184. </widget>
  185. <widget class="QMenuBar" name="menubar">
  186. <property name="geometry">
  187. <rect>
  188. <x>0</x>
  189. <y>0</y>
  190. <width>585</width>
  191. <height>27</height>
  192. </rect>
  193. </property>
  194. <widget class="QMenu" name="menu_File">
  195. <property name="title">
  196. <string>&amp;File</string>
  197. </property>
  198. <addaction name="action_Quit"/>
  199. </widget>
  200. <widget class="QMenu" name="menu_Edir">
  201. <property name="title">
  202. <string>&amp;Edit</string>
  203. </property>
  204. <addaction name="action_rename"/>
  205. <addaction name="action_Preview"/>
  206. <addaction name="separator"/>
  207. <addaction name="action_Edit_Tags"/>
  208. <addaction name="separator"/>
  209. <addaction name="action_Languages"/>
  210. </widget>
  211. <widget class="QMenu" name="menu_Help">
  212. <property name="title">
  213. <string>&amp;Help</string>
  214. </property>
  215. <addaction name="action_About"/>
  216. </widget>
  217. <widget class="QMenu" name="menu_View">
  218. <property name="title">
  219. <string>&amp;View</string>
  220. </property>
  221. <addaction name="action_Directory_Tree"/>
  222. </widget>
  223. <addaction name="menu_File"/>
  224. <addaction name="menu_View"/>
  225. <addaction name="menu_Edir"/>
  226. <addaction name="menu_Help"/>
  227. </widget>
  228. <widget class="QStatusBar" name="statusbar"/>
  229. <widget class="QToolBar" name="toolBar">
  230. <property name="windowTitle">
  231. <string>toolBar</string>
  232. </property>
  233. <property name="iconSize">
  234. <size>
  235. <width>32</width>
  236. <height>32</height>
  237. </size>
  238. </property>
  239. <attribute name="toolBarArea">
  240. <enum>TopToolBarArea</enum>
  241. </attribute>
  242. <attribute name="toolBarBreak">
  243. <bool>false</bool>
  244. </attribute>
  245. <addaction name="action_rename"/>
  246. <addaction name="action_Preview"/>
  247. <addaction name="separator"/>
  248. <addaction name="action_Edit_Tags"/>
  249. <addaction name="action_Languages"/>
  250. <addaction name="separator"/>
  251. <addaction name="action_Play"/>
  252. <addaction name="action_Stop"/>
  253. <addaction name="separator"/>
  254. <addaction name="action_About"/>
  255. </widget>
  256. <widget class="QDockWidget" name="dockWidget">
  257. <property name="sizePolicy">
  258. <sizepolicy hsizetype="Maximum" vsizetype="Preferred">
  259. <horstretch>0</horstretch>
  260. <verstretch>0</verstretch>
  261. </sizepolicy>
  262. </property>
  263. <property name="minimumSize">
  264. <size>
  265. <width>186</width>
  266. <height>162</height>
  267. </size>
  268. </property>
  269. <property name="maximumSize">
  270. <size>
  271. <width>186</width>
  272. <height>524287</height>
  273. </size>
  274. </property>
  275. <property name="floating">
  276. <bool>false</bool>
  277. </property>
  278. <property name="features">
  279. <set>QDockWidget::DockWidgetFloatable|QDockWidget::DockWidgetMovable</set>
  280. </property>
  281. <property name="windowTitle">
  282. <string>Directories</string>
  283. </property>
  284. <attribute name="dockWidgetArea">
  285. <number>1</number>
  286. </attribute>
  287. <widget class="QWidget" name="dockWidgetContents">
  288. <layout class="QGridLayout" name="gridLayout_3">
  289. <item row="1" column="0">
  290. <widget class="QTreeView" name="treeDirs">
  291. <property name="sizePolicy">
  292. <sizepolicy hsizetype="Maximum" vsizetype="Expanding">
  293. <horstretch>0</horstretch>
  294. <verstretch>0</verstretch>
  295. </sizepolicy>
  296. </property>
  297. <property name="maximumSize">
  298. <size>
  299. <width>180</width>
  300. <height>16777215</height>
  301. </size>
  302. </property>
  303. </widget>
  304. </item>
  305. <item row="0" column="0">
  306. <widget class="QCommandLinkButton" name="btnopendir">
  307. <property name="font">
  308. <font>
  309. <kerning>true</kerning>
  310. </font>
  311. </property>
  312. <property name="text">
  313. <string> &amp;Open Selected</string>
  314. </property>
  315. <property name="icon">
  316. <iconset>
  317. <normaloff>icons/32x32/go-next.png</normaloff>icons/32x32/go-next.png</iconset>
  318. </property>
  319. </widget>
  320. </item>
  321. </layout>
  322. </widget>
  323. </widget>
  324. <action name="action_Quit">
  325. <property name="icon">
  326. <iconset>
  327. <normaloff>icons/32x32/application-exit.png</normaloff>icons/32x32/application-exit.png</iconset>
  328. </property>
  329. <property name="text">
  330. <string>&amp;Quit</string>
  331. </property>
  332. </action>
  333. <action name="action_rename">
  334. <property name="icon">
  335. <iconset>
  336. <normaloff>icons/32x32/edit-rename.png</normaloff>icons/32x32/edit-rename.png</iconset>
  337. </property>
  338. <property name="text">
  339. <string>&amp;Rename</string>
  340. </property>
  341. </action>
  342. <action name="action_Edit_Tags">
  343. <property name="icon">
  344. <iconset>
  345. <normalon>icons/32x32/document-edit.png</normalon>
  346. </iconset>
  347. </property>
  348. <property name="text">
  349. <string>&amp;Edit Tags</string>
  350. </property>
  351. </action>
  352. <action name="action_About">
  353. <property name="icon">
  354. <iconset>
  355. <normaloff>icons/32x32/help-about.png</normaloff>icons/32x32/help-about.png</iconset>
  356. </property>
  357. <property name="text">
  358. <string>&amp;About</string>
  359. </property>
  360. </action>
  361. <action name="action_Preview">
  362. <property name="checkable">
  363. <bool>true</bool>
  364. </property>
  365. <property name="icon">
  366. <iconset>
  367. <normaloff>icons/32x32/view-list-details.png</normaloff>icons/32x32/view-list-details.png</iconset>
  368. </property>
  369. <property name="text">
  370. <string>&amp;Preview</string>
  371. </property>
  372. </action>
  373. <action name="action_Languages">
  374. <property name="icon">
  375. <iconset>
  376. <normaloff>icons/32x32/applications-education-language.png</normaloff>icons/32x32/applications-education-language.png</iconset>
  377. </property>
  378. <property name="text">
  379. <string>&amp;Languages</string>
  380. </property>
  381. </action>
  382. <action name="action_Information">
  383. <property name="text">
  384. <string>&amp;Notes</string>
  385. </property>
  386. </action>
  387. <action name="action_Player">
  388. <property name="text">
  389. <string>&amp;Player</string>
  390. </property>
  391. </action>
  392. <action name="action_Play">
  393. <property name="icon">
  394. <iconset>
  395. <normaloff>icons/32x32/play.png</normaloff>icons/32x32/play.png</iconset>
  396. </property>
  397. <property name="text">
  398. <string>Play</string>
  399. </property>
  400. </action>
  401. <action name="action_Stop">
  402. <property name="icon">
  403. <iconset>
  404. <normaloff>icons/32x32/stop.png</normaloff>icons/32x32/stop.png</iconset>
  405. </property>
  406. <property name="text">
  407. <string>Stop</string>
  408. </property>
  409. </action>
  410. <action name="action_Directory_Tree">
  411. <property name="checkable">
  412. <bool>true</bool>
  413. </property>
  414. <property name="checked">
  415. <bool>true</bool>
  416. </property>
  417. <property name="icon">
  418. <iconset>
  419. <normaloff>icons/22x22/document-open-folder.png</normaloff>icons/22x22/document-open-folder.png</iconset>
  420. </property>
  421. <property name="text">
  422. <string>&amp;Directory Tree</string>
  423. </property>
  424. </action>
  425. </widget>
  426. <resources/>
  427. <connections>
  428. <connection>
  429. <sender>action_Quit</sender>
  430. <signal>triggered()</signal>
  431. <receiver>MainWindow</receiver>
  432. <slot>close()</slot>
  433. <hints>
  434. <hint type="sourcelabel">
  435. <x>-1</x>
  436. <y>-1</y>
  437. </hint>
  438. <hint type="destinationlabel">
  439. <x>280</x>
  440. <y>218</y>
  441. </hint>
  442. </hints>
  443. </connection>
  444. <connection>
  445. <sender>action_Directory_Tree</sender>
  446. <signal>triggered(bool)</signal>
  447. <receiver>dockWidget</receiver>
  448. <slot>setVisible(bool)</slot>
  449. <hints>
  450. <hint type="sourcelabel">
  451. <x>-1</x>
  452. <y>-1</y>
  453. </hint>
  454. <hint type="destinationlabel">
  455. <x>92</x>
  456. <y>244</y>
  457. </hint>
  458. </hints>
  459. </connection>
  460. </connections>
  461. </ui>