> On 6 Apr 2018, at 17:39, Alexander Akulich <akulichalexan...@gmail.com> wrote: > > Hi all, > > I highly doubt that it can be done as a part of GSoC and I don't see > any point in moving this to QtProject as we don't have Sailfish OS > platform upstreamed. We just need this style to make QQC2 applications > look native on Sailfish OS. I think that we'll have to rely on > closed-yet components and the style is not going to look nice with > mocks. > > That said, I see a number of issues and I hope that we'll discuss and > agree on some changes to the QQC2 API: > 1) I would like to propose ComboDelegate — a pair of ComboBox and > Label, combined in a platform-specific way (similar to CheckDelegate > and RadioDelegate). > 2) We also need a delegate to display a label and an associated value. > It is named "DetailItem" in Silica, but I would agree to go with a > name like ValueDelegate. > 3) Yet another point is that we need to properly style delegate > descriptions, so I want to propose "description" property at least for > Combo, Radio and Switch delegates (we even don't have a 'buddy' > property here, though it still would be very hacky to go in this way). > > Probably it makes sense to start another thread to discuss Qt Quick > Controls 2 API, but I need at least three weeks to think and > experiment with what we have right now. :-) > > My work is available at > https://git.merproject.org/Kaffeine/qtsilicastyle (compatible with Qt > 5.9 and 5.10), but I don't think that it can be interesting for anyone > in its current shape.
Hi all, +1 for any QQC2 additions and enablers that make it easier to implement the Silica style. That is, as long as the changes make sense from cross-platform perspective i.e. make sense for the other styles too. The proposed changes sound like they do. :) -- J-P Nurmi _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development