Esempio n. 1
0
 def __init__(self, win, param_mgr):
     Action.__init__(self,
                     win,
                     "Plot results over time",
                     '',
                     iconId=wx.ART_FILE_OPEN)
     self.param_mgr = param_mgr
Esempio n. 2
0
 def __init__(self, win):
     Action.__init__(self,
                     win,
                     "Paraview",
                     "Will launch Paraview",
                     menuText='&Paraview',
                     iconId=wx.ART_EXECUTABLE_FILE)
Esempio n. 3
0
 def __init__(self, win):
     Action.__init__(self,
                     win,
                     "Gmsh",
                     "Will launch Gmsh",
                     menuText='&Gmsh',
                     iconId=wx.ART_EXECUTABLE_FILE)
Esempio n. 4
0
 def __init__(self, win, param_mgr):
     Action.__init__(
         self,
         win,
         "Open...",
         'Open and load a Geoi file holding the configuration settings for a case/study',
         accelerator='CTRL+O',
         iconId=wx.ART_FILE_OPEN)
     self.param_mgr = param_mgr
Esempio n. 5
0
 def __init__(self, win):
     Action.__init__(
         self,
         win,
         "Open Py&Shell Window",
         'An interactive interpreter window with the demo app and frame objects in the namespace',
         accelerator='F5',
         iconId='wx.ART_IMAGES_' + 'pyshell')
     self.shell = None
Esempio n. 6
0
 def __init__(self,
              win,
              name,
              description,
              menuText=None,
              accelerator=None,
              iconId=None):
     Action.__init__(self, win, name, description, menuText, accelerator,
                     iconId)
     self._isToggled = False
Esempio n. 7
0
 def __init__(self, win, param_mgr, name="Save"
              , description='Save a Geoi file holding the configuration settings for a case/study'
              ,iconId=wx.ART_FILE_SAVE
              , SaveAs = False):
              
     if SaveAs == False:
         Action.__init__(self, win, name, description, accelerator='CTRL+S',iconId=iconId)
     else:
         Action.__init__(self, win, name, description, accelerator='CTRL+SHIFT+S',iconId=iconId)
     self.param_mgr = param_mgr
Esempio n. 8
0
 def __init__(self, win, param_mgr):
     Action.__init__(
         self,
         win,
         "Open...",
         "Open and load a Geoi file holding the configuration settings for a case/study",
         accelerator="CTRL+O",
         iconId=wx.ART_FILE_OPEN,
     )
     self.param_mgr = param_mgr
Esempio n. 9
0
 def __init__(self, win, params_mgr):
     Action.__init__(
         self,
         win,
         "New",
         "Reset parameters",
         menuText='&New',
         accelerator='CTRL+N',
         iconId=wx.ART_NEW,
     )
     self.params_mgr = params_mgr
Esempio n. 10
0
 def __init__(self, win):
     Action.__init__(self, win, "Float the Dialog Pane"
                     , 'make the center dialog pane to be floating around')
Esempio n. 11
0
 def __init__(self, win, name, description, menuText=None, accelerator=None, iconId=None):
     Action.__init__(self, win, name, description, menuText, accelerator, iconId)
     self._isToggled = False
Esempio n. 12
0
 def __init__(self, win, params_mgr):
     Action.__init__(self, win, "New", "Reset parameters", menuText='&New'
                     , accelerator='CTRL+N', iconId = wx.ART_NEW, )
     self.params_mgr=params_mgr
Esempio n. 13
0
 def __init__(self, win, param_mgr):
     Action.__init__(self, win, "ShowParams", "Display the current parameters in a table")
     self.param_mgr = param_mgr
Esempio n. 14
0
 def __init__(self, win):
     Action.__init__(self, win, "Help", "Will show Help", menuText = '&Help'
                     , accelerator = 'CTRL+H', iconId = wx.ART_HELP)
Esempio n. 15
0
 def __init__(self, win, param_mgr):
     Action.__init__(self, win, "Plot results over time"
                     , ''
                     , iconId = wx.ART_FILE_OPEN)
     self.param_mgr = param_mgr
Esempio n. 16
0
 def __init__(self, win):
     Action.__init__(self, win, "Gmsh", "Will launch Gmsh", menuText = '&Gmsh'
                     , iconId = wx.ART_EXECUTABLE_FILE)
Esempio n. 17
0
 def __init__(self, win, param_mgr):
     Action.__init__(self, win, "ShowParams",
                     "Display the current parameters in a table")
     self.param_mgr = param_mgr
Esempio n. 18
0
 def __init__(self, win):
     Action.__init__(self, win, "Open Py&Shell Window"
                     , 'An interactive interpreter window with the demo app and frame objects in the namespace'
                     , accelerator = 'F5', iconId = 'wx.ART_IMAGES_' + 'pyshell')
     self.shell = None
Esempio n. 19
0
 def __init__(self, win):
     Action.__init__(self, win, "Open &Widget Inspector"
                     , 'A tool that lets you browse the live widgets and sizers in an application'
                     , accelerator = 'F6', iconId = 'wx.ART_IMAGES_inspect')
Esempio n. 20
0
 def __init__(self, win):
     Action.__init__(self, win, "Dock the Dialog Pane"
                     , 'make the center dialog pane to be docked')