62 """Adds a Widget to this Options Widget.
64 The Widget must have a identifier. If another Widget has the same identifier,
65 the old widget will be removed and the new widget gets the identifier.
66 Returns True, if widget is added. Otherwise it returns False
68 if isinstance(widget, QtWidgets.QWidget)
and ident
is not None:
69 if hasattr(widget,
"GetText"):
70 string = widget.GetText()
77 self.
combo_box_.addItem(string, QtCore.QVariant(qpair))