From ce436c8484ad5fcaad633f83ed0fd359aa4f7068 Mon Sep 17 00:00:00 2001 From: Jan Lerking Date: Thu, 22 Feb 2018 16:06:00 +0100 Subject: [PATCH] glade_v2 added --- Gui test/gtk3_glade_test.py | 2 +- Gui test/h2inc (copy).xml | 393 ---------------------- Gui test/{h2inc.glade~ => h2inc_v2.glade} | 38 +-- 3 files changed, 11 insertions(+), 422 deletions(-) delete mode 100644 Gui test/h2inc (copy).xml rename Gui test/{h2inc.glade~ => h2inc_v2.glade} (92%) diff --git a/Gui test/gtk3_glade_test.py b/Gui test/gtk3_glade_test.py index fad456f..06f6b30 100644 --- a/Gui test/gtk3_glade_test.py +++ b/Gui test/gtk3_glade_test.py @@ -10,7 +10,7 @@ class Handler: print("Hello World!") builder = Gtk.Builder() -builder.add_from_file("h2inc.glade") +builder.add_from_file("h2inc_v2.glade") builder.connect_signals(Handler()) window = builder.get_object("window1") diff --git a/Gui test/h2inc (copy).xml b/Gui test/h2inc (copy).xml deleted file mode 100644 index 4702fd7..0000000 --- a/Gui test/h2inc (copy).xml +++ /dev/null @@ -1,393 +0,0 @@ - - - - - - False - normal - select-folder - - - False - vertical - 2 - - - False - end - - - - - - - - - False - False - 0 - - - - - - - - - - False - 5 - 5 - 5 - 5 - - - True - False - - - True - False - 0 - etched-out - - - True - False - 12 - - - True - False - - - True - False - end - 5 - 5 - 5 - True - Source: - right - - - 0 - 0 - 2 - - - - - True - True - 5 - 5 - 5 - 5 - Select source directory! - - - 2 - 0 - 2 - - - - - Source directory... - True - True - True - start - 5 - 5 - 5 - 5 - - - 4 - 0 - 2 - - - - - True - False - False - end - 5 - 5 - 5 - True - Destination: - right - start - 2.2351741811588166e-10 - - - 0 - 1 - 2 - - - - - True - False - True - 5 - 5 - 5 - 5 - Select destination directory! - - - 2 - 1 - 2 - - - - - Destination directory... - True - False - True - True - start - 5 - 5 - 5 - 5 - - - 4 - 1 - 2 - - - - - Create "include" folder if it does not exist. - True - False - True - False - 5 - 5 - 0 - True - - - 0 - 2 - 6 - - - - - - - - - True - False - Select folders - - - - - 0 - 0 - 5 - - - - - True - False - False - 5 - 5 - 0 - etched-out - - - True - False - 12 - - - True - False - - - True - False - 5 - 5 - True - 0 - etched-out - - - True - False - 12 - - - True - False - vertical - - - True - False - start - 5 - 5 - True - Number of folders: 0 - - - False - True - 0 - - - - - True - False - start - 5 - 5 - Number of files: 0 - - - False - True - 1 - - - - - - - - - True - False - Source information - - - - - 0 - 0 - - - - - Translate! - True - True - True - start - 5 - 5 - - - 0 - 1 - - - - - True - False - 5 - 5 - 5 - 0 - etched-out - - - True - False - 12 - - - True - False - vertical - - - True - False - start - 5 - 5 - Total progress: - - - False - True - 0 - - - - - True - False - 5 - 5 - 5 - - - False - True - 1 - - - - - - - - - True - False - Progress - - - - - 0 - 2 - - - - - - - - - True - False - Translation - - - - - 0 - 1 - 5 - - - - - - diff --git a/Gui test/h2inc.glade~ b/Gui test/h2inc_v2.glade similarity index 92% rename from Gui test/h2inc.glade~ rename to Gui test/h2inc_v2.glade index ad6a6e9..74daa33 100644 --- a/Gui test/h2inc.glade~ +++ b/Gui test/h2inc_v2.glade @@ -9,15 +9,10 @@ 5 5 - + True False - 5 - 5 - 5 - 5 - True - True + vertical True @@ -38,7 +33,6 @@ True False end - 5 5 5 True @@ -55,8 +49,6 @@ True True - 5 - 5 5 5 Select source directory! @@ -74,8 +66,6 @@ True True start - 5 - 5 5 5 @@ -91,7 +81,6 @@ False False end - 5 5 5 True @@ -111,8 +100,6 @@ True False True - 5 - 5 5 5 Select destination directory! @@ -131,8 +118,6 @@ True True start - 5 - 5 5 5 @@ -173,9 +158,9 @@ - 0 - 0 - 5 + False + True + 0 @@ -200,7 +185,6 @@ True False - 5 5 True 0 @@ -211,7 +195,7 @@ False 12 - + True False vertical @@ -282,7 +266,6 @@ True False - 5 5 5 0 @@ -293,7 +276,7 @@ False 12 - + True False vertical @@ -316,7 +299,6 @@ True False - 5 5 5 @@ -356,9 +338,9 @@ - 0 - 1 - 5 + False + True + 1