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.
 
 
 
 

648 lines
20 KiB

  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>674</width>
  10. <height>841</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Crunchyroll Downloader</string>
  15. </property>
  16. <widget class="QWidget" name="centralWidget">
  17. <layout class="QVBoxLayout" name="verticalLayout">
  18. <item>
  19. <layout class="QHBoxLayout" name="horizontalLayout" stretch="10,5">
  20. <property name="topMargin">
  21. <number>0</number>
  22. </property>
  23. <item>
  24. <layout class="QVBoxLayout" name="verticalLayout_3">
  25. <property name="topMargin">
  26. <number>0</number>
  27. </property>
  28. <property name="bottomMargin">
  29. <number>0</number>
  30. </property>
  31. <item>
  32. <widget class="SeriesView" name="seriesview">
  33. <property name="minimumSize">
  34. <size>
  35. <width>0</width>
  36. <height>81</height>
  37. </size>
  38. </property>
  39. <property name="maximumSize">
  40. <size>
  41. <width>16777215</width>
  42. <height>81</height>
  43. </size>
  44. </property>
  45. <property name="frameShape">
  46. <enum>QFrame::StyledPanel</enum>
  47. </property>
  48. <property name="frameShadow">
  49. <enum>QFrame::Raised</enum>
  50. </property>
  51. </widget>
  52. </item>
  53. <item>
  54. <widget class="CollectionView" name="collectionview">
  55. <property name="minimumSize">
  56. <size>
  57. <width>0</width>
  58. <height>119</height>
  59. </size>
  60. </property>
  61. <property name="maximumSize">
  62. <size>
  63. <width>16777215</width>
  64. <height>119</height>
  65. </size>
  66. </property>
  67. <property name="sizeIncrement">
  68. <size>
  69. <width>0</width>
  70. <height>0</height>
  71. </size>
  72. </property>
  73. <property name="frameShape">
  74. <enum>QFrame::StyledPanel</enum>
  75. </property>
  76. <property name="frameShadow">
  77. <enum>QFrame::Raised</enum>
  78. </property>
  79. </widget>
  80. </item>
  81. <item>
  82. <widget class="EpisodeView" name="episodeview">
  83. <property name="minimumSize">
  84. <size>
  85. <width>0</width>
  86. <height>212</height>
  87. </size>
  88. </property>
  89. <property name="frameShape">
  90. <enum>QFrame::StyledPanel</enum>
  91. </property>
  92. <property name="frameShadow">
  93. <enum>QFrame::Raised</enum>
  94. </property>
  95. </widget>
  96. </item>
  97. <item>
  98. <widget class="ProgressView" name="progressview">
  99. <property name="minimumSize">
  100. <size>
  101. <width>0</width>
  102. <height>221</height>
  103. </size>
  104. </property>
  105. <property name="maximumSize">
  106. <size>
  107. <width>16777215</width>
  108. <height>221</height>
  109. </size>
  110. </property>
  111. <property name="frameShape">
  112. <enum>QFrame::StyledPanel</enum>
  113. </property>
  114. <property name="frameShadow">
  115. <enum>QFrame::Raised</enum>
  116. </property>
  117. </widget>
  118. </item>
  119. </layout>
  120. </item>
  121. <item>
  122. <layout class="QVBoxLayout" name="verticalLayout_5">
  123. <property name="leftMargin">
  124. <number>0</number>
  125. </property>
  126. <property name="topMargin">
  127. <number>0</number>
  128. </property>
  129. <item>
  130. <widget class="QFrame" name="frame">
  131. <property name="frameShape">
  132. <enum>QFrame::StyledPanel</enum>
  133. </property>
  134. <property name="frameShadow">
  135. <enum>QFrame::Raised</enum>
  136. </property>
  137. <layout class="QVBoxLayout" name="verticalLayout_4">
  138. <item>
  139. <widget class="QGroupBox" name="locale_box">
  140. <property name="title">
  141. <string>Locale/Language</string>
  142. </property>
  143. <layout class="QVBoxLayout" name="verticalLayout_6">
  144. <item>
  145. <widget class="QComboBox" name="localeSelection">
  146. <property name="minimumSize">
  147. <size>
  148. <width>130</width>
  149. <height>0</height>
  150. </size>
  151. </property>
  152. <item>
  153. <property name="text">
  154. <string>English (US)</string>
  155. </property>
  156. </item>
  157. <item>
  158. <property name="text">
  159. <string>English (UK)</string>
  160. </property>
  161. </item>
  162. <item>
  163. <property name="text">
  164. <string>Spanish</string>
  165. </property>
  166. </item>
  167. <item>
  168. <property name="text">
  169. <string>Spanish (Spain/EU)</string>
  170. </property>
  171. </item>
  172. <item>
  173. <property name="text">
  174. <string>Portuguese (Brazil)</string>
  175. </property>
  176. </item>
  177. <item>
  178. <property name="text">
  179. <string>Portuguese (Portugal)</string>
  180. </property>
  181. </item>
  182. <item>
  183. <property name="text">
  184. <string>French (France)</string>
  185. </property>
  186. </item>
  187. <item>
  188. <property name="text">
  189. <string>German</string>
  190. </property>
  191. </item>
  192. <item>
  193. <property name="text">
  194. <string>Arabic</string>
  195. </property>
  196. </item>
  197. <item>
  198. <property name="text">
  199. <string>Italian</string>
  200. </property>
  201. </item>
  202. <item>
  203. <property name="text">
  204. <string>Russian</string>
  205. </property>
  206. </item>
  207. </widget>
  208. </item>
  209. <item>
  210. <widget class="QLabel" name="locale_hint">
  211. <property name="text">
  212. <string>Some content might be unavailable in some locales.</string>
  213. </property>
  214. <property name="textFormat">
  215. <enum>Qt::RichText</enum>
  216. </property>
  217. <property name="wordWrap">
  218. <bool>true</bool>
  219. </property>
  220. <property name="margin">
  221. <number>0</number>
  222. </property>
  223. </widget>
  224. </item>
  225. </layout>
  226. </widget>
  227. </item>
  228. <item>
  229. <widget class="QGroupBox" name="session_box">
  230. <property name="title">
  231. <string>New Session</string>
  232. </property>
  233. <layout class="QVBoxLayout" name="verticalLayout_7">
  234. <item>
  235. <widget class="QGroupBox" name="useAccount">
  236. <property name="title">
  237. <string>Use account</string>
  238. </property>
  239. <property name="checkable">
  240. <bool>true</bool>
  241. </property>
  242. <property name="checked">
  243. <bool>false</bool>
  244. </property>
  245. <layout class="QVBoxLayout" name="verticalLayout_8">
  246. <item>
  247. <widget class="QLineEdit" name="acc_mail">
  248. <property name="inputMask">
  249. <string/>
  250. </property>
  251. <property name="text">
  252. <string/>
  253. </property>
  254. <property name="frame">
  255. <bool>true</bool>
  256. </property>
  257. <property name="echoMode">
  258. <enum>QLineEdit::Normal</enum>
  259. </property>
  260. <property name="placeholderText">
  261. <string>E-Mail</string>
  262. </property>
  263. </widget>
  264. </item>
  265. <item>
  266. <widget class="QLineEdit" name="acc_pass">
  267. <property name="text">
  268. <string/>
  269. </property>
  270. <property name="echoMode">
  271. <enum>QLineEdit::Password</enum>
  272. </property>
  273. <property name="placeholderText">
  274. <string>Password</string>
  275. </property>
  276. </widget>
  277. </item>
  278. </layout>
  279. </widget>
  280. </item>
  281. <item>
  282. <widget class="QCheckBox" name="bypassGeoblock">
  283. <property name="text">
  284. <string>Bypass geoblock (via US proxy)</string>
  285. </property>
  286. </widget>
  287. </item>
  288. <item>
  289. <widget class="QPushButton" name="updateSession">
  290. <property name="text">
  291. <string>Update session</string>
  292. </property>
  293. </widget>
  294. </item>
  295. </layout>
  296. </widget>
  297. </item>
  298. <item>
  299. <widget class="QGroupBox" name="currentsession_box">
  300. <property name="title">
  301. <string>Current Session</string>
  302. </property>
  303. <layout class="QFormLayout" name="formLayout">
  304. <property name="bottomMargin">
  305. <number>4</number>
  306. </property>
  307. <item row="0" column="0">
  308. <widget class="QLabel" name="label">
  309. <property name="text">
  310. <string>Status:</string>
  311. </property>
  312. </widget>
  313. </item>
  314. <item row="0" column="1">
  315. <widget class="QLabel" name="sess_status">
  316. <property name="text">
  317. <string>inactive</string>
  318. </property>
  319. </widget>
  320. </item>
  321. <item row="1" column="0">
  322. <widget class="QLabel" name="label_3">
  323. <property name="text">
  324. <string>Country:</string>
  325. </property>
  326. </widget>
  327. </item>
  328. <item row="1" column="1">
  329. <widget class="QLabel" name="sess_country">
  330. <property name="text">
  331. <string>--</string>
  332. </property>
  333. </widget>
  334. </item>
  335. <item row="2" column="0">
  336. <widget class="QLabel" name="label_6">
  337. <property name="text">
  338. <string>Premium:</string>
  339. </property>
  340. </widget>
  341. </item>
  342. <item row="2" column="1">
  343. <widget class="QLabel" name="sess_premium">
  344. <property name="styleSheet">
  345. <string notr="true">*{
  346. color: rgb(255, 0, 0);
  347. }</string>
  348. </property>
  349. <property name="text">
  350. <string>false</string>
  351. </property>
  352. </widget>
  353. </item>
  354. <item row="3" column="0">
  355. <widget class="QLabel" name="label_5">
  356. <property name="text">
  357. <string>ID:</string>
  358. </property>
  359. </widget>
  360. </item>
  361. <item row="3" column="1">
  362. <widget class="QLineEdit" name="sess_id">
  363. <property name="frame">
  364. <bool>true</bool>
  365. </property>
  366. <property name="readOnly">
  367. <bool>true</bool>
  368. </property>
  369. </widget>
  370. </item>
  371. </layout>
  372. </widget>
  373. </item>
  374. <item>
  375. <widget class="QGroupBox" name="dl_box">
  376. <property name="title">
  377. <string>Downloader</string>
  378. </property>
  379. <layout class="QVBoxLayout" name="verticalLayout_2">
  380. <item>
  381. <widget class="QGroupBox" name="groupBox">
  382. <property name="title">
  383. <string>Download Mode</string>
  384. </property>
  385. <layout class="QVBoxLayout" name="verticalLayout_9">
  386. <property name="spacing">
  387. <number>3</number>
  388. </property>
  389. <property name="leftMargin">
  390. <number>7</number>
  391. </property>
  392. <property name="topMargin">
  393. <number>7</number>
  394. </property>
  395. <property name="rightMargin">
  396. <number>7</number>
  397. </property>
  398. <property name="bottomMargin">
  399. <number>7</number>
  400. </property>
  401. <item>
  402. <widget class="QRadioButton" name="dlmode_mp4">
  403. <property name="text">
  404. <string>Full MP4 videos</string>
  405. </property>
  406. <property name="checked">
  407. <bool>true</bool>
  408. </property>
  409. </widget>
  410. </item>
  411. <item>
  412. <widget class="QRadioButton" name="dlmode_m3u">
  413. <property name="text">
  414. <string>M3U stream playlists</string>
  415. </property>
  416. </widget>
  417. </item>
  418. <item>
  419. <widget class="QRadioButton" name="dlmode_ogg">
  420. <property name="text">
  421. <string>Audio only (ogg format)</string>
  422. </property>
  423. </widget>
  424. </item>
  425. </layout>
  426. </widget>
  427. </item>
  428. <item>
  429. <widget class="QGroupBox" name="dl_outdir_box">
  430. <property name="title">
  431. <string>Custom output directory</string>
  432. </property>
  433. <property name="checkable">
  434. <bool>true</bool>
  435. </property>
  436. <property name="checked">
  437. <bool>false</bool>
  438. </property>
  439. <layout class="QVBoxLayout" name="verticalLayout_10">
  440. <item>
  441. <widget class="QLineEdit" name="dl_outdir">
  442. <property name="text">
  443. <string/>
  444. </property>
  445. <property name="placeholderText">
  446. <string>Path</string>
  447. </property>
  448. </widget>
  449. </item>
  450. </layout>
  451. </widget>
  452. </item>
  453. <item>
  454. <widget class="QGroupBox" name="groupBox_2">
  455. <property name="title">
  456. <string>Quality</string>
  457. </property>
  458. <layout class="QVBoxLayout" name="verticalLayout_11">
  459. <item>
  460. <widget class="QComboBox" name="quality_selection">
  461. <item>
  462. <property name="text">
  463. <string>Best quality</string>
  464. </property>
  465. </item>
  466. <item>
  467. <property name="text">
  468. <string>1080p or less</string>
  469. </property>
  470. </item>
  471. <item>
  472. <property name="text">
  473. <string>720p or less</string>
  474. </property>
  475. </item>
  476. <item>
  477. <property name="text">
  478. <string>480p or less</string>
  479. </property>
  480. </item>
  481. <item>
  482. <property name="text">
  483. <string>360p or less</string>
  484. </property>
  485. </item>
  486. <item>
  487. <property name="text">
  488. <string>240p</string>
  489. </property>
  490. </item>
  491. </widget>
  492. </item>
  493. </layout>
  494. </widget>
  495. </item>
  496. </layout>
  497. </widget>
  498. </item>
  499. </layout>
  500. </widget>
  501. </item>
  502. <item>
  503. <spacer name="verticalSpacer_4">
  504. <property name="orientation">
  505. <enum>Qt::Vertical</enum>
  506. </property>
  507. <property name="sizeHint" stdset="0">
  508. <size>
  509. <width>20</width>
  510. <height>40</height>
  511. </size>
  512. </property>
  513. </spacer>
  514. </item>
  515. </layout>
  516. </item>
  517. </layout>
  518. </item>
  519. </layout>
  520. </widget>
  521. <widget class="QMenuBar" name="menuBar">
  522. <property name="geometry">
  523. <rect>
  524. <x>0</x>
  525. <y>0</y>
  526. <width>674</width>
  527. <height>22</height>
  528. </rect>
  529. </property>
  530. <widget class="QMenu" name="menuHelp">
  531. <property name="title">
  532. <string>Help</string>
  533. </property>
  534. <addaction name="actionCredits"/>
  535. <addaction name="actionLicense"/>
  536. <addaction name="separator"/>
  537. <addaction name="actionView_GitHub_Repo"/>
  538. </widget>
  539. <widget class="QMenu" name="menuTheme">
  540. <property name="title">
  541. <string>Theme</string>
  542. </property>
  543. </widget>
  544. <addaction name="menuTheme"/>
  545. <addaction name="menuHelp"/>
  546. </widget>
  547. <action name="actionCredits">
  548. <property name="text">
  549. <string>Credits</string>
  550. </property>
  551. </action>
  552. <action name="actionLicense">
  553. <property name="text">
  554. <string>License</string>
  555. </property>
  556. </action>
  557. <action name="actionView_GitHub_Repo">
  558. <property name="text">
  559. <string>View GitHub Repo</string>
  560. </property>
  561. </action>
  562. </widget>
  563. <layoutdefault spacing="6" margin="11"/>
  564. <customwidgets>
  565. <customwidget>
  566. <class>SeriesView</class>
  567. <extends>QFrame</extends>
  568. <header location="global">interface/seriesview.h</header>
  569. <container>1</container>
  570. </customwidget>
  571. <customwidget>
  572. <class>CollectionView</class>
  573. <extends>QFrame</extends>
  574. <header location="global">interface/collectionview.h</header>
  575. <container>1</container>
  576. </customwidget>
  577. <customwidget>
  578. <class>EpisodeView</class>
  579. <extends>QFrame</extends>
  580. <header location="global">interface/episodeview.h</header>
  581. <container>1</container>
  582. </customwidget>
  583. <customwidget>
  584. <class>ProgressView</class>
  585. <extends>QFrame</extends>
  586. <header location="global">interface/progressview.h</header>
  587. <container>1</container>
  588. </customwidget>
  589. </customwidgets>
  590. <resources/>
  591. <connections>
  592. <connection>
  593. <sender>actionCredits</sender>
  594. <signal>triggered()</signal>
  595. <receiver>MainWindow</receiver>
  596. <slot>showCredits()</slot>
  597. <hints>
  598. <hint type="sourcelabel">
  599. <x>-1</x>
  600. <y>-1</y>
  601. </hint>
  602. <hint type="destinationlabel">
  603. <x>336</x>
  604. <y>406</y>
  605. </hint>
  606. </hints>
  607. </connection>
  608. <connection>
  609. <sender>actionLicense</sender>
  610. <signal>triggered()</signal>
  611. <receiver>MainWindow</receiver>
  612. <slot>showLicense()</slot>
  613. <hints>
  614. <hint type="sourcelabel">
  615. <x>-1</x>
  616. <y>-1</y>
  617. </hint>
  618. <hint type="destinationlabel">
  619. <x>336</x>
  620. <y>406</y>
  621. </hint>
  622. </hints>
  623. </connection>
  624. <connection>
  625. <sender>actionView_GitHub_Repo</sender>
  626. <signal>triggered()</signal>
  627. <receiver>MainWindow</receiver>
  628. <slot>openGithub()</slot>
  629. <hints>
  630. <hint type="sourcelabel">
  631. <x>-1</x>
  632. <y>-1</y>
  633. </hint>
  634. <hint type="destinationlabel">
  635. <x>336</x>
  636. <y>406</y>
  637. </hint>
  638. </hints>
  639. </connection>
  640. </connections>
  641. <slots>
  642. <slot>openGithub()</slot>
  643. <slot>showCredits()</slot>
  644. <slot>showLicense()</slot>
  645. </slots>
  646. </ui>