Quantcast
Channel: MarsHut
Viewing all articles
Browse latest Browse all 6551

setting Qt properties in PySide

$
0
0
Hi,

I can't figure out the syntax to set Qt graphics properties in PySide.jl
For example, how to translate the following Python code:

sizer.setAlignment(Qt.AlignTop)

or

pw.layout().setSizeConstraint(QLayout.SetFixedSize)

or

cw.setFrameStyle(QFrame.StyledPanel|QFrame.Sunken)

any help would be appreciated.

Sam

Viewing all articles
Browse latest Browse all 6551

Trending Articles