#=============================================================================== # Define which External Applications are to be inserted. # To define an external application, instantiate an ExternalApp object # See TaurusMainWindow.addExternalAppLauncher for valid values of ExternalApp #=============================================================================== # ALREADY LOADED FROM vacca.default.EXTRA_TOOLS #xvacca = ExternalApp(cmdargs=['konqueror',URL_HELP], text="Alba VACuum Controls Application", icon=WDIR+'image/icons/cow-tux.png') #DEFAULT_APPS = EXTRA_TOOLS = EXTRA_TOOLS for name, cmdargs, icon in EXTRA_TOOLS: locals()['x' + name] = ExternalApp(cmdargs=cmdargs, text=name, icon=icon or None) #xjive = ExternalApp(cmdargs=['jive'], text="Jive")#, icon=WDIR+'image/icons/cow-tux.png') #xastor = ExternalApp(cmdargs=['astor'], text="Astor")#, icon=WDIR+'image/icons/cow-tux.png') #=============================================================================== # POOL RELATED OPTIONS #=============================================================================== # Set INSTRUMENTS_FROM_POOL to True for enabling auto-creation of # instrument panels based on the Pool Instrument info #MACROSERVER_NAME = #DOOR_NAME = #MACROEDITORS_PATH = INSTRUMENTS_FROM_POOL = False
#========================================================================= # Define panels to be shown. # To define a panel, instantiate a PanelDescription object (see documentation # for the gblgui_utils module) #========================================================================= # None defined #========================================================================= # Define which External Applications are to be inserted. # To define an external application, instantiate an ExternalApp object # See TaurusMainWindow.addExternalAppLauncher for valid values of ExternalApp #========================================================================= #xterm = ExternalApp(cmdargs=['xterm','spock'], text="Spock", icon='utilities-terminal') #hdfview = ExternalApp(["hdfview"]) pymca = ExternalApp(['pymca']) #========================================================================= # Macro execution configuration # Comment out or make MACRO_SERVER=None or set MACRO_PANELS=False to skip # creating a macro execution infrastructure. # Give empty strings if you want to select the values manually in the GUI #========================================================================= MACROSERVER_NAME = '' DOOR_NAME = '' MACROEDITORS_PATH = '' #========================================================================= # Define one or more embedded consoles in the GUI. # Possible items for console are 'ipython', 'tango', 'spock' #=========================================================================
# Define custom applets to be shown in the applets bar (the wide bar that # contains the logos). To define an applet, instantiate an AppletDescription # object (see documentation for the gblgui_utils module) #========================================================================= # mon2 = AppletDescription('Dummy Monitor', # classname='TaurusMonitorTiny', # model='eval:1000*rand(2)') #========================================================================= # Define which External Applications are to be inserted. # To define an external application, instantiate an ExternalApp object # See TaurusMainWindow.addExternalAppLauncher for valid values of ExternalApp #========================================================================= xterm = ExternalApp(cmdargs=['xterm', 'spock'], text="Spock", icon='utilities-terminal') hdfview = ExternalApp(["hdfview"]) pymca = ExternalApp(['pymca']) #========================================================================= # Macro execution configuration # Comment out or make MACRO_SERVER=None or set MACRO_PANELS=False to skip # creating a macro execution infrastructure. # Give empty strings if you want to select the values manually in the GUI #========================================================================= # MACROSERVER_NAME = # DOOR_NAME = # MACROEDITORS_PATH = #=========================================================================
#EXTRA_PANELS['Finder'] = PanelDescription('Finder','vacca.panel.VaccaFinder',model='') #except: #pass TOOLBARS = [] #[(name,modulename.classname)] #=============================================================================== # Define which External Applications are to be inserted. # To define an external application, instantiate an ExternalApp object # See TaurusMainWindow.addExternalAppLauncher for valid values of ExternalApp #=============================================================================== from taurus.qt.qtgui.taurusgui.utils import PanelDescription, ExternalApp, ToolBarDescription, AppletDescription xvacca = ExternalApp(cmdargs=['konqueror', URL_HELP], text="Alba VACuum Controls Application", icon=WDIR + 'image/icons/cow-tux.png') xtrend = ExternalApp(cmdargs=['taurustrend', '-a'], text="TaurusTrend") xjive = ExternalApp(cmdargs=['jive'], text="Jive") #, icon=WDIR+'image/icons/cow-tux.png') xastor = ExternalApp(cmdargs=['astor'], text="Astor") #, icon=WDIR+'image/icons/cow-tux.png') #logbook = ExternalApp(cmdargs=['konqueror %s'%URL_LOGBOOK], text="Logbook", icon=WDIR+"image/icons/elog.png") #=============================================================================== # Define custom applets to be shown in the applets bar (the wide bar that # contains the logos). To define an applet, instantiate an AppletDescription # object (see documentation for the gblgui_utils module) #=============================================================================== #Each Applet can be described with a dictionary like this: