restoredlg.ui 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306
  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>756</width>
  10. <height>440</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Qubes OS - Restore qubes</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 templates and net VMs</string>
  56. </property>
  57. </widget>
  58. </item>
  59. <item row="3" 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. <item row="0" column="1">
  70. <widget class="QCheckBox" name="verify_only">
  71. <property name="text">
  72. <string>Verify backup integrity, do not restore the data</string>
  73. </property>
  74. </widget>
  75. </item>
  76. </layout>
  77. </widget>
  78. </item>
  79. <item row="0" column="0">
  80. <widget class="QGroupBox" name="groupBox_2">
  81. <property name="minimumSize">
  82. <size>
  83. <width>0</width>
  84. <height>132</height>
  85. </size>
  86. </property>
  87. <property name="font">
  88. <font>
  89. <weight>50</weight>
  90. <bold>false</bold>
  91. </font>
  92. </property>
  93. <property name="title">
  94. <string>Backup source location</string>
  95. </property>
  96. <layout class="QGridLayout" name="gridLayout">
  97. <item row="5" column="1">
  98. <widget class="QLineEdit" name="dir_line_edit"/>
  99. </item>
  100. <item row="5" column="2">
  101. <widget class="QToolButton" name="select_path_button">
  102. <property name="text">
  103. <string>...</string>
  104. </property>
  105. </widget>
  106. </item>
  107. <item row="5" column="0">
  108. <widget class="QLabel" name="label_2">
  109. <property name="minimumSize">
  110. <size>
  111. <width>0</width>
  112. <height>41</height>
  113. </size>
  114. </property>
  115. <property name="text">
  116. <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>
  117. </property>
  118. <property name="alignment">
  119. <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
  120. </property>
  121. <property name="wordWrap">
  122. <bool>true</bool>
  123. </property>
  124. </widget>
  125. </item>
  126. <item row="0" column="1">
  127. <widget class="QComboBox" name="appvm_combobox"/>
  128. </item>
  129. <item row="0" column="0">
  130. <widget class="QLabel" name="label_3">
  131. <property name="text">
  132. <string>Qube:</string>
  133. </property>
  134. </widget>
  135. </item>
  136. </layout>
  137. </widget>
  138. </item>
  139. <item row="2" column="0">
  140. <widget class="QGroupBox" name="groupBox">
  141. <property name="title">
  142. <string>Security options</string>
  143. </property>
  144. <layout class="QGridLayout" name="gridLayout_4">
  145. <item row="0" column="0">
  146. <widget class="QLabel" name="label_4">
  147. <property name="text">
  148. <string>Encrypted backup:</string>
  149. </property>
  150. </widget>
  151. </item>
  152. <item row="0" column="1">
  153. <widget class="QCheckBox" name="encryption_checkbox">
  154. <property name="text">
  155. <string/>
  156. </property>
  157. <property name="checked">
  158. <bool>true</bool>
  159. </property>
  160. </widget>
  161. </item>
  162. <item row="1" column="1">
  163. <widget class="QLineEdit" name="passphrase_line_edit">
  164. <property name="echoMode">
  165. <enum>QLineEdit::Password</enum>
  166. </property>
  167. </widget>
  168. </item>
  169. <item row="1" column="0">
  170. <widget class="QLabel" name="label_5">
  171. <property name="text">
  172. <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>
  173. </property>
  174. </widget>
  175. </item>
  176. <item row="1" column="2">
  177. <widget class="QPushButton" name="passwd_show_button">
  178. <property name="text">
  179. <string/>
  180. </property>
  181. <property name="icon">
  182. <iconset resource="../resources.qrc">
  183. <normaloff>:/eye-off</normaloff>:/eye-off</iconset>
  184. </property>
  185. </widget>
  186. </item>
  187. </layout>
  188. </widget>
  189. </item>
  190. </layout>
  191. </widget>
  192. <widget class="QWizardPage" name="select_vms_page">
  193. <layout class="QVBoxLayout" name="verticalLayout_4">
  194. <item>
  195. <widget class="QGroupBox" name="select_vms_groupbox">
  196. <property name="title">
  197. <string>Qubes to restore</string>
  198. </property>
  199. <layout class="QVBoxLayout" name="select_vms_layout"/>
  200. </widget>
  201. </item>
  202. </layout>
  203. </widget>
  204. <widget class="QWizardPage" name="confirm_page">
  205. <layout class="QVBoxLayout" name="verticalLayout_2">
  206. <item>
  207. <widget class="QLabel" name="label_6">
  208. <property name="font">
  209. <font>
  210. <pointsize>9</pointsize>
  211. <weight>50</weight>
  212. <italic>false</italic>
  213. <bold>false</bold>
  214. <underline>false</underline>
  215. </font>
  216. </property>
  217. <property name="text">
  218. <string>You're about to perform the following actions:</string>
  219. </property>
  220. </widget>
  221. </item>
  222. <item>
  223. <widget class="QTextEdit" name="confirm_text_edit">
  224. <property name="html">
  225. <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;
  226. &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;
  227. p, li { white-space: pre-wrap; }
  228. &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Cantarell'; font-size:11pt; font-weight:400; font-style:normal;&quot;&gt;
  229. &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:9pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  230. </property>
  231. </widget>
  232. </item>
  233. <item>
  234. <widget class="QLabel" name="label_7">
  235. <property name="font">
  236. <font>
  237. <pointsize>9</pointsize>
  238. <weight>50</weight>
  239. <italic>false</italic>
  240. <bold>false</bold>
  241. <underline>false</underline>
  242. </font>
  243. </property>
  244. <property name="text">
  245. <string>To continue press Next. </string>
  246. </property>
  247. </widget>
  248. </item>
  249. </layout>
  250. </widget>
  251. <widget class="QWizardPage" name="commit_page">
  252. <layout class="QVBoxLayout" name="verticalLayout_3">
  253. <item>
  254. <widget class="QTextEdit" name="commit_text_edit"/>
  255. </item>
  256. <item>
  257. <widget class="QProgressBar" name="progress_bar">
  258. <property name="maximum">
  259. <number>0</number>
  260. </property>
  261. <property name="value">
  262. <number>0</number>
  263. </property>
  264. <property name="textVisible">
  265. <bool>false</bool>
  266. </property>
  267. <property name="format">
  268. <string/>
  269. </property>
  270. </widget>
  271. </item>
  272. <item>
  273. <widget class="QCheckBox" name="showFileDialog">
  274. <property name="text">
  275. <string>When finished, open file selection dialog to allow me to unmount the disk</string>
  276. </property>
  277. </widget>
  278. </item>
  279. <item>
  280. <widget class="QLabel" name="dom0_restored_label">
  281. <property name="text">
  282. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;WARNING: restored dom0 files are located in ~/home-restore-&amp;lt;timestamp&amp;gt; directory&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  283. </property>
  284. </widget>
  285. </item>
  286. </layout>
  287. </widget>
  288. </widget>
  289. <tabstops>
  290. <tabstop>appvm_combobox</tabstop>
  291. <tabstop>dir_line_edit</tabstop>
  292. <tabstop>select_path_button</tabstop>
  293. <tabstop>ignore_missing</tabstop>
  294. <tabstop>verify_only</tabstop>
  295. <tabstop>ignore_uname_mismatch</tabstop>
  296. <tabstop>encryption_checkbox</tabstop>
  297. <tabstop>passphrase_line_edit</tabstop>
  298. <tabstop>confirm_text_edit</tabstop>
  299. <tabstop>commit_text_edit</tabstop>
  300. <tabstop>showFileDialog</tabstop>
  301. </tabstops>
  302. <resources>
  303. <include location="../resources.qrc"/>
  304. </resources>
  305. <connections/>
  306. </ui>