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.

127 lines
3.6 KiB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>sectionsWidget</class>
  4. <widget class="QWidget" name="sectionsWidget">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>431</width>
  10. <height>325</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Sections</string>
  15. </property>
  16. <layout class="QHBoxLayout" name="horizontalLayout">
  17. <item>
  18. <layout class="QVBoxLayout" name="sectionTabLayout">
  19. <item>
  20. <widget class="SectionTableView" name="sectionTableView">
  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::TargetMoveAction</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="cornerButtonEnabled">
  52. <bool>false</bool>
  53. </property>
  54. </widget>
  55. </item>
  56. <item>
  57. <layout class="QFormLayout" name="formLayout_3">
  58. <property name="fieldGrowthPolicy">
  59. <enum>QFormLayout::ExpandingFieldsGrow</enum>
  60. </property>
  61. <item row="0" column="0">
  62. <widget class="QLabel" name="sectionNameLabel">
  63. <property name="text">
  64. <string>Name</string>
  65. </property>
  66. </widget>
  67. </item>
  68. <item row="0" column="1">
  69. <widget class="QLineEdit" name="sectionNameLineEdit"/>
  70. </item>
  71. </layout>
  72. </item>
  73. <item>
  74. <layout class="QHBoxLayout" name="bottomSectionHorizontalLayout">
  75. <item>
  76. <widget class="QPushButton" name="removeSectionButton">
  77. <property name="text">
  78. <string>Remove section</string>
  79. </property>
  80. </widget>
  81. </item>
  82. <item>
  83. <spacer name="horizontalSpacer_7">
  84. <property name="orientation">
  85. <enum>Qt::Horizontal</enum>
  86. </property>
  87. <property name="sizeType">
  88. <enum>QSizePolicy::MinimumExpanding</enum>
  89. </property>
  90. <property name="sizeHint" stdset="0">
  91. <size>
  92. <width>0</width>
  93. <height>20</height>
  94. </size>
  95. </property>
  96. </spacer>
  97. </item>
  98. <item>
  99. <widget class="QPushButton" name="updateSectionButton">
  100. <property name="text">
  101. <string>Update section</string>
  102. </property>
  103. </widget>
  104. </item>
  105. <item>
  106. <widget class="QPushButton" name="addSectionButton">
  107. <property name="text">
  108. <string>Add section</string>
  109. </property>
  110. </widget>
  111. </item>
  112. </layout>
  113. </item>
  114. </layout>
  115. </item>
  116. </layout>
  117. </widget>
  118. <customwidgets>
  119. <customwidget>
  120. <class>SectionTableView</class>
  121. <extends>QTableView</extends>
  122. <header>chordsheet/tableView.h</header>
  123. </customwidget>
  124. </customwidgets>
  125. <resources/>
  126. <connections/>
  127. </ui>