backupdlg.ui 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379
  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 can not be backuped!</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="1" column="0">
  159. <widget class="QLabel" name="label">
  160. <property name="text">
  161. <string>Device:</string>
  162. </property>
  163. </widget>
  164. </item>
  165. <item row="1" column="2">
  166. <widget class="QComboBox" name="dev_combobox">
  167. <property name="sizePolicy">
  168. <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
  169. <horstretch>0</horstretch>
  170. <verstretch>0</verstretch>
  171. </sizepolicy>
  172. </property>
  173. <item>
  174. <property name="text">
  175. <string>dev1</string>
  176. </property>
  177. </item>
  178. <item>
  179. <property name="text">
  180. <string>longdeviceblablabla</string>
  181. </property>
  182. </item>
  183. <item>
  184. <property name="text">
  185. <string>dev2</string>
  186. </property>
  187. </item>
  188. <item>
  189. <property name="text">
  190. <string>dev3</string>
  191. </property>
  192. </item>
  193. </widget>
  194. </item>
  195. <item row="4" column="2">
  196. <widget class="QLineEdit" name="dir_line_edit"/>
  197. </item>
  198. <item row="4" column="3">
  199. <widget class="QToolButton" name="select_path_button">
  200. <property name="text">
  201. <string>...</string>
  202. </property>
  203. </widget>
  204. </item>
  205. <item row="2" column="2">
  206. <widget class="QComboBox" name="appvm_combobox"/>
  207. </item>
  208. <item row="2" column="0">
  209. <widget class="QLabel" name="label_5">
  210. <property name="text">
  211. <string>Target AppVM:</string>
  212. </property>
  213. </widget>
  214. </item>
  215. <item row="4" column="0">
  216. <widget class="QLabel" name="label_2">
  217. <property name="text">
  218. <string>Backup directory or VM command:</string>
  219. </property>
  220. <property name="wordWrap">
  221. <bool>true</bool>
  222. </property>
  223. </widget>
  224. </item>
  225. </layout>
  226. </widget>
  227. </item>
  228. <item row="1" column="0">
  229. <widget class="QGroupBox" name="groupBox_2">
  230. <property name="title">
  231. <string>Backup security</string>
  232. </property>
  233. <layout class="QFormLayout" name="formLayout">
  234. <item row="2" column="0">
  235. <widget class="QLabel" name="label_12">
  236. <property name="text">
  237. <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>
  238. </property>
  239. </widget>
  240. </item>
  241. <item row="0" column="0">
  242. <widget class="QLabel" name="label_10">
  243. <property name="text">
  244. <string>Encrypt backup:</string>
  245. </property>
  246. </widget>
  247. </item>
  248. <item row="0" column="1">
  249. <widget class="QCheckBox" name="encryption_checkbox">
  250. <property name="layoutDirection">
  251. <enum>Qt::LeftToRight</enum>
  252. </property>
  253. <property name="text">
  254. <string/>
  255. </property>
  256. <property name="checked">
  257. <bool>true</bool>
  258. </property>
  259. </widget>
  260. </item>
  261. <item row="5" column="0">
  262. <widget class="QLabel" name="label_11">
  263. <property name="text">
  264. <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>
  265. </property>
  266. </widget>
  267. </item>
  268. <item row="2" column="1">
  269. <widget class="QLineEdit" name="passphrase_line_edit">
  270. <property name="echoMode">
  271. <enum>QLineEdit::Password</enum>
  272. </property>
  273. </widget>
  274. </item>
  275. <item row="5" column="1">
  276. <widget class="QLineEdit" name="passphrase_line_edit_verify">
  277. <property name="echoMode">
  278. <enum>QLineEdit::Password</enum>
  279. </property>
  280. </widget>
  281. </item>
  282. </layout>
  283. </widget>
  284. </item>
  285. </layout>
  286. </widget>
  287. <widget class="QWizardPage" name="confirm_page">
  288. <layout class="QVBoxLayout" name="verticalLayout_2">
  289. <item>
  290. <widget class="QLabel" name="label_6">
  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>You're about to perform the following actions:</string>
  302. </property>
  303. </widget>
  304. </item>
  305. <item>
  306. <widget class="QTextEdit" name="textEdit">
  307. <property name="html">
  308. <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;
  309. &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;
  310. p, li { white-space: pre-wrap; }
  311. &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
  312. &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-size:9pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  313. </property>
  314. </widget>
  315. </item>
  316. <item>
  317. <widget class="QLabel" name="label_7">
  318. <property name="font">
  319. <font>
  320. <pointsize>9</pointsize>
  321. <weight>50</weight>
  322. <italic>false</italic>
  323. <bold>false</bold>
  324. <underline>false</underline>
  325. </font>
  326. </property>
  327. <property name="text">
  328. <string>To continue press Next. </string>
  329. </property>
  330. </widget>
  331. </item>
  332. </layout>
  333. </widget>
  334. <widget class="QWizardPage" name="commit_page">
  335. <layout class="QVBoxLayout" name="verticalLayout_3">
  336. <item>
  337. <widget class="QLabel" name="progress_status">
  338. <property name="font">
  339. <font>
  340. <pointsize>9</pointsize>
  341. <weight>50</weight>
  342. <italic>false</italic>
  343. <bold>false</bold>
  344. <underline>false</underline>
  345. </font>
  346. </property>
  347. <property name="text">
  348. <string>Backup in progress...</string>
  349. </property>
  350. </widget>
  351. </item>
  352. <item>
  353. <widget class="QProgressBar" name="progress_bar">
  354. <property name="value">
  355. <number>0</number>
  356. </property>
  357. <property name="alignment">
  358. <set>Qt::AlignCenter</set>
  359. </property>
  360. <property name="invertedAppearance">
  361. <bool>false</bool>
  362. </property>
  363. </widget>
  364. </item>
  365. <item>
  366. <widget class="QCheckBox" name="showFileDialog">
  367. <property name="text">
  368. <string>When finished, open file selection dialog to allow me unmount the disk</string>
  369. </property>
  370. </widget>
  371. </item>
  372. </layout>
  373. </widget>
  374. </widget>
  375. <resources>
  376. <include location="resources.qrc"/>
  377. </resources>
  378. <connections/>
  379. </ui>