UI.delegate module¶
Module to implement delegate special editing in tables
CellEditor: Numeric editor of tableitem, with numeric validator
SpinEditor: Spinbox editor for tableitem
CheckEditor: Checkbox editor for tableitem
ComboEditor: Combobox Editor for tableitem
- class UI.delegate.CellEditor(parent=None)[source]¶
Bases:
QItemDelegateNumeric editor of tableitem, with numeric validator
Methods
createEditor(self, parent, option, index)
- class UI.delegate.SpinEditor(parent=None)[source]¶
Bases:
QItemDelegateSpinbox editor for tableitem
Methods
createEditor(self, parent, option, index)
- class UI.delegate.CheckEditor(parent=None)[source]¶
Bases:
QItemDelegateCheckbox editor for tableitem
Methods
createEditor(self, parent, option, index)setEditorData(self, editor, index)setModelData(self, editor, model, index)
- class UI.delegate.ComboEditor(owner, items=None)[source]¶
Bases:
QItemDelegateCombobox Editor for tableitem
Methods
createEditor(self, parent, option, index)setEditorData(self, editor, index)setModelData(self, editor, model, index)setItems