PyQt6 Missing Layout Size Constraint Flags
Elguavas
elguavas at gmail.com
Thu May 13 04:27:52 BST 2021
hi there, just converting some pyqt5 code to pyqt6, so far so good, but:
self.layout.setSizeConstraint(QLayout.SetFixedSize)
fails becuse there is no flag in QLayout called SetFixedSize. neither do
the other size constraint flags seem to be available.
i've tried looking for one of those QLayout.SOMETHING_FLAGS.whatever
constants in QLayout, that pyqt6 now seems to be using, but i can't find
any way to get the needed flag value constants.
what am i missing here?
thanks. ;)
More information about the PyQt
mailing list