Fwd: Approval request for feature idea
samuel ammonius
sfammonius at gmail.com
Mon May 30 19:37:32 BST 2022
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.
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.
On Mon, May 30, 2022 at 3:51 PM Sven Brauch <mail at svenbrauch.de> wrote:
> Hi,
>
> On 5/30/22 19:52, samuel ammonius wrote:
> > Adding this feature won't make the C++ styles disappear. It will only
> > make it possible for users who don't know how to make a style plugin in
> > C++ to make their own styles
>
> the problem is that the Qt stylesheets are pretty bad at that. The
> customization options they provide are limited, work in unexpected ways,
> and sometimes look flat-out buggy, especially if applications have their
> own widgets or drawing code or if the stylesheet is applied on top of an
> unusual base style.
>
> They are fine for coloring a combo box or line edit in red if the input
> is invalid, but they are not a useful user-configurable theme engine.
>
> I do see the value in the feature you envision, but IMO it needs to
> happen in the form of something like the QtCurve style, which does its
> painting in a way that is directly intended to be customized.
> Customization needs to be offered by the style; it cannot be kludged on
> top of the style with the QCssStyle proxy style, at least not in its
> current form (but probably not at all). I suggest looking into something
> like this if you'd like to provide user-customizable styles.
>
> Greetings,
> Sven
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-devel/attachments/20220530/f027eddd/attachment.htm>
More information about the kde-devel
mailing list