def __init__(self, parent=None): self.parent = parent QTableWidget.__init__(self) self.keys = [Qt.Key_Left, Qt.Key_Right] # We need this to allow navigating without editing self.catch = False
def __init__(self, parent=None): QTableWidget.__init__(self, parent) columnLabels = [ 'Parameter', 'Guess', 'Minimum', 'Maximum', 'Fit', 'Error' ] self.setColumnCount(len(columnLabels)) self.setHorizontalHeaderLabels(columnLabels)
def __init__(self, parent): QTableWidget.__init__(self, parent) self._parent = parent self.setRowCount(2) self.setColumnCount(2) self.reset_headers() # signals self.cellChanged.connect(self.cell_changed)
def __init__(self, parent=None, init_channel=None): QTableWidget.__init__(self, parent) PyDMWritableWidget.__init__(self, init_channel=init_channel) self._columnHeaders = ["Value"] self._rowHeaders = [] self._itemsFlags = (Qt.ItemIsSelectable | Qt.ItemIsEditable | Qt.ItemIsEnabled) self.waveform = None self._valueBeingSet = False self.setColumnCount(1) self.cellChanged.connect(self.send_waveform)
def __init__(self, parent): """ :param parent: :return: """ QTableWidget.__init__(self, parent) self._myParent = parent self._myColumnNameList = None self._myColumnTypeList = None
def __init__(self, parent): """ :param parent: :return: """ QTableWidget.__init__(self, parent) self._myParent = parent self._myColumnNameList = None self._myColumnTypeList = None self._editableList = list() self._statusColName = 'Status' self._colIndexSelect = None return