Re: [Interest] Standardizing Qt Kit Names

2018-08-30 Thread J-P Nurmi
On Wed, Aug 29, 2018 at 6:28 PM Jason H wrote: > > I'd like it to be Qt / Version / Platform like > Qt 5.10.1 for Desktop > Qt 5.10.1 for iOS > Qt 5.10.1 for iOS Simulator +1, and while at it, replace "Desktop" with a platfor

Re: [Interest] Avoid readable QML files in application

2018-05-23 Thread J-P Nurmi
mpiler, also for external styles. The .qml files can be optionally left out at deployment time. https://codereview.qt-project.org/#/c/228360/ -- J-P Nurmi ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Qt 5.10.1 TextField backgound inconsistency or regression

2018-04-09 Thread J-P Nurmi
to the next 5.9 LTS release too. Thanks for bringing this up. -- J-P Nurmi On 8 Apr 2018, at 13:32, m...@herrdiel.de<mailto:m...@herrdiel.de> wrote: Update: could this be related to https://bugreports.qt.io/browse/QTBUG-67446? That bug's workaround (setting an id in background) works here, too.

Re: [Interest] ComboBox styling problems

2018-04-09 Thread J-P Nurmi
the highlighted state in the delegate background instead. - What's the purpose of the opaque Rectangle inside the ScrollIndicator? -- J-P Nurmi ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] TableView in Qt Quick Controls 2

2017-06-28 Thread J-P Nurmi
declarative, but given that the table layout for visible items is still missing, there’s nothing you can play with yet, unfortunately. So far the focus has been on refactoring the underlying itemview framework to make it suitable for building a Ta

Re: [Interest] TableView in Qt Quick Controls 2

2017-06-28 Thread J-P Nurmi
n objects does not scale well for more than a few columns. -- J-P Nurmi ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] TableView in Qt Quick Controls 2

2017-06-26 Thread J-P Nurmi
te types, multi-selection, and so on (http://lists.qt-project.org/pipermail/development/2017-January/028344.html). -- J-P Nurmi ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Qt 5.7 QuickControls 2 are not multitouch??

2017-05-01 Thread J-P Nurmi
raphicsItems, there is no need to explicitly enable touch events for QQuickItems. -- J-P Nurmi ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Attached properties with Namespaced imports

2017-01-27 Thread J-P Nurmi
Hi, Try this: C2.StackView.onStatusChanged: console.log("Status is " + C2.StackView.status) -- J-P Nurmi > On 27 Jan 2017, at 18:48, Shantanu Tushar <shaan...@gmail.com> wrote: > > Hi, > > I realized today that this doesn't work- > > import QtQu

Re: [Interest] ComboBox with hintText?

2016-10-31 Thread J-P Nurmi
> On 31 Oct 2016, at 17:00, Jason H <jh...@gmx.com> wrote: > > > I'm also on 5.6.2 because we had bugfixes arrive in that that we need that > aren't in 5.7.0, but they will be in 5.7.1 > > >> Sent: Monday, October 31, 2016 at 11:56 AM >> From: &quo

Re: [Interest] ComboBox with hintText?

2016-10-31 Thread J-P Nurmi
cess via ComboBox::popup, and call open() on it. - http://doc.qt.io/qt-5/qml-qtquick-controls2-combobox.html#displayText -prop - http://doc.qt.io/qt-5/qml-qtquick-controls2-combobox.html#popup-prop -- J-P Nurmi ___ Interest mailing list Interest@qt-project.

Re: [Interest] Mouse event propagation in Qt Quick

2016-10-16 Thread J-P Nurmi
to steal events from the MouseArea. When preventStealing is false, Flickable's childMouseEventFilter() steals the press from the MouseArea when it detects a flick or drag. -- J-P Nurmi From: Interest <interest-bounces+jpnurmi=qt...@qt-project.org> on be

Re: [Interest] Customising ComboBox 2.0

2016-10-10 Thread J-P Nurmi
c.qt.io/qt-5/qtquickcontrols2-customize.html#customizing-combobox Hi Nuno, There’s an example in the latest doc snapshots: http://doc-snapshots.qt.io/qt5-5.7/qtquickcontrols2-customize.html#customizing-combobox -- J-P Nurmi ___ Interest mailing list

Re: [Interest] I can't find QQuickStyle class

2016-10-04 Thread J-P Nurmi
Hi Freddy, Add "QT += quickcontrols2" to your application's .pro file. http://doc.qt.io/qt-5/qtquickcontrols2-index.html -- J-P Nurmi On 4 Oct 2016, at 06:59, Freddy Martinez Garcia <freddy311...@gmail.com<mailto:freddy311...@gmail.com>> wrote: Hi guys... as the doc sa

Re: [Interest] A question about QtQuick.Control 2.0 ComboBox customisation

2016-09-27 Thread J-P Nurmi
The documentation for ComboBox::popup seems rather scarce, so I've added a related note to https://bugreports.qt.io/browse/QTBUG-55904. - http://doc.qt.io/qt-5/qml-qtquick-controls2-combobox.html#popup-prop - http://doc.qt.io/qt-5/qml-qtquick-controls2-popup.html -- J-P Nurmi

Re: [Interest] A question about QtQuick.Control 2.0 ComboBox customisation

2016-09-27 Thread J-P Nurmi
ler.settings.baseColor } contentItem: Text { id: label // ... } } -- J-P Nurmi ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] QtQuick Controls 2.0 copy/past

2016-09-03 Thread J-P Nurmi
: https://codereview.qt-project.org/#/c/167017/ They were merged to the dev-branch before 5.8 was branched off. -- J-P Nurmi ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Qt 5.7 - iOS - module "QtGraphicalEffects" plugin "qtgraphicaleffectsplugin" not found

2016-08-11 Thread J-P Nurmi
same variable could be used for qmlimportscanner... -- J-P Nurmi ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Why does QML prefer 'count' over '.length'?

2016-07-28 Thread J-P Nurmi
o make it look like that. While primitive containers can be used in any context, item models are deliberately designed to feed data to item views. That is the context where 'count' wins 'length' hands down. -- J-P Nurmi ___ Interest mailing li

Re: [Interest] Why does QML prefer 'count' over '.length'?

2016-07-26 Thread J-P Nurmi
eems rather > arbitrary to continue to use count. > > Specific places: > All models. DelegateModel, DelegateModelGroup, ListModel, etc. It's not that arbitrary. "Count" is used all over in item views and item models, in C++ and in QML. -- J-P Nurmi ___

Re: [Interest] Why does QML prefer 'count' over '.length'?

2016-07-26 Thread J-P Nurmi
ed? For something like ListView, both .length and .size would be ambiguous, whereas .count is not that easy to misunderstand, is it? -- J-P Nurmi ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Utilizing the GPU, how to start?

2016-07-06 Thread J-P Nurmi
ntly limit the amount of QML. Interesting choice. I would have done the exact opposite. Application logic in C++ and UI declaration in QML. Declaring fluid animated UIs in QML is a joy, writing animations in C++ is not so. -- J-P Nurmi ___ Interest mai

Re: [Interest] ApplicationWindow is not an Item?

2016-06-16 Thread J-P Nurmi
/QTBUG-28957 that you're probably better off with the Shortcut QML type. -- J-P Nurmi ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] ApplicationWindow is not an Item?

2016-06-16 Thread J-P Nurmi
ched property work regardless, though. It should just forward it to the content item of the window. This has been discussed several times, but I don't remember why it wasn't done yet. -- J-P Nurmi ___ Interest mailing list Interest@qt-project.org http://li

Re: [Interest] qt.labs.controls - Flickable - Pane - Label: max width problem

2016-05-11 Thread J-P Nurmi
culates the required implicit height to fit all children). If you want ColumnLayout and RowLayout to resize the children to fill width and height, respectively, you can use the “Layout.fillWidth: true” and “Layout.fillHeight: true” attached properties for the children. For Label you have basically two o

Re: [Interest] qt.labs.controls / QtQuickControls2: ToolBar, Label / Image Colors, tinting...

2016-05-10 Thread J-P Nurmi
orrect ToolBar foreground color out of the box, when using one of the pre-defined primary colors. -- J-P Nurmi ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Qt 5.7 - Using File Selectors with Qt Quick Controls 2

2016-05-10 Thread J-P Nurmi
g_ios.png" : "img_android.png" } thanks Hi, Notice that you can combine file selectors, for example: - img.png // the base image must always exist - +material/img.png // used with the material style, except on ios - +material/+ios/img.pn

Re: [Interest] React to signal only when at top of StackView

2016-05-07 Thread J-P Nurmi
> On 06 May 2016, at 23:27, Elvis Stansvik <elvst...@gmail.com> wrote: > > 2016-05-06 22:41 GMT+02:00 J-P Nurmi <jpnu...@qt.io>: >> >> >> The Stack.status property must be attached to an item that is in a >> StackView. In the snippet above, it is

Re: [Interest] React to signal only when at top of StackView

2016-05-06 Thread J-P Nurmi
id: rect // <== anchors.fill: parent color: "green" Connections { target: rect.Stack.status === rect.Stack.Active ? button : null // <== onClicked: console.log("clicked") } } -- J-P Nurmi ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] qt.labs.controls / QtQuickControls2: ToolBar, Label / Image Colors, tinting...

2016-05-06 Thread J-P Nurmi
Hi ekke, One possibility for tinting images could be to use ColorOverlay from QtGraphicalEffects: http://doc.qt.io/qt-5/qml-qtgraphicaleffects-coloroverlay.html -- J-P Nurmi On 06 May 2016, at 19:49, ekke <e...@ekkes-corner.org<mailto:e...@ekkes-corner.org>> wrote: just notice

Re: [Interest] QtLabsControls Button - Invalid property name "label".

2016-04-25 Thread J-P Nurmi
Is so there are going to be some minor API differences between the tech preview in 5.6 beta and the final release in 5.7.0. Button { contentItem: Item { … } } -- J-P Nurmi ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest