Re: [Interest] QJSValue as parameter to Q_INVOKABLE

2014-04-29 Thread Gunnar Sletta
Your QObject needs to have Q_OBJECT in it, but aside from that that, it looks sane enough. I've been using the same approach in https://codereview.qt-project.org/#change,72338 and it works like a charm there. cheers, Gunnar On 29 Apr 2014, at 16:03, Gav Wood wrote: > Hi, > > I'd like to ex

Re: [Interest] QGraphicsSceneMouseEvent, mapFromScene...

2014-04-29 Thread Alexander Semke
> Probably, you have messed up with screenPos() and scenePos() methods > of QGraphicsSceneMouseEvent class? Please, double check your test code. You're right. I really used screenPos instead of scenePos at one place... Thank you for the hint! Alexander ___

[Interest] GridView

2014-04-29 Thread Joshua Kolden
I get strange scrolling behavior with QML's GridView on OSX with with a touchpad doing the typical two finger scrolling gesture. Click drag seems to be doing what two finger click drag should be. Is this a bug or am I missing a step? Also I have a large data base (orm) of image assets that I

Re: [Interest] Text not displaying correctly in some cases (Qt 5.3, Mac OSX)

2014-04-29 Thread Adam Light
It appears that what I reported is a consequence of https://codereview.qt-project.org/#change,83189 and was also reported in https://bugreports.qt-project.org/browse/QTBUG-38363. The issue was fixed in 40b195d0f9ee7ef1b917a635bb073fa108b2ed40 and after updating my Qt source and rebuilding I'm no l

Re: [Interest] QAction shortcuts in modal dialogs

2014-04-29 Thread John Weeks
On Apr 29, 2014, at 3:59 AM, Rutledge Shawn wrote: >> Our application runs on Macintosh and Windows desktop systems. On Macintosh >> it is usual to have the menu bar active even when a modal dialog is >> displayed, and it can be used to cut/copy/paste in editable fields in the >> dialog. >>

[Interest] Text not displaying correctly in some cases (Qt 5.3, Mac OSX)

2014-04-29 Thread Adam Light
Since updating my git checkout of Qt 5.3 a few days ago to the release branch (I was previously using the stable branch as of early April) and rebuilding Qt, I noticed that I sometimes get weird text drawing problems in my application on Mac OSX 10.9.2 but not Windows 7. If I compile my applicatio

[Interest] QJSValue as parameter to Q_INVOKABLE

2014-04-29 Thread Gav Wood
Hi, I'd like to expose an API within a QJSEngine JavaScript environment for an asynchronous callback. Thus I want to expose a method "regCallback": foo.regCallback(function() { alert("Hello"); }) and allow C++ to call that function at some later point. The function is exposed as a QJSValue, thu

Re: [Interest] QtMultimedia usage for fetching coverArtUrl in Qt5.3

2014-04-29 Thread Lopes Yoann
On Apr 17, 2014, at 12:05 PM, Ramakanthreddy Kesireddy wrote: In Qt5.3, is it possible to retrieve audio thumbnail on embedded Linux using QML Audio type or metadata? Am interested in CoverArtUrlSmall or CoverrtUrlLarge metadata from the audio file-path or do I need to go for any thirdparty libra

Re: [Interest] QGraphicsSceneMouseEvent, mapFromScene...

2014-04-29 Thread Dmitrii Volosnykh
As for me the output of the code below is as expected when placed into QGraphicsItem::mousePressEvent(): qDebug() << "scene:" << event->scenePos(); qDebug() << "map to scene:" << mapToScene(event->pos()); qDebug() << "local:" << event->pos(); qDebug() << "map to local:" << mapFromS

Re: [Interest] QAction shortcuts in modal dialogs

2014-04-29 Thread Rutledge Shawn
On 19 Apr 2014, at 2:03 AM, John Weeks wrote: > Our application runs on Macintosh and Windows desktop systems. On Macintosh > it is usual to have the menu bar active even when a modal dialog is > displayed, and it can be used to cut/copy/paste in editable fields in the > dialog. > > Qt, on th

Re: [Interest] QML/Quick PathView with custom animation without user interaction

2014-04-29 Thread Cornelius Hald
On Sun, 2014-04-27 at 11:48 +0100, Sean Harmer wrote: > On Sunday 27 April 2014 11:54:08 Cornelius Hald wrote: > > On Sat, 2014-04-26 at 17:03 -0500, Keith Gardner wrote: > > > On Saturday, April 26, 2014, Cornelius Hald wrote: > > > Hi, > > > > > > I'm looking for a way t

[Interest] Qt Contributors' Summit reminder

2014-04-29 Thread Kojo Tero
Hello, This is a reminder for everyone who has contributed to Qt in the past year to request an invite to the Qt Contributors' Summit. The event will be in Berlin, June 10-11th. It's a meeting for Qt contributors and developers. A time to look at where the project is and plan ahead for the fut