[PyQt] [bug] PyQt doesn't export QWIDGETSIZE_MAX macro to Python
Vladimir Rutsky
rutsky.vladimir at gmail.com
Tue Mar 31 18:43:38 BST 2015
Hello,
QWidget::setFixedSize() documentation [1] says that QWIDGETSIZE_MAX
macro constant should be used to remove widget size constraints.
The issue is that this constant is not exported into Python in PyQt4 or PyQt5.
As workaround, ((1 << 24) - 1) constant can be used.
[1] http://pyqt.sourceforge.net/Docs/PyQt4/qwidget.html#setFixedSize
Regards,
Vladimir Rutsky
More information about the PyQt
mailing list