Re: [Interest] QML animation flickering on Ubuntu

2015-01-13 Thread Sean Harmer
On Tuesday 13 January 2015 17:02:40 Dmitry Volosnykh wrote: I've tried to capture the issue: see http://youtu.be/KUNyk2YWBaY The flickering is more obvious in this video since capturing software affecting performance. When running application with no video recording there's no visual artifacts

Re: [Interest] QML animation flickering on Ubuntu

2015-01-13 Thread Keith Gardner
Can something further be done to avoid flickering? If you are just translating the item by changing the X value, try using the XAnimator (http://doc.qt.io/qt-5/qml-qtquick-xanimator.html). It performs the movement on the render thread instead of the gui thread. I have experienced big

Re: [Interest] QML animation flickering on Ubuntu

2015-01-13 Thread Dmitry Volosnykh
Keith, thank you for your suggestion. At least I've missed this feature in several places: The value of the QML property will be updated after the animation has finished. The property is not updated while the animation is running. Alas, it did not solve my issue. Honestly speaking, I did not

Re: [Interest] Best practices for making a Qt facade for a C library

2015-01-13 Thread Damian Ivanov
Hi Dmitriy, Wanted to ask if your stuff is open source and is available on github? 2015-01-14 0:26 GMT+01:00 Ian Monroe i...@monroe.nu: On Tue, Jan 13, 2015 at 10:57 AM, Dmitriy Purgin dpur...@gmail.com wrote: Hello all, I'm developing a small Qt project for SailfishOS (a Linux

Re: [Interest] QML animation flickering on Ubuntu

2015-01-13 Thread Dmitry Volosnykh
Well, I've searched for this variable, and for tearing issues on Ubuntu with NVidia adapters. There are multiple reports and many solutions provided. At least I know the direction for further investigations. Thank you, Sean. On Tue, Jan 13, 2015 at 10:21 PM, Sean Harmer sean.har...@kdab.com

[Interest] Best practices for making a Qt facade for a C library

2015-01-13 Thread Dmitriy Purgin
Hello all, I'm developing a small Qt project for SailfishOS (a Linux distribution, Meego descendant, Qt 5 based) and had to use some of PulseAudio (a sound server for POSIX OSes) API functions which are pure C. I've wrapped them in a couple of classes but it's evolving to something bigger now and

Re: [Interest] QML animation flickering on Ubuntu

2015-01-13 Thread Dmitry Volosnykh
Sean, thanks for your input. I have NVidia GeForce 9800M GTX, and VSync is enabled. Double-checked that. Another enabled options: Allow Flipping and Use Conformant Texture Clamping. Do not know what are they for... Regarding your question about monitor's refresh rate. Here is xrandr's output: $

Re: [Interest] Revert the selection in a QTreeView

2015-01-13 Thread Tony Rietwyk
Glenn wrote: Sent: Wednesday, 14 January 2015 8:45 AM Hi, In a QTreeView how can I revert the selection? The behaviour I want is that when the user selects an item, then based on some other state, it will either accept the selection or message the user and revert to the previous

Re: [Interest] Bluetooth Low Energy on Windows: Options and feasabilty of implementing own backend

2015-01-13 Thread Denis Shienkov
I can choose to „Add Bluetooth devices“ in the menu of that icon but the scan does neither show my peripheral nor my TVBluetooth This means that your demo FW has errors in its implementation. Windows support BLE stack according to specification, so, maybe your FW uses wrong states or handshake

Re: [Interest] How can I use QPointer as an argument?

2015-01-13 Thread Bo Thorsen
Den 13-01-2015 kl. 04:13 skrev Guenther Boelter: I have a 'small' problem and my timeline is running so fast ... How can I use QPointer as an argument? A simple void myFunction( QPointer *myPointer ) { // do something } myFunction( myPointer ); returns 'error: ‘QPointer’ is not a

Re: [Interest] Bluetooth Low Energy on Windows: Options and feasabilty of implementing own backend

2015-01-13 Thread Denis Shienkov
Windows is successfully installing a driver and shows the bluetooth icon in the system tray. For me it looks like my Windows/Desktop does not care for bluetooth LE at all. Make sure that your DeviceManager has Bluetooth *LE* enumerator device. 2015-01-13 14:25 GMT+03:00 Denis Shienkov

[Interest] QML animation flickering on Ubuntu

2015-01-13 Thread Dmitry Volosnykh
I've tried to capture the issue: see http://youtu.be/KUNyk2YWBaY The flickering is more obvious in this video since capturing software affecting performance. When running application with no video recording there's no visual artifacts for about 15 seconds. Then the top of the green bar visually

Re: [Interest] How can I use QPointer as an argument?

2015-01-13 Thread André Somers
Guenther Boelter schreef op 13-1-2015 om 04:13: Sorrry, I have a 'small' problem and my timeline is running so fast ... How can I use QPointer as an argument? A simple void myFunction( QPointer *myPointer ) { // do something } myFunction( myPointer ); returns 'error:

Re: [Interest] Revert the selection in a QTreeView

2015-01-13 Thread Nurmi J-P
On 13 Jan 2015, at 22:45, Glenn Ramsey g...@componic.co.nz wrote: Hi, In a QTreeView how can I revert the selection? The behaviour I want is that when the user selects an item, then based on some other state, it will either accept the selection or message the user and revert to the

[Interest] Revert the selection in a QTreeView

2015-01-13 Thread Glenn Ramsey
Hi, In a QTreeView how can I revert the selection? The behaviour I want is that when the user selects an item, then based on some other state, it will either accept the selection or message the user and revert to the previous selection. The currentChanged method gives me the QModelIndex of the

Re: [Interest] Revert the selection in a QTreeView

2015-01-13 Thread Glenn Ramsey
On 14/01/15 11:50, Nurmi J-P wrote: On 13 Jan 2015, at 22:45, Glenn Ramsey g...@componic.co.nz wrote: Hi, In a QTreeView how can I revert the selection? The behaviour I want is that when the user selects an item, then based on some other state, it will either accept the selection or

Re: [Interest] Best practices for making a Qt facade for a C library

2015-01-13 Thread Ian Monroe
On Tue, Jan 13, 2015 at 10:57 AM, Dmitriy Purgin dpur...@gmail.com wrote: Hello all, I'm developing a small Qt project for SailfishOS (a Linux distribution, Meego descendant, Qt 5 based) and had to use some of PulseAudio (a sound server for POSIX OSes) API functions which are pure C. I've