def flags(self, index): if index.column() < BreakpointModel.columnCount(self, None): return BreakpointModel.flags(self, index) f = Qt.ItemIsSelectable | Qt.ItemIsEnabled return f
def flags(self, index): if index.column() < BreakpointModel.columnCount(self, None): return BreakpointModel.flags(self, index) f = Qt.ItemIsSelectable | Qt.ItemIsEnabled return f
def headerData(self, section, orientation, role): if section < BreakpointModel.columnCount(self, None): return BreakpointModel.headerData(self, section, orientation, role) ret = None if orientation == Qt.Horizontal: if role == Qt.DisplayRole: if section == self.columnCount(None) - 1: ret = "Traced Variables" return ret
def headerData(self, section, orientation, role): if section < BreakpointModel.columnCount(self, None): return BreakpointModel.headerData(self, section, orientation, role) ret = None if orientation == Qt.Horizontal: if role == Qt.DisplayRole: if section == self.columnCount(None) - 1: ret = "Traced Variables" return ret
def data(self, index, role): if index.column() < BreakpointModel.columnCount(self, None): return BreakpointModel.data(self, index, role) ret = None tp = self.breakpoints[index.row()] if role == Qt.DisplayRole: if index.column() == self.columnCount(None) - 1: ret = ", ".join(tp.tracedVariables) return ret
def data(self, index, role): if index.column() < BreakpointModel.columnCount(self, None): return BreakpointModel.data(self, index, role) ret = None tp = self.breakpoints[index.row()] if role == Qt.DisplayRole: if index.column() == self.columnCount(None) - 1: ret = ", ".join(tp.tracedVariables) return ret
def columnCount(self, parent): return BreakpointModel.columnCount(self, parent) + 1
def columnCount(self, parent): return BreakpointModel.columnCount(self, parent) + 1