backupdlg.ui 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>Backup</class>
  4. <widget class="QWizard" name="Backup">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>737</width>
  10. <height>618</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Qubes OS - Backup 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_vms_page">
  23. <layout class="QVBoxLayout" name="verticalLayout">
  24. <item>
  25. <layout class="QGridLayout" name="gridLayout_2">
  26. <item row="0" column="0">
  27. <widget class="QLabel" name="label_4">
  28. <property name="text">
  29. <string>Select qubes to backup:</string>
  30. </property>
  31. </widget>
  32. </item>
  33. </layout>
  34. </item>
  35. <item>
  36. <layout class="QGridLayout" name="gridLayout_3">
  37. <item row="0" column="0">
  38. <spacer name="horizontalSpacer_2">
  39. <property name="orientation">
  40. <enum>Qt::Horizontal</enum>
  41. </property>
  42. <property name="sizeHint" stdset="0">
  43. <size>
  44. <width>40</width>
  45. <height>20</height>
  46. </size>
  47. </property>
  48. </spacer>
  49. </item>
  50. <item row="0" column="1">
  51. <layout class="QHBoxLayout" name="horizontalLayout_3">
  52. <item>
  53. <widget class="QLabel" name="label_3">
  54. <property name="text">
  55. <string>Total size:</string>
  56. </property>
  57. </widget>
  58. </item>
  59. <item>
  60. <widget class="QLabel" name="total_size_label">
  61. <property name="text">
  62. <string>0</string>
  63. </property>
  64. </widget>
  65. </item>
  66. <item>
  67. <spacer name="horizontalSpacer">
  68. <property name="orientation">
  69. <enum>Qt::Horizontal</enum>
  70. </property>
  71. <property name="sizeHint" stdset="0">
  72. <size>
  73. <width>40</width>
  74. <height>20</height>
  75. </size>
  76. </property>
  77. </spacer>
  78. </item>
  79. </layout>
  80. </item>
  81. </layout>
  82. </item>
  83. <item>
  84. <widget class="QCheckBox" name="compress_checkbox">
  85. <property name="text">
  86. <string>Compress the backup</string>
  87. </property>
  88. <property name="checked">
  89. <bool>true</bool>
  90. </property>
  91. </widget>
  92. </item>
  93. <item>
  94. <widget class="QLabel" name="unrecognized_config_label">
  95. <property name="palette">
  96. <palette>
  97. <active>
  98. <colorrole role="WindowText">
  99. <brush brushstyle="SolidPattern">
  100. <color alpha="255">
  101. <red>255</red>
  102. <green>0</green>
  103. <blue>0</blue>
  104. </color>
  105. </brush>
  106. </colorrole>
  107. </active>
  108. <inactive>
  109. <colorrole role="WindowText">
  110. <brush brushstyle="SolidPattern">
  111. <color alpha="255">
  112. <red>255</red>
  113. <green>0</green>
  114. <blue>0</blue>
  115. </color>
  116. </brush>
  117. </colorrole>
  118. </inactive>
  119. <disabled>
  120. <colorrole role="WindowText">
  121. <brush brushstyle="SolidPattern">
  122. <color alpha="255">
  123. <red>139</red>
  124. <green>142</green>
  125. <blue>142</blue>
  126. </color>
  127. </brush>
  128. </colorrole>
  129. </disabled>
  130. </palette>
  131. </property>
  132. <property name="font">
  133. <font>
  134. <weight>75</weight>
  135. <italic>true</italic>
  136. <bold>true</bold>
  137. </font>
  138. </property>
  139. <property name="text">
  140. <string>Warning: unrecognized data found in configuration files. </string>
  141. </property>
  142. </widget>
  143. </item>
  144. </layout>
  145. </widget>
  146. <widget class="QWizardPage" name="select_dir_page">
  147. <layout class="QGridLayout" name="gridLayout_5">
  148. <item row="0" column="0">
  149. <widget class="QGroupBox" name="groupBox">
  150. <property name="sizePolicy">
  151. <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
  152. <horstretch>0</horstretch>
  153. <verstretch>0</verstretch>
  154. </sizepolicy>
  155. </property>
  156. <property name="title">
  157. <string>Backup destination directory</string>
  158. </property>
  159. <property name="alignment">
  160. <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
  161. </property>
  162. <layout class="QFormLayout" name="formLayout_2">
  163. <item row="0" column="0">
  164. <widget class="QLabel" name="label_5">
  165. <property name="text">
  166. <string>Target qube:</string>
  167. </property>
  168. </widget>
  169. </item>
  170. <item row="0" column="1">
  171. <widget class="QComboBox" name="appvm_combobox"/>
  172. </item>
  173. <item row="1" column="0">
  174. <widget class="QLabel" name="label_2">
  175. <property name="text">
  176. <string>Backup directory or command:</string>
  177. </property>
  178. <property name="wordWrap">
  179. <bool>true</bool>
  180. </property>
  181. </widget>
  182. </item>
  183. <item row="1" column="1">
  184. <widget class="QLineEdit" name="dir_line_edit"/>
  185. </item>
  186. <item row="2" column="1">
  187. <widget class="QToolButton" name="select_path_button">
  188. <property name="text">
  189. <string>...</string>
  190. </property>
  191. </widget>
  192. </item>
  193. </layout>
  194. </widget>
  195. </item>
  196. <item row="3" column="0">
  197. <widget class="QGroupBox" name="groupBox_3">
  198. <property name="sizePolicy">
  199. <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
  200. <horstretch>0</horstretch>
  201. <verstretch>0</verstretch>
  202. </sizepolicy>
  203. </property>
  204. <property name="minimumSize">
  205. <size>
  206. <width>0</width>
  207. <height>100</height>
  208. </size>
  209. </property>
  210. <property name="title">
  211. <string>Save backup profile</string>
  212. </property>
  213. <layout class="QFormLayout" name="formLayout_3">
  214. <item row="0" column="0">
  215. <widget class="QLabel" name="label_8">
  216. <property name="text">
  217. <string>Save settings as default backup profile:</string>
  218. </property>
  219. </widget>
  220. </item>
  221. <item row="0" column="1">
  222. <widget class="QCheckBox" name="save_profile_checkbox">
  223. <property name="text">
  224. <string/>
  225. </property>
  226. <property name="checked">
  227. <bool>true</bool>
  228. </property>
  229. </widget>
  230. </item>
  231. <item row="1" column="0" colspan="2">
  232. <widget class="QLabel" name="label_9">
  233. <property name="font">
  234. <font>
  235. <weight>75</weight>
  236. <italic>true</italic>
  237. <bold>true</bold>
  238. </font>
  239. </property>
  240. <property name="text">
  241. <string>WARNING: password will be saved in dom0 in plain text.</string>
  242. </property>
  243. </widget>
  244. </item>
  245. </layout>
  246. </widget>
  247. </item>
  248. <item row="2" column="0">
  249. <widget class="QGroupBox" name="groupBox_2">
  250. <property name="sizePolicy">
  251. <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
  252. <horstretch>0</horstretch>
  253. <verstretch>0</verstretch>
  254. </sizepolicy>
  255. </property>
  256. <property name="title">
  257. <string>Backup security</string>
  258. </property>
  259. <layout class="QFormLayout" name="formLayout">
  260. <property name="fieldGrowthPolicy">
  261. <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
  262. </property>
  263. <item row="1" column="0">
  264. <widget class="QLabel" name="label_12">
  265. <property name="text">
  266. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Encryption / Verification&lt;br/&gt;passphrase:&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  267. </property>
  268. </widget>
  269. </item>
  270. <item row="1" column="1">
  271. <widget class="QLineEdit" name="passphrase_line_edit">
  272. <property name="echoMode">
  273. <enum>QLineEdit::Password</enum>
  274. </property>
  275. </widget>
  276. </item>
  277. <item row="4" column="0">
  278. <widget class="QLabel" name="label_11">
  279. <property name="text">
  280. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Reenter passphrase:&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  281. </property>
  282. </widget>
  283. </item>
  284. <item row="4" column="1">
  285. <widget class="QLineEdit" name="passphrase_line_edit_verify">
  286. <property name="echoMode">
  287. <enum>QLineEdit::Password</enum>
  288. </property>
  289. </widget>
  290. </item>
  291. </layout>
  292. </widget>
  293. </item>
  294. <item row="1" column="0">
  295. <widget class="QLabel" name="label">
  296. <property name="font">
  297. <font>
  298. <italic>true</italic>
  299. </font>
  300. </property>
  301. <property name="text">
  302. <string>NOTE: Only running qubes are listed.</string>
  303. </property>
  304. </widget>
  305. </item>
  306. <item row="4" column="0">
  307. <widget class="QGroupBox" name="groupBox_4">
  308. <property name="sizePolicy">
  309. <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
  310. <horstretch>0</horstretch>
  311. <verstretch>0</verstretch>
  312. </sizepolicy>
  313. </property>
  314. <property name="title">
  315. <string>Other</string>
  316. </property>
  317. <property name="alignment">
  318. <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
  319. </property>
  320. <layout class="QFormLayout" name="formLayout_4">
  321. <item row="0" column="0">
  322. <widget class="QCheckBox" name="turn_off_checkbox">
  323. <property name="text">
  324. <string>Turn computer off after backup is finished</string>
  325. </property>
  326. </widget>
  327. </item>
  328. </layout>
  329. </widget>
  330. </item>
  331. </layout>
  332. </widget>
  333. <widget class="QWizardPage" name="confirm_page">
  334. <layout class="QVBoxLayout" name="verticalLayout_2">
  335. <item>
  336. <widget class="QLabel" name="label_6">
  337. <property name="font">
  338. <font>
  339. <pointsize>9</pointsize>
  340. <weight>50</weight>
  341. <italic>false</italic>
  342. <bold>false</bold>
  343. <underline>false</underline>
  344. </font>
  345. </property>
  346. <property name="text">
  347. <string>You're about to perform the following actions:</string>
  348. </property>
  349. </widget>
  350. </item>
  351. <item>
  352. <widget class="QTextEdit" name="textEdit">
  353. <property name="html">
  354. <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;
  355. &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;
  356. p, li { white-space: pre-wrap; }
  357. &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
  358. &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>
  359. </property>
  360. </widget>
  361. </item>
  362. <item>
  363. <widget class="QLabel" name="label_7">
  364. <property name="font">
  365. <font>
  366. <pointsize>9</pointsize>
  367. <weight>50</weight>
  368. <italic>false</italic>
  369. <bold>false</bold>
  370. <underline>false</underline>
  371. </font>
  372. </property>
  373. <property name="text">
  374. <string>To continue press Next. </string>
  375. </property>
  376. </widget>
  377. </item>
  378. </layout>
  379. </widget>
  380. <widget class="QWizardPage" name="commit_page">
  381. <layout class="QVBoxLayout" name="verticalLayout_3">
  382. <item>
  383. <widget class="QLabel" name="progress_status">
  384. <property name="font">
  385. <font>
  386. <pointsize>9</pointsize>
  387. <weight>50</weight>
  388. <italic>false</italic>
  389. <bold>false</bold>
  390. <underline>false</underline>
  391. </font>
  392. </property>
  393. <property name="text">
  394. <string>Backup in progress...</string>
  395. </property>
  396. </widget>
  397. </item>
  398. <item>
  399. <widget class="QProgressBar" name="progress_bar">
  400. <property name="maximum">
  401. <number>0</number>
  402. </property>
  403. <property name="value">
  404. <number>0</number>
  405. </property>
  406. <property name="alignment">
  407. <set>Qt::AlignCenter</set>
  408. </property>
  409. <property name="invertedAppearance">
  410. <bool>false</bool>
  411. </property>
  412. </widget>
  413. </item>
  414. <item>
  415. <widget class="QCheckBox" name="showFileDialog">
  416. <property name="text">
  417. <string>When finished, open file selection dialog to allow me to unmount the disk</string>
  418. </property>
  419. </widget>
  420. </item>
  421. </layout>
  422. </widget>
  423. </widget>
  424. <resources>
  425. <include location="../resources.qrc"/>
  426. </resources>
  427. <connections/>
  428. </ui>