[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: KDE-ify QML all across KDE
From:       Marco Martin <notmart () gmail ! com>
Date:       2011-01-27 14:11:12
Message-ID: AANLkTik2OY2UvgrmOLmR12gabAetDwgao1O2s=nP_NtZ () mail ! gmail ! com
[Download RAW message or body]

On Thu, Jan 27, 2011 at 9:09 AM, Shantanu Tushar Jha
<jhahoneyk@gmail.com> wrote:
> Hi Marco,
>
> I'm am working on Calligra Mobile as an Intern at Nokia. Just remembered
> that you had sent this mail. I understand that libkdeclarative is planned to
> be *the* way to access essential kdelibs functionality. If so, I was
> thinking about adding functionality to libkdeclarative as per needs arise
> for calligra mobile.
>
> e.g. right now I need a way to access Image loading in QML similar to
> KIcon("kwords.png"), so we can add something to libkdeclarative, right?
>
> Cheers,

Yo,
libkdeclarative is meant to do things that are not possible with
imports, so freeing the engine, registering the creation of non
qobject types.
so still not sure but binding for say qimage needs to be in
libkdeclarative if we need the following in Javascript:
var image = new QImage("/path/to/foo.png")
imageDeclarativeItem = image


that imageDeclarativeItem is a qgrahincsdeclarative item suclass and i
got a good news for you ;)
still in svn, playground/widgets/qtextracomponents there are elements
for pixmap and images (still have to write the qicon one)

right now i'm in several days of meetings so can't really help/answer
quickly but when i get back (from saturday/sunday) let's have a talk
about it ;)

Cheers,
Marco Martin
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic