globalsettingsdlg.ui 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>GlobalSettings</class>
  4. <widget class="QDialog" name="GlobalSettings">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>678</width>
  10. <height>288</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Qubes Global Settings</string>
  15. </property>
  16. <layout class="QGridLayout" name="gridLayout">
  17. <item row="0" column="0">
  18. <widget class="QGroupBox" name="groupBox">
  19. <property name="enabled">
  20. <bool>true</bool>
  21. </property>
  22. <property name="title">
  23. <string>System defaults</string>
  24. </property>
  25. <layout class="QFormLayout" name="formLayout">
  26. <item row="0" column="0">
  27. <widget class="QLabel" name="label">
  28. <property name="sizePolicy">
  29. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  30. <horstretch>0</horstretch>
  31. <verstretch>0</verstretch>
  32. </sizepolicy>
  33. </property>
  34. <property name="text">
  35. <string>UpdateVM:</string>
  36. </property>
  37. </widget>
  38. </item>
  39. <item row="0" column="1">
  40. <widget class="QComboBox" name="update_vm_combo"/>
  41. </item>
  42. <item row="1" column="0">
  43. <widget class="QLabel" name="label_2">
  44. <property name="text">
  45. <string>ClockVM:</string>
  46. </property>
  47. </widget>
  48. </item>
  49. <item row="1" column="1">
  50. <widget class="QComboBox" name="clock_vm_combo"/>
  51. </item>
  52. <item row="2" column="0">
  53. <widget class="QLabel" name="label_3">
  54. <property name="text">
  55. <string>Default netVM:</string>
  56. </property>
  57. </widget>
  58. </item>
  59. <item row="2" column="1">
  60. <widget class="QComboBox" name="default_netvm_combo"/>
  61. </item>
  62. <item row="3" column="0">
  63. <widget class="QLabel" name="label_4">
  64. <property name="sizePolicy">
  65. <sizepolicy hsizetype="Maximum" vsizetype="Preferred">
  66. <horstretch>0</horstretch>
  67. <verstretch>0</verstretch>
  68. </sizepolicy>
  69. </property>
  70. <property name="text">
  71. <string>Default template:</string>
  72. </property>
  73. </widget>
  74. </item>
  75. <item row="3" column="1">
  76. <widget class="QComboBox" name="default_template_combo"/>
  77. </item>
  78. </layout>
  79. </widget>
  80. </item>
  81. <item row="0" column="1">
  82. <widget class="QGroupBox" name="groupBox_3">
  83. <property name="enabled">
  84. <bool>true</bool>
  85. </property>
  86. <property name="title">
  87. <string>Default memory settings</string>
  88. </property>
  89. <layout class="QGridLayout" name="gridLayout_2">
  90. <item row="0" column="0">
  91. <widget class="QLabel" name="label_6">
  92. <property name="enabled">
  93. <bool>true</bool>
  94. </property>
  95. <property name="text">
  96. <string>Minimal VM's memory:</string>
  97. </property>
  98. </widget>
  99. </item>
  100. <item row="0" column="1">
  101. <widget class="QSpinBox" name="min_vm_mem">
  102. <property name="enabled">
  103. <bool>true</bool>
  104. </property>
  105. <property name="suffix">
  106. <string> MiB</string>
  107. </property>
  108. <property name="maximum">
  109. <number>999999999</number>
  110. </property>
  111. <property name="singleStep">
  112. <number>50</number>
  113. </property>
  114. </widget>
  115. </item>
  116. <item row="1" column="0">
  117. <widget class="QLabel" name="label_7">
  118. <property name="enabled">
  119. <bool>true</bool>
  120. </property>
  121. <property name="text">
  122. <string>dom0 memory boost:</string>
  123. </property>
  124. </widget>
  125. </item>
  126. <item row="1" column="1">
  127. <widget class="QSpinBox" name="dom0_mem_boost">
  128. <property name="enabled">
  129. <bool>true</bool>
  130. </property>
  131. <property name="suffix">
  132. <string> MiB</string>
  133. </property>
  134. <property name="maximum">
  135. <number>999999999</number>
  136. </property>
  137. <property name="singleStep">
  138. <number>50</number>
  139. </property>
  140. </widget>
  141. </item>
  142. <item row="2" column="0" colspan="2">
  143. <widget class="QCheckBox" name="dispvm_in_memory">
  144. <property name="text">
  145. <string>Keep dispVM in memory</string>
  146. </property>
  147. </widget>
  148. </item>
  149. </layout>
  150. </widget>
  151. </item>
  152. <item row="1" column="0" colspan="2">
  153. <widget class="QGroupBox" name="groupBox_2">
  154. <property name="enabled">
  155. <bool>true</bool>
  156. </property>
  157. <property name="title">
  158. <string>Kernel</string>
  159. </property>
  160. <layout class="QFormLayout" name="formLayout_2">
  161. <item row="0" column="0">
  162. <widget class="QLabel" name="label_5">
  163. <property name="text">
  164. <string>Default kernel:</string>
  165. </property>
  166. </widget>
  167. </item>
  168. <item row="0" column="1">
  169. <widget class="QComboBox" name="default_kernel_combo"/>
  170. </item>
  171. </layout>
  172. </widget>
  173. </item>
  174. <item row="2" column="0" colspan="2">
  175. <widget class="QDialogButtonBox" name="buttonBox">
  176. <property name="orientation">
  177. <enum>Qt::Horizontal</enum>
  178. </property>
  179. <property name="standardButtons">
  180. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  181. </property>
  182. </widget>
  183. </item>
  184. </layout>
  185. </widget>
  186. <resources/>
  187. <connections>
  188. <connection>
  189. <sender>buttonBox</sender>
  190. <signal>accepted()</signal>
  191. <receiver>GlobalSettings</receiver>
  192. <slot>accept()</slot>
  193. <hints>
  194. <hint type="sourcelabel">
  195. <x>248</x>
  196. <y>254</y>
  197. </hint>
  198. <hint type="destinationlabel">
  199. <x>157</x>
  200. <y>274</y>
  201. </hint>
  202. </hints>
  203. </connection>
  204. <connection>
  205. <sender>buttonBox</sender>
  206. <signal>rejected()</signal>
  207. <receiver>GlobalSettings</receiver>
  208. <slot>reject()</slot>
  209. <hints>
  210. <hint type="sourcelabel">
  211. <x>316</x>
  212. <y>260</y>
  213. </hint>
  214. <hint type="destinationlabel">
  215. <x>286</x>
  216. <y>274</y>
  217. </hint>
  218. </hints>
  219. </connection>
  220. </connections>
  221. </ui>