FirstStartDialog.ui 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>FirstStart</class>
  4. <widget class="QDialog" name="FirstStart">
  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>443</width>
  13. <height>365</height>
  14. </rect>
  15. </property>
  16. <property name="sizePolicy">
  17. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  18. <horstretch>0</horstretch>
  19. <verstretch>0</verstretch>
  20. </sizepolicy>
  21. </property>
  22. <property name="windowTitle">
  23. <string/>
  24. </property>
  25. <layout class="QVBoxLayout" name="verticalLayout_3">
  26. <item>
  27. <widget class="QGroupBox" name="LanguageBackground">
  28. <layout class="QHBoxLayout" name="horizontalLayout">
  29. <item>
  30. <widget class="QLabel" name="LanguageLabel">
  31. <property name="text">
  32. <string notr="true">Language:</string>
  33. </property>
  34. </widget>
  35. </item>
  36. <item>
  37. <widget class="QComboBox" name="Language">
  38. <property name="sizePolicy">
  39. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  40. <horstretch>0</horstretch>
  41. <verstretch>0</verstretch>
  42. </sizepolicy>
  43. </property>
  44. </widget>
  45. </item>
  46. </layout>
  47. </widget>
  48. </item>
  49. <item>
  50. <layout class="QHBoxLayout" name="horizontalLayout_2">
  51. <item>
  52. <layout class="QVBoxLayout" name="verticalLayout_2">
  53. <item>
  54. <widget class="QToolButton" name="Icon">
  55. <property name="minimumSize">
  56. <size>
  57. <width>100</width>
  58. <height>100</height>
  59. </size>
  60. </property>
  61. <property name="styleSheet">
  62. <string notr="true">border: none;background-color:transparent;</string>
  63. </property>
  64. <property name="icon">
  65. <iconset>
  66. <normaloff>../../qcad_icon.png</normaloff>../../qcad_icon.png</iconset>
  67. </property>
  68. <property name="iconSize">
  69. <size>
  70. <width>92</width>
  71. <height>92</height>
  72. </size>
  73. </property>
  74. </widget>
  75. </item>
  76. <item>
  77. <spacer name="verticalSpacer">
  78. <property name="orientation">
  79. <enum>Qt::Vertical</enum>
  80. </property>
  81. <property name="sizeHint" stdset="0">
  82. <size>
  83. <width>20</width>
  84. <height>40</height>
  85. </size>
  86. </property>
  87. </spacer>
  88. </item>
  89. </layout>
  90. </item>
  91. <item>
  92. <widget class="QGroupBox" name="Background">
  93. <layout class="QVBoxLayout" name="verticalLayout">
  94. <item>
  95. <widget class="QTextBrowser" name="Text">
  96. <property name="styleSheet">
  97. <string notr="true">background-color: rgba(255, 255, 255, 0);</string>
  98. </property>
  99. <property name="frameShape">
  100. <enum>QFrame::NoFrame</enum>
  101. </property>
  102. <property name="verticalScrollBarPolicy">
  103. <enum>Qt::ScrollBarAlwaysOff</enum>
  104. </property>
  105. <property name="horizontalScrollBarPolicy">
  106. <enum>Qt::ScrollBarAlwaysOff</enum>
  107. </property>
  108. <property name="sizeAdjustPolicy">
  109. <enum>QAbstractScrollArea::AdjustToContents</enum>
  110. </property>
  111. <property name="html">
  112. <string notr="true">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
  113. &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
  114. p, li { white-space: pre-wrap; }
  115. &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'.SF NS Text'; font-size:13pt; font-weight:400; font-style:normal;&quot;&gt;
  116. &lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif'; font-size:10pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  117. </property>
  118. </widget>
  119. </item>
  120. <item>
  121. <layout class="QFormLayout" name="formLayout">
  122. <item row="0" column="0">
  123. <widget class="QLabel" name="UnitLabel">
  124. <property name="text">
  125. <string notr="true">Unit:</string>
  126. </property>
  127. </widget>
  128. </item>
  129. <item row="0" column="1">
  130. <widget class="QComboBox" name="Unit">
  131. <property name="sizePolicy">
  132. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  133. <horstretch>0</horstretch>
  134. <verstretch>0</verstretch>
  135. </sizepolicy>
  136. </property>
  137. <property name="minimumSize">
  138. <size>
  139. <width>160</width>
  140. <height>0</height>
  141. </size>
  142. </property>
  143. <property name="maximumSize">
  144. <size>
  145. <width>160</width>
  146. <height>16777215</height>
  147. </size>
  148. </property>
  149. </widget>
  150. </item>
  151. <item row="1" column="0">
  152. <widget class="QLabel" name="DefaultPaperSizeLabel">
  153. <property name="text">
  154. <string notr="true">Default Paper Size:</string>
  155. </property>
  156. </widget>
  157. </item>
  158. <item row="1" column="1">
  159. <widget class="QComboBox" name="DefaultPaperSize">
  160. <property name="sizePolicy">
  161. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  162. <horstretch>0</horstretch>
  163. <verstretch>0</verstretch>
  164. </sizepolicy>
  165. </property>
  166. <property name="minimumSize">
  167. <size>
  168. <width>160</width>
  169. <height>0</height>
  170. </size>
  171. </property>
  172. <property name="maximumSize">
  173. <size>
  174. <width>160</width>
  175. <height>16777215</height>
  176. </size>
  177. </property>
  178. </widget>
  179. </item>
  180. <item row="2" column="0">
  181. <widget class="QLabel" name="DecimalPointLabel">
  182. <property name="text">
  183. <string notr="true">Decimal Point:</string>
  184. </property>
  185. </widget>
  186. </item>
  187. <item row="2" column="1">
  188. <widget class="QComboBox" name="DecimalPoint">
  189. <property name="sizePolicy">
  190. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  191. <horstretch>0</horstretch>
  192. <verstretch>0</verstretch>
  193. </sizepolicy>
  194. </property>
  195. <property name="minimumSize">
  196. <size>
  197. <width>160</width>
  198. <height>0</height>
  199. </size>
  200. </property>
  201. <property name="maximumSize">
  202. <size>
  203. <width>160</width>
  204. <height>16777215</height>
  205. </size>
  206. </property>
  207. </widget>
  208. </item>
  209. <item row="3" column="0">
  210. <widget class="QLabel" name="BackgroundColorLabel">
  211. <property name="text">
  212. <string notr="true">Background Color:</string>
  213. </property>
  214. </widget>
  215. </item>
  216. <item row="3" column="1">
  217. <widget class="QComboBox" name="BackgroundColor">
  218. <property name="sizePolicy">
  219. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  220. <horstretch>0</horstretch>
  221. <verstretch>0</verstretch>
  222. </sizepolicy>
  223. </property>
  224. <property name="minimumSize">
  225. <size>
  226. <width>160</width>
  227. <height>0</height>
  228. </size>
  229. </property>
  230. <property name="maximumSize">
  231. <size>
  232. <width>160</width>
  233. <height>16777215</height>
  234. </size>
  235. </property>
  236. </widget>
  237. </item>
  238. </layout>
  239. </item>
  240. </layout>
  241. </widget>
  242. </item>
  243. </layout>
  244. </item>
  245. <item>
  246. <widget class="QDialogButtonBox" name="ButtonBox">
  247. <property name="orientation">
  248. <enum>Qt::Horizontal</enum>
  249. </property>
  250. <property name="standardButtons">
  251. <set>QDialogButtonBox::Ok</set>
  252. </property>
  253. </widget>
  254. </item>
  255. </layout>
  256. </widget>
  257. <resources/>
  258. <connections>
  259. <connection>
  260. <sender>ButtonBox</sender>
  261. <signal>accepted()</signal>
  262. <receiver>FirstStart</receiver>
  263. <slot>accept()</slot>
  264. <hints>
  265. <hint type="sourcelabel">
  266. <x>248</x>
  267. <y>254</y>
  268. </hint>
  269. <hint type="destinationlabel">
  270. <x>157</x>
  271. <y>274</y>
  272. </hint>
  273. </hints>
  274. </connection>
  275. <connection>
  276. <sender>ButtonBox</sender>
  277. <signal>rejected()</signal>
  278. <receiver>FirstStart</receiver>
  279. <slot>reject()</slot>
  280. <hints>
  281. <hint type="sourcelabel">
  282. <x>316</x>
  283. <y>260</y>
  284. </hint>
  285. <hint type="destinationlabel">
  286. <x>286</x>
  287. <y>274</y>
  288. </hint>
  289. </hints>
  290. </connection>
  291. </connections>
  292. </ui>