On segunda-feira, 28 de outubro de 2013 11:04:14, Graham Labdon wrote:
> Hi
> I am looking into the possibilities offered by Qt to provide my applications
> with a custom style. There appears to be a choice of using style sheets or
> to implement the style by deriving from QProxyStyle. What are the
> advantages of using one method over the other?
> Which is more efficient?

Styles, since they're native code that gets run, as opposed to interpreted 
from a parsed stylesheet. Of course, it requires that your write good and 
efficient code.

> Which is easier to implement and maintain

Stylesheets, since it's just a a simple CSS-like file or snippet, no new code 
to write or maintain.

> Which is more flexible

Styles, since they can change just about anything, and given enough hacks, 
everything else.

> If anyone has any advice on which way I should go I would be grateful to
> hear from you 

My opinion is "do neither, just use the platform look and feel". This is an 
*opinion* -- I don't like applications with custom look and feel, I like them 
to integrate with the desktop UI.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to