[Qt-qml] QML Slot
Jason H
scorp1us at yahoo.com
Wed Jul 14 23:44:24 CEST 2010
But to answer your question, yes that is what I've been told as well.
You should take a look at the labs postings on this subject and decide if you
ant to go that route. It is trivial enough to let the user choose.
----- Original Message ----
From: Jason H <scorp1us at yahoo.com>
To: Almo Nito <AlmoNito at gmx.de>; qt-qml at trolltech.com
Sent: Wed, July 14, 2010 11:37:09 AM
Subject: Re: [Qt-qml] QML Slot
I don't think you can just switch it to GL and call it a day. The raster engine
beats GL out of the water in a lot of cases. Also, my experiments have reduced
in lower quality in GL.
Also, GL does not work on my ATI hw, but works on my Nvidia.
>From the research I've done and seen, it looks like spending money on CPU for
the raster engine is better than spending it on the GPU. This means, more MHz
and not more cores.
----- Original Message ----
From: Almo Nito <AlmoNito at gmx.de>
To: qt-qml at trolltech.com
Sent: Wed, July 14, 2010 11:29:16 AM
Subject: Re: [Qt-qml] QML Slot
That Worked THX!
I was wondering if this was the right way to enable HW Acceleration for QML:
http://pastebin.com/DLA1GuF2
Thanks
-----Original Message-----
From: aaron.kennedy at nokia.com [mailto:aaron.kennedy at nokia.com]
Sent: Mittwoch, 14. Juli 2010 11:19
To: AlmoNito at gmx.de
Subject: Re: [Qt-qml] QML Slot
Hi,
Please try a signal starting with a lowercase letter. QML doesn't like upper
case properties :)
Cheers,
Aaron
On 14/07/2010, at 6:49 PM, "ext Almo Nito" <AlmoNito at gmx.de> wrote:
> I tryed that with the following Result:
>
> Cannot assign to non-existent property "onChangedDir"
>
>
> signals: void ChangedDir();
> The Object is Registered using
> ctxt->setContextProperty("CommObject",_COMM);
>
> i can access the functions from QML and access its properties but i
> can NOT connect to a signal
>
> Any Ideas?
>
>
>
> -------- Original-Nachricht --------
>> Datum: Wed, 14 Jul 2010 01:37:11 +0200
>> Von: michael.brasser at nokia.com
>> An: AlmoNito at gmx.de
>> CC: qt-qml at trolltech.com
>> Betreff: Re: [Qt-qml] QML Slot
>
>> Hi Almo,
>>
>> On 14/07/2010, at 6:30 AM, ext Almo Nito wrote:
>> I would like to know how i can connect to a Signal in QML if the
>> object was not instanced from QML:
>>
>> Im having an Object _COMM;
>>
>> That was registered using:
>> ctxt->setContextProperty("CommObject",_COMM);
>>
>> I can actually use CommObject.doMyInvolkeMethod() in QML
>>
>> But how do I connect to a signal that gets emmited that instace of
>> _COMM in QML?
>>
>> You should be able to use the Connections element for this
>> (http://doc.qt.nokia.com/4.7-snapshot/qml-connections.html):
>>
>> Connections {
>> target: CommObject
>> onMySignal: console.log("here I am!") }
>>
>> Regards,
>> Michael
>>
>
> --
> GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
> Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
> _______________________________________________
> Qt-qml mailing list
> Qt-qml at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-qml
_______________________________________________
Qt-qml mailing list
Qt-qml at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-qml
_______________________________________________
Qt-qml mailing list
Qt-qml at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-qml
More information about the Qt-qml
mailing list