backupdlg.ui 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302
  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>700</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="QHBoxLayout" name="horizontalLayout">
  152. <item>
  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="0" 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="0" column="1">
  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="1" column="0">
  196. <widget class="QLabel" name="label_2">
  197. <property name="text">
  198. <string>Backup directory:</string>
  199. </property>
  200. </widget>
  201. </item>
  202. <item row="1" column="1">
  203. <widget class="QLineEdit" name="dir_line_edit"/>
  204. </item>
  205. <item row="1" column="2">
  206. <widget class="QToolButton" name="select_path_button">
  207. <property name="text">
  208. <string>...</string>
  209. </property>
  210. </widget>
  211. </item>
  212. </layout>
  213. </widget>
  214. </item>
  215. </layout>
  216. </widget>
  217. <widget class="QWizardPage" name="confirm_page">
  218. <layout class="QVBoxLayout" name="verticalLayout_2">
  219. <item>
  220. <widget class="QLabel" name="label_6">
  221. <property name="font">
  222. <font>
  223. <pointsize>9</pointsize>
  224. <weight>50</weight>
  225. <italic>false</italic>
  226. <bold>false</bold>
  227. <underline>false</underline>
  228. </font>
  229. </property>
  230. <property name="text">
  231. <string>You're about to perform the following actions:</string>
  232. </property>
  233. </widget>
  234. </item>
  235. <item>
  236. <widget class="QTextEdit" name="textEdit">
  237. <property name="html">
  238. <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;
  239. &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;
  240. p, li { white-space: pre-wrap; }
  241. &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;
  242. &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;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  243. </property>
  244. </widget>
  245. </item>
  246. <item>
  247. <widget class="QLabel" name="label_7">
  248. <property name="font">
  249. <font>
  250. <pointsize>9</pointsize>
  251. <weight>50</weight>
  252. <italic>false</italic>
  253. <bold>false</bold>
  254. <underline>false</underline>
  255. </font>
  256. </property>
  257. <property name="text">
  258. <string>To continue press Next. </string>
  259. </property>
  260. </widget>
  261. </item>
  262. </layout>
  263. </widget>
  264. <widget class="QWizardPage" name="commit_page">
  265. <layout class="QVBoxLayout" name="verticalLayout_3">
  266. <item>
  267. <widget class="QLabel" name="label_8">
  268. <property name="font">
  269. <font>
  270. <pointsize>9</pointsize>
  271. <weight>50</weight>
  272. <italic>false</italic>
  273. <bold>false</bold>
  274. <underline>false</underline>
  275. </font>
  276. </property>
  277. <property name="text">
  278. <string>Backup in progress...</string>
  279. </property>
  280. </widget>
  281. </item>
  282. <item>
  283. <widget class="QProgressBar" name="progress_bar">
  284. <property name="value">
  285. <number>0</number>
  286. </property>
  287. <property name="alignment">
  288. <set>Qt::AlignCenter</set>
  289. </property>
  290. <property name="invertedAppearance">
  291. <bool>false</bool>
  292. </property>
  293. </widget>
  294. </item>
  295. </layout>
  296. </widget>
  297. </widget>
  298. <resources>
  299. <include location="resources.qrc"/>
  300. </resources>
  301. <connections/>
  302. </ui>