From e8a684d59ccb65bb82442ee1302c3479d2ec02c0 Mon Sep 17 00:00:00 2001 From: Hans Unzner Date: Fri, 22 Nov 2024 16:19:01 +0100 Subject: [PATCH] gmoccapy-wip: add progressbar for program progress (to be filled...) --- src/emc/usr_intf/gmoccapy/gmoccapy.glade | 55 ++++++++++++++++++------ src/emc/usr_intf/gmoccapy/gmoccapy.py | 3 ++ 2 files changed, 44 insertions(+), 14 deletions(-) diff --git a/src/emc/usr_intf/gmoccapy/gmoccapy.glade b/src/emc/usr_intf/gmoccapy/gmoccapy.glade index 67a27c047a7..d7cc3987d54 100644 --- a/src/emc/usr_intf/gmoccapy/gmoccapy.glade +++ b/src/emc/usr_intf/gmoccapy/gmoccapy.glade @@ -1734,25 +1734,52 @@ - + True - True + False + vertical - - gcode_view + True True - Shows the code to execute - 2 - 2 - True - True - 4 - True - True - False - + + + gcode_view + True + True + Shows the code to execute + 2 + 2 + True + True + 4 + True + True + False + + + + + True + True + 0 + + + + + True + False + 10 + 10 + 5 + True + + + False + True + 1 + diff --git a/src/emc/usr_intf/gmoccapy/gmoccapy.py b/src/emc/usr_intf/gmoccapy/gmoccapy.py index 3f9fe0aaeda..bb13e21ddfe 100644 --- a/src/emc/usr_intf/gmoccapy/gmoccapy.py +++ b/src/emc/usr_intf/gmoccapy/gmoccapy.py @@ -151,6 +151,9 @@ def __init__(self, argv): #eb_program_label, #eb_blockheight_label { background: rgba(0,0,0,1); } + progress, trough { + min-height: 5px; + } """ screen = Gdk.Screen.get_default() provider = Gtk.CssProvider()