On 2013/03/19 1:57 AM, Jake Thomas Petroules wrote:
>
> Not every app should be styled native. Not every app should be styled custom.
> Some should use a combination of both. It all depends on what's appropriate
> for the situation at hand. All I'm asking is that people recognize that we 
> need
> a balance here. We can provide both options.
>

If there's someone willing to put in the work, of course it would be fantastic 
to be able to render Qt widgets so that they look like iOS controls, there's no 
question about that. Whether many/any people would use it is another question, 
which remains to be seen (see chicken/egg).

>
>> So what's the
>> problem with making iOS styled QtWidgets? They will never ever look and 
>> behave
>> the same as the native components (maybe a button, but how about a list view?
>> And what is a combo box on iOS?).
>
> They will definitely look the same. As for behave, that's a little harder but 
> it can
> still be done.
>

Not sure if I can see the value in creating pixel perfect widgets with exactly 
the same behaviour as the native widgets. Just use the native widgets (with a 
QtWidget wrapper) and job done. I can see the attraction in making Qt widgets 
look like they use the same design language as UIKit widgets.

>
> Almost everything looks wrong. The UISwitch text is misaligned and the fonts
> on the toolbars look strange. Smells like an attempted custom drawing.
>

AFAIK, it's a port of Symbian Qt Quick components to iOS. I don't know much 
more 
about it, or what its author's plans are. There's a problem with fonts on iOS. 
AFAIK you're not allowed to use the (private) font that Apple uses for its UI 
in 
your apps. If you did use that font, you'd have to fool Apple's review board 
into believing you were using native widgets... ;)

>
> Again, I've already started on QIosStyle and it's working pretty nicely.
> https://codereview.qt-project.org/#change,51167
>
> Once I've uploaded some of the functionality I've been working on,
> I encourage you to give it a try. It might make you change your mind
> about QIosStyle being a waste of time. :)

I'd be very interested in seeing what you've done, and would be more than happy 
to help you. I meant a waste of my time (and really not so much a waste as it 
being a very low priority task in terms of all that still is needed)... ;)

_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to