Massimo Fazzolari wrote:
> I tried this:
> 
> public MyWidget extends QWidget{
> 
>     public MyWidget() {
>            this.setStyleSheet("QWidget { qproperty-buttonsHeight: 70; }");
>            System.out.println(this.
> property("buttonsHeight").toString());
>     }
> }
> 
> I get this message: "does not have a property named  "buttonsHeight" "
> and then it throws a java.lang.NullPointerException

Hi,

I just heard back from the stylesheet guys. Turns out you cannot set 
dynamic properties after all. Sorry for the confusion.

best regards,
Gunnar
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

Reply via email to