<div dir="ltr">I've worked with regular CSS and I'm sure that stylesheets offer just as many customization options as things like QtCurve or QStylePlugins. The reason that it may not seem this way is because Qt didn't document regular CSS syntax in the documentation for stylesheets.<div><br></div><div>I can't verify that stylesheets can do everything that a style plugin can do, but I know for sure that Breeze can be made using a qstylesheet so there shouldn't be any reason to say that stylesheets don't have enough features to be added to KDE.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 30, 2022 at 3:51 PM Sven Brauch <<a href="mailto:mail@svenbrauch.de">mail@svenbrauch.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
On 5/30/22 19:52, samuel ammonius wrote:<br>
> Adding this feature won't make the C++ styles disappear. It will only <br>
> make it possible for users who don't know how to make a style plugin in <br>
> C++ to make their own styles<br>
<br>
the problem is that the Qt stylesheets are pretty bad at that. The <br>
customization options they provide are limited, work in unexpected ways, <br>
and sometimes look flat-out buggy, especially if applications have their <br>
own widgets or drawing code or if the stylesheet is applied on top of an <br>
unusual base style.<br>
<br>
They are fine for coloring a combo box or line edit in red if the input <br>
is invalid, but they are not a useful user-configurable theme engine.<br>
<br>
I do see the value in the feature you envision, but IMO it needs to <br>
happen in the form of something like the QtCurve style, which does its <br>
painting in a way that is directly intended to be customized. <br>
Customization needs to be offered by the style; it cannot be kludged on <br>
top of the style with the QCssStyle proxy style, at least not in its <br>
current form (but probably not at all). I suggest looking into something <br>
like this if you'd like to provide user-customizable styles.<br>
<br>
Greetings,<br>
Sven<br>
</blockquote></div>