Styling QRadioElement

64 views
Skip to first unread message

Dave S

unread,
Nov 7, 2013, 6:42:28 PM11/7/13
to quick...@googlegroups.com
So, my old app had a radio element that used the style provider interface to style each of the radio list elements.
(It was a font list, with each element being in the font listed.)

Now that we have the appearance settings for elements, this has now gone, and I can't find any way to replicate it as the code stands.
Can anyone help?

I've fixed it in my code by creating a get function to return the QRadioElement's internal section, then walk through all the elements and apply an appearance with the correct font, but wondered if there was a way to do this without modifying QuickDialog.

Cheers,

Dave S.

Eduardo Scoz

unread,
Nov 7, 2013, 6:51:29 PM11/7/13
to quick...@googlegroups.com
Implement a subclass of the QFlatAppearance (ios7) or QClassicAppearance (ios6). The method you're looking for is there.


--
-- QuickDialog site: http://escoz.com/quickdialog github: http://github.com/escoz/quickdialog.
 
You received this message because you are subscribed to the Google Groups QuickDialog group. To post to this group, send email to quick...@googlegroups.com. To unsubscribe from this group, send email to quickdialog...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/quickdialog?hl=en
---
You received this message because you are subscribed to the Google Groups "QuickDialog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to quickdialog...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages