PreferencesPage.ui 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>GraphicsView</class>
  4. <widget class="QScrollArea" name="GraphicsView">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>604</width>
  10. <height>558</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string notr="true"/>
  15. </property>
  16. <property name="widgetResizable">
  17. <bool>true</bool>
  18. </property>
  19. <widget class="QWidget" name="scrollAreaWidgetContents">
  20. <property name="geometry">
  21. <rect>
  22. <x>0</x>
  23. <y>0</y>
  24. <width>602</width>
  25. <height>556</height>
  26. </rect>
  27. </property>
  28. <layout class="QVBoxLayout" name="verticalLayout_4">
  29. <item>
  30. <widget class="QGroupBox" name="RightClick">
  31. <property name="title">
  32. <string>Right-Click</string>
  33. </property>
  34. <layout class="QVBoxLayout" name="verticalLayout_2">
  35. <item>
  36. <widget class="QCheckBox" name="RightClickToDeselect">
  37. <property name="text">
  38. <string>Right-click to deselect entities</string>
  39. </property>
  40. </widget>
  41. </item>
  42. </layout>
  43. </widget>
  44. </item>
  45. <item>
  46. <widget class="QGroupBox" name="DoubleClick">
  47. <property name="title">
  48. <string>Double-Click</string>
  49. </property>
  50. <layout class="QVBoxLayout" name="verticalLayout">
  51. <item>
  52. <widget class="QCheckBox" name="DoubleClickEditText">
  53. <property name="text">
  54. <string>Double-click to edit text</string>
  55. </property>
  56. <property name="checked">
  57. <bool>true</bool>
  58. </property>
  59. </widget>
  60. </item>
  61. <item>
  62. <widget class="QCheckBox" name="DoubleClickEditHatch">
  63. <property name="text">
  64. <string>Double-click to edit hatch</string>
  65. </property>
  66. <property name="checked">
  67. <bool>true</bool>
  68. </property>
  69. </widget>
  70. </item>
  71. <item>
  72. <widget class="QCheckBox" name="DoubleClickEditBlock">
  73. <property name="text">
  74. <string>Double-click on block reference opens block</string>
  75. </property>
  76. <property name="checked">
  77. <bool>true</bool>
  78. </property>
  79. </widget>
  80. </item>
  81. <item>
  82. <layout class="QHBoxLayout" name="horizontalLayout_3">
  83. <item>
  84. <widget class="QWidget" name="widget_2" native="true">
  85. <property name="sizePolicy">
  86. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  87. <horstretch>0</horstretch>
  88. <verstretch>0</verstretch>
  89. </sizepolicy>
  90. </property>
  91. <property name="minimumSize">
  92. <size>
  93. <width>10</width>
  94. <height>0</height>
  95. </size>
  96. </property>
  97. </widget>
  98. </item>
  99. <item>
  100. <widget class="QCheckBox" name="DoubleClickEditBlockInPlace">
  101. <property name="text">
  102. <string>Edit block reference in-place</string>
  103. </property>
  104. </widget>
  105. </item>
  106. </layout>
  107. </item>
  108. <item>
  109. <widget class="QCheckBox" name="DoubleClickSelectContour">
  110. <property name="text">
  111. <string>Double-click to select contour</string>
  112. </property>
  113. <property name="checked">
  114. <bool>true</bool>
  115. </property>
  116. </widget>
  117. </item>
  118. <item>
  119. <layout class="QHBoxLayout" name="horizontalLayout_2">
  120. <item>
  121. <widget class="QWidget" name="widget" native="true"/>
  122. </item>
  123. <item>
  124. <widget class="QLabel" name="label_3">
  125. <property name="text">
  126. <string>Tolerance:</string>
  127. </property>
  128. </widget>
  129. </item>
  130. <item>
  131. <widget class="RMathLineEdit" name="DoubleClickSelectContourTolerance">
  132. <property name="text">
  133. <string notr="true">0.001</string>
  134. </property>
  135. </widget>
  136. </item>
  137. </layout>
  138. </item>
  139. <item>
  140. <widget class="QCheckBox" name="RightDoubleClickToReset">
  141. <property name="text">
  142. <string>Right double-click to reset</string>
  143. </property>
  144. </widget>
  145. </item>
  146. </layout>
  147. </widget>
  148. </item>
  149. <item>
  150. <widget class="QGroupBox" name="groupBox">
  151. <property name="title">
  152. <string>Blocks</string>
  153. </property>
  154. <layout class="QVBoxLayout" name="verticalLayout_3">
  155. <item>
  156. <widget class="QCheckBox" name="SelectBlockWithAttribute">
  157. <property name="text">
  158. <string>Select block references together with attributes</string>
  159. </property>
  160. </widget>
  161. </item>
  162. <item>
  163. <widget class="QCheckBox" name="HideAttributeWithBlock">
  164. <property name="text">
  165. <string>Hide attributes when block references are hidden</string>
  166. </property>
  167. </widget>
  168. </item>
  169. </layout>
  170. </widget>
  171. </item>
  172. <item>
  173. <widget class="QGroupBox" name="groupBox_2">
  174. <property name="title">
  175. <string>Cursor Range</string>
  176. </property>
  177. <layout class="QHBoxLayout" name="horizontalLayout">
  178. <item>
  179. <layout class="QGridLayout" name="gridLayout">
  180. <item row="1" column="1">
  181. <widget class="QComboBox" name="PickRange">
  182. <property name="editable">
  183. <bool>true</bool>
  184. </property>
  185. <item>
  186. <property name="text">
  187. <string notr="true">10</string>
  188. </property>
  189. </item>
  190. <item>
  191. <property name="text">
  192. <string notr="true">15</string>
  193. </property>
  194. </item>
  195. <item>
  196. <property name="text">
  197. <string notr="true">20</string>
  198. </property>
  199. </item>
  200. <item>
  201. <property name="text">
  202. <string notr="true">25</string>
  203. </property>
  204. </item>
  205. <item>
  206. <property name="text">
  207. <string notr="true">30</string>
  208. </property>
  209. </item>
  210. <item>
  211. <property name="text">
  212. <string notr="true">50</string>
  213. </property>
  214. </item>
  215. <item>
  216. <property name="text">
  217. <string notr="true">100</string>
  218. </property>
  219. </item>
  220. <item>
  221. <property name="text">
  222. <string notr="true">10000</string>
  223. </property>
  224. </item>
  225. </widget>
  226. </item>
  227. <item row="0" column="1">
  228. <widget class="QComboBox" name="SnapRange">
  229. <property name="editable">
  230. <bool>true</bool>
  231. </property>
  232. <item>
  233. <property name="text">
  234. <string notr="true">10</string>
  235. </property>
  236. </item>
  237. <item>
  238. <property name="text">
  239. <string notr="true">15</string>
  240. </property>
  241. </item>
  242. <item>
  243. <property name="text">
  244. <string notr="true">20</string>
  245. </property>
  246. </item>
  247. <item>
  248. <property name="text">
  249. <string notr="true">25</string>
  250. </property>
  251. </item>
  252. <item>
  253. <property name="text">
  254. <string notr="true">30</string>
  255. </property>
  256. </item>
  257. <item>
  258. <property name="text">
  259. <string notr="true">50</string>
  260. </property>
  261. </item>
  262. <item>
  263. <property name="text">
  264. <string notr="true">100</string>
  265. </property>
  266. </item>
  267. <item>
  268. <property name="text">
  269. <string notr="true">10000</string>
  270. </property>
  271. </item>
  272. </widget>
  273. </item>
  274. <item row="1" column="0">
  275. <widget class="QLabel" name="label_2">
  276. <property name="text">
  277. <string>Cursor range for picking entities:</string>
  278. </property>
  279. </widget>
  280. </item>
  281. <item row="0" column="0">
  282. <widget class="QLabel" name="label">
  283. <property name="text">
  284. <string>Cursor range for snap:</string>
  285. </property>
  286. </widget>
  287. </item>
  288. <item row="2" column="0" colspan="2">
  289. <widget class="QCheckBox" name="HighlightEntity">
  290. <property name="text">
  291. <string>Highlight entity within range</string>
  292. </property>
  293. <property name="checked">
  294. <bool>true</bool>
  295. </property>
  296. </widget>
  297. </item>
  298. </layout>
  299. </item>
  300. <item>
  301. <spacer name="horizontalSpacer">
  302. <property name="orientation">
  303. <enum>Qt::Horizontal</enum>
  304. </property>
  305. <property name="sizeHint" stdset="0">
  306. <size>
  307. <width>40</width>
  308. <height>20</height>
  309. </size>
  310. </property>
  311. </spacer>
  312. </item>
  313. </layout>
  314. </widget>
  315. </item>
  316. <item>
  317. <spacer name="verticalSpacer">
  318. <property name="orientation">
  319. <enum>Qt::Vertical</enum>
  320. </property>
  321. <property name="sizeHint" stdset="0">
  322. <size>
  323. <width>20</width>
  324. <height>40</height>
  325. </size>
  326. </property>
  327. </spacer>
  328. </item>
  329. </layout>
  330. </widget>
  331. </widget>
  332. <customwidgets>
  333. <customwidget>
  334. <class>RMathLineEdit</class>
  335. <extends>QLineEdit</extends>
  336. <header>RMathLineEdit.h</header>
  337. </customwidget>
  338. </customwidgets>
  339. <tabstops>
  340. <tabstop>RightClickToDeselect</tabstop>
  341. <tabstop>DoubleClickEditText</tabstop>
  342. <tabstop>DoubleClickEditHatch</tabstop>
  343. <tabstop>DoubleClickEditBlock</tabstop>
  344. <tabstop>DoubleClickEditBlockInPlace</tabstop>
  345. <tabstop>DoubleClickSelectContour</tabstop>
  346. <tabstop>DoubleClickSelectContourTolerance</tabstop>
  347. <tabstop>RightDoubleClickToReset</tabstop>
  348. <tabstop>SelectBlockWithAttribute</tabstop>
  349. <tabstop>HideAttributeWithBlock</tabstop>
  350. <tabstop>SnapRange</tabstop>
  351. <tabstop>PickRange</tabstop>
  352. <tabstop>HighlightEntity</tabstop>
  353. </tabstops>
  354. <resources/>
  355. <connections>
  356. <connection>
  357. <sender>DoubleClickSelectContour</sender>
  358. <signal>toggled(bool)</signal>
  359. <receiver>label_3</receiver>
  360. <slot>setEnabled(bool)</slot>
  361. <hints>
  362. <hint type="sourcelabel">
  363. <x>175</x>
  364. <y>207</y>
  365. </hint>
  366. <hint type="destinationlabel">
  367. <x>101</x>
  368. <y>235</y>
  369. </hint>
  370. </hints>
  371. </connection>
  372. <connection>
  373. <sender>DoubleClickSelectContour</sender>
  374. <signal>toggled(bool)</signal>
  375. <receiver>DoubleClickSelectContourTolerance</receiver>
  376. <slot>setEnabled(bool)</slot>
  377. <hints>
  378. <hint type="sourcelabel">
  379. <x>216</x>
  380. <y>207</y>
  381. </hint>
  382. <hint type="destinationlabel">
  383. <x>305</x>
  384. <y>235</y>
  385. </hint>
  386. </hints>
  387. </connection>
  388. <connection>
  389. <sender>DoubleClickEditBlock</sender>
  390. <signal>toggled(bool)</signal>
  391. <receiver>DoubleClickEditBlockInPlace</receiver>
  392. <slot>setEnabled(bool)</slot>
  393. <hints>
  394. <hint type="sourcelabel">
  395. <x>113</x>
  396. <y>146</y>
  397. </hint>
  398. <hint type="destinationlabel">
  399. <x>110</x>
  400. <y>169</y>
  401. </hint>
  402. </hints>
  403. </connection>
  404. </connections>
  405. </ui>