Esempio n. 1
0
    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
Esempio n. 2
0
 def __init__(self, parent=None):
     QTableWidget.__init__(self, parent)
     columnLabels = [
         'Parameter', 'Guess', 'Minimum', 'Maximum', 'Fit', 'Error'
     ]
     self.setColumnCount(len(columnLabels))
     self.setHorizontalHeaderLabels(columnLabels)
Esempio n. 3
0
    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)
Esempio n. 4
0
    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)
Esempio n. 5
0
 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)
Esempio n. 6
0
 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)
Esempio n. 7
0
    def __init__(self, parent):
        """

        :param parent:
        :return:
        """
        QTableWidget.__init__(self, parent)

        self._myParent = parent

        self._myColumnNameList = None
        self._myColumnTypeList = None
Esempio n. 8
0
    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
Esempio n. 9
0
    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