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.

165 lines
4.3 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>sectionsWidget</class>
  4. <widget class="QWidget" name="sectionsWidget">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>405</width>
  10. <height>170</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Sections</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="SectionTableView" name="sectionTableView">
  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::TargetMoveAction</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="cornerButtonEnabled">
  65. <bool>false</bool>
  66. </property>
  67. </widget>
  68. </item>
  69. <item>
  70. <layout class="QFormLayout" name="formLayout_3">
  71. <property name="fieldGrowthPolicy">
  72. <enum>QFormLayout::ExpandingFieldsGrow</enum>
  73. </property>
  74. <property name="horizontalSpacing">
  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 row="0" column="0">
  90. <widget class="QLabel" name="sectionNameLabel">
  91. <property name="text">
  92. <string>Name</string>
  93. </property>
  94. </widget>
  95. </item>
  96. <item row="0" column="1">
  97. <widget class="QLineEdit" name="sectionNameLineEdit"/>
  98. </item>
  99. </layout>
  100. </item>
  101. <item>
  102. <layout class="QHBoxLayout" name="bottomSectionHorizontalLayout">
  103. <property name="spacing">
  104. <number>6</number>
  105. </property>
  106. <property name="leftMargin">
  107. <number>6</number>
  108. </property>
  109. <property name="rightMargin">
  110. <number>6</number>
  111. </property>
  112. <property name="bottomMargin">
  113. <number>6</number>
  114. </property>
  115. <item>
  116. <widget class="QPushButton" name="removeSectionButton">
  117. <property name="text">
  118. <string>Remove section</string>
  119. </property>
  120. </widget>
  121. </item>
  122. <item>
  123. <spacer name="horizontalSpacer_7">
  124. <property name="orientation">
  125. <enum>Qt::Horizontal</enum>
  126. </property>
  127. <property name="sizeType">
  128. <enum>QSizePolicy::MinimumExpanding</enum>
  129. </property>
  130. <property name="sizeHint" stdset="0">
  131. <size>
  132. <width>0</width>
  133. <height>20</height>
  134. </size>
  135. </property>
  136. </spacer>
  137. </item>
  138. <item>
  139. <widget class="QPushButton" name="updateSectionButton">
  140. <property name="text">
  141. <string>Update section</string>
  142. </property>
  143. </widget>
  144. </item>
  145. <item>
  146. <widget class="QPushButton" name="addSectionButton">
  147. <property name="text">
  148. <string>Add section</string>
  149. </property>
  150. </widget>
  151. </item>
  152. </layout>
  153. </item>
  154. </layout>
  155. </widget>
  156. <customwidgets>
  157. <customwidget>
  158. <class>SectionTableView</class>
  159. <extends>QTableView</extends>
  160. <header>csgui/tableView.h</header>
  161. </customwidget>
  162. </customwidgets>
  163. <resources/>
  164. <connections/>
  165. </ui>