<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Aug 19, 2013 at 10:55 AM, Marco Martin <span dir="ltr"><<a href="mailto:notmart@gmail.com" target="_blank">notmart@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div>On Monday 19 August 2013, David Edmundson wrote:<br>

> After discussions with a few people, I decided for an experiment to port<br>
> PlasmaComponents Button to use QtQuickControls [1] internally but use the<br>
> styles API [2] to make it look like the original PlasmaComponents button.<br>
><br>
> This is pushed in the plasma-frameworks branch davidedmundson/controls<br>
<br>
</div>I'm still seeing advantages and disadvantages, but i like the idea.<br>
<br>
If this will be how we proceed, it shouldn't be done inline, but as a<br>
standalone style together the others.<br></blockquote><div><br></div><div><br></div><div>So there's 3 proposals being talked about here:</div><div> - We keep Plasma Components as is</div><div> - We create a proper QtQuick Controls style (which is what you and Aleix suggest)</div>

<div> - 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.</div><div><br></div><div>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.</div>
<div><br></div><div>This is why I came up with the proposal in my original email (which I should have explained my rationale better) where we set the style internally. (Though I agree I should split it into a separate ButtonStyle.qml, ScrollBarStyle.qml etc. files)</div>
<div><br></div><div>We can work towards writing a controls style in small gradual parts. We can get all the bug fixes that quick controls provides, but if there are any regressions we can just use our existing code. We don't /need/ to change the tab bar API, we can just use our current Plasma Components solution if it's better. We can see what's missing in QtQuickControls, if anything, without having regressions for the user. </div>
<div><br></div><div>When everything is finished ready and working we can then turn it into a controls style (Plasma3?). This just makes that more gradual and IMHO safer.</div><div><br></div><div>I would be disappointed if this thread turns into "lets do this bigger better thing instead.. but that's too big so lets not do anything".</div>
<div><br></div><div><br></div><div><div class="im" style="font-family:arial,sans-serif;font-size:13px">> >  - More work.<br>> > As a rough guide I ported Button in about 1 hour. It's not a perfect 1-1<br>> > port, but it's 90% there.<br>
> ><br><br></div><span style="font-family:arial,sans-serif;font-size:13px">> yeah, not sure if this is underestimated</span><br></div><div><br></div><div>ok, it's 95% there then :P</div><div><br></div><div>David</div>
</div></div></div>