LayerDialog.ui 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>LayerDialog</class>
  4. <widget class="QDialog" name="LayerDialog">
  5. <property name="windowModality">
  6. <enum>Qt::ApplicationModal</enum>
  7. </property>
  8. <property name="geometry">
  9. <rect>
  10. <x>0</x>
  11. <y>0</y>
  12. <width>306</width>
  13. <height>286</height>
  14. </rect>
  15. </property>
  16. <property name="windowTitle">
  17. <string>Layer</string>
  18. </property>
  19. <layout class="QVBoxLayout" name="verticalLayout">
  20. <item>
  21. <layout class="QGridLayout" name="Layout">
  22. <item row="0" column="0">
  23. <widget class="QWidget" name="widget" native="true"/>
  24. </item>
  25. <item row="1" column="0">
  26. <widget class="QLabel" name="LayerNameLabel">
  27. <property name="text">
  28. <string>Layer name:</string>
  29. </property>
  30. </widget>
  31. </item>
  32. <item row="1" column="1">
  33. <widget class="QLineEdit" name="LayerName">
  34. <property name="sizePolicy">
  35. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
  36. <horstretch>0</horstretch>
  37. <verstretch>0</verstretch>
  38. </sizepolicy>
  39. </property>
  40. <property name="minimumSize">
  41. <size>
  42. <width>180</width>
  43. <height>0</height>
  44. </size>
  45. </property>
  46. <property name="text">
  47. <string notr="true"/>
  48. </property>
  49. </widget>
  50. </item>
  51. </layout>
  52. </item>
  53. <item>
  54. <widget class="QGroupBox" name="Attributes">
  55. <property name="title">
  56. <string>Attributes</string>
  57. </property>
  58. <layout class="QFormLayout" name="formLayout_2">
  59. <property name="fieldGrowthPolicy">
  60. <enum>QFormLayout::ExpandingFieldsGrow</enum>
  61. </property>
  62. <item row="0" column="0">
  63. <widget class="QLabel" name="label_2">
  64. <property name="text">
  65. <string>Color:</string>
  66. </property>
  67. </widget>
  68. </item>
  69. <item row="0" column="1">
  70. <widget class="RColorCombo" name="Color">
  71. <property name="sizePolicy">
  72. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
  73. <horstretch>0</horstretch>
  74. <verstretch>0</verstretch>
  75. </sizepolicy>
  76. </property>
  77. <property name="minimumSize">
  78. <size>
  79. <width>180</width>
  80. <height>0</height>
  81. </size>
  82. </property>
  83. <property name="onlyFixed" stdset="0">
  84. <bool>true</bool>
  85. </property>
  86. <property name="blackWhite" stdset="0">
  87. <bool>false</bool>
  88. </property>
  89. </widget>
  90. </item>
  91. <item row="1" column="0">
  92. <widget class="QLabel" name="label_4">
  93. <property name="text">
  94. <string>Lineweight:</string>
  95. </property>
  96. </widget>
  97. </item>
  98. <item row="1" column="1">
  99. <widget class="RLineweightCombo" name="Lineweight">
  100. <property name="sizePolicy">
  101. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
  102. <horstretch>0</horstretch>
  103. <verstretch>0</verstretch>
  104. </sizepolicy>
  105. </property>
  106. <property name="minimumSize">
  107. <size>
  108. <width>180</width>
  109. <height>0</height>
  110. </size>
  111. </property>
  112. <property name="onlyFixed" stdset="0">
  113. <bool>true</bool>
  114. </property>
  115. </widget>
  116. </item>
  117. <item row="2" column="0">
  118. <widget class="QLabel" name="label_3">
  119. <property name="text">
  120. <string>Linetype:</string>
  121. </property>
  122. </widget>
  123. </item>
  124. <item row="2" column="1">
  125. <widget class="RLinetypeCombo" name="Linetype">
  126. <property name="sizePolicy">
  127. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
  128. <horstretch>0</horstretch>
  129. <verstretch>0</verstretch>
  130. </sizepolicy>
  131. </property>
  132. <property name="minimumSize">
  133. <size>
  134. <width>180</width>
  135. <height>0</height>
  136. </size>
  137. </property>
  138. <property name="onlyFixed" stdset="0">
  139. <bool>true</bool>
  140. </property>
  141. </widget>
  142. </item>
  143. </layout>
  144. </widget>
  145. </item>
  146. <item>
  147. <widget class="QLabel" name="Message">
  148. <property name="text">
  149. <string/>
  150. </property>
  151. <property name="textFormat">
  152. <enum>Qt::RichText</enum>
  153. </property>
  154. </widget>
  155. </item>
  156. <item>
  157. <widget class="QDialogButtonBox" name="ButtonBox">
  158. <property name="orientation">
  159. <enum>Qt::Horizontal</enum>
  160. </property>
  161. <property name="standardButtons">
  162. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  163. </property>
  164. </widget>
  165. </item>
  166. </layout>
  167. </widget>
  168. <customwidgets>
  169. <customwidget>
  170. <class>RLineweightCombo</class>
  171. <extends>QComboBox</extends>
  172. <header>RLineweightCombo.h</header>
  173. </customwidget>
  174. <customwidget>
  175. <class>RColorCombo</class>
  176. <extends>QComboBox</extends>
  177. <header>RColorCombo.h</header>
  178. </customwidget>
  179. <customwidget>
  180. <class>RLinetypeCombo</class>
  181. <extends>QComboBox</extends>
  182. <header>RLinetypeCombo.h</header>
  183. </customwidget>
  184. </customwidgets>
  185. <resources/>
  186. <connections>
  187. <connection>
  188. <sender>ButtonBox</sender>
  189. <signal>accepted()</signal>
  190. <receiver>LayerDialog</receiver>
  191. <slot>accept()</slot>
  192. <hints>
  193. <hint type="sourcelabel">
  194. <x>248</x>
  195. <y>254</y>
  196. </hint>
  197. <hint type="destinationlabel">
  198. <x>157</x>
  199. <y>274</y>
  200. </hint>
  201. </hints>
  202. </connection>
  203. <connection>
  204. <sender>ButtonBox</sender>
  205. <signal>rejected()</signal>
  206. <receiver>LayerDialog</receiver>
  207. <slot>reject()</slot>
  208. <hints>
  209. <hint type="sourcelabel">
  210. <x>316</x>
  211. <y>260</y>
  212. </hint>
  213. <hint type="destinationlabel">
  214. <x>286</x>
  215. <y>274</y>
  216. </hint>
  217. </hints>
  218. </connection>
  219. </connections>
  220. </ui>