Qt styling like Delphi VLC
I know that Qt has support for CSS and it has the QML, but I'm wondering, how can I style the gui like Delphi does with the VLC?
I mean, which one is faster? I tried to use the QML but I'm having a few problems with the window glitching, I don't know the reason, but maybe it's because of the OpenGL. I tried to change the configuration but it seems to be really slow.
I'm wondering, which one is faster? Qt styling using QPallete, using CSS or use QML with styling?
I need the best performance x beauty possible.
For desktop widgets, StyleSheets offer fast and good styling.
Its can be change to great extend
its even possible to create a custom style.
@mrjj Thank you, I think that I'm going to use stylesheets as you said.
Before I set as solved, let me ask you something, is it possible to do what we can do with stylesheets using
QPalette? I mean, does
QPalettehave the same power of styling as stylesheets? Because QPallete is coding so I think that it might be faster than stylesheets as it will be parsed first in order to work, right?
Is as far as I know QPalette is only able to change colors of elements and some brushes.
Whereas StyleSheet can really change the look of the widget.
Yeah stylesheet will be parsed once. but its fast.