[RFC] Port PlasmaComponents to use QtQuick Controls where applicable

Marco Martin notmart at gmail.com
Mon Aug 19 12:43:42 UTC 2013


On Monday 19 August 2013, David Edmundson wrote:
> > If this will be how we proceed, it shouldn't be done inline, but as a
> > standalone style together the others.
> 
> So there's 3 proposals being talked about here:
>  - We keep Plasma Components as is
>  - We create a proper QtQuick Controls style (which is what you and Aleix
> suggest)
>  - My half-way proposal in which we use QtQuickControls to do the heavy
> lifting inside PlasmaComponents. Making the relevant style components, but
> not actually exporting them as such.
> 
> I think we're all in agreement that option 2 is going to be needed at some
> point in the future and should be a long term goal. However, there are
> numerous drawbacks that make that difficult. We would need to commit to
> making a large amount of changes, we have to edit a lot of plasma code and
> we have to support the entire Controls library, not just parts of it... and
> all the problems Marco stated.

not necessarly, you can do the working qtcontrols theme (that works with plain 
qtcontrols) but still have a plasma button like

QtControls.Button
{
    style: Qt.createComponent("Plasma/ButtonStyle.qml", button)
}

as compatibility layer

-- 
Marco Martin


More information about the Plasma-devel mailing list