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.

225 lines
6.6 KiB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>blocksWidget</class>
  4. <widget class="QWidget" name="blocksWidget">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>437</width>
  10. <height>371</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Blocks</string>
  15. </property>
  16. <layout class="QHBoxLayout" name="horizontalLayout">
  17. <item>
  18. <layout class="QVBoxLayout" name="blockTabLayout">
  19. <item>
  20. <layout class="QFormLayout" name="formLayout_5">
  21. <property name="fieldGrowthPolicy">
  22. <enum>QFormLayout::ExpandingFieldsGrow</enum>
  23. </property>
  24. <item row="0" column="0">
  25. <widget class="QLabel" name="blockSectionLabel">
  26. <property name="text">
  27. <string>Section</string>
  28. </property>
  29. </widget>
  30. </item>
  31. <item row="0" column="1">
  32. <widget class="MComboBox" name="blockSectionComboBox">
  33. <property name="sizePolicy">
  34. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
  35. <horstretch>0</horstretch>
  36. <verstretch>0</verstretch>
  37. </sizepolicy>
  38. </property>
  39. </widget>
  40. </item>
  41. </layout>
  42. </item>
  43. <item>
  44. <widget class="BlockTableView" name="blockTableView">
  45. <property name="sizePolicy">
  46. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Expanding">
  47. <horstretch>0</horstretch>
  48. <verstretch>0</verstretch>
  49. </sizepolicy>
  50. </property>
  51. <property name="editTriggers">
  52. <set>QAbstractItemView::NoEditTriggers</set>
  53. </property>
  54. <property name="dragEnabled">
  55. <bool>true</bool>
  56. </property>
  57. <property name="dragDropOverwriteMode">
  58. <bool>false</bool>
  59. </property>
  60. <property name="dragDropMode">
  61. <enum>QAbstractItemView::InternalMove</enum>
  62. </property>
  63. <property name="defaultDropAction">
  64. <enum>Qt::TargetMoveAction</enum>
  65. </property>
  66. <property name="selectionMode">
  67. <enum>QAbstractItemView::SingleSelection</enum>
  68. </property>
  69. <property name="selectionBehavior">
  70. <enum>QAbstractItemView::SelectRows</enum>
  71. </property>
  72. <property name="showGrid">
  73. <bool>false</bool>
  74. </property>
  75. <property name="cornerButtonEnabled">
  76. <bool>false</bool>
  77. </property>
  78. </widget>
  79. </item>
  80. <item>
  81. <layout class="QGridLayout" name="blockGridLayout">
  82. <item row="0" column="0">
  83. <widget class="QLabel" name="blockLengthLabel">
  84. <property name="text">
  85. <string>Length</string>
  86. </property>
  87. </widget>
  88. </item>
  89. <item row="0" column="4">
  90. <widget class="QComboBox" name="blockChordComboBox"/>
  91. </item>
  92. <item row="1" column="0">
  93. <widget class="QLabel" name="blockNotesLabel">
  94. <property name="minimumSize">
  95. <size>
  96. <width>0</width>
  97. <height>0</height>
  98. </size>
  99. </property>
  100. <property name="text">
  101. <string>Notes</string>
  102. </property>
  103. </widget>
  104. </item>
  105. <item row="0" column="3">
  106. <widget class="QLabel" name="blockChordLabel">
  107. <property name="text">
  108. <string>Chord</string>
  109. </property>
  110. </widget>
  111. </item>
  112. <item row="0" column="1">
  113. <widget class="QLineEdit" name="blockLengthLineEdit">
  114. <property name="sizePolicy">
  115. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  116. <horstretch>0</horstretch>
  117. <verstretch>0</verstretch>
  118. </sizepolicy>
  119. </property>
  120. <property name="maximumSize">
  121. <size>
  122. <width>40</width>
  123. <height>16777215</height>
  124. </size>
  125. </property>
  126. </widget>
  127. </item>
  128. <item row="1" column="1" colspan="4">
  129. <widget class="QLineEdit" name="blockNotesLineEdit">
  130. <property name="sizePolicy">
  131. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
  132. <horstretch>0</horstretch>
  133. <verstretch>0</verstretch>
  134. </sizepolicy>
  135. </property>
  136. </widget>
  137. </item>
  138. <item row="0" column="2">
  139. <spacer name="horizontalSpacer_4">
  140. <property name="orientation">
  141. <enum>Qt::Horizontal</enum>
  142. </property>
  143. <property name="sizeType">
  144. <enum>QSizePolicy::MinimumExpanding</enum>
  145. </property>
  146. <property name="sizeHint" stdset="0">
  147. <size>
  148. <width>40</width>
  149. <height>20</height>
  150. </size>
  151. </property>
  152. </spacer>
  153. </item>
  154. </layout>
  155. </item>
  156. <item>
  157. <layout class="QHBoxLayout" name="bottomBlockHorizontalLayout">
  158. <item>
  159. <widget class="QPushButton" name="removeBlockButton">
  160. <property name="text">
  161. <string>Remove block</string>
  162. </property>
  163. </widget>
  164. </item>
  165. <item>
  166. <spacer name="horizontalSpacer_6">
  167. <property name="orientation">
  168. <enum>Qt::Horizontal</enum>
  169. </property>
  170. <property name="sizeType">
  171. <enum>QSizePolicy::MinimumExpanding</enum>
  172. </property>
  173. <property name="sizeHint" stdset="0">
  174. <size>
  175. <width>40</width>
  176. <height>20</height>
  177. </size>
  178. </property>
  179. </spacer>
  180. </item>
  181. <item>
  182. <widget class="QPushButton" name="updateBlockButton">
  183. <property name="text">
  184. <string>Update block</string>
  185. </property>
  186. </widget>
  187. </item>
  188. <item>
  189. <widget class="QPushButton" name="addBlockButton">
  190. <property name="text">
  191. <string>Add block</string>
  192. </property>
  193. </widget>
  194. </item>
  195. </layout>
  196. </item>
  197. </layout>
  198. </item>
  199. </layout>
  200. </widget>
  201. <customwidgets>
  202. <customwidget>
  203. <class>BlockTableView</class>
  204. <extends>QTableView</extends>
  205. <header>chordsheet/tableView.h</header>
  206. </customwidget>
  207. <customwidget>
  208. <class>MComboBox</class>
  209. <extends>QComboBox</extends>
  210. <header>chordsheet/comboBox.h</header>
  211. </customwidget>
  212. </customwidgets>
  213. <tabstops>
  214. <tabstop>blockSectionComboBox</tabstop>
  215. <tabstop>blockTableView</tabstop>
  216. <tabstop>blockLengthLineEdit</tabstop>
  217. <tabstop>blockChordComboBox</tabstop>
  218. <tabstop>blockNotesLineEdit</tabstop>
  219. <tabstop>removeBlockButton</tabstop>
  220. <tabstop>updateBlockButton</tabstop>
  221. <tabstop>addBlockButton</tabstop>
  222. </tabstops>
  223. <resources/>
  224. <connections/>
  225. </ui>