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()
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)
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()
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)
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()
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()
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()
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()