Re: [julia-users] Re: setting Qt properties in PySide

2014-03-24 Thread Samuele Carcagno
On 25/03/14 00:40, j verzani wrote: It varies. qt_enum("AlignTop") will do the first, Qt.QVBoxLayout()[:SetFixedSize] the second, and Qt.QFrame()[:Sunken] the third. that works, thank you! The qt_enum() function is basically pyimport("PySide.QtCore")["Qt"][:property_name] which is nee

[julia-users] Re: setting Qt properties in PySide

2014-03-24 Thread j verzani
It varies. qt_enum("AlignTop") will do the first, Qt.QVBoxLayout()[:SetFixedSize] the second, and Qt.QFrame()[:Sunken] the third. The qt_enum() function is basically pyimport("PySide.QtCore")["Qt"][:property_name] which is needed to fish properties out of the Qt object, as @pyimport wi