Hello, Items specific to the Qt widget set
Den, do you still need my example to add QStyleOption stuff to bindings? If so then I will try to do it tomorow.
Best regards,
Paul Ishenin.

Mailing lists / qt / 2007-07
5 messages · 4 people · –
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Hello, Items specific to the Qt widget set
Den, do you still need my example to add QStyleOption stuff to bindings? If so then I will try to do it tomorow.
Best regards,
Paul Ishenin.
pm ????? ?????? wroteDen, do you still need my example to add QStyleOption stuff to bindings? If so then I will try to do it tomorow.
No, I am already working on it, just did not get any results yet.
Hello, Items specific to the Qt widget set Den, do you still need my example to add…
pm ????? ?????? wroteDen, do you still need my example to add QStyleOption stuff to bindings? If so then I will try to do it tomorow.
FPC Qt4 Binding V1.42 adds support for QStyleOption* fields The mainwindow demo contains some calls.
It should better be a seperate demo,but no time.
The overriding of methods of QStyle has not been done yet. But you can, as shown in the demo, override the paint event and do some drawcontrol stuff.
With this call enabled
QStyle_drawControl(style,QStyleCE_RadioButton,styleOption,CV); The PushButton's own painting is gone and some RadioButton painting is done.
I did not check all demoes and nothing of windows. This is just an intermediate release, awaiting your comments.
The following are avaible to call upon from any existing style, not as overridable stuff.
drawControl
drawComplexControl
drawPrimitive
drawItemText
regards,
Den Jean
Hi,
Den Jean wroteFPC Qt4 Binding V1.42....
Where there improvements about the TPoint bug?
thanks,
FPC Qt4 Binding V1.42 adds support for QStyleOption* fields The mainwindow demo contains…
Cool. I already adopted my code to work with new bindings, but to test I need windows library :( Except library I have not seen any troubles to make LLC TSpeedButton work under qt.
Best reagards,
Paul Ishenin.