[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: [PyQt] [bug] PyQt doesn't export QWIDGETSIZE_MAX macro to Python
From: Vladimir Rutsky <rutsky.vladimir () gmail ! com>
Date: 2015-03-31 17:43:38
Message-ID: CAMwdcVZeXhDyOM15RAoLZ=Jwavv9QiKkxXPLO6G4Vuk5GsM37Q () mail ! gmail ! com
[Download RAW message or body]
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
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic