Example #1
0
    def __init__(self, parent, id, args={}):
        """
        Creates a new ComponentFrame instance for DataRoamer component.
        """
        ComponentFrame.__init__(self, parent, id, args)

        self._update_about()
        self._append_in_menu()
        self._append_in_toolbar()
Example #2
0
    def __init__(self, parent, idc, prefsIO):

        arguments = {}
        arguments['files'] = []
        arguments['title'] = "SPPAS - DataStats"
        arguments['type'] = "DATAFILES"
        arguments['icon'] = STATISTICS_APP_ICON
        arguments['prefs'] = prefsIO

        ComponentFrame.__init__(self, parent, idc, arguments)
Example #3
0
    def __init__(self, parent, id, args={}):
        """
        Creates a new ComponentFrame instance for IPUscribe component.
        """
        ComponentFrame.__init__(self, parent, id, args)

        self._update_about()
        self._append_in_menu()
        self._append_in_toolbar()
        self._add_accelerator()
Example #4
0
    def __init__(self, parent, idc, prefsIO):

        arguments = {}
        arguments['files'] = []
        arguments['title'] = "SPPAS - DataStats"
        arguments['type']  = "DATAFILES"
        arguments['icon']  = STATISTICS_APP_ICON
        arguments['prefs'] = prefsIO

        ComponentFrame.__init__(self, parent, idc, arguments)
Example #5
0
    def __init__(self, parent, id, prefsIO):
        """
        Creates a new ComponentFrame instance for SppasEdit component.
        """
        arguments = {}
        arguments['files'] = []
        arguments['title'] = "SPPAS - Vizualizer"
        arguments['type']  = "ANYFILES"
        arguments['icon']  = SPPASEDIT_APP_ICON
        arguments['prefs'] = prefsIO
        ComponentFrame.__init__(self, parent, id, arguments)

        self._append_in_menu()
Example #6
0
    def __init__(self, parent, idc, prefsIO):

        arguments = {}
        arguments['files'] = []
        arguments['title'] = "SPPAS - IPUscriber"
        arguments['type']  = "SOUNDFILES"
        arguments['icon']  = IPUSCRIBE_APP_ICON
        arguments['prefs'] = prefsIO

        ComponentFrame.__init__(self, parent, idc, arguments)
        self._add_accelerator()

        self.toolbar.AddButton(wx.ID_SAVE, SAVE_FILE, "Save")
        self.toolbar.AddButton(SAVE_ALL_ID, SAVE_ALL_FILE, "Save all")
        self.Bind(wx.EVT_BUTTON, self.IPUscribeProcessEvent)

        self._LayoutFrame()
Example #7
0
    def __init__(self, parent, idc, prefsIO):

        arguments = {}
        arguments['title'] = 'SPPAS - Data Roamer'
        arguments['icon']  = DATAROAMER_APP_ICON
        arguments['type']  = "DATAFILES"
        arguments['prefs'] = prefsIO

        ComponentFrame.__init__(self, parent, idc, arguments)
        self._add_accelerator()

        self.toolbar.AddButton(NEW_ID, NEW_FILE,  "New")
        self.toolbar.AddButton(wx.ID_SAVE, SAVE_FILE, "Save")
        self.toolbar.AddButton(SAVE_AS_ID, SAVE_AS_FILE, "Save as")
        self.toolbar.AddButton(SAVE_ALL_ID, SAVE_ALL_FILE, "Save all")
        self.Bind(wx.EVT_BUTTON, self.DataRoamerProcessEvent)

        self._LayoutFrame()
Example #8
0
    def __init__(self, parent, idc, prefsIO):

        arguments = {}
        arguments['title'] = 'SPPAS - Data Roamer'
        arguments['icon']  = DATAROAMER_APP_ICON
        arguments['type']  = "DATAFILES"
        arguments['prefs'] = prefsIO

        ComponentFrame.__init__(self, parent, idc, arguments)
        self._add_accelerator()

        self.toolbar.AddButton(NEW_ID, NEW_FILE,  "New")
        self.toolbar.AddButton(wx.ID_SAVE, SAVE_FILE, "Save")
        self.toolbar.AddButton(SAVE_AS_ID, SAVE_AS_FILE, "Save as")
        self.toolbar.AddButton(SAVE_ALL_ID, SAVE_ALL_FILE, "Save all")
        self.Bind(wx.EVT_BUTTON, self.DataRoamerProcessEvent)

        self._LayoutFrame()