From 1fbf3d4cc521e90279fb1c69b70a7c57a7a70103 Mon Sep 17 00:00:00 2001 From: Himadri Sekhar Basu <41947504+hsbasu@users.noreply.github.com> Date: Wed, 5 Jul 2023 23:38:11 +0530 Subject: [PATCH] Add ui for user data backup (#42) --- setup.cfg | 2 +- src/LeaptimeManager/ui/user_data.ui | 167 +++++++++++++++++++++++++--- 2 files changed, 152 insertions(+), 17 deletions(-) diff --git a/setup.cfg b/setup.cfg index 16f0be9..c29c3ca 100644 --- a/setup.cfg +++ b/setup.cfg @@ -23,7 +23,7 @@ classifiers = [options] package_dir = = src -packages = find: +packages = find_namespace: python_requires = >=3.6 include_package_data = True install_requires = diff --git a/src/LeaptimeManager/ui/user_data.ui b/src/LeaptimeManager/ui/user_data.ui index dca8add..699a0b5 100644 --- a/src/LeaptimeManager/ui/user_data.ui +++ b/src/LeaptimeManager/ui/user_data.ui @@ -39,12 +39,12 @@ Author: Himadri Sekhar Basu True False - 5 vertical - + True True + True @@ -67,19 +67,22 @@ Author: Himadri Sekhar Basu 5 vertical - + True False 5 5 - + True False end - Please select source of the backup: + Name: True + + + 0 @@ -87,11 +90,29 @@ Author: Himadri Sekhar Basu - + + True + True + GIve the the backup a name to identify individual backups. + True + Enter the backup name. + + + 1 + 0 + + + + True False - Please select where you want to save the backup: + Please select the source of the backup. + end + Source: True + + + 0 @@ -99,11 +120,12 @@ Author: Himadri Sekhar Basu - + True False select-folder - Please choose destination folder + True + Please choose source folder 1 @@ -111,16 +133,127 @@ Author: Himadri Sekhar Basu - + + True + False + Please select the destination where you want to save the backup. + end + Destination: + True + + + + + + 0 + 2 + + + + True False select-folder - True - Please choose source folder + Please choose destination folder 1 - 0 + 2 + + + + + True + False + end + Method: + True + + + + + + 0 + 3 + + + + + True + False + start + 0 + 0 + + rsync + tarball + + + + 1 + 3 + + + + + False + end + Tar Format: + True + + + + + + 0 + 4 + + + + + False + start + 0 + 0 + + tar + tar.bz2 + tar.gz + tar.xz + + + + 1 + 4 + + + + + True + False + end + Description: + True + + + + + + 0 + 5 + + + + + True + True + Enter a description of the backup. + True + Enter a description of the backup. + + + 1 + 5 @@ -167,7 +300,7 @@ Author: Himadri Sekhar Basu True False - + True True out @@ -182,7 +315,9 @@ Author: Himadri Sekhar Basu True False - + + multiple + @@ -489,7 +624,7 @@ Author: Himadri Sekhar Basu - databackup_page5 + databackup_page4 4