Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / qt / 2007-07

qt themes example

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.

Den Jean
to Павел Ишенин
pm ????? ?????? wrote
Den, 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.

Den Jean
to Павел Ишенин: Hello, Items specific to the Qt widget set Den, do you still need my example to add…
pm ????? ?????? wrote
Den, 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

Felipe Monteiro de Carvalho
to Den Jean

Hi,

Den Jean wrote
FPC Qt4 Binding V1.42....

Where there improvements about the TPoint bug?

thanks,

Felipe Monteiro de Carvalho
Paul Ishenin
to Den Jean: FPC Qt4 Binding V1.42 adds support for QStyleOption* fields The mainwindow demo contains…
Den Jean wrote 25 lines
On Monday 09 July 2007 05:45:46 pm ????? ?????? wrote: > Den, 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

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.