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.

1168 lines
43 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>1061</width>
  10. <height>659</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Chordsheet</string>
  15. </property>
  16. <property name="documentMode">
  17. <bool>false</bool>
  18. </property>
  19. <property name="tabShape">
  20. <enum>QTabWidget::Rounded</enum>
  21. </property>
  22. <widget class="QWidget" name="centralWidget">
  23. <layout class="QGridLayout" name="gridLayout">
  24. <item row="0" column="0">
  25. <widget class="QSplitter" name="splitter">
  26. <property name="frameShape">
  27. <enum>QFrame::NoFrame</enum>
  28. </property>
  29. <property name="orientation">
  30. <enum>Qt::Horizontal</enum>
  31. </property>
  32. <widget class="QWidget" name="leftPane" native="true">
  33. <property name="enabled">
  34. <bool>true</bool>
  35. </property>
  36. <property name="sizePolicy">
  37. <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
  38. <horstretch>0</horstretch>
  39. <verstretch>0</verstretch>
  40. </sizepolicy>
  41. </property>
  42. <property name="minimumSize">
  43. <size>
  44. <width>430</width>
  45. <height>600</height>
  46. </size>
  47. </property>
  48. <property name="maximumSize">
  49. <size>
  50. <width>500</width>
  51. <height>16777215</height>
  52. </size>
  53. </property>
  54. <layout class="QHBoxLayout" name="horizontalLayout">
  55. <item>
  56. <layout class="QVBoxLayout" name="verticalLayout">
  57. <property name="sizeConstraint">
  58. <enum>QLayout::SetDefaultConstraint</enum>
  59. </property>
  60. <item>
  61. <widget class="QTabWidget" name="tabWidget">
  62. <property name="sizePolicy">
  63. <sizepolicy hsizetype="Ignored" vsizetype="Expanding">
  64. <horstretch>0</horstretch>
  65. <verstretch>0</verstretch>
  66. </sizepolicy>
  67. </property>
  68. <property name="maximumSize">
  69. <size>
  70. <width>500</width>
  71. <height>16777215</height>
  72. </size>
  73. </property>
  74. <property name="currentIndex">
  75. <number>4</number>
  76. </property>
  77. <widget class="QWidget" name="tabWidgetOverview">
  78. <attribute name="title">
  79. <string>Overview</string>
  80. </attribute>
  81. <layout class="QVBoxLayout" name="verticalLayout_7">
  82. <item>
  83. <layout class="QVBoxLayout" name="verticalLayout_2">
  84. <item>
  85. <layout class="QFormLayout" name="formLayoutOverview">
  86. <property name="fieldGrowthPolicy">
  87. <enum>QFormLayout::ExpandingFieldsGrow</enum>
  88. </property>
  89. <item row="0" column="0">
  90. <widget class="QLabel" name="titleLabel">
  91. <property name="text">
  92. <string>Title</string>
  93. </property>
  94. </widget>
  95. </item>
  96. <item row="0" column="1">
  97. <widget class="QLineEdit" name="titleLineEdit">
  98. <property name="sizePolicy">
  99. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
  100. <horstretch>0</horstretch>
  101. <verstretch>0</verstretch>
  102. </sizepolicy>
  103. </property>
  104. </widget>
  105. </item>
  106. <item row="1" column="0">
  107. <widget class="QLabel" name="subtitleLabel">
  108. <property name="text">
  109. <string>Subtitle</string>
  110. </property>
  111. </widget>
  112. </item>
  113. <item row="1" column="1">
  114. <widget class="QLineEdit" name="subtitleLineEdit"/>
  115. </item>
  116. <item row="2" column="0">
  117. <widget class="QLabel" name="composerLabel">
  118. <property name="text">
  119. <string>Composer</string>
  120. </property>
  121. </widget>
  122. </item>
  123. <item row="2" column="1">
  124. <widget class="QLineEdit" name="composerLineEdit">
  125. <property name="sizePolicy">
  126. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
  127. <horstretch>0</horstretch>
  128. <verstretch>0</verstretch>
  129. </sizepolicy>
  130. </property>
  131. </widget>
  132. </item>
  133. <item row="3" column="0">
  134. <widget class="QLabel" name="arrangerLabel">
  135. <property name="text">
  136. <string>Arranger</string>
  137. </property>
  138. </widget>
  139. </item>
  140. <item row="3" column="1">
  141. <widget class="QLineEdit" name="arrangerLineEdit">
  142. <property name="sizePolicy">
  143. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
  144. <horstretch>0</horstretch>
  145. <verstretch>0</verstretch>
  146. </sizepolicy>
  147. </property>
  148. </widget>
  149. </item>
  150. <item row="4" column="0">
  151. <widget class="QLabel" name="tempoLabel">
  152. <property name="text">
  153. <string>Tempo</string>
  154. </property>
  155. </widget>
  156. </item>
  157. <item row="4" column="1">
  158. <widget class="QLineEdit" name="tempoLineEdit">
  159. <property name="sizePolicy">
  160. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  161. <horstretch>0</horstretch>
  162. <verstretch>0</verstretch>
  163. </sizepolicy>
  164. </property>
  165. <property name="maximumSize">
  166. <size>
  167. <width>60</width>
  168. <height>16777215</height>
  169. </size>
  170. </property>
  171. </widget>
  172. </item>
  173. <item row="5" column="0">
  174. <widget class="QLabel" name="timeSignatureLabel">
  175. <property name="text">
  176. <string>Time</string>
  177. </property>
  178. </widget>
  179. </item>
  180. <item row="5" column="1">
  181. <widget class="QSpinBox" name="timeSignatureSpinBox">
  182. <property name="maximumSize">
  183. <size>
  184. <width>40</width>
  185. <height>16777215</height>
  186. </size>
  187. </property>
  188. <property name="specialValueText">
  189. <string/>
  190. </property>
  191. <property name="value">
  192. <number>4</number>
  193. </property>
  194. </widget>
  195. </item>
  196. </layout>
  197. </item>
  198. <item>
  199. <spacer name="verticalSpacer">
  200. <property name="orientation">
  201. <enum>Qt::Vertical</enum>
  202. </property>
  203. <property name="sizeHint" stdset="0">
  204. <size>
  205. <width>20</width>
  206. <height>40</height>
  207. </size>
  208. </property>
  209. </spacer>
  210. </item>
  211. </layout>
  212. </item>
  213. </layout>
  214. </widget>
  215. <widget class="QWidget" name="tabWidgetPage">
  216. <attribute name="title">
  217. <string>Page</string>
  218. </attribute>
  219. <layout class="QVBoxLayout" name="verticalLayout_8">
  220. <item>
  221. <widget class="QGroupBox" name="pageGroupBox">
  222. <property name="sizePolicy">
  223. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  224. <horstretch>0</horstretch>
  225. <verstretch>0</verstretch>
  226. </sizepolicy>
  227. </property>
  228. <property name="title">
  229. <string>Page options</string>
  230. </property>
  231. <layout class="QVBoxLayout" name="verticalLayout_10">
  232. <item>
  233. <layout class="QFormLayout" name="formLayout">
  234. <item row="0" column="0">
  235. <widget class="QLabel" name="pageSizeLabel">
  236. <property name="text">
  237. <string>Page size</string>
  238. </property>
  239. </widget>
  240. </item>
  241. <item row="0" column="1">
  242. <widget class="QComboBox" name="pageSizeComboBox"/>
  243. </item>
  244. <item row="1" column="0">
  245. <widget class="QLabel" name="documentUnitsLabel">
  246. <property name="text">
  247. <string>Document units</string>
  248. </property>
  249. </widget>
  250. </item>
  251. <item row="1" column="1">
  252. <widget class="QComboBox" name="documentUnitsComboBox"/>
  253. </item>
  254. <item row="2" column="0">
  255. <widget class="QLabel" name="leftMarginLabel">
  256. <property name="text">
  257. <string>Left margin</string>
  258. </property>
  259. </widget>
  260. </item>
  261. <item row="2" column="1">
  262. <widget class="QLineEdit" name="leftMarginLineEdit">
  263. <property name="maximumSize">
  264. <size>
  265. <width>60</width>
  266. <height>16777215</height>
  267. </size>
  268. </property>
  269. </widget>
  270. </item>
  271. <item row="4" column="0">
  272. <widget class="QLabel" name="topMarginLabel">
  273. <property name="text">
  274. <string>Top margin</string>
  275. </property>
  276. </widget>
  277. </item>
  278. <item row="4" column="1">
  279. <widget class="QLineEdit" name="topMarginLineEdit">
  280. <property name="maximumSize">
  281. <size>
  282. <width>60</width>
  283. <height>16777215</height>
  284. </size>
  285. </property>
  286. </widget>
  287. </item>
  288. <item row="3" column="0">
  289. <widget class="QLabel" name="rightMarginLabel">
  290. <property name="text">
  291. <string>Right margin</string>
  292. </property>
  293. </widget>
  294. </item>
  295. <item row="3" column="1">
  296. <widget class="QLineEdit" name="rightMarginLineEdit">
  297. <property name="maximumSize">
  298. <size>
  299. <width>60</width>
  300. <height>16777215</height>
  301. </size>
  302. </property>
  303. </widget>
  304. </item>
  305. <item row="5" column="0">
  306. <widget class="QLabel" name="bottomMarginLabel">
  307. <property name="text">
  308. <string>Bottom margin</string>
  309. </property>
  310. </widget>
  311. </item>
  312. <item row="5" column="1">
  313. <widget class="QLineEdit" name="bottomMarginLineEdit">
  314. <property name="maximumSize">
  315. <size>
  316. <width>60</width>
  317. <height>16777215</height>
  318. </size>
  319. </property>
  320. </widget>
  321. </item>
  322. </layout>
  323. </item>
  324. </layout>
  325. </widget>
  326. </item>
  327. <item>
  328. <widget class="QGroupBox" name="textGroupBox">
  329. <property name="title">
  330. <string>Text options</string>
  331. </property>
  332. <layout class="QVBoxLayout" name="verticalLayout_9">
  333. <item>
  334. <layout class="QFormLayout" name="formLayout_2">
  335. <item row="0" column="0">
  336. <widget class="QLabel" name="lineSpacingLabel">
  337. <property name="text">
  338. <string>Line spacing</string>
  339. </property>
  340. </widget>
  341. </item>
  342. <item row="0" column="1">
  343. <widget class="QDoubleSpinBox" name="lineSpacingDoubleSpinBox">
  344. <property name="minimumSize">
  345. <size>
  346. <width>70</width>
  347. <height>0</height>
  348. </size>
  349. </property>
  350. <property name="maximumSize">
  351. <size>
  352. <width>70</width>
  353. <height>16777215</height>
  354. </size>
  355. </property>
  356. </widget>
  357. </item>
  358. </layout>
  359. </item>
  360. </layout>
  361. </widget>
  362. </item>
  363. <item>
  364. <widget class="QGroupBox" name="fontGroupBox">
  365. <property name="sizePolicy">
  366. <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
  367. <horstretch>0</horstretch>
  368. <verstretch>0</verstretch>
  369. </sizepolicy>
  370. </property>
  371. <property name="title">
  372. <string>Font options</string>
  373. </property>
  374. <layout class="QVBoxLayout" name="verticalLayout_11">
  375. <item>
  376. <layout class="QHBoxLayout" name="horizontalLayout_5">
  377. <item>
  378. <widget class="QLabel" name="fontLabel">
  379. <property name="maximumSize">
  380. <size>
  381. <width>40</width>
  382. <height>16777215</height>
  383. </size>
  384. </property>
  385. <property name="text">
  386. <string>Font</string>
  387. </property>
  388. </widget>
  389. </item>
  390. <item>
  391. <widget class="QComboBox" name="fontComboBox">
  392. <property name="sizePolicy">
  393. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
  394. <horstretch>0</horstretch>
  395. <verstretch>0</verstretch>
  396. </sizepolicy>
  397. </property>
  398. </widget>
  399. </item>
  400. </layout>
  401. </item>
  402. <item>
  403. <widget class="QCheckBox" name="includedFontCheckBox">
  404. <property name="text">
  405. <string>Use included FreeSans</string>
  406. </property>
  407. </widget>
  408. </item>
  409. </layout>
  410. </widget>
  411. </item>
  412. <item>
  413. <widget class="QGroupBox" name="blockOptions">
  414. <property name="title">
  415. <string>Block options</string>
  416. </property>
  417. <layout class="QVBoxLayout" name="verticalLayout_3">
  418. <item>
  419. <layout class="QFormLayout" name="formLayout_4">
  420. <item row="0" column="0">
  421. <widget class="QLabel" name="beatWidthLabel">
  422. <property name="text">
  423. <string>Beat width</string>
  424. </property>
  425. </widget>
  426. </item>
  427. <item row="0" column="1">
  428. <widget class="QLineEdit" name="beatWidthLineEdit">
  429. <property name="maximumSize">
  430. <size>
  431. <width>60</width>
  432. <height>16777215</height>
  433. </size>
  434. </property>
  435. </widget>
  436. </item>
  437. </layout>
  438. </item>
  439. </layout>
  440. </widget>
  441. </item>
  442. <item>
  443. <spacer name="verticalSpacer_2">
  444. <property name="orientation">
  445. <enum>Qt::Vertical</enum>
  446. </property>
  447. <property name="sizeHint" stdset="0">
  448. <size>
  449. <width>20</width>
  450. <height>40</height>
  451. </size>
  452. </property>
  453. </spacer>
  454. </item>
  455. </layout>
  456. </widget>
  457. <widget class="QWidget" name="tabWidgetChords">
  458. <attribute name="title">
  459. <string>Chords</string>
  460. </attribute>
  461. <layout class="QVBoxLayout" name="verticalLayout_5">
  462. <item>
  463. <layout class="QVBoxLayout" name="chordTabLayout">
  464. <item>
  465. <widget class="ChordTableView" name="chordTableView">
  466. <property name="sizePolicy">
  467. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Expanding">
  468. <horstretch>0</horstretch>
  469. <verstretch>0</verstretch>
  470. </sizepolicy>
  471. </property>
  472. <property name="editTriggers">
  473. <set>QAbstractItemView::NoEditTriggers</set>
  474. </property>
  475. <property name="dragEnabled">
  476. <bool>true</bool>
  477. </property>
  478. <property name="dragDropOverwriteMode">
  479. <bool>false</bool>
  480. </property>
  481. <property name="dragDropMode">
  482. <enum>QAbstractItemView::InternalMove</enum>
  483. </property>
  484. <property name="defaultDropAction">
  485. <enum>Qt::IgnoreAction</enum>
  486. </property>
  487. <property name="selectionMode">
  488. <enum>QAbstractItemView::SingleSelection</enum>
  489. </property>
  490. <property name="selectionBehavior">
  491. <enum>QAbstractItemView::SelectRows</enum>
  492. </property>
  493. <property name="showGrid">
  494. <bool>false</bool>
  495. </property>
  496. <property name="sortingEnabled">
  497. <bool>false</bool>
  498. </property>
  499. <property name="cornerButtonEnabled">
  500. <bool>false</bool>
  501. </property>
  502. </widget>
  503. </item>
  504. <item>
  505. <layout class="QGridLayout" name="chordGridLayout">
  506. <item row="0" column="0">
  507. <widget class="QLabel" name="chordNameLabel">
  508. <property name="text">
  509. <string>Chord name</string>
  510. </property>
  511. </widget>
  512. </item>
  513. <item row="1" column="1">
  514. <widget class="QLineEdit" name="guitarVoicingLineEdit">
  515. <property name="sizePolicy">
  516. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
  517. <horstretch>0</horstretch>
  518. <verstretch>0</verstretch>
  519. </sizepolicy>
  520. </property>
  521. </widget>
  522. </item>
  523. <item row="1" column="0">
  524. <widget class="QLabel" name="guitarVoicingLabel">
  525. <property name="text">
  526. <string>Guitar voicing</string>
  527. </property>
  528. </widget>
  529. </item>
  530. <item row="0" column="1">
  531. <widget class="QLineEdit" name="chordNameLineEdit">
  532. <property name="sizePolicy">
  533. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
  534. <horstretch>0</horstretch>
  535. <verstretch>0</verstretch>
  536. </sizepolicy>
  537. </property>
  538. <property name="maximumSize">
  539. <size>
  540. <width>100</width>
  541. <height>16777215</height>
  542. </size>
  543. </property>
  544. </widget>
  545. </item>
  546. <item row="1" column="2">
  547. <widget class="QPushButton" name="guitarVoicingButton">
  548. <property name="maximumSize">
  549. <size>
  550. <width>16777215</width>
  551. <height>16777215</height>
  552. </size>
  553. </property>
  554. <property name="text">
  555. <string>Editor...</string>
  556. </property>
  557. </widget>
  558. </item>
  559. <item row="2" column="1">
  560. <widget class="QLineEdit" name="pianoVoicingLineEdit"/>
  561. </item>
  562. <item row="2" column="0">
  563. <widget class="QLabel" name="pianoVoicingLabel">
  564. <property name="text">
  565. <string>Piano voicing</string>
  566. </property>
  567. </widget>
  568. </item>
  569. </layout>
  570. </item>
  571. <item>
  572. <layout class="QHBoxLayout" name="bottomChordHorizontalLayout">
  573. <item>
  574. <widget class="QPushButton" name="removeChordButton">
  575. <property name="text">
  576. <string>Remove chord</string>
  577. </property>
  578. </widget>
  579. </item>
  580. <item>
  581. <spacer name="horizontalSpacer_3">
  582. <property name="orientation">
  583. <enum>Qt::Horizontal</enum>
  584. </property>
  585. <property name="sizeType">
  586. <enum>QSizePolicy::MinimumExpanding</enum>
  587. </property>
  588. <property name="sizeHint" stdset="0">
  589. <size>
  590. <width>40</width>
  591. <height>20</height>
  592. </size>
  593. </property>
  594. </spacer>
  595. </item>
  596. <item>
  597. <widget class="QPushButton" name="updateChordButton">
  598. <property name="text">
  599. <string>Update chord</string>
  600. </property>
  601. </widget>
  602. </item>
  603. <item>
  604. <widget class="QPushButton" name="addChordButton">
  605. <property name="text">
  606. <string>Add chord</string>
  607. </property>
  608. </widget>
  609. </item>
  610. </layout>
  611. </item>
  612. </layout>
  613. </item>
  614. </layout>
  615. </widget>
  616. <widget class="QWidget" name="tabWidgetSections">
  617. <attribute name="title">
  618. <string>Sections</string>
  619. </attribute>
  620. <layout class="QVBoxLayout" name="verticalLayout_4">
  621. <item>
  622. <layout class="QVBoxLayout" name="sectionTabLayout">
  623. <item>
  624. <widget class="SectionTableView" name="sectionTableView">
  625. <property name="sizePolicy">
  626. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Expanding">
  627. <horstretch>0</horstretch>
  628. <verstretch>0</verstretch>
  629. </sizepolicy>
  630. </property>
  631. <property name="editTriggers">
  632. <set>QAbstractItemView::NoEditTriggers</set>
  633. </property>
  634. <property name="dragEnabled">
  635. <bool>true</bool>
  636. </property>
  637. <property name="dragDropOverwriteMode">
  638. <bool>false</bool>
  639. </property>
  640. <property name="dragDropMode">
  641. <enum>QAbstractItemView::InternalMove</enum>
  642. </property>
  643. <property name="defaultDropAction">
  644. <enum>Qt::TargetMoveAction</enum>
  645. </property>
  646. <property name="selectionMode">
  647. <enum>QAbstractItemView::SingleSelection</enum>
  648. </property>
  649. <property name="selectionBehavior">
  650. <enum>QAbstractItemView::SelectRows</enum>
  651. </property>
  652. <property name="showGrid">
  653. <bool>false</bool>
  654. </property>
  655. <property name="cornerButtonEnabled">
  656. <bool>false</bool>
  657. </property>
  658. </widget>
  659. </item>
  660. <item>
  661. <layout class="QFormLayout" name="formLayout_3">
  662. <property name="fieldGrowthPolicy">
  663. <enum>QFormLayout::ExpandingFieldsGrow</enum>
  664. </property>
  665. <item row="0" column="0">
  666. <widget class="QLabel" name="sectionNameLabel">
  667. <property name="text">
  668. <string>Name</string>
  669. </property>
  670. </widget>
  671. </item>
  672. <item row="0" column="1">
  673. <widget class="QLineEdit" name="sectionNameLineEdit"/>
  674. </item>
  675. </layout>
  676. </item>
  677. <item>
  678. <layout class="QHBoxLayout" name="bottomSectionHorizontalLayout">
  679. <item>
  680. <widget class="QPushButton" name="removeSectionButton">
  681. <property name="text">
  682. <string>Remove section</string>
  683. </property>
  684. </widget>
  685. </item>
  686. <item>
  687. <spacer name="horizontalSpacer_7">
  688. <property name="orientation">
  689. <enum>Qt::Horizontal</enum>
  690. </property>
  691. <property name="sizeType">
  692. <enum>QSizePolicy::MinimumExpanding</enum>
  693. </property>
  694. <property name="sizeHint" stdset="0">
  695. <size>
  696. <width>0</width>
  697. <height>20</height>
  698. </size>
  699. </property>
  700. </spacer>
  701. </item>
  702. <item>
  703. <widget class="QPushButton" name="updateSectionButton">
  704. <property name="text">
  705. <string>Update section</string>
  706. </property>
  707. </widget>
  708. </item>
  709. <item>
  710. <widget class="QPushButton" name="addSectionButton">
  711. <property name="text">
  712. <string>Add section</string>
  713. </property>
  714. </widget>
  715. </item>
  716. </layout>
  717. </item>
  718. </layout>
  719. </item>
  720. </layout>
  721. </widget>
  722. <widget class="QWidget" name="tabWidgetBlocks">
  723. <attribute name="title">
  724. <string>Blocks</string>
  725. </attribute>
  726. <layout class="QVBoxLayout" name="verticalLayout_6">
  727. <item>
  728. <layout class="QVBoxLayout" name="blockTabLayout">
  729. <item>
  730. <layout class="QFormLayout" name="formLayout_5">
  731. <property name="fieldGrowthPolicy">
  732. <enum>QFormLayout::ExpandingFieldsGrow</enum>
  733. </property>
  734. <item row="0" column="0">
  735. <widget class="QLabel" name="blockSectionLabel">
  736. <property name="text">
  737. <string>Section</string>
  738. </property>
  739. </widget>
  740. </item>
  741. <item row="0" column="1">
  742. <widget class="MComboBox" name="blockSectionComboBox">
  743. <property name="sizePolicy">
  744. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
  745. <horstretch>0</horstretch>
  746. <verstretch>0</verstretch>
  747. </sizepolicy>
  748. </property>
  749. </widget>
  750. </item>
  751. </layout>
  752. </item>
  753. <item>
  754. <widget class="BlockTableView" name="blockTableView">
  755. <property name="sizePolicy">
  756. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Expanding">
  757. <horstretch>0</horstretch>
  758. <verstretch>0</verstretch>
  759. </sizepolicy>
  760. </property>
  761. <property name="editTriggers">
  762. <set>QAbstractItemView::NoEditTriggers</set>
  763. </property>
  764. <property name="dragEnabled">
  765. <bool>true</bool>
  766. </property>
  767. <property name="dragDropOverwriteMode">
  768. <bool>false</bool>
  769. </property>
  770. <property name="dragDropMode">
  771. <enum>QAbstractItemView::InternalMove</enum>
  772. </property>
  773. <property name="defaultDropAction">
  774. <enum>Qt::TargetMoveAction</enum>
  775. </property>
  776. <property name="selectionMode">
  777. <enum>QAbstractItemView::SingleSelection</enum>
  778. </property>
  779. <property name="selectionBehavior">
  780. <enum>QAbstractItemView::SelectRows</enum>
  781. </property>
  782. <property name="showGrid">
  783. <bool>false</bool>
  784. </property>
  785. <property name="cornerButtonEnabled">
  786. <bool>false</bool>
  787. </property>
  788. </widget>
  789. </item>
  790. <item>
  791. <layout class="QGridLayout" name="blockGridLayout">
  792. <item row="0" column="0">
  793. <widget class="QLabel" name="blockLengthLabel">
  794. <property name="text">
  795. <string>Length</string>
  796. </property>
  797. </widget>
  798. </item>
  799. <item row="0" column="4">
  800. <widget class="QComboBox" name="blockChordComboBox"/>
  801. </item>
  802. <item row="1" column="0">
  803. <widget class="QLabel" name="blockNotesLabel">
  804. <property name="minimumSize">
  805. <size>
  806. <width>0</width>
  807. <height>0</height>
  808. </size>
  809. </property>
  810. <property name="text">
  811. <string>Notes</string>
  812. </property>
  813. </widget>
  814. </item>
  815. <item row="0" column="3">
  816. <widget class="QLabel" name="blockChordLabel">
  817. <property name="text">
  818. <string>Chord</string>
  819. </property>
  820. </widget>
  821. </item>
  822. <item row="0" column="1">
  823. <widget class="QLineEdit" name="blockLengthLineEdit">
  824. <property name="sizePolicy">
  825. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  826. <horstretch>0</horstretch>
  827. <verstretch>0</verstretch>
  828. </sizepolicy>
  829. </property>
  830. <property name="maximumSize">
  831. <size>
  832. <width>40</width>
  833. <height>16777215</height>
  834. </size>
  835. </property>
  836. </widget>
  837. </item>
  838. <item row="1" column="1" colspan="4">
  839. <widget class="QLineEdit" name="blockNotesLineEdit">
  840. <property name="sizePolicy">
  841. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
  842. <horstretch>0</horstretch>
  843. <verstretch>0</verstretch>
  844. </sizepolicy>
  845. </property>
  846. </widget>
  847. </item>
  848. <item row="0" column="2">
  849. <spacer name="horizontalSpacer_4">
  850. <property name="orientation">
  851. <enum>Qt::Horizontal</enum>
  852. </property>
  853. <property name="sizeType">
  854. <enum>QSizePolicy::MinimumExpanding</enum>
  855. </property>
  856. <property name="sizeHint" stdset="0">
  857. <size>
  858. <width>40</width>
  859. <height>20</height>
  860. </size>
  861. </property>
  862. </spacer>
  863. </item>
  864. </layout>
  865. </item>
  866. <item>
  867. <layout class="QHBoxLayout" name="bottomBlockHorizontalLayout">
  868. <item>
  869. <widget class="QPushButton" name="removeBlockButton">
  870. <property name="text">
  871. <string>Remove block</string>
  872. </property>
  873. </widget>
  874. </item>
  875. <item>
  876. <spacer name="horizontalSpacer_6">
  877. <property name="orientation">
  878. <enum>Qt::Horizontal</enum>
  879. </property>
  880. <property name="sizeType">
  881. <enum>QSizePolicy::MinimumExpanding</enum>
  882. </property>
  883. <property name="sizeHint" stdset="0">
  884. <size>
  885. <width>40</width>
  886. <height>20</height>
  887. </size>
  888. </property>
  889. </spacer>
  890. </item>
  891. <item>
  892. <widget class="QPushButton" name="updateBlockButton">
  893. <property name="text">
  894. <string>Update block</string>
  895. </property>
  896. </widget>
  897. </item>
  898. <item>
  899. <widget class="QPushButton" name="addBlockButton">
  900. <property name="text">
  901. <string>Add block</string>
  902. </property>
  903. </widget>
  904. </item>
  905. </layout>
  906. </item>
  907. </layout>
  908. </item>
  909. </layout>
  910. </widget>
  911. </widget>
  912. </item>
  913. <item>
  914. <layout class="QHBoxLayout" name="horizontalLayout_3">
  915. <item>
  916. <spacer name="horizontalSpacer">
  917. <property name="orientation">
  918. <enum>Qt::Horizontal</enum>
  919. </property>
  920. <property name="sizeType">
  921. <enum>QSizePolicy::MinimumExpanding</enum>
  922. </property>
  923. <property name="sizeHint" stdset="0">
  924. <size>
  925. <width>40</width>
  926. <height>20</height>
  927. </size>
  928. </property>
  929. </spacer>
  930. </item>
  931. <item>
  932. <widget class="QPushButton" name="generateButton">
  933. <property name="text">
  934. <string>Generate chordsheet</string>
  935. </property>
  936. </widget>
  937. </item>
  938. <item>
  939. <spacer name="horizontalSpacer_2">
  940. <property name="orientation">
  941. <enum>Qt::Horizontal</enum>
  942. </property>
  943. <property name="sizeType">
  944. <enum>QSizePolicy::MinimumExpanding</enum>
  945. </property>
  946. <property name="sizeHint" stdset="0">
  947. <size>
  948. <width>40</width>
  949. <height>20</height>
  950. </size>
  951. </property>
  952. </spacer>
  953. </item>
  954. </layout>
  955. </item>
  956. </layout>
  957. </item>
  958. </layout>
  959. </widget>
  960. <widget class="PDFViewer" name="pdfArea" native="true">
  961. <property name="sizePolicy">
  962. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  963. <horstretch>1</horstretch>
  964. <verstretch>0</verstretch>
  965. </sizepolicy>
  966. </property>
  967. <property name="minimumSize">
  968. <size>
  969. <width>300</width>
  970. <height>400</height>
  971. </size>
  972. </property>
  973. <property name="widgetResizable" stdset="0">
  974. <bool>true</bool>
  975. </property>
  976. </widget>
  977. </widget>
  978. </item>
  979. </layout>
  980. </widget>
  981. <widget class="QMenuBar" name="menuBar">
  982. <property name="geometry">
  983. <rect>
  984. <x>0</x>
  985. <y>0</y>
  986. <width>1061</width>
  987. <height>22</height>
  988. </rect>
  989. </property>
  990. <widget class="QMenu" name="menuFile">
  991. <property name="title">
  992. <string>File</string>
  993. </property>
  994. <addaction name="actionNew"/>
  995. <addaction name="actionOpen"/>
  996. <addaction name="separator"/>
  997. <addaction name="actionSave"/>
  998. <addaction name="actionSave_as"/>
  999. <addaction name="actionSave_PDF"/>
  1000. <addaction name="separator"/>
  1001. <addaction name="actionPrint"/>
  1002. <addaction name="separator"/>
  1003. <addaction name="actionClose"/>
  1004. </widget>
  1005. <widget class="QMenu" name="menuEdit">
  1006. <property name="title">
  1007. <string>Edit</string>
  1008. </property>
  1009. <addaction name="actionUndo"/>
  1010. <addaction name="actionRedo"/>
  1011. <addaction name="separator"/>
  1012. <addaction name="actionCut"/>
  1013. <addaction name="actionCopy"/>
  1014. <addaction name="actionPaste"/>
  1015. <addaction name="separator"/>
  1016. <addaction name="actionAbout"/>
  1017. </widget>
  1018. <addaction name="menuFile"/>
  1019. <addaction name="menuEdit"/>
  1020. </widget>
  1021. <action name="actionNew">
  1022. <property name="text">
  1023. <string>New...</string>
  1024. </property>
  1025. </action>
  1026. <action name="actionOpen">
  1027. <property name="text">
  1028. <string>Open...</string>
  1029. </property>
  1030. </action>
  1031. <action name="actionSave">
  1032. <property name="text">
  1033. <string>Save</string>
  1034. </property>
  1035. </action>
  1036. <action name="actionSave_PDF">
  1037. <property name="text">
  1038. <string>Save PDF...</string>
  1039. </property>
  1040. </action>
  1041. <action name="actionPrint">
  1042. <property name="text">
  1043. <string>Print...</string>
  1044. </property>
  1045. </action>
  1046. <action name="actionClose">
  1047. <property name="text">
  1048. <string>Close</string>
  1049. </property>
  1050. </action>
  1051. <action name="actionSave_as">
  1052. <property name="text">
  1053. <string>Save as...</string>
  1054. </property>
  1055. </action>
  1056. <action name="actionQuit">
  1057. <property name="text">
  1058. <string>Quit</string>
  1059. </property>
  1060. </action>
  1061. <action name="actionUndo">
  1062. <property name="text">
  1063. <string>Undo</string>
  1064. </property>
  1065. </action>
  1066. <action name="actionRedo">
  1067. <property name="text">
  1068. <string>Redo</string>
  1069. </property>
  1070. </action>
  1071. <action name="actionCut">
  1072. <property name="text">
  1073. <string>Cut</string>
  1074. </property>
  1075. </action>
  1076. <action name="actionCopy">
  1077. <property name="text">
  1078. <string>Copy</string>
  1079. </property>
  1080. </action>
  1081. <action name="actionPaste">
  1082. <property name="text">
  1083. <string>Paste</string>
  1084. </property>
  1085. </action>
  1086. <action name="actionPreferences">
  1087. <property name="text">
  1088. <string>Preferences</string>
  1089. </property>
  1090. </action>
  1091. <action name="actionAbout">
  1092. <property name="text">
  1093. <string>About</string>
  1094. </property>
  1095. </action>
  1096. </widget>
  1097. <customwidgets>
  1098. <customwidget>
  1099. <class>ChordTableView</class>
  1100. <extends>QTableView</extends>
  1101. <header>chordsheet/tableView.h</header>
  1102. </customwidget>
  1103. <customwidget>
  1104. <class>BlockTableView</class>
  1105. <extends>QTableView</extends>
  1106. <header>chordsheet/tableView.h</header>
  1107. </customwidget>
  1108. <customwidget>
  1109. <class>SectionTableView</class>
  1110. <extends>QTableView</extends>
  1111. <header>chordsheet/tableView.h</header>
  1112. </customwidget>
  1113. <customwidget>
  1114. <class>MComboBox</class>
  1115. <extends>QComboBox</extends>
  1116. <header>chordsheet/comboBox.h</header>
  1117. </customwidget>
  1118. <customwidget>
  1119. <class>PDFViewer</class>
  1120. <extends>QWidget</extends>
  1121. <header>chordsheet/pdfViewer.h</header>
  1122. <container>1</container>
  1123. </customwidget>
  1124. </customwidgets>
  1125. <tabstops>
  1126. <tabstop>generateButton</tabstop>
  1127. <tabstop>tabWidget</tabstop>
  1128. <tabstop>titleLineEdit</tabstop>
  1129. <tabstop>subtitleLineEdit</tabstop>
  1130. <tabstop>composerLineEdit</tabstop>
  1131. <tabstop>arrangerLineEdit</tabstop>
  1132. <tabstop>tempoLineEdit</tabstop>
  1133. <tabstop>timeSignatureSpinBox</tabstop>
  1134. <tabstop>pageSizeComboBox</tabstop>
  1135. <tabstop>documentUnitsComboBox</tabstop>
  1136. <tabstop>leftMarginLineEdit</tabstop>
  1137. <tabstop>rightMarginLineEdit</tabstop>
  1138. <tabstop>topMarginLineEdit</tabstop>
  1139. <tabstop>bottomMarginLineEdit</tabstop>
  1140. <tabstop>lineSpacingDoubleSpinBox</tabstop>
  1141. <tabstop>fontComboBox</tabstop>
  1142. <tabstop>includedFontCheckBox</tabstop>
  1143. <tabstop>beatWidthLineEdit</tabstop>
  1144. <tabstop>chordTableView</tabstop>
  1145. <tabstop>chordNameLineEdit</tabstop>
  1146. <tabstop>guitarVoicingLineEdit</tabstop>
  1147. <tabstop>pianoVoicingLineEdit</tabstop>
  1148. <tabstop>guitarVoicingButton</tabstop>
  1149. <tabstop>removeChordButton</tabstop>
  1150. <tabstop>updateChordButton</tabstop>
  1151. <tabstop>addChordButton</tabstop>
  1152. <tabstop>sectionTableView</tabstop>
  1153. <tabstop>sectionNameLineEdit</tabstop>
  1154. <tabstop>removeSectionButton</tabstop>
  1155. <tabstop>updateSectionButton</tabstop>
  1156. <tabstop>addSectionButton</tabstop>
  1157. <tabstop>blockSectionComboBox</tabstop>
  1158. <tabstop>blockTableView</tabstop>
  1159. <tabstop>blockLengthLineEdit</tabstop>
  1160. <tabstop>blockChordComboBox</tabstop>
  1161. <tabstop>blockNotesLineEdit</tabstop>
  1162. <tabstop>removeBlockButton</tabstop>
  1163. <tabstop>updateBlockButton</tabstop>
  1164. <tabstop>addBlockButton</tabstop>
  1165. </tabstops>
  1166. <resources/>
  1167. <connections/>
  1168. </ui>