def __init__(self, *args, **kwds):

        wx.Frame.__init__(self, *args, **kwds)

        config = cfg.Configuration(self)
        whole = maskMakerPanel(self)

        print('done.')
Esempio n. 2
0
    def __init__(self, *args, **kwds):

        wx.Frame.__init__(self, None, id=wx.ID_ANY, size=(1000, 200))

        config = cfg.Configuration(self, gbl.cfg_path)
        frame_acq = cfgPanel(self)  # Create the main window.
        app.SetTopWindow(frame_acq)

        print('done.')
Esempio n. 3
0
    def __init__(self, *args, **kwds):

        wx.Frame.__init__(self, *args, **kwds)

        self.config = cfg.Configuration(self)
        thumbnailsize = gbl.cfg_dict[0]['size_thumb']
        thumb = monitorPanel(self, gbl.cfg_dict, 'thumb')

        print('done.')
Esempio n. 4
0
    def __init__(self, *args, **kwds):

        wx.Frame.__init__(self, *args, **kwds)

        gbl.mask_file = 'C:\Users\Lori\Documents\PyCharmProjects\Data\oneROI.msk'
        self.config = cfg.Configuration(self,'C:\Users\Lori\Documents\PyCharmProjects\Data\oneROI.cfg')
        thumb = monitorPanel(self, mon_ID=1, panelType='thumb', loop=True, rois=[])
        thumb.PlayMonitor()

        print('done.')
Esempio n. 5
0
    def __init__(self, *args, **kwds):

        kwds["style"] = wx.DEFAULT_FRAME_STYLE
        wx.Frame.__init__(self, *args, **kwds)

        self.config = cfg.Configuration(self)        # user selects a configuration to load before starting

        gbl.statbar = wx.StatusBar(self, wx.ID_ANY)  # status bar
        self.SetStatusBar(gbl.statbar)
        gbl.statbar.SetStatusText('Status Bar')

        self.theNotebook = mainNotebook(self)        # build the notebook

        self.__set_properties("pySolo Video", 0.95)  # set title and frame/screen ratio
        self.__do_layout()

        mainSizer = wx.BoxSizer(wx.HORIZONTAL)
        mainSizer.Add(self.theNotebook, 1, wx.EXPAND, 0)
        self.SetSizer(mainSizer)
        self.Layout()


        print('done.')