Re: [Interest] widget rendering (alignment, sizing) issues on OS X

2016-05-30 Thread Adam Light
On Mon, May 30, 2016 at 12:39 AM, René J. V. wrote: > René J.V. Bertin wrote: > > Hi, > > > > >> In our application, we have the following code in a > >> QApplication::eventFilter reimplementation for this exact reason: > >> > >> case QEvent::ChildAdded: > > ... > >>

Re: [Interest] Advanced QString::arg overloads from QML?

2016-05-30 Thread Elvis Stansvik
Den 30 maj 2016 4:49 em skrev "Jérôme Godbout" : > > You may want to convert the number from javascript before setting the arg: > > Int: > myIntValue.toString(10) > Float: > myFloatValue.toFixed(2) > myFloatValue.toPrecision(6) > > For leading 0 on 16 value: >

Re: [Interest] Advanced QString::arg overloads from QML?

2016-05-30 Thread Jérôme Godbout
You may want to convert the number from javascript before setting the arg: Int: myIntValue.toString(10) Float: myFloatValue.toFixed(2) myFloatValue.toPrecision(6) For leading 0 on 16 value: ("000" + myIntValue.toString(10)).substr(-16) Jerome On Sun, May 29, 2016 at 6:36 AM, Elvis

Re: [Interest] Solved: plugin trouble with webkit using QT_SCALE_FACTOR

2016-05-30 Thread Konstantin Tokarev
30.05.2016, 16:15, "Frank Hemer" : >  On Monday 30 May 2016 16:12:44 Konstantin Tokarev wrote: >>   30.05.2016, 15:59, "Frank Hemer" : >>   > On Friday 20 May 2016 13:51:04 Frank Hemer wrote: >>   >> Hi, >>   >> >>   >> I really appreciate the option to globally

Re: [Interest] Solved: plugin trouble with webkit using QT_SCALE_FACTOR

2016-05-30 Thread Frank Hemer
On Monday 30 May 2016 16:12:44 Konstantin Tokarev wrote: > 30.05.2016, 15:59, "Frank Hemer" : > > On Friday 20 May 2016 13:51:04 Frank Hemer wrote: > >> Hi, > >> > >> I really appreciate the option to globally scale qt applications with > >> QT_SCALE_FACTOR. After some

Re: [Interest] Solved: plugin trouble with webkit using QT_SCALE_FACTOR

2016-05-30 Thread Konstantin Tokarev
30.05.2016, 15:59, "Frank Hemer" : > On Friday 20 May 2016 13:51:04 Frank Hemer wrote: >>  Hi, >> >>  I really appreciate the option to globally scale qt applications with >>  QT_SCALE_FACTOR. After some tweaking I have managed to work around most of >>  the bugs that are still

[Interest] Solved: plugin trouble with webkit using QT_SCALE_FACTOR

2016-05-30 Thread Frank Hemer
On Friday 20 May 2016 13:51:04 Frank Hemer wrote: > Hi, > > I really appreciate the option to globally scale qt applications with > QT_SCALE_FACTOR. After some tweaking I have managed to work around most of > the bugs that are still there. > > Now qwebengine currently does not provide pdf

[Interest] QList to QML transfer optimization

2016-05-30 Thread Maxim Bescherevnykh
Hello, Is possible to transfer QList to QML (to Map path) without temporary copy conversion to QVariantList? What is fastest way to convert QList to QVariantList? Currently i doing it that way: QVariantList tmp; tmp.reserve(data.size()); for (const QGeoCoordinate& i: data)

Re: [Interest] widget rendering (alignment, sizing) issues on OS X

2016-05-30 Thread René J . V . Bertin
René J.V. Bertin wrote: Hi, > >> In our application, we have the following code in a >> QApplication::eventFilter reimplementation for this exact reason: >> >> case QEvent::ChildAdded: > ... >> theChildWidget->setAttribute(Qt::WA_LayoutUsesWidgetRect, true); > > That's very interesting, I