UI.delegate module

class UI.delegate.CellEditor(*args: Any, **kwargs: Any)[source]

Bases: QItemDelegate

Numeric editor of tableitem, with numeric validator

Methods

createEditor

__init__(parent=None)[source]
createEditor(parent, option, index)[source]
class UI.delegate.SpinEditor(*args: Any, **kwargs: Any)[source]

Bases: QItemDelegate

Spinbox editor for tableitem

Methods

createEditor

__init__(parent=None)[source]
createEditor(parent, option, index)[source]
class UI.delegate.CheckEditor(*args: Any, **kwargs: Any)[source]

Bases: QItemDelegate

Checkbox editor for tableitem

Methods

createEditor

setEditorData

setModelData

__init__(parent=None)[source]
createEditor(parent, option, index)[source]
setEditorData(editor, index)[source]
setModelData(editor, model, index)[source]
class UI.delegate.ComboEditor(*args: Any, **kwargs: Any)[source]

Bases: QItemDelegate

Combobox Editor for tableitem

Methods

createEditor

setEditorData

setItems

setModelData

__init__(owner, items=None)[source]
setItems(items)[source]
createEditor(parent, option, index)[source]
setEditorData(editor, index)[source]
setModelData(editor, model, index)[source]