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.

237 lines
6.5 KiB

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
  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>393</width>
  10. <height>236</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Chords</string>
  15. </property>
  16. <layout class="QVBoxLayout" name="verticalLayout">
  17. <property name="spacing">
  18. <number>0</number>
  19. </property>
  20. <property name="leftMargin">
  21. <number>0</number>
  22. </property>
  23. <property name="topMargin">
  24. <number>0</number>
  25. </property>
  26. <property name="rightMargin">
  27. <number>0</number>
  28. </property>
  29. <property name="bottomMargin">
  30. <number>0</number>
  31. </property>
  32. <item>
  33. <widget class="ChordTableView" name="chordTableView">
  34. <property name="sizePolicy">
  35. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Expanding">
  36. <horstretch>0</horstretch>
  37. <verstretch>0</verstretch>
  38. </sizepolicy>
  39. </property>
  40. <property name="editTriggers">
  41. <set>QAbstractItemView::NoEditTriggers</set>
  42. </property>
  43. <property name="dragEnabled">
  44. <bool>true</bool>
  45. </property>
  46. <property name="dragDropOverwriteMode">
  47. <bool>false</bool>
  48. </property>
  49. <property name="dragDropMode">
  50. <enum>QAbstractItemView::InternalMove</enum>
  51. </property>
  52. <property name="defaultDropAction">
  53. <enum>Qt::IgnoreAction</enum>
  54. </property>
  55. <property name="selectionMode">
  56. <enum>QAbstractItemView::SingleSelection</enum>
  57. </property>
  58. <property name="selectionBehavior">
  59. <enum>QAbstractItemView::SelectRows</enum>
  60. </property>
  61. <property name="showGrid">
  62. <bool>false</bool>
  63. </property>
  64. <property name="sortingEnabled">
  65. <bool>false</bool>
  66. </property>
  67. <property name="cornerButtonEnabled">
  68. <bool>false</bool>
  69. </property>
  70. </widget>
  71. </item>
  72. <item>
  73. <layout class="QVBoxLayout" name="verticalLayout_2">
  74. <property name="spacing">
  75. <number>6</number>
  76. </property>
  77. <property name="leftMargin">
  78. <number>6</number>
  79. </property>
  80. <property name="topMargin">
  81. <number>6</number>
  82. </property>
  83. <property name="rightMargin">
  84. <number>6</number>
  85. </property>
  86. <property name="bottomMargin">
  87. <number>6</number>
  88. </property>
  89. <item>
  90. <layout class="QGridLayout" name="chordGridLayout">
  91. <property name="spacing">
  92. <number>6</number>
  93. </property>
  94. <item row="1" column="1">
  95. <widget class="QLineEdit" name="guitarVoicingLineEdit">
  96. <property name="sizePolicy">
  97. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
  98. <horstretch>0</horstretch>
  99. <verstretch>0</verstretch>
  100. </sizepolicy>
  101. </property>
  102. </widget>
  103. </item>
  104. <item row="1" column="0">
  105. <widget class="QLabel" name="guitarVoicingLabel">
  106. <property name="text">
  107. <string>Guitar voicing</string>
  108. </property>
  109. </widget>
  110. </item>
  111. <item row="2" column="1">
  112. <widget class="QLineEdit" name="pianoVoicingLineEdit"/>
  113. </item>
  114. <item row="0" column="1">
  115. <widget class="QLineEdit" name="chordNameLineEdit">
  116. <property name="sizePolicy">
  117. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
  118. <horstretch>0</horstretch>
  119. <verstretch>0</verstretch>
  120. </sizepolicy>
  121. </property>
  122. <property name="maximumSize">
  123. <size>
  124. <width>100</width>
  125. <height>16777215</height>
  126. </size>
  127. </property>
  128. </widget>
  129. </item>
  130. <item row="2" column="0">
  131. <widget class="QLabel" name="pianoVoicingLabel">
  132. <property name="text">
  133. <string>Piano voicing</string>
  134. </property>
  135. </widget>
  136. </item>
  137. <item row="0" column="0">
  138. <widget class="QLabel" name="chordNameLabel">
  139. <property name="text">
  140. <string>Chord name</string>
  141. </property>
  142. </widget>
  143. </item>
  144. <item row="1" column="2">
  145. <widget class="QPushButton" name="guitarVoicingButton">
  146. <property name="maximumSize">
  147. <size>
  148. <width>16777215</width>
  149. <height>16777215</height>
  150. </size>
  151. </property>
  152. <property name="text">
  153. <string>Editor...</string>
  154. </property>
  155. </widget>
  156. </item>
  157. </layout>
  158. </item>
  159. </layout>
  160. </item>
  161. <item>
  162. <layout class="QHBoxLayout" name="bottomChordHorizontalLayout">
  163. <property name="spacing">
  164. <number>6</number>
  165. </property>
  166. <property name="leftMargin">
  167. <number>6</number>
  168. </property>
  169. <property name="topMargin">
  170. <number>0</number>
  171. </property>
  172. <property name="rightMargin">
  173. <number>6</number>
  174. </property>
  175. <property name="bottomMargin">
  176. <number>6</number>
  177. </property>
  178. <item>
  179. <widget class="QPushButton" name="removeChordButton">
  180. <property name="text">
  181. <string>Remove chord</string>
  182. </property>
  183. </widget>
  184. </item>
  185. <item>
  186. <spacer name="horizontalSpacer_3">
  187. <property name="orientation">
  188. <enum>Qt::Horizontal</enum>
  189. </property>
  190. <property name="sizeType">
  191. <enum>QSizePolicy::MinimumExpanding</enum>
  192. </property>
  193. <property name="sizeHint" stdset="0">
  194. <size>
  195. <width>40</width>
  196. <height>20</height>
  197. </size>
  198. </property>
  199. </spacer>
  200. </item>
  201. <item>
  202. <widget class="QPushButton" name="updateChordButton">
  203. <property name="text">
  204. <string>Update chord</string>
  205. </property>
  206. </widget>
  207. </item>
  208. <item>
  209. <widget class="QPushButton" name="addChordButton">
  210. <property name="text">
  211. <string>Add chord</string>
  212. </property>
  213. </widget>
  214. </item>
  215. </layout>
  216. </item>
  217. </layout>
  218. </widget>
  219. <customwidgets>
  220. <customwidget>
  221. <class>ChordTableView</class>
  222. <extends>QTableView</extends>
  223. <header>csgui/tableView.h</header>
  224. </customwidget>
  225. </customwidgets>
  226. <tabstops>
  227. <tabstop>chordNameLineEdit</tabstop>
  228. <tabstop>guitarVoicingLineEdit</tabstop>
  229. <tabstop>guitarVoicingButton</tabstop>
  230. <tabstop>pianoVoicingLineEdit</tabstop>
  231. <tabstop>removeChordButton</tabstop>
  232. <tabstop>updateChordButton</tabstop>
  233. <tabstop>addChordButton</tabstop>
  234. </tabstops>
  235. <resources/>
  236. <connections/>
  237. </ui>