On 27/03/14 01:07, j verzani wrote:
Try this for example,
QtGui = PyCall.pyimport(PySide.QtGui)
QtGui[QSizePolicy][Fixed],
that works thanks!
I found that the following also works:
szp = Qt.QSizePolicy()
loadParametersButton[:setSizePolicy](szp[:Expanding], szp[:Expanding])
Sam
On
Try this for example,
QtGui = PyCall.pyimport(PySide.QtGui)
QtGui[QSizePolicy][Fixed],
On Wednesday, March 26, 2014 5:20:11 PM UTC-4, Samuele Carcagno wrote:
another PySide question, how to set `QSizePolicy`? for example how to
translate the following Python code