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.

190 lines
5.5 KiB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>chordsWidget</class>
  4. <widget class="QWidget" name="chordsWidget">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>443</width>
  10. <height>359</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Chords</string>
  15. </property>
  16. <layout class="QHBoxLayout" name="horizontalLayout">
  17. <item>
  18. <layout class="QVBoxLayout" name="chordTabLayout">
  19. <item>
  20. <widget class="ChordTableView" name="chordTableView">
  21. <property name="sizePolicy">
  22. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Expanding">
  23. <horstretch>0</horstretch>
  24. <verstretch>0</verstretch>
  25. </sizepolicy>
  26. </property>
  27. <property name="editTriggers">
  28. <set>QAbstractItemView::NoEditTriggers</set>
  29. </property>
  30. <property name="dragEnabled">
  31. <bool>true</bool>
  32. </property>
  33. <property name="dragDropOverwriteMode">
  34. <bool>false</bool>
  35. </property>
  36. <property name="dragDropMode">
  37. <enum>QAbstractItemView::InternalMove</enum>
  38. </property>
  39. <property name="defaultDropAction">
  40. <enum>Qt::IgnoreAction</enum>
  41. </property>
  42. <property name="selectionMode">
  43. <enum>QAbstractItemView::SingleSelection</enum>
  44. </property>
  45. <property name="selectionBehavior">
  46. <enum>QAbstractItemView::SelectRows</enum>
  47. </property>
  48. <property name="showGrid">
  49. <bool>false</bool>
  50. </property>
  51. <property name="sortingEnabled">
  52. <bool>false</bool>
  53. </property>
  54. <property name="cornerButtonEnabled">
  55. <bool>false</bool>
  56. </property>
  57. </widget>
  58. </item>
  59. <item>
  60. <layout class="QGridLayout" name="chordGridLayout">
  61. <item row="0" column="0">
  62. <widget class="QLabel" name="chordNameLabel">
  63. <property name="text">
  64. <string>Chord name</string>
  65. </property>
  66. </widget>
  67. </item>
  68. <item row="1" column="1">
  69. <widget class="QLineEdit" name="guitarVoicingLineEdit">
  70. <property name="sizePolicy">
  71. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
  72. <horstretch>0</horstretch>
  73. <verstretch>0</verstretch>
  74. </sizepolicy>
  75. </property>
  76. </widget>
  77. </item>
  78. <item row="1" column="0">
  79. <widget class="QLabel" name="guitarVoicingLabel">
  80. <property name="text">
  81. <string>Guitar voicing</string>
  82. </property>
  83. </widget>
  84. </item>
  85. <item row="0" column="1">
  86. <widget class="QLineEdit" name="chordNameLineEdit">
  87. <property name="sizePolicy">
  88. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
  89. <horstretch>0</horstretch>
  90. <verstretch>0</verstretch>
  91. </sizepolicy>
  92. </property>
  93. <property name="maximumSize">
  94. <size>
  95. <width>100</width>
  96. <height>16777215</height>
  97. </size>
  98. </property>
  99. </widget>
  100. </item>
  101. <item row="1" column="2">
  102. <widget class="QPushButton" name="guitarVoicingButton">
  103. <property name="maximumSize">
  104. <size>
  105. <width>16777215</width>
  106. <height>16777215</height>
  107. </size>
  108. </property>
  109. <property name="text">
  110. <string>Editor...</string>
  111. </property>
  112. </widget>
  113. </item>
  114. <item row="2" column="1">
  115. <widget class="QLineEdit" name="pianoVoicingLineEdit"/>
  116. </item>
  117. <item row="2" column="0">
  118. <widget class="QLabel" name="pianoVoicingLabel">
  119. <property name="text">
  120. <string>Piano voicing</string>
  121. </property>
  122. </widget>
  123. </item>
  124. </layout>
  125. </item>
  126. <item>
  127. <layout class="QHBoxLayout" name="bottomChordHorizontalLayout">
  128. <item>
  129. <widget class="QPushButton" name="removeChordButton">
  130. <property name="text">
  131. <string>Remove chord</string>
  132. </property>
  133. </widget>
  134. </item>
  135. <item>
  136. <spacer name="horizontalSpacer_3">
  137. <property name="orientation">
  138. <enum>Qt::Horizontal</enum>
  139. </property>
  140. <property name="sizeType">
  141. <enum>QSizePolicy::MinimumExpanding</enum>
  142. </property>
  143. <property name="sizeHint" stdset="0">
  144. <size>
  145. <width>40</width>
  146. <height>20</height>
  147. </size>
  148. </property>
  149. </spacer>
  150. </item>
  151. <item>
  152. <widget class="QPushButton" name="updateChordButton">
  153. <property name="text">
  154. <string>Update chord</string>
  155. </property>
  156. </widget>
  157. </item>
  158. <item>
  159. <widget class="QPushButton" name="addChordButton">
  160. <property name="text">
  161. <string>Add chord</string>
  162. </property>
  163. </widget>
  164. </item>
  165. </layout>
  166. </item>
  167. </layout>
  168. </item>
  169. </layout>
  170. </widget>
  171. <customwidgets>
  172. <customwidget>
  173. <class>ChordTableView</class>
  174. <extends>QTableView</extends>
  175. <header>chordsheet/tableView.h</header>
  176. </customwidget>
  177. </customwidgets>
  178. <tabstops>
  179. <tabstop>chordTableView</tabstop>
  180. <tabstop>chordNameLineEdit</tabstop>
  181. <tabstop>guitarVoicingLineEdit</tabstop>
  182. <tabstop>guitarVoicingButton</tabstop>
  183. <tabstop>pianoVoicingLineEdit</tabstop>
  184. <tabstop>removeChordButton</tabstop>
  185. <tabstop>updateChordButton</tabstop>
  186. <tabstop>addChordButton</tabstop>
  187. </tabstops>
  188. <resources/>
  189. <connections/>
  190. </ui>