backupdlg.ui 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448
  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>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;WARNING: password will be saved in dom0 in plain text.&lt;br/&gt;The file is located in dom0 in /etc/qubes/backup/qubes-manager-backup .&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</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="QGridLayout" name="gridLayout">
  260. <item row="2" column="0">
  261. <widget class="QLabel" name="label_11">
  262. <property name="text">
  263. <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>
  264. </property>
  265. </widget>
  266. </item>
  267. <item row="0" column="0">
  268. <widget class="QLabel" name="label_12">
  269. <property name="text">
  270. <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>
  271. </property>
  272. </widget>
  273. </item>
  274. <item row="0" column="1">
  275. <widget class="QLineEdit" name="passphrase_line_edit">
  276. <property name="echoMode">
  277. <enum>QLineEdit::Password</enum>
  278. </property>
  279. </widget>
  280. </item>
  281. <item row="2" column="1">
  282. <widget class="QLineEdit" name="passphrase_line_edit_verify">
  283. <property name="echoMode">
  284. <enum>QLineEdit::Password</enum>
  285. </property>
  286. </widget>
  287. </item>
  288. <item row="0" column="2">
  289. <widget class="QPushButton" name="show_passwd_button">
  290. <property name="text">
  291. <string/>
  292. </property>
  293. <property name="icon">
  294. <iconset resource="../resources.qrc">
  295. <normaloff>:/eye-off</normaloff>:/eye-off</iconset>
  296. </property>
  297. </widget>
  298. </item>
  299. </layout>
  300. </widget>
  301. </item>
  302. <item row="1" column="0">
  303. <widget class="QLabel" name="warning_running_label">
  304. <property name="font">
  305. <font>
  306. <italic>true</italic>
  307. </font>
  308. </property>
  309. <property name="text">
  310. <string>NOTE: Only running qubes are listed.</string>
  311. </property>
  312. </widget>
  313. </item>
  314. <item row="4" column="0">
  315. <widget class="QGroupBox" name="groupBox_4">
  316. <property name="sizePolicy">
  317. <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
  318. <horstretch>0</horstretch>
  319. <verstretch>0</verstretch>
  320. </sizepolicy>
  321. </property>
  322. <property name="title">
  323. <string>Other</string>
  324. </property>
  325. <property name="alignment">
  326. <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
  327. </property>
  328. <layout class="QFormLayout" name="formLayout_4">
  329. <item row="0" column="0">
  330. <widget class="QCheckBox" name="turn_off_checkbox">
  331. <property name="text">
  332. <string>Turn computer off after backup is finished</string>
  333. </property>
  334. </widget>
  335. </item>
  336. </layout>
  337. </widget>
  338. </item>
  339. </layout>
  340. </widget>
  341. <widget class="QWizardPage" name="confirm_page">
  342. <layout class="QVBoxLayout" name="verticalLayout_2">
  343. <item>
  344. <widget class="QLabel" name="label_6">
  345. <property name="font">
  346. <font>
  347. <pointsize>9</pointsize>
  348. <weight>50</weight>
  349. <italic>false</italic>
  350. <bold>false</bold>
  351. <underline>false</underline>
  352. </font>
  353. </property>
  354. <property name="text">
  355. <string>You're about to perform the following actions:</string>
  356. </property>
  357. </widget>
  358. </item>
  359. <item>
  360. <widget class="QTextEdit" name="textEdit">
  361. <property name="html">
  362. <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;
  363. &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;
  364. p, li { white-space: pre-wrap; }
  365. &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
  366. &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>
  367. </property>
  368. </widget>
  369. </item>
  370. <item>
  371. <widget class="QLabel" name="label_7">
  372. <property name="font">
  373. <font>
  374. <pointsize>9</pointsize>
  375. <weight>50</weight>
  376. <italic>false</italic>
  377. <bold>false</bold>
  378. <underline>false</underline>
  379. </font>
  380. </property>
  381. <property name="text">
  382. <string>To continue press Next. </string>
  383. </property>
  384. </widget>
  385. </item>
  386. </layout>
  387. </widget>
  388. <widget class="QWizardPage" name="commit_page">
  389. <layout class="QVBoxLayout" name="verticalLayout_3">
  390. <item>
  391. <widget class="QLabel" name="progress_status">
  392. <property name="font">
  393. <font>
  394. <pointsize>9</pointsize>
  395. <weight>50</weight>
  396. <italic>false</italic>
  397. <bold>false</bold>
  398. <underline>false</underline>
  399. </font>
  400. </property>
  401. <property name="text">
  402. <string>Backup in progress...</string>
  403. </property>
  404. </widget>
  405. </item>
  406. <item>
  407. <widget class="QProgressBar" name="progress_bar">
  408. <property name="maximum">
  409. <number>0</number>
  410. </property>
  411. <property name="value">
  412. <number>0</number>
  413. </property>
  414. <property name="alignment">
  415. <set>Qt::AlignCenter</set>
  416. </property>
  417. <property name="invertedAppearance">
  418. <bool>false</bool>
  419. </property>
  420. </widget>
  421. </item>
  422. <item>
  423. <widget class="QCheckBox" name="showFileDialog">
  424. <property name="text">
  425. <string>When finished, open file selection dialog to allow me to unmount the disk</string>
  426. </property>
  427. </widget>
  428. </item>
  429. </layout>
  430. </widget>
  431. </widget>
  432. <tabstops>
  433. <tabstop>compress_checkbox</tabstop>
  434. <tabstop>appvm_combobox</tabstop>
  435. <tabstop>dir_line_edit</tabstop>
  436. <tabstop>select_path_button</tabstop>
  437. <tabstop>passphrase_line_edit</tabstop>
  438. <tabstop>passphrase_line_edit_verify</tabstop>
  439. <tabstop>save_profile_checkbox</tabstop>
  440. <tabstop>turn_off_checkbox</tabstop>
  441. <tabstop>textEdit</tabstop>
  442. <tabstop>showFileDialog</tabstop>
  443. </tabstops>
  444. <resources>
  445. <include location="../resources.qrc"/>
  446. </resources>
  447. <connections/>
  448. </ui>