[Interest] Different height of rows in ListView

2018-03-02 Thread Igor Mironchik
Hello, Is it possible to have rows with different height in ListView in QML? ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] RowLayout with Text with wrap mode

2018-03-02 Thread Igor Mironchik
Hello, I have a delegate for ListView with RowLayout inside: RowLayout {     anchors.fill: parent     spacing: 20     width: parent.width     ColumnLayout {     id: col     anchors.left: parent.left

[Interest] Recording gui macros for unit tests with Qt

2018-03-02 Thread Patrick Stinson
Hello! Is there a way to setup a unit test to record mouse and keyboard input for setting up a unit test prior to data validation? Otherwise busting out the pixel ruler seems like a pain in the butt… It seems like recording gui macros could be a useful thing to do anyway… Thanks! smime.p7s De

Re: [Interest] Determining dependencies for Qt modules

2018-03-02 Thread Thiago Macieira
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: Build everything. That's the easiest. Anyway, your problem was skipping

[Interest] Determining dependencies for Qt modules

2018-03-02 Thread Patrick Stinson
Hello! I am trying to create the minimum Qt build for QtWidgets, QtQuickControls, QtLocation, and QtPurchasing. But when I configure with the following command line: ./configure -opensource -debug-and-release -nomake examples -nomake tests -skip qtactiveqt -skip qtandroidextras -skip qtcanvas3

Re: [Interest] QPainter rotate bounding rect?

2018-03-02 Thread Giuseppe D'Angelo
Il 02/03/2018 18:51, Jason H ha scritto: How can I find the proper size that out should be, and where to place the image for drawImage within the new bounding box? Use QTransform::mapRect() or a similar function. HTH, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer

Re: [Interest] QPainter rotate bounding rect?

2018-03-02 Thread Murphy, Sean
I didn't check to see if it's built in to Qt or not, but here's the math you need to make it work yourself http://iiif.io/api/annex/notes/rotation/ Sean This message has been scanned for malware by Forcepoint. www.forcepoint.com ___ Interest mailing

[Interest] QPainter rotate bounding rect?

2018-03-02 Thread Jason H
When rotating an image about its center (code below) the corers get cut off. It needs to just be a little wider and a little taller. Is there a calculation already in Qt? How can I find the proper size that out should be, and where to place the image for drawImage within the new bounding box? Q

Re: [Interest] High-dpi fixing for Qt 5.5

2018-03-02 Thread Elvis Stansvik
Den 2 mars 2018 6:28 em skrev "Elvis Stansvik" : Den 2 mars 2018 6:05 em skrev "John Weeks" : Do it in the showEvent()? Hum, that's a good idea, thanks. I guess the parentage up to a top level widget will always have been established by then, and that top level window will always have a windowH

Re: [Interest] High-dpi fixing for Qt 5.5

2018-03-02 Thread Elvis Stansvik
Den 2 mars 2018 6:05 em skrev "John Weeks" : Do it in the showEvent()? Hum, that's a good idea, thanks. I guess the parentage up to a top level widget will always have been established by then, and that top level window will always have a windowHandle()? I guess in my event handler I should als

Re: [Interest] High-dpi fixing for Qt 5.5

2018-03-02 Thread John Weeks
Do it in the showEvent()? > On Mar 2, 2018, at 8:16 AM, Elvis Stansvik wrote: > > 2018-03-02 16:26 GMT+01:00 Martins, Sérgio : >> On 2018-03-02 15:21, Elvis Stansvik wrote: >>> >>> 2018-03-02 16:18 GMT+01:00 Elvis Stansvik : 2018-03-02 15:54 GMT+01:00 Nikos Chantziaras : > >

Re: [Interest] High-dpi fixing for Qt 5.5

2018-03-02 Thread Elvis Stansvik
2018-03-02 16:26 GMT+01:00 Martins, Sérgio : > On 2018-03-02 15:21, Elvis Stansvik wrote: >> >> 2018-03-02 16:18 GMT+01:00 Elvis Stansvik : >>> >>> 2018-03-02 15:54 GMT+01:00 Nikos Chantziaras : On 02/03/18 16:37, Elvis Stansvik wrote: > > > [...] > How can I (as applicati

Re: [Interest] High-dpi fixing for Qt 5.5

2018-03-02 Thread Martins , Sérgio
On 2018-03-02 15:21, Elvis Stansvik wrote: 2018-03-02 16:18 GMT+01:00 Elvis Stansvik : 2018-03-02 15:54 GMT+01:00 Nikos Chantziaras : On 02/03/18 16:37, Elvis Stansvik wrote: [...] How can I (as application developer) get notified of screen changes of non-QWindow-backed widgets? There se

Re: [Interest] High-dpi fixing for Qt 5.5

2018-03-02 Thread Elvis Stansvik
2018-03-02 16:18 GMT+01:00 Elvis Stansvik : > 2018-03-02 15:54 GMT+01:00 Nikos Chantziaras : >> On 02/03/18 16:37, Elvis Stansvik wrote: >>> >>> [...] >>> How can I (as application developer) get notified of screen changes of >>> non-QWindow-backed widgets? >> >> >> There seems to be two ways to do

Re: [Interest] High-dpi fixing for Qt 5.5

2018-03-02 Thread Elvis Stansvik
2018-03-02 15:54 GMT+01:00 Nikos Chantziaras : > On 02/03/18 16:37, Elvis Stansvik wrote: >> >> [...] >> How can I (as application developer) get notified of screen changes of >> non-QWindow-backed widgets? > > > There seems to be two ways to do this. One is using one of the QScreen > signals: > >

Re: [Interest] High-dpi fixing for Qt 5.5

2018-03-02 Thread Nikos Chantziaras
On 02/03/18 16:37, Elvis Stansvik wrote: [...] How can I (as application developer) get notified of screen changes of non-QWindow-backed widgets? There seems to be two ways to do this. One is using one of the QScreen signals: http://doc.qt.io/qt-5/qscreen.html However, another one seems t

Re: [Interest] High-dpi fixing for Qt 5.5

2018-03-02 Thread Elvis Stansvik
2015-03-24 17:01 GMT+01:00 Till Oliver Knoll : > > > Am 24.03.2015 um 15:46 schrieb Agocs Laszlo : > > Because Qt 3D most likely misses a few multiplications by > devicePixelRatio(). Probably easy to correct. > > > > See > http://www.qtdeveloperdays.com/sites/default/files/presentation_pdf/AgocsLas