def createEditor(self, parent, option, index):
     editor = QDoubleSpinBox(parent)
     editor.setDecimals(self._decimals)
     editor.setMaximum(self._min)
     editor.setMaximum(self._max)
     return editor
Beispiel #2
0
 def createEditor(self, parent, option, index):
     editor = QDoubleSpinBox(parent)
     editor.setDecimals(self._decimals)
     editor.setMaximum(self._min)
     editor.setMaximum(self._max)
     return editor