nulledit – Allow NULL value in predefined edit widgets

class solutions.gui.editors.CourseComboBox(addNone=True, parent=None, **kwargs)[source]
class solutions.gui.editors.DescEnumComboBox(EnumType, choices=None, addNone=True, **kwargs)[source]
class solutions.gui.editors.EnumComboBox(EnumType, choices=None, addNone=True, **kwargs)[source]
class solutions.gui.editors.EvaluatorComboBox(request_type=None, course_no=None, evaluator_id=None, parent=None, **kwargs)[source]
class solutions.gui.editors.FilenameEdit(**kwargs)[source]

Widget for entering a filename or choosing it with QFileDialog.

class solutions.gui.editors.KeyComboBox(parent=None, **kwargs)[source]

ComboBox for selecting key based on descriptions.

class solutions.gui.editors.PickFirstComboBox(**kwargs)[source]
setMaxVisibleItems(self, int)[source]
class solutions.gui.editors.ResizeLineEdit(minChars=None, maxChars=None, parent=None, **kwargs)[source]
class solutions.gui.editors.TableComboBox(tableData, addNone=False, **kwargs)[source]

Keys in column 0 of tableData, descriptions in column 1.

class solutions.gui.editors.TableModel(tableData, addNone=False, **kwargs)[source]

Very simple table for QComboBox.

columnCount(self, parent: QModelIndex = QModelIndex()) int[source]
data(self, QModelIndex, role: int = Qt.DisplayRole) Any[source]
rowCount(self, parent: QModelIndex = QModelIndex()) int[source]
class solutions.gui.editors.UPComboBox(parent=None, **kwargs)[source]
class solutions.gui.editors.YearComboBox(start=None, stop=None, parent=None, **kwargs)[source]