def __init__(self, parent, model): ListCtrlView.__init__(self, parent, model, wx.LC_REPORT, (("Undo", self.OnUndo, self.undoBmp, ""),), -1) self.addReportColumns((("Action", 300), ("User", 75), ("Date", 130))) self.active = True self.undoIds = []
def __init__(self, parent, model): ListCtrlView.__init__(self, parent, model, wx.LC_REPORT, (('Undo', self.OnUndo, self.undoBmp, ''), ), -1) self.addReportColumns((('Action', 300), ('User', 75), ('Date', 130))) self.active = True self.undoIds = []
def __init__(self, parent, model): ListCtrlView.__init__(self, parent, model, wx.LC_REPORT, (('Undo', self.OnUndo, self.undoBmp, ''),), -1) self.addReportColumns( (('Action', 300), ('User', 75), ('Date', 130)) ) self.active = True self.undoIds = []
def __init__(self, parent, model): ListCtrlView.__init__( self, parent, model, wx.LC_REPORT, ( ("Open traceback", self.OnOpen, self.gotoTracebackBmp, ""), ("Refresh", self.OnRefresh, self.refreshBmp, "Refresh"), ), 0, ) self.active = True
def __init__(self, parent, model): ListCtrlView.__init__(self, parent, model, wx.LC_REPORT, ((_('Start'), self.OnStart, '-', ''), (_('End'), self.OnEnd, '-', ''), (_('Delete'), self.OnDelete, '-', ''), ), 1) self.InsertColumn(0, _('Start'), width=150) self.InsertColumn(1, _('End'), width=150) self.InsertColumn(2, _('Description'), width=350) self.sortOnColumns = [0, 1] self.times = [] self.active = True self.model = model
def __init__(self, parent, model): ListCtrlView.__init__(self, parent, model, wx.LC_REPORT, ( (_('Start'), self.OnStart, '-', ''), (_('End'), self.OnEnd, '-', ''), (_('Delete'), self.OnDelete, '-', ''), ), 1) self.InsertColumn(0, _('Start'), width=150) self.InsertColumn(1, _('End'), width=150) self.InsertColumn(2, _('Description'), width=350) self.sortOnColumns = [0, 1] self.times = [] self.active = True self.model = model
def __init__(self, parent, model): CloseableViewMix.__init__(self, _('find results')) ListCtrlView.__init__(self, parent, model, wx.LC_REPORT, ( (_('Goto match'), self.OnGoto, self.gotoLineBmp, ()), (_('Re-run query'), self.OnRerun, '-', 'Refresh') ) + self.closingActionItems, 0) self.InsertColumn(0, _('Module'), width = 100) self.InsertColumn(1, _('Line no'), wx.LIST_FORMAT_CENTRE, 40) self.InsertColumn(2, _('Col'), wx.LIST_FORMAT_CENTRE, 40) self.InsertColumn(3, _('Text'), width = 550) self.results = {} self.listResultIdxs = [] self.tabName = 'Results' self.findPattern = '' self.active = True self.model = model self.rerunCallback = None self.rerunParams = ()
def __init__(self, parent, model): CloseableViewMix.__init__(self, _('find results')) ListCtrlView.__init__( self, parent, model, wx.LC_REPORT, ((_('Goto match'), self.OnGoto, self.gotoLineBmp, ()), (_('Re-run query'), self.OnRerun, '-', 'Refresh')) + self.closingActionItems, 0) self.InsertColumn(0, _('Module'), width=100) self.InsertColumn(1, _('Line no'), wx.LIST_FORMAT_CENTRE, 40) self.InsertColumn(2, _('Col'), wx.LIST_FORMAT_CENTRE, 40) self.InsertColumn(3, _('Text'), width=550) self.results = {} self.listResultIdxs = [] self.tabName = 'Results' self.findPattern = '' self.active = True self.model = model self.rerunCallback = None self.rerunParams = ()
def __init__(self, parent, model): ListCtrlView.__init__( self, parent, model, wx.LC_REPORT, (('Open traceback', self.OnOpen, self.gotoTracebackBmp, ''), ('Refresh', self.OnRefresh, self.refreshBmp, 'Refresh')), 0) self.active = True
def __init__(self, parent, model): ListCtrlView.__init__(self, parent, model, wx.LC_REPORT, (('Edit', self.OnEdit, self.undoBmp, ''), ), -1) self.active = True
def __init__(self, parent, model): ListCtrlView.__init__(self, parent, model, wx.LC_REPORT, (('Open traceback', self.OnOpen, self.gotoTracebackBmp, ''), ('Refresh', self.OnRefresh, self.refreshBmp, 'Refresh')), 0) self.active = True
def __init__(self, parent, model): ListCtrlView.__init__(self, parent, model, wx.LC_REPORT, (('Edit', self.OnEdit, self.undoBmp, ''),), -1) self.active = True