[Interest] ColumnLayout | Repeater | implicitHeight of delegate

2018-03-03 Thread Igor Mironchik
Hello, ColumnLayout {     width: appWindow.width     Repeater {     model: searchModel     delegate: Item {     Layout.fillWidth: true     implicitHeight: childrenRect.height How can I set implicitHeight of delegate so there will no bind loops?

Re: [Interest] ColumnLayout | Repeater | implicitHeight of delegate

2018-03-03 Thread Igor Mironchik
Hi, Solution found: in the delegate I have one Row, and I just set implicitHeight to row.implicitHeight On 03.03.2018 11:42, Igor Mironchik wrote: Hello, ColumnLayout {     width: appWindow.width     Repeater {     model: searchModel     delegate: Item {   

Re: [Interest] RowLayout with Text with wrap mode

2018-03-03 Thread Igor Mironchik
I know that changing RowLayout to simple Row will solve the problem. But is it possible to solve this with layout? On 03.03.2018 10:24, Igor Mironchik wrote: Hello, I have a delegate for ListView with RowLayout inside: RowLayout {     anchors.fill: parent     spacing:

Re: [Interest] Different height of rows in ListView

2018-03-03 Thread Tomasz Olszak
Yes AFAIK row height equals delegate height. 3 mar 2018 8:48 AM "Igor Mironchik" napisał(a): > Hello, > > Is it possible to have rows with different height in ListView in QML? > > ___ > Interest mailing list > Interest@qt-project.org > http://lists.qt-

[Interest] Pi 3 GPU ans QImage?

2018-03-03 Thread Jason H
I need to do some image processing on a Pi3, and I am hoping I can use the GPU. Reports say it's got 6 times the floating point power of a single core. I need to basically do the correlation (as opposed to convolution) of two QImages, where one image (the smaller) is slid over the larger to crea

[Interest] Unit test framework

2018-03-03 Thread Himanshu Vishwakarma
Hi, I am working on the software testing which has lots of files of .qml, .js and .rcc( including .qrc) and some file of C++. For the C++, using the QtTest libraries for the unit test and testing is almost done. But another main part of the software is left which having the code of QML, JavaScri

Re: [Interest] Unit test framework

2018-03-03 Thread Jason H
http://doc.qt.io/qt-5/qtquick-qtquicktest.html But for GUI testing, I think FrogLogic has the only product to exerceise a GUI.   Sent: Saturday, March 03, 2018 at 4:16 PM From: "Himanshu Vishwakarma" To: interest@qt-project.org Subject: [Interest] Unit test framework Hi, I am working on the

Re: [Interest] Determining dependencies for Qt modules

2018-03-03 Thread Patrick Stinson
> On Mar 2, 2018, at 10:28 PM, Thiago Macieira > wrote: > > On Friday, 2 March 2018 17:11:55 PST Patrick Stinson wrote: >> I am trying to create the minimum Qt build for QtWidgets, QtQuickControls, >> QtLocation, and QtPurchasing. But when I configure with the following >> command line: > > B

[Interest] QML Layouts

2018-03-03 Thread Igor Mironchik
Hello, Could anybody explain me what did I do wrong? Wron Layout import QtQuick 2.7 import QtQuick.Controls 2.2 import QtQuick.Layouts 1.3 ScrollView {     id: screen     ScrollBar.horizontal.policy: ScrollBar.AlwaysOff     ScrollBar.vertical.policy: ScrollBar.AlwaysOff     leftPadding: conten

Re: [Interest] QML Layouts

2018-03-03 Thread Igor Mironchik
Hi, QML Layouts this is just a magic... I solved the problem with the following fixes: import QtQuick 2.7 import QtQuick.Controls 2.2 import QtQuick.Layouts 1.3 ScrollView {     id: screen     ScrollBar.horizontal.policy: ScrollBar.AlwaysOff     ScrollBar.vertical.policy: ScrollBar.AlwaysOff