Re: [Interest] Force property's binding to be executed from C++

2016-08-23 Thread Xavier Bigand
Thank you Jerome, I just found QQmlProperty::connectNotifySignal method. QQmlProperty seems much simpler to use instead of meta info (it is why it was added according to the documentation) I made a simple try and it's called just after the qml binding was updated, so it seems to do just what I wan

Re: [Interest] Force property's binding to be executed from C++

2016-08-23 Thread Jérôme Godbout
For the second part, you should expose those value into properties where the skin object refer too (most likely a map of properties where it can fetch those skin values). and emit Changed on that map when you data changed. I think you allow dynamic skinning that can be set from the outside and tho

Re: [Interest] Force property's binding to be executed from C++

2016-08-23 Thread Jérôme Godbout
Hi, You can retreive the properties changed from meta information of those properties on you object. I'm not sure I understand your use case but here's some info that may help. auto meta_obj = target_object_->metaObject(); for(int i = 0; i < meta_obj.propertyCount(); ++i) { auto meta_property =

Re: [Interest] Force property's binding to be executed from C++

2016-08-23 Thread Jason H
  Item { id: productOutdoor property color accentucationColor:: "#45a785" }   Item { id: productMyDreamHome property string skin: "Other" property color accentucationColor: colorForSkin(skin) function colorForSkin(skin) { if (skin === "MyDreamHomeThemeCanson")

Re: [Interest] Force property's binding to be executed from C++

2016-08-23 Thread Xavier Bigand
That the problem, I can easily call my SkinManager::updateSkin when the skin changed, because it's a cpp attribut too (the selected skin). But I have to call it when the QmlEngine have reevaluated the properties values not before. Getting property values directly from cpp code doesn't execute bind

Re: [Interest] Force property's binding to be executed from C++

2016-08-23 Thread Jason H
If I understand you correctly, and I probably don't, the skin component   Skin { signal skinPropertyChanged(); property color accentucationColor: "red" onAccentucationColorChanged: skinPropertyChanged() }   SkinManager {// exposed C++ class     id:skinManager     property var currentSkin

[Interest] Undo does not restore the selection.

2016-08-23 Thread Bill Crocker
Hello: I am using a QTextEdit widget. I select some text and then cut (delete) it, for example. If I undo that operation, the selection does not return to the state it was before the cut operation. I would expect an undo to put back the text I just deleted AND THEN reselect it. It this a bug? Is

[Interest] Force property's binding to be executed from C++

2016-08-23 Thread Xavier Bigand
Hi, To skin our GUI we have a dedicated qml component instanced once that contains all necessary values under properties. I am able to access to those properties from C++ code but they aren't correctly synchronized with the selected skin. Here is my cpp code : void SkinManagerWrapper::update

Re: [Interest] GPL violator

2016-08-23 Thread Tuukka Turunen
Hi, Yes, please report to le...@qt-project.org with as much details as possible, including the product in question, Qt version (if known), country (countries) as well as other details available. Yours, Tuukka From: Interest [mailto:interest-bounces+tuukka.turunen

[Interest] Qt Webkit on Linux Goes Blank When No Network Connection

2016-08-23 Thread Jason Kretzer
Hello all, I am back with another weird thing. I am using Qt 5.5 on Ubuntu 16.04. I am using the webkit widget to display some html in the application. The html is being served from a local web server on port 8080. The URL has a format like this: http://localhost:8080/SomeDirectory/index.h

Re: [Interest] Location when the App is Killed/Terminated/Suspended

2016-08-23 Thread Manoel Neto
Hi Nuno, Thanks for your reply. >Maybe you need to enable a specific capability. Yes. I did it. I add/enable some Key entries to info.plist like "location update” under the Background Modes" >Also, have you seen my last email? T Yes i did have. All my call back methods are ok. My problem is th

Re: [Interest] Location when the App is Killed/Terminated/Suspended

2016-08-23 Thread Nuno Santos
Manoel, Maybe you need to enable a specific capability. For instance, in audio, to have audio being played when the app is suspended you need to enable background audio. Sometimes, this capabilities are only possible being enabled by using xcode, therefore you need to use qmake to generate the

[Interest] Qt and directFB: QDirectFBScreen::createDFBSurface() Failed!

2016-08-23 Thread Franz Leu
Hi I'm using Qt 4.6.3 with directFB 1.4.3 on a embedded Linux system - I know these are old versions, but I cannot easily change this. Only with some webpages, loading into a webView works, and when showing I get the following error: QDirectFBScreen::createDFBSurface() Failed! Flags f Caps 1000

Re: [Interest] Location when the App is Killed/Terminated/Suspended

2016-08-23 Thread Manoel Neto
Hi Jason, Thanks again for your interest in my problem. But as i said, i did my Delegate and it works good. I did something like this: #include @interface QIOSApplicationDelegate @end @interface QIOSApplicationDelegate(QtAppDelegate) // Put here the name of your delegate...i used "QtAppDe

Re: [Interest] [Qt3D] Info about the robust wireframe shader

2016-08-23 Thread Sean Harmer
On Monday 22 August 2016 15:18:37 Catalin Moldovan wrote: > Hi, > > is there a way to find out more information about the wireframe shading > technique used in the Qt3D wireframe example (robustwireframe). Is there a > paper this technique is based on? (Maybe this one from Nvidia ?: > http://devel

Re: [Interest] [Qt3D] LogicalDevice with mouse wheel

2016-08-23 Thread Sean Harmer
On Monday 22 August 2016 21:53:01 Catalin Moldovan wrote: > Hi, > does anyone know if it is possible to use a LogicalDevice with mouse wheel > events. I would have expected the OrbitCameraController from Qt3D.Extras to > support zooming using the mouse wheel. I tried enhancing it but the > document

Re: [Interest] Myanmar-QWERTY crashes OS X application

2016-08-23 Thread Viktor Engelmann
I wouldn't suggest using virtual machines as reference, because you never know what problems might be solved (or caused) by the VM in the background... On 22.08.2016 21:30, Timothy W. Grove wrote: > > I don't think you are doing anything wrong; perhaps even doing > something right! My developmen