[Interest] Using Normal QPainter for Qt3D

2016-03-22 Thread Mohd Z|eeshan Farooque
Hi, Req: Print out of 3D structure through QPainter with in QRect. How cam I use normal QPainter for Qt3D rendering because I want to take print (or render somewhere else like on any widget, window,etc) of current static 3d Structure on  root entity. Or is there any other better way to do this.

[Interest] Setting currentIndex in Qt Quick ComboBox does not work

2016-03-22 Thread Fabian Sturm
Hello list, I hope this is the right forum to write, even though my sample code is in Python but I think the problem lies deeper in the event propagation or similar. What I want to do looks simple at first. I want to show a ComboBox with a list of items in it and one of them is selected. On a pus

Re: [Interest] Structuring of QML app as set of interlinked screens for maximum code reuse

2016-03-22 Thread Ben Lau
If I understand your question correctly, you may use alias property to point to children of main / navigation bar. In Angular JS, they call this feature as "transclude". For example, Screen.qml: Item { property alias main : mainContainer.children } CustomScreen.qml: Screen { main: Item {

Re: [Interest] Structuring of QML app as set of interlinked screens for maximum code reuse

2016-03-22 Thread Martin Leutelt
Von: Elvis Stansvik An: "interest@qt-project.org Interest" Gesendet: 22.03.2016 20:19 Betreff: Re: [Interest] Structuring of QML app as set of interlinked screens for maximum code reuse 2016-03-22 20:13 GMT+01:00 Elvis Stansvik : > Hi all, > > I'm working on a fullscreen Qt Qu

Re: [Interest] Ensuring that a queued invocation occurs after deferred deletion

2016-03-22 Thread Nye
Hello, I don't work with QML, but I'm pretty sure the events are processed in the order of their appearance in the event queue. So if you have a `deleteLater` call (i.e. you have a QEvent::DeferredDelete, which is scheduled through the event loop) any queued call to a slot (i.e. QEvent::MetaCall) t

Re: [Interest] Ensuring that a queued invocation occurs after deferred deletion

2016-03-22 Thread Sina Dogru
Hi, I saw your bug report. I encountered the same problem last week and I found a workaround by passing the properties that belong to another object one by one to JSon object. For example, setSource("qrc:/LoaderItem.qml", { "color": theGame.player.color }) But in my case there was only one proper

Re: [Interest] Structuring of QML app as set of interlinked screens for maximum code reuse

2016-03-22 Thread Elvis Stansvik
2016-03-22 20:13 GMT+01:00 Elvis Stansvik : > Hi all, > > I'm working on a fullscreen Qt Quick/QML app (for machine control) > which will consist of a set of interlinked screens, with key presses > as the only interaction method. > > Each screen will have roughly the following QML structure: > > Re

[Interest] Structuring of QML app as set of interlinked screens for maximum code reuse

2016-03-22 Thread Elvis Stansvik
Hi all, I'm working on a fullscreen Qt Quick/QML app (for machine control) which will consist of a set of interlinked screens, with key presses as the only interaction method. Each screen will have roughly the following QML structure: Rectangle { NavBar { id: topBar ...

[Interest] Ensuring that a queued invocation occurs after deferred deletion

2016-03-22 Thread Curtis Mitch
I recently discovered [1] that Loader defers deletion of items via deleteLater(). Up until that point, I had been treating certain operations in my program as synchronous (as I haven't introduced threads yet). Now that I can't safely assume that UI items will be instantly destroyed, I have to

Re: [Interest] "Internal mouse button tracking invalid" messages

2016-03-22 Thread John Weeks
> On Mar 22, 2016, at 5:30 AM, René J. V. Bertin wrote: > > Any idea if the proposed changes in the code reviews are in any way > backportable > to 5.6? No idea at all. I only know about the bug because it affects us. -John Weeks ___ Interest mail

[Interest] Qt/JNI blows up on android when activity is closed

2016-03-22 Thread Jason H
As my app's tendrils root further into the mobile OSs, I've found one very troubling issue. I have an alarm manager and a service to handle the pending intent. The service talks to Qt through JNI. This works for as long as my Qt Activity exists. However if the activity is closed (user task kills

Re: [Interest] Astropad and Tablet events

2016-03-22 Thread Alexei Gilchrist
On 22 Mar 2016, at 20:18, Rutledge Shawn wrote: On 22 Mar 2016, at 02:30, Alexei Gilchrist wrote: Hi all, I'm trying to use Astropad (app provides OsX tablet interface with an iPad) with an app I’ve written and I'm getting odd results with tablet events in QT. First of all, I've been in co

Re: [Interest] "Internal mouse button tracking invalid" messages

2016-03-22 Thread René J . V . Bertin
John Weeks wrote: > https://bugreports.qt.io/browse/QTBUG-42846 Thanks, I think that answers my question. Any idea if the proposed changes in the code reviews are in any way backportable to 5.6? R. ___ Interest mailing list Interest@qt-project.org

Re: [Interest] Astropad and Tablet events

2016-03-22 Thread Rutledge Shawn
> On 22 Mar 2016, at 02:30, Alexei Gilchrist wrote: > > Hi all, > > I'm trying to use Astropad (app provides OsX tablet interface with an iPad) > with an app I’ve written and I'm getting odd results with tablet events in > QT. First of all, I've been in contact with the devs and they seem to t

[Interest] Freetype and color fonts

2016-03-22 Thread Illogica Studio
Hi all, I've been trying to use Google color emoji font https://www.google.com/get/noto/#emoji-qaae-color with no luck. When I try to load the font using FontLoader I obtain an error: QML FontLoader: Cannot load font: "file:///E:/Qt/FontTest/NotoColorEmoji.ttf" but the font is in place, I can suc