backupdlg.ui 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352
  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>650</width>
  10. <height>399</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Qubes Backup 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_vms_page">
  23. <layout class="QVBoxLayout" name="verticalLayout">
  24. <item>
  25. <layout class="QGridLayout" name="gridLayout_2">
  26. <item row="1" column="1">
  27. <widget class="QPushButton" name="shutdown_running_vms_button">
  28. <property name="sizePolicy">
  29. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
  30. <horstretch>0</horstretch>
  31. <verstretch>0</verstretch>
  32. </sizepolicy>
  33. </property>
  34. <property name="text">
  35. <string>Shutdown all running selected VMs</string>
  36. </property>
  37. <property name="icon">
  38. <iconset resource="../resources.qrc">
  39. <normaloff>:/shutdownvm.png</normaloff>:/shutdownvm.png</iconset>
  40. </property>
  41. </widget>
  42. </item>
  43. <item row="2" column="1">
  44. <widget class="QPushButton" name="refresh_button">
  45. <property name="sizePolicy">
  46. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
  47. <horstretch>0</horstretch>
  48. <verstretch>0</verstretch>
  49. </sizepolicy>
  50. </property>
  51. <property name="text">
  52. <string>Refresh running states.</string>
  53. </property>
  54. </widget>
  55. </item>
  56. <item row="1" column="0" rowspan="2">
  57. <widget class="QLabel" name="running_vms_warning">
  58. <property name="sizePolicy">
  59. <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
  60. <horstretch>0</horstretch>
  61. <verstretch>0</verstretch>
  62. </sizepolicy>
  63. </property>
  64. <property name="font">
  65. <font>
  66. <weight>75</weight>
  67. <italic>true</italic>
  68. <bold>true</bold>
  69. </font>
  70. </property>
  71. <property name="styleSheet">
  72. <string notr="true">color:rgb(255, 0, 0)</string>
  73. </property>
  74. <property name="text">
  75. <string>Some of the selected VMs are running (red). Running VMs cannot be backed up!</string>
  76. </property>
  77. <property name="wordWrap">
  78. <bool>true</bool>
  79. </property>
  80. </widget>
  81. </item>
  82. <item row="0" column="0">
  83. <widget class="QLabel" name="label_4">
  84. <property name="font">
  85. <font>
  86. <pointsize>9</pointsize>
  87. <weight>50</weight>
  88. <italic>false</italic>
  89. <bold>false</bold>
  90. <underline>false</underline>
  91. </font>
  92. </property>
  93. <property name="text">
  94. <string>Select VMs to backup:</string>
  95. </property>
  96. </widget>
  97. </item>
  98. </layout>
  99. </item>
  100. <item>
  101. <layout class="QGridLayout" name="gridLayout_3">
  102. <item row="0" column="0">
  103. <spacer name="horizontalSpacer_2">
  104. <property name="orientation">
  105. <enum>Qt::Horizontal</enum>
  106. </property>
  107. <property name="sizeHint" stdset="0">
  108. <size>
  109. <width>40</width>
  110. <height>20</height>
  111. </size>
  112. </property>
  113. </spacer>
  114. </item>
  115. <item row="0" column="1">
  116. <layout class="QHBoxLayout" name="horizontalLayout_3">
  117. <item>
  118. <widget class="QLabel" name="label_3">
  119. <property name="text">
  120. <string>Total size:</string>
  121. </property>
  122. </widget>
  123. </item>
  124. <item>
  125. <widget class="QLabel" name="total_size_label">
  126. <property name="text">
  127. <string>0</string>
  128. </property>
  129. </widget>
  130. </item>
  131. <item>
  132. <spacer name="horizontalSpacer">
  133. <property name="orientation">
  134. <enum>Qt::Horizontal</enum>
  135. </property>
  136. <property name="sizeHint" stdset="0">
  137. <size>
  138. <width>40</width>
  139. <height>20</height>
  140. </size>
  141. </property>
  142. </spacer>
  143. </item>
  144. </layout>
  145. </item>
  146. </layout>
  147. </item>
  148. </layout>
  149. </widget>
  150. <widget class="QWizardPage" name="select_dir_page">
  151. <layout class="QGridLayout" name="gridLayout_5">
  152. <item row="0" column="0">
  153. <widget class="QGroupBox" name="groupBox">
  154. <property name="title">
  155. <string>Backup destination directory</string>
  156. </property>
  157. <layout class="QGridLayout" name="gridLayout">
  158. <item row="3" column="2">
  159. <widget class="QLineEdit" name="dir_line_edit"/>
  160. </item>
  161. <item row="3" column="3">
  162. <widget class="QToolButton" name="select_path_button">
  163. <property name="text">
  164. <string>...</string>
  165. </property>
  166. </widget>
  167. </item>
  168. <item row="1" column="2">
  169. <widget class="QComboBox" name="appvm_combobox"/>
  170. </item>
  171. <item row="1" column="0">
  172. <widget class="QLabel" name="label_5">
  173. <property name="text">
  174. <string>Target AppVM:</string>
  175. </property>
  176. </widget>
  177. </item>
  178. <item row="3" column="0">
  179. <widget class="QLabel" name="label_2">
  180. <property name="text">
  181. <string>Backup directory or VM command:</string>
  182. </property>
  183. <property name="wordWrap">
  184. <bool>true</bool>
  185. </property>
  186. </widget>
  187. </item>
  188. </layout>
  189. </widget>
  190. </item>
  191. <item row="1" column="0">
  192. <widget class="QGroupBox" name="groupBox_2">
  193. <property name="title">
  194. <string>Backup security</string>
  195. </property>
  196. <layout class="QFormLayout" name="formLayout">
  197. <item row="2" column="0">
  198. <widget class="QLabel" name="label_12">
  199. <property name="text">
  200. <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>
  201. </property>
  202. </widget>
  203. </item>
  204. <item row="0" column="0">
  205. <widget class="QLabel" name="label_10">
  206. <property name="text">
  207. <string>Encrypt backup:</string>
  208. </property>
  209. </widget>
  210. </item>
  211. <item row="0" column="1">
  212. <widget class="QCheckBox" name="encryption_checkbox">
  213. <property name="layoutDirection">
  214. <enum>Qt::LeftToRight</enum>
  215. </property>
  216. <property name="text">
  217. <string/>
  218. </property>
  219. <property name="checked">
  220. <bool>true</bool>
  221. </property>
  222. </widget>
  223. </item>
  224. <item row="5" column="0">
  225. <widget class="QLabel" name="label_11">
  226. <property name="text">
  227. <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>
  228. </property>
  229. </widget>
  230. </item>
  231. <item row="2" column="1">
  232. <widget class="QLineEdit" name="passphrase_line_edit">
  233. <property name="echoMode">
  234. <enum>QLineEdit::Password</enum>
  235. </property>
  236. </widget>
  237. </item>
  238. <item row="5" column="1">
  239. <widget class="QLineEdit" name="passphrase_line_edit_verify">
  240. <property name="echoMode">
  241. <enum>QLineEdit::Password</enum>
  242. </property>
  243. </widget>
  244. </item>
  245. <item row="6" column="1">
  246. <widget class="QLabel" name="label">
  247. <property name="text">
  248. <string>&lt;b&gt;Note:&lt;/b&gt; Even if you choose not to encrypt your backup, a password is still required in order to provide authenticated verification of the data. See the emergency restore instructions for more info.</string>
  249. </property>
  250. <property name="wordWrap">
  251. <bool>true</bool>
  252. </property>
  253. </widget>
  254. </item>
  255. </layout>
  256. </widget>
  257. </item>
  258. </layout>
  259. </widget>
  260. <widget class="QWizardPage" name="confirm_page">
  261. <layout class="QVBoxLayout" name="verticalLayout_2">
  262. <item>
  263. <widget class="QLabel" name="label_6">
  264. <property name="font">
  265. <font>
  266. <pointsize>9</pointsize>
  267. <weight>50</weight>
  268. <italic>false</italic>
  269. <bold>false</bold>
  270. <underline>false</underline>
  271. </font>
  272. </property>
  273. <property name="text">
  274. <string>You're about to perform the following actions:</string>
  275. </property>
  276. </widget>
  277. </item>
  278. <item>
  279. <widget class="QTextEdit" name="textEdit">
  280. <property name="html">
  281. <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;
  282. &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;
  283. p, li { white-space: pre-wrap; }
  284. &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
  285. &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;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  286. </property>
  287. </widget>
  288. </item>
  289. <item>
  290. <widget class="QLabel" name="label_7">
  291. <property name="font">
  292. <font>
  293. <pointsize>9</pointsize>
  294. <weight>50</weight>
  295. <italic>false</italic>
  296. <bold>false</bold>
  297. <underline>false</underline>
  298. </font>
  299. </property>
  300. <property name="text">
  301. <string>To continue press Next. </string>
  302. </property>
  303. </widget>
  304. </item>
  305. </layout>
  306. </widget>
  307. <widget class="QWizardPage" name="commit_page">
  308. <layout class="QVBoxLayout" name="verticalLayout_3">
  309. <item>
  310. <widget class="QLabel" name="progress_status">
  311. <property name="font">
  312. <font>
  313. <pointsize>9</pointsize>
  314. <weight>50</weight>
  315. <italic>false</italic>
  316. <bold>false</bold>
  317. <underline>false</underline>
  318. </font>
  319. </property>
  320. <property name="text">
  321. <string>Backup in progress...</string>
  322. </property>
  323. </widget>
  324. </item>
  325. <item>
  326. <widget class="QProgressBar" name="progress_bar">
  327. <property name="value">
  328. <number>0</number>
  329. </property>
  330. <property name="alignment">
  331. <set>Qt::AlignCenter</set>
  332. </property>
  333. <property name="invertedAppearance">
  334. <bool>false</bool>
  335. </property>
  336. </widget>
  337. </item>
  338. <item>
  339. <widget class="QCheckBox" name="showFileDialog">
  340. <property name="text">
  341. <string>When finished, open file selection dialog to allow me to unmount the disk</string>
  342. </property>
  343. </widget>
  344. </item>
  345. </layout>
  346. </widget>
  347. </widget>
  348. <resources>
  349. <include location="../resources.qrc"/>
  350. </resources>
  351. <connections/>
  352. </ui>