restoredlg.ui 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293
  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="1">
  146. <widget class="QCheckBox" name="encryption_checkbox">
  147. <property name="text">
  148. <string/>
  149. </property>
  150. <property name="checked">
  151. <bool>true</bool>
  152. </property>
  153. </widget>
  154. </item>
  155. <item row="0" column="0">
  156. <widget class="QLabel" name="label_4">
  157. <property name="text">
  158. <string>Encrypted backup:</string>
  159. </property>
  160. </widget>
  161. </item>
  162. <item row="1" column="0">
  163. <widget class="QLabel" name="label_5">
  164. <property name="text">
  165. <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>
  166. </property>
  167. </widget>
  168. </item>
  169. <item row="1" column="1">
  170. <widget class="QLineEdit" name="passphrase_line_edit">
  171. <property name="echoMode">
  172. <enum>QLineEdit::Password</enum>
  173. </property>
  174. </widget>
  175. </item>
  176. </layout>
  177. </widget>
  178. </item>
  179. </layout>
  180. </widget>
  181. <widget class="QWizardPage" name="select_vms_page">
  182. <layout class="QVBoxLayout" name="verticalLayout_4">
  183. <item>
  184. <widget class="QGroupBox" name="select_vms_groupbox">
  185. <property name="title">
  186. <string>Qubes to restore</string>
  187. </property>
  188. <layout class="QVBoxLayout" name="select_vms_layout"/>
  189. </widget>
  190. </item>
  191. </layout>
  192. </widget>
  193. <widget class="QWizardPage" name="confirm_page">
  194. <layout class="QVBoxLayout" name="verticalLayout_2">
  195. <item>
  196. <widget class="QLabel" name="label_6">
  197. <property name="font">
  198. <font>
  199. <pointsize>9</pointsize>
  200. <weight>50</weight>
  201. <italic>false</italic>
  202. <bold>false</bold>
  203. <underline>false</underline>
  204. </font>
  205. </property>
  206. <property name="text">
  207. <string>You're about to perform the following actions:</string>
  208. </property>
  209. </widget>
  210. </item>
  211. <item>
  212. <widget class="QTextEdit" name="confirm_text_edit">
  213. <property name="html">
  214. <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;
  215. &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;
  216. p, li { white-space: pre-wrap; }
  217. &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Cantarell'; font-size:11pt; font-weight:400; font-style:normal;&quot;&gt;
  218. &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>
  219. </property>
  220. </widget>
  221. </item>
  222. <item>
  223. <widget class="QLabel" name="label_7">
  224. <property name="font">
  225. <font>
  226. <pointsize>9</pointsize>
  227. <weight>50</weight>
  228. <italic>false</italic>
  229. <bold>false</bold>
  230. <underline>false</underline>
  231. </font>
  232. </property>
  233. <property name="text">
  234. <string>To continue press Next. </string>
  235. </property>
  236. </widget>
  237. </item>
  238. </layout>
  239. </widget>
  240. <widget class="QWizardPage" name="commit_page">
  241. <layout class="QVBoxLayout" name="verticalLayout_3">
  242. <item>
  243. <widget class="QTextEdit" name="commit_text_edit"/>
  244. </item>
  245. <item>
  246. <widget class="QProgressBar" name="progress_bar">
  247. <property name="maximum">
  248. <number>0</number>
  249. </property>
  250. <property name="value">
  251. <number>0</number>
  252. </property>
  253. <property name="textVisible">
  254. <bool>false</bool>
  255. </property>
  256. <property name="format">
  257. <string/>
  258. </property>
  259. </widget>
  260. </item>
  261. <item>
  262. <widget class="QCheckBox" name="showFileDialog">
  263. <property name="text">
  264. <string>When finished, open file selection dialog to allow me to unmount the disk</string>
  265. </property>
  266. </widget>
  267. </item>
  268. <item>
  269. <widget class="QLabel" name="dom0_restored_label">
  270. <property name="text">
  271. <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>
  272. </property>
  273. </widget>
  274. </item>
  275. </layout>
  276. </widget>
  277. </widget>
  278. <tabstops>
  279. <tabstop>appvm_combobox</tabstop>
  280. <tabstop>dir_line_edit</tabstop>
  281. <tabstop>select_path_button</tabstop>
  282. <tabstop>ignore_missing</tabstop>
  283. <tabstop>verify_only</tabstop>
  284. <tabstop>ignore_uname_mismatch</tabstop>
  285. <tabstop>encryption_checkbox</tabstop>
  286. <tabstop>passphrase_line_edit</tabstop>
  287. <tabstop>confirm_text_edit</tabstop>
  288. <tabstop>commit_text_edit</tabstop>
  289. <tabstop>showFileDialog</tabstop>
  290. </tabstops>
  291. <resources/>
  292. <connections/>
  293. </ui>