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.

291 lines
7.8 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
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>blocksWidget</class>
  4. <widget class="QWidget" name="blocksWidget">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>387</width>
  10. <height>206</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Blocks</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. <layout class="QFormLayout" name="formLayout_5">
  34. <property name="fieldGrowthPolicy">
  35. <enum>QFormLayout::ExpandingFieldsGrow</enum>
  36. </property>
  37. <property name="leftMargin">
  38. <number>6</number>
  39. </property>
  40. <property name="topMargin">
  41. <number>6</number>
  42. </property>
  43. <property name="rightMargin">
  44. <number>6</number>
  45. </property>
  46. <property name="bottomMargin">
  47. <number>6</number>
  48. </property>
  49. <item row="0" column="0">
  50. <widget class="QLabel" name="blockSectionLabel">
  51. <property name="text">
  52. <string>Section</string>
  53. </property>
  54. </widget>
  55. </item>
  56. <item row="0" column="1">
  57. <widget class="MComboBox" name="blockSectionComboBox">
  58. <property name="sizePolicy">
  59. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
  60. <horstretch>0</horstretch>
  61. <verstretch>0</verstretch>
  62. </sizepolicy>
  63. </property>
  64. </widget>
  65. </item>
  66. </layout>
  67. </item>
  68. <item>
  69. <widget class="BlockTableView" name="blockTableView">
  70. <property name="sizePolicy">
  71. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Expanding">
  72. <horstretch>0</horstretch>
  73. <verstretch>0</verstretch>
  74. </sizepolicy>
  75. </property>
  76. <property name="editTriggers">
  77. <set>QAbstractItemView::NoEditTriggers</set>
  78. </property>
  79. <property name="dragEnabled">
  80. <bool>true</bool>
  81. </property>
  82. <property name="dragDropOverwriteMode">
  83. <bool>false</bool>
  84. </property>
  85. <property name="dragDropMode">
  86. <enum>QAbstractItemView::InternalMove</enum>
  87. </property>
  88. <property name="defaultDropAction">
  89. <enum>Qt::TargetMoveAction</enum>
  90. </property>
  91. <property name="selectionMode">
  92. <enum>QAbstractItemView::SingleSelection</enum>
  93. </property>
  94. <property name="selectionBehavior">
  95. <enum>QAbstractItemView::SelectRows</enum>
  96. </property>
  97. <property name="showGrid">
  98. <bool>false</bool>
  99. </property>
  100. <property name="cornerButtonEnabled">
  101. <bool>false</bool>
  102. </property>
  103. </widget>
  104. </item>
  105. <item>
  106. <layout class="QGridLayout" name="blockGridLayout">
  107. <property name="leftMargin">
  108. <number>6</number>
  109. </property>
  110. <property name="topMargin">
  111. <number>6</number>
  112. </property>
  113. <property name="rightMargin">
  114. <number>6</number>
  115. </property>
  116. <property name="bottomMargin">
  117. <number>6</number>
  118. </property>
  119. <property name="spacing">
  120. <number>6</number>
  121. </property>
  122. <item row="0" column="0">
  123. <widget class="QLabel" name="blockLengthLabel">
  124. <property name="text">
  125. <string>Length</string>
  126. </property>
  127. </widget>
  128. </item>
  129. <item row="0" column="4">
  130. <widget class="QComboBox" name="blockChordComboBox"/>
  131. </item>
  132. <item row="1" column="0">
  133. <widget class="QLabel" name="blockNotesLabel">
  134. <property name="minimumSize">
  135. <size>
  136. <width>0</width>
  137. <height>0</height>
  138. </size>
  139. </property>
  140. <property name="text">
  141. <string>Notes</string>
  142. </property>
  143. </widget>
  144. </item>
  145. <item row="0" column="3">
  146. <widget class="QLabel" name="blockChordLabel">
  147. <property name="text">
  148. <string>Chord</string>
  149. </property>
  150. </widget>
  151. </item>
  152. <item row="0" column="1">
  153. <widget class="QLineEdit" name="blockLengthLineEdit">
  154. <property name="sizePolicy">
  155. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  156. <horstretch>0</horstretch>
  157. <verstretch>0</verstretch>
  158. </sizepolicy>
  159. </property>
  160. <property name="maximumSize">
  161. <size>
  162. <width>40</width>
  163. <height>16777215</height>
  164. </size>
  165. </property>
  166. </widget>
  167. </item>
  168. <item row="1" column="1" colspan="4">
  169. <widget class="QLineEdit" name="blockNotesLineEdit">
  170. <property name="sizePolicy">
  171. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
  172. <horstretch>0</horstretch>
  173. <verstretch>0</verstretch>
  174. </sizepolicy>
  175. </property>
  176. </widget>
  177. </item>
  178. <item row="0" column="2">
  179. <spacer name="horizontalSpacer_4">
  180. <property name="orientation">
  181. <enum>Qt::Horizontal</enum>
  182. </property>
  183. <property name="sizeType">
  184. <enum>QSizePolicy::MinimumExpanding</enum>
  185. </property>
  186. <property name="sizeHint" stdset="0">
  187. <size>
  188. <width>40</width>
  189. <height>20</height>
  190. </size>
  191. </property>
  192. </spacer>
  193. </item>
  194. </layout>
  195. </item>
  196. <item>
  197. <layout class="QHBoxLayout" name="bottomBlockHorizontalLayout">
  198. <property name="spacing">
  199. <number>6</number>
  200. </property>
  201. <property name="leftMargin">
  202. <number>6</number>
  203. </property>
  204. <property name="topMargin">
  205. <number>0</number>
  206. </property>
  207. <property name="rightMargin">
  208. <number>6</number>
  209. </property>
  210. <property name="bottomMargin">
  211. <number>6</number>
  212. </property>
  213. <item>
  214. <widget class="QPushButton" name="removeBlockButton">
  215. <property name="text">
  216. <string>Remove block</string>
  217. </property>
  218. </widget>
  219. </item>
  220. <item>
  221. <spacer name="horizontalSpacer_6">
  222. <property name="orientation">
  223. <enum>Qt::Horizontal</enum>
  224. </property>
  225. <property name="sizeType">
  226. <enum>QSizePolicy::MinimumExpanding</enum>
  227. </property>
  228. <property name="sizeHint" stdset="0">
  229. <size>
  230. <width>40</width>
  231. <height>20</height>
  232. </size>
  233. </property>
  234. </spacer>
  235. </item>
  236. <item>
  237. <widget class="QPushButton" name="updateBlockButton">
  238. <property name="text">
  239. <string>Update block</string>
  240. </property>
  241. </widget>
  242. </item>
  243. <item>
  244. <widget class="QPushButton" name="addBlockButton">
  245. <property name="enabled">
  246. <bool>true</bool>
  247. </property>
  248. <property name="text">
  249. <string>Add block</string>
  250. </property>
  251. <property name="checkable">
  252. <bool>false</bool>
  253. </property>
  254. <property name="autoDefault">
  255. <bool>false</bool>
  256. </property>
  257. <property name="default">
  258. <bool>false</bool>
  259. </property>
  260. <property name="flat">
  261. <bool>false</bool>
  262. </property>
  263. </widget>
  264. </item>
  265. </layout>
  266. </item>
  267. </layout>
  268. </widget>
  269. <customwidgets>
  270. <customwidget>
  271. <class>BlockTableView</class>
  272. <extends>QTableView</extends>
  273. <header>csgui/tableView.h</header>
  274. </customwidget>
  275. <customwidget>
  276. <class>MComboBox</class>
  277. <extends>QComboBox</extends>
  278. <header>csgui/comboBox.h</header>
  279. </customwidget>
  280. </customwidgets>
  281. <tabstops>
  282. <tabstop>blockLengthLineEdit</tabstop>
  283. <tabstop>blockChordComboBox</tabstop>
  284. <tabstop>blockNotesLineEdit</tabstop>
  285. <tabstop>removeBlockButton</tabstop>
  286. <tabstop>updateBlockButton</tabstop>
  287. <tabstop>addBlockButton</tabstop>
  288. </tabstops>
  289. <resources/>
  290. <connections/>
  291. </ui>