pyleecan.GUI.Tools.CheckableComboBox module

class CheckableComboBox(*args, label=None, singleSelection=False, allowNoSelection=True, **kwargs)[source]

Bases: QComboBox

selectionChanged
class Delegate[source]

Bases: QStyledItemDelegate

sizeHint(self, option: PySide2.QtWidgets.QStyleOptionViewItem, index: PySide2.QtCore.QModelIndex) PySide2.QtCore.QSize[source]
staticMetaObject = <PySide2.QtCore.QMetaObject object>
resizeEvent(self, e: PySide2.QtGui.QResizeEvent) None[source]
eventFilter(self, watched: PySide2.QtCore.QObject, event: PySide2.QtCore.QEvent) bool[source]
showPopup(self) None[source]
hidePopup(self) None[source]
timerEvent(self, event: PySide2.QtCore.QTimerEvent) None[source]
onDataChanged(topLeft=None, bottomRight=None)[source]
updateText()[source]
addItem(self, icon: PySide2.QtGui.QIcon, text: str, userData: Any = Invalid(typing.Any)) None[source]
addItem(self, text: str, userData: Any = Invalid(typing.Any)) None
addItems(self, texts: Sequence[str]) None[source]
currentData(self, role: int = PySide2.QtCore.Qt.ItemDataRole.UserRole) Any[source]
staticMetaObject = <PySide2.QtCore.QMetaObject object>