Re: [Interest] Any possible workaround for QTBUG-40889 ?

2016-07-01 Thread Elvis Stansvik
2016-06-30 18:59 GMT+02:00 Thiago Macieira : > On quinta-feira, 30 de junho de 2016 17:16:54 PDT Elvis Stansvik wrote: >> Would it be possible to install a QAbstractNativeEventFilter and >> somehow "fix-up" the event combination that makes the event >> compression fail?

Re: [Interest] font.pixelSize vs height?

2016-07-01 Thread Kristoffersen, Even (NO14)
Height and fontPixelSize is not related in any way as far as I know. Height is just the height of the bounding box for the text. Also, you do get the real font.pixelSize when asking telephone. It's set to that in your component, but not overridden in your instantiation. -Even -Original

[Interest] QWidgetTextControl

2016-07-01 Thread Igor Mironchik
Hi. I'm debugging strange behavior of QGraphicsTextItem. In: QTextDocument *QWidgetTextControl::document() const { Q_D(const QWidgetTextControl); return d->doc; } d->doc is 0x-76b71fba74b7928c What is can be? Thank you. ___ Interest mailing

Re: [Interest] Any possible workaround for QTBUG-40889 ?

2016-07-01 Thread Elvis Stansvik
2016-06-30 18:59 GMT+02:00 Thiago Macieira : > On quinta-feira, 30 de junho de 2016 17:16:54 PDT Elvis Stansvik wrote: >> Would it be possible to install a QAbstractNativeEventFilter and >> somehow "fix-up" the event combination that makes the event >> compression fail?

Re: [Interest] Any possible workaround for QTBUG-40889 ?

2016-07-01 Thread Elvis Stansvik
2016-07-01 14:01 GMT+02:00 Elvis Stansvik : > 2016-06-30 18:59 GMT+02:00 Thiago Macieira : >> On quinta-feira, 30 de junho de 2016 17:16:54 PDT Elvis Stansvik wrote: >>> Would it be possible to install a QAbstractNativeEventFilter and >>> somehow

Re: [Interest] QWidgetTextControl

2016-07-01 Thread Igor Mironchik
Hi. This happens in two lines of code: m_form->updateDocItemInMap( elem->document(), elem ); QObject::connect( elem->document(), ::undoCommandAdded, m_form, ::undoCommandInTextAdded ); where elem is QGraphicsTextItem... first elem->document() return 0x89d050 and second those broken

Re: [Interest] QWidgetTextControl

2016-07-01 Thread Igor Mironchik
Hi, I found the problem. Please forget. On 01.07.2016 13:55, Igor Mironchik wrote: Hi. This happens in two lines of code: m_form->updateDocItemInMap( elem->document(), elem ); QObject::connect( elem->document(), ::undoCommandAdded, m_form, ::undoCommandInTextAdded ); where elem is

Re: [Interest] Any possible workaround for QTBUG-40889 ?

2016-07-01 Thread Elvis Stansvik
Den 30 juni 2016 7:00 em skrev "Thiago Macieira" : > > On quinta-feira, 30 de junho de 2016 17:16:54 PDT Elvis Stansvik wrote: > > Would it be possible to install a QAbstractNativeEventFilter and > > somehow "fix-up" the event combination that makes the event > >

[Interest] QTextDocument and Undo

2016-07-01 Thread Igor Mironchik
Hi, Let's say I'm doing vector graphics editor with QGraphicsScene. I'm adding undo/redo commands to the editor. Everything is done, but... I have Text item derived from QGraphicsTextItem. QGraphicsTextItem implemented with QTextDocument and QTextDocument has its own undo stack. Fine! But...

Re: [Interest] QTextDocument and Undo

2016-07-01 Thread Rainer Wiesenfarth
2016-07-01 9:01 GMT+02:00 Igor Mironchik : > What if I create Text, then change text in it, then make two undo commands?! > It undo changing text and creation of Text item. Ok. But... > > Then I want to redo this two commands. I redo "create", so Text item now is >

Re: [Interest] QTextDocument and Undo

2016-07-01 Thread Igor Mironchik
Hi. On 01.07.2016 10:17, Rainer Wiesenfarth wrote: 2016-07-01 9:01 GMT+02:00 Igor Mironchik : What if I create Text, then change text in it, then make two undo commands?! It undo changing text and creation of Text item. Ok. But... Then I want to redo this two

[Interest] Anyone using Visual Studio Team Services Build to build a Qt project?

2016-07-01 Thread Edward Sutton
I understand Visual Studio Team Services requires a build agent to be installed on your own build machine or VM. Has anyone experience on this? How hard was it to get working? I am pretty happy with Jenkins CI but my team is moving to Visual Studio Team Services. -Ed This email and any

Re: [Interest] [Qt3D] Frustum culling

2016-07-01 Thread Sean Harmer
Hi, On Wednesday 29 June 2016 22:38:13 Émeric MASCHINO wrote: > Hi, > > I don't understand how frustum culling works with Qt3D (Qt 5.7 as time > of writing). > > From QFrustumCulling documentation [1]: "If present, only tries to > draw entities that are in the view of the camera. The camera is

[Interest] Roboto Consensed is way to not condensed

2016-07-01 Thread Jason H
>From QFontDatabase: "Roboto Condensed" "Regular" (9, 10, 11, 12, 13, 14, 18, 24, 36, 48, 64, 72, 96, 144, 288) "Roboto Condensed" "Bold" (9, 10, 11, 12, 13, 14, 18, 24, 36, 48, 64, 72, 96, 144, 288) "Roboto Condensed" "Light" (9, 10, 11, 12, 13, 14, 18, 24, 36, 48, 64, 72, 96, 144, 288)