Re: [Development] Deprecation of Qt Quick Controls 1

2018-02-08 Thread Frederik Gladhorn
Thanks for the feedback :) Seems like this was a good point to send the mail and we became aware that many of you are struggling with the ComboBoxes in Controls 2. Improving that makes a lot of sense for us then. Note that we are not going to make the module magically disappear for the moment,

Re: [Development] Deprecation of Qt Quick Controls 1

2018-02-07 Thread Andras Mantia
Hi, On Thursday, February 8, 2018 9:22:24 AM EET Eike Hein wrote: > Hi, > > in addition, kde.org ships a qqc2-desktop-style for Controls 2 that > implements QStyle theming (it's an improved derivative of the code > used in qqc1) and has no other KDE dependencies. It's viable to ship > with an app

Re: [Development] Deprecation of Qt Quick Controls 1

2018-02-07 Thread Eike Hein
On 02/08/2018 12:27 PM, Kevin Kofler wrote: > NIkolai Marchenko wrote: >> even stuff like that? >> https://imgur.com/a/tTFeO > > Maybe try using QListWidget::setItemWidget? That should even let you assign > some widget layed out in Qt Designer. The KWidgetItemDelegate class in KDE's KItemViews

Re: [Development] Deprecation of Qt Quick Controls 1

2018-02-07 Thread Eike Hein
Hi, in addition, kde.org ships a qqc2-desktop-style for Controls 2 that implements QStyle theming (it's an improved derivative of the code used in qqc1) and has no other KDE dependencies. It's viable to ship with an app, and available in most distributions as a system package as well as inside KD

Re: [Development] Deprecation of Qt Quick Controls 1

2018-02-07 Thread Kevin Kofler
NIkolai Marchenko wrote: > even stuff like that? > https://imgur.com/a/tTFeO Maybe try using QListWidget::setItemWidget? That should even let you assign some widget layed out in Qt Designer. Also FYI, since QListWidget is a subclass of QListView, you can actually also use a QAbstractItemDelegat

Re: [Development] Deprecation of Qt Quick Controls 1

2018-02-07 Thread NIkolai Marchenko
Well, thank you for your example, but I would rather code a completely custom combobox in QML than go this route (even with my qml skills noobish at best it seems a more reasonable idea, than coding a "widgets monster" ) And for the time being I will just stick with Controls 1 as I want to be impr

Re: [Development] Deprecation of Qt Quick Controls 1

2018-02-07 Thread Olivier Goffart
Am Mittwoch, 7. Februar 2018, 15:35:34 CET schrieb NIkolai Marchenko: > even stuff like that? > https://imgur.com/a/tTFeO > I doubt it. I really don't want to delve into manual painter usage and > styleoptions when I can just quickly make such stuff with qml listview. > And basically the only thing

Re: [Development] Deprecation of Qt Quick Controls 1

2018-02-07 Thread NIkolai Marchenko
I meant, I will *lose* model:10 syntax like this (mailing lists and unfixable wording errors, ugh) On Wed, Feb 7, 2018 at 6:02 PM, NIkolai Marchenko wrote: > Thanks, I will see how it works. Though I will use the model: 10 syntax > like this :( > > On Wed, Feb 7, 2018 at 5:46 PM, Helmut Mülner

Re: [Development] Deprecation of Qt Quick Controls 1

2018-02-07 Thread NIkolai Marchenko
Thanks, I will see how it works. Though I will use the model: 10 syntax like this :( On Wed, Feb 7, 2018 at 5:46 PM, Helmut Mülner wrote: > Ø And basically the only thing that really hurts me with controls 2 is > that combobox becomes quite horrible > > > > I use something like this for a decen

Re: [Development] Deprecation of Qt Quick Controls 1

2018-02-07 Thread NIkolai Marchenko
I really don't want to go there for a project I am not paid to develop :) On Wed, Feb 7, 2018 at 5:54 PM, Konstantin Tokarev wrote: > > > 07.02.2018, 17:42, "NIkolai Marchenko" : > > even stuff like that? > > https://imgur.com/a/tTFeO > > I doubt it. I really don't want to delve into manual pain

Re: [Development] Deprecation of Qt Quick Controls 1

2018-02-07 Thread Konstantin Tokarev
07.02.2018, 17:42, "NIkolai Marchenko" : > even stuff like that? > https://imgur.com/a/tTFeO > I doubt it. I really don't want to delve into manual painter usage and > styleoptions when I can just quickly make such stuff with qml listview. FWIW, in company where I work we routinely did such UIs

Re: [Development] Deprecation of Qt Quick Controls 1

2018-02-07 Thread Helmut Mülner
* And basically the only thing that really hurts me with controls 2 is that combobox becomes quite horrible I use something like this for a decent looking combobox: ComboBox { id: comboBox Layout.fillWidth: true height: 30 Layout.maximumHeight: 30

Re: [Development] Deprecation of Qt Quick Controls 1

2018-02-07 Thread NIkolai Marchenko
even stuff like that? https://imgur.com/a/tTFeO I doubt it. I really don't want to delve into manual painter usage and styleoptions when I can just quickly make such stuff with qml listview. And basically the only thing that really hurts me with controls 2 is that combobox becomes quite horrible O

Re: [Development] Deprecation of Qt Quick Controls 1

2018-02-07 Thread Konstantin Tokarev
07.02.2018, 16:13, "NIkolai Marchenko" : > And no, widgets is not an alterlative to proper qml controls on desktop when > you want custom interface. > I have an app that uses qml to draw a custom listview for users, it would be > extremely hard to replicate it with widgets and why should I do t

Re: [Development] Deprecation of Qt Quick Controls 1

2018-02-07 Thread Mitch Curtis
list Subject: Re: [Development] Deprecation of Qt Quick Controls 1 I basically can't use Controls 2 in my application because combobox in controls 2 has extremely out of place style for desktop applications, is too bloated and you can't control it enough to make it look more like

Re: [Development] Deprecation of Qt Quick Controls 1

2018-02-07 Thread Mitch Curtis
lopment@qt-project.org Subject: Re: [Development] Deprecation of Qt Quick Controls 1 > It should come as no big surprise that we are not working much on Qt Quick > Controls 1. After some discussions inside The Qt Company, we concluded that it would make sense to clarify the situation. We see th

Re: [Development] Deprecation of Qt Quick Controls 1

2018-02-07 Thread Jean-Michaël Celerier
KDE has some codes that enables simulation of the "native" style through QtQuickControls 2 if it can be useful : https://github.com/KDE/qqc2-desktop-style However, even though Qt Quick Controls (and Qt Quick in general) are both very nice, I think that a big missing part is CSS-like properties, th

Re: [Development] Deprecation of Qt Quick Controls 1

2018-02-07 Thread NIkolai Marchenko
And no, widgets is not an alterlative to proper qml controls on desktop when you want custom interface. I have an app that uses qml to draw a custom listview for users, it would be extremely hard to replicate it with widgets and why should I do that when I have qml? On Wed, Feb 7, 2018 at 4:10 PM,

Re: [Development] Deprecation of Qt Quick Controls 1

2018-02-07 Thread NIkolai Marchenko
I basically can't use Controls 2 in my application because combobox in controls 2 has extremely out of place style for desktop applications, is too bloated and you can't control it enough to make it look more like Controls 1. Admittedly, I almost do not use QML in my apps but I wasn't able to find

Re: [Development] Deprecation of Qt Quick Controls 1

2018-02-07 Thread Helmut Mülner
> It should come as no big surprise that we are not working much on Qt Quick Controls 1. After some discussions inside The Qt Company, we concluded that it would make sense to clarify the situation. We see the value Controls 1 provides - more platform native styling - but it comes at a high price.

[Development] Deprecation of Qt Quick Controls 1

2018-02-07 Thread Frederik Gladhorn
Hi all, It should come as no big surprise that we are not working much on Qt Quick Controls 1. After some discussions inside The Qt Company, we concluded that it would make sense to clarify the situation. We see the value Controls 1 provides - more platform native styling - but it comes at a hi