@@ -172,6 +172,9 @@ class PICALauncherApp:
172172 "GPIB Scanner" : resource_path ("utils/GPIB_Instrument_Scanner_GUI.py" ),
173173 "PICA Help" : resource_path ("README.md" ),
174174 "PE Plotter" : resource_path ("utils/PE_plotter.py" ),
175+ "Quick Calc" : resource_path ("utils/Quick_Calc_GUI.py" ),
176+ "Time Utility" : resource_path ("utils/Time_Utility_GUI.py" ),
177+ "Unit Converter" : resource_path ("utils/Unit_Converter_GUI.py" ),
175178 }
176179
177180 def __init__ (self , root ):
@@ -745,14 +748,14 @@ def open_tools_popup(self):
745748 """Creates a small pop-up window for additional tools."""
746749 tools_win = Toplevel (self .root )
747750 tools_win .title ("Tools" )
748- tools_win .geometry ("300x180 " )
751+ tools_win .geometry ("300x320 " )
749752 tools_win .configure (bg = self .CLR_BG_DARK )
750753 tools_win .transient (self .root )
751754 tools_win .grab_set ()
752755
753756 # Center the pop-up over the main window
754757 x = self .root .winfo_x () + (self .root .winfo_width () // 2 ) - 150
755- y = self .root .winfo_y () + (self .root .winfo_height () // 2 ) - 90
758+ y = self .root .winfo_y () + (self .root .winfo_height () // 2 ) - 160
756759 tools_win .geometry (f"+{ x } +{ y } " )
757760
758761 ttk .Label (
@@ -772,6 +775,30 @@ def open_tools_popup(self):
772775 command = lambda : self .launch_script (self .SCRIPT_PATHS ["PE Plotter" ])
773776 ).pack (fill = 'x' , padx = 30 , pady = 5 )
774777
778+ # Launch Quick Calc Button
779+ ttk .Button (
780+ tools_win ,
781+ text = "Quick Calc" ,
782+ style = 'App.TButton' ,
783+ command = lambda : self .launch_script (self .SCRIPT_PATHS ["Quick Calc" ])
784+ ).pack (fill = 'x' , padx = 30 , pady = 5 )
785+
786+ # Launch Time Utility Button
787+ ttk .Button (
788+ tools_win ,
789+ text = "Time Utility" ,
790+ style = 'App.TButton' ,
791+ command = lambda : self .launch_script (self .SCRIPT_PATHS ["Time Utility" ])
792+ ).pack (fill = 'x' , padx = 30 , pady = 5 )
793+
794+ # Launch Unit Converter Button
795+ ttk .Button (
796+ tools_win ,
797+ text = "Unit Converter" ,
798+ style = 'App.TButton' ,
799+ command = lambda : self .launch_script (self .SCRIPT_PATHS ["Unit Converter" ])
800+ ).pack (fill = 'x' , padx = 30 , pady = 5 )
801+
775802 # Close Button
776803 ttk .Button (
777804 tools_win ,
0 commit comments