restoredlg.ui 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>Restore</class>
  4. <widget class="QWizard" name="Restore">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>700</width>
  10. <height>399</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Qubes Restore VMs</string>
  15. </property>
  16. <property name="locale">
  17. <locale language="English" country="UnitedStates"/>
  18. </property>
  19. <property name="options">
  20. <set>QWizard::NoBackButtonOnLastPage|QWizard::NoBackButtonOnStartPage</set>
  21. </property>
  22. <widget class="QWizardPage" name="select_dir_page">
  23. <layout class="QGridLayout" name="gridLayout_3">
  24. <item row="3" column="0">
  25. <spacer name="verticalSpacer">
  26. <property name="orientation">
  27. <enum>Qt::Vertical</enum>
  28. </property>
  29. <property name="sizeHint" stdset="0">
  30. <size>
  31. <width>20</width>
  32. <height>215</height>
  33. </size>
  34. </property>
  35. </spacer>
  36. </item>
  37. <item row="1" column="0">
  38. <widget class="QGroupBox" name="options_groupbox">
  39. <property name="font">
  40. <font>
  41. <weight>50</weight>
  42. <bold>false</bold>
  43. </font>
  44. </property>
  45. <property name="title">
  46. <string>Restore options</string>
  47. </property>
  48. <layout class="QGridLayout" name="gridLayout_2">
  49. <item row="0" column="0">
  50. <widget class="QCheckBox" name="ignore_missing">
  51. <property name="toolTip">
  52. <string>Ignore missing templates or netvms, restore VMs anyway.</string>
  53. </property>
  54. <property name="text">
  55. <string>ignore missing</string>
  56. </property>
  57. </widget>
  58. </item>
  59. <item row="1" column="0">
  60. <widget class="QCheckBox" name="ignore_uname_mismatch">
  61. <property name="toolTip">
  62. <string>Ignore dom0 username mismatch while restoring homedir.</string>
  63. </property>
  64. <property name="text">
  65. <string>ignore username mismatch</string>
  66. </property>
  67. </widget>
  68. </item>
  69. </layout>
  70. </widget>
  71. </item>
  72. <item row="0" column="0">
  73. <widget class="QGroupBox" name="groupBox_2">
  74. <property name="minimumSize">
  75. <size>
  76. <width>0</width>
  77. <height>132</height>
  78. </size>
  79. </property>
  80. <property name="font">
  81. <font>
  82. <weight>50</weight>
  83. <bold>false</bold>
  84. </font>
  85. </property>
  86. <property name="title">
  87. <string>Backup source location</string>
  88. </property>
  89. <layout class="QGridLayout" name="gridLayout">
  90. <item row="0" column="1">
  91. <widget class="QComboBox" name="dev_combobox">
  92. <property name="sizePolicy">
  93. <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
  94. <horstretch>0</horstretch>
  95. <verstretch>0</verstretch>
  96. </sizepolicy>
  97. </property>
  98. <item>
  99. <property name="text">
  100. <string>dev1</string>
  101. </property>
  102. </item>
  103. <item>
  104. <property name="text">
  105. <string>longdeviceblablabla</string>
  106. </property>
  107. </item>
  108. <item>
  109. <property name="text">
  110. <string>dev2</string>
  111. </property>
  112. </item>
  113. <item>
  114. <property name="text">
  115. <string>dev3</string>
  116. </property>
  117. </item>
  118. </widget>
  119. </item>
  120. <item row="6" column="1">
  121. <widget class="QLineEdit" name="dir_line_edit"/>
  122. </item>
  123. <item row="6" column="2">
  124. <widget class="QToolButton" name="select_path_button">
  125. <property name="text">
  126. <string>...</string>
  127. </property>
  128. </widget>
  129. </item>
  130. <item row="6" column="0">
  131. <widget class="QLabel" name="label_2">
  132. <property name="minimumSize">
  133. <size>
  134. <width>0</width>
  135. <height>41</height>
  136. </size>
  137. </property>
  138. <property name="text">
  139. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Backup file:&lt;br&gt;&lt;span style=&quot; font-size:8pt;&quot;&gt;(for old backup format select qubes.xml file)&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  140. </property>
  141. <property name="alignment">
  142. <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
  143. </property>
  144. <property name="wordWrap">
  145. <bool>true</bool>
  146. </property>
  147. </widget>
  148. </item>
  149. <item row="0" column="0">
  150. <widget class="QLabel" name="label">
  151. <property name="font">
  152. <font>
  153. <weight>50</weight>
  154. <bold>false</bold>
  155. </font>
  156. </property>
  157. <property name="text">
  158. <string>Device:</string>
  159. </property>
  160. </widget>
  161. </item>
  162. <item row="1" column="1">
  163. <widget class="QComboBox" name="appvm_combobox"/>
  164. </item>
  165. <item row="1" column="0">
  166. <widget class="QLabel" name="label_3">
  167. <property name="text">
  168. <string>AppVM:</string>
  169. </property>
  170. </widget>
  171. </item>
  172. </layout>
  173. </widget>
  174. </item>
  175. <item row="2" column="0">
  176. <widget class="QGroupBox" name="groupBox">
  177. <property name="title">
  178. <string>Security options</string>
  179. </property>
  180. <layout class="QGridLayout" name="gridLayout_4">
  181. <item row="0" column="1">
  182. <widget class="QCheckBox" name="encryption_checkbox">
  183. <property name="text">
  184. <string/>
  185. </property>
  186. </widget>
  187. </item>
  188. <item row="0" column="0">
  189. <widget class="QLabel" name="label_4">
  190. <property name="text">
  191. <string>Encrypted backup:</string>
  192. </property>
  193. </widget>
  194. </item>
  195. <item row="1" column="0">
  196. <widget class="QLabel" name="label_5">
  197. <property name="text">
  198. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Decryption / Verification&lt;br/&gt;passphrase:&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  199. </property>
  200. </widget>
  201. </item>
  202. <item row="1" column="1">
  203. <widget class="QLineEdit" name="passphrase_line_edit">
  204. <property name="echoMode">
  205. <enum>QLineEdit::Password</enum>
  206. </property>
  207. </widget>
  208. </item>
  209. </layout>
  210. </widget>
  211. </item>
  212. </layout>
  213. </widget>
  214. <widget class="QWizardPage" name="select_vms_page">
  215. <layout class="QVBoxLayout" name="verticalLayout_4">
  216. <item>
  217. <widget class="QGroupBox" name="select_vms_groupbox">
  218. <property name="title">
  219. <string>VMs to restore</string>
  220. </property>
  221. <layout class="QVBoxLayout" name="select_vms_layout"/>
  222. </widget>
  223. </item>
  224. </layout>
  225. </widget>
  226. <widget class="QWizardPage" name="confirm_page">
  227. <layout class="QVBoxLayout" name="verticalLayout_2">
  228. <item>
  229. <widget class="QLabel" name="label_6">
  230. <property name="font">
  231. <font>
  232. <pointsize>9</pointsize>
  233. <weight>50</weight>
  234. <italic>false</italic>
  235. <bold>false</bold>
  236. <underline>false</underline>
  237. </font>
  238. </property>
  239. <property name="text">
  240. <string>You're about to perform the following actions:</string>
  241. </property>
  242. </widget>
  243. </item>
  244. <item>
  245. <widget class="QTextEdit" name="confirm_text_edit">
  246. <property name="html">
  247. <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
  248. &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;
  249. p, li { white-space: pre-wrap; }
  250. &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
  251. &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-size:9pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  252. </property>
  253. </widget>
  254. </item>
  255. <item>
  256. <widget class="QLabel" name="label_7">
  257. <property name="font">
  258. <font>
  259. <pointsize>9</pointsize>
  260. <weight>50</weight>
  261. <italic>false</italic>
  262. <bold>false</bold>
  263. <underline>false</underline>
  264. </font>
  265. </property>
  266. <property name="text">
  267. <string>To continue press Next. </string>
  268. </property>
  269. </widget>
  270. </item>
  271. </layout>
  272. </widget>
  273. <widget class="QWizardPage" name="commit_page">
  274. <layout class="QVBoxLayout" name="verticalLayout_3">
  275. <item>
  276. <widget class="QTextEdit" name="commit_text_edit"/>
  277. </item>
  278. <item>
  279. <widget class="QProgressBar" name="progress_bar">
  280. <property name="value">
  281. <number>0</number>
  282. </property>
  283. <property name="textVisible">
  284. <bool>false</bool>
  285. </property>
  286. <property name="format">
  287. <string/>
  288. </property>
  289. </widget>
  290. </item>
  291. <item>
  292. <widget class="QCheckBox" name="showFileDialog">
  293. <property name="text">
  294. <string>When finished, open file selection dialog to allow me unmount the disk</string>
  295. </property>
  296. </widget>
  297. </item>
  298. </layout>
  299. </widget>
  300. </widget>
  301. <resources/>
  302. <connections/>
  303. </ui>