t-artistik / qtscriptgenerator

Automatically exported from code.google.com/p/qtscriptgenerator
0 stars 0 forks source link

QWidget's sizeHint property value cannot be changed #35

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
sizeHint doesn't change when a new value is assigned to it. 

What steps will reproduce the problem?

qs> a = new QWidget()
QWidget
qs> a.sizeHint
QSize(-1, -1) 
qs> a.sizeHint = new QSize(100, 100)
QSize(100, 100) 
qs> a.sizeHint
QSize(-1, -1)

What is the expected output? What do you see instead?

I would expect to be able to change the size hint of my widgets, but it
doesn't seem possible at the moment. 

What version of the product are you using? On what operating system?

Qt 4.5-rc1, Qt Script Generator git commit
15da905b6ebc23c839a78510d8f8e70df11a70a4, Ubuntu Linux.

Original issue reported on code.google.com by timo.pit...@sesca.com on 11 Feb 2009 at 11:29

GoogleCodeExporter commented 8 years ago
I can reproduce with Amarok.

Original comment by ian.mon...@gmail.com on 13 Feb 2009 at 6:33