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

List:       kde-panel-devel
Subject:    Re: Issues on writing plasmoid for KMix
From:       Weng Xuetian <wengxt () gmail ! com>
Date:       2012-01-31 14:08:17
Message-ID: CAKiDycGX7gJaVBqHcRKgAsaAiNn0bwdDnfotXbK=0hP3yB_nRg () mail ! gmail ! com
[Download RAW message or body]

On Tue, Jan 31, 2012 at 9:09 PM, Igor Poboiko <igor.poboiko@gmail.com> wrote:
> Hi!
> I'm working on porting KMix tray applet to plasma. Right now I have some
> working code which can be found in my scratch repo
> - http://quickgit.kde.org/?p=scratch%2Fpoboiko%2Fkmix-plasmoid.git&a=summary (it
> requires KMix from trunk).
> First issue: it isn't QML. I generate KCM UI content on-the-fly (I want
> users to have an ability to select which controls they want to see in popup,
> so I provide a KActionSelector with available controls), and I've heard that
> it is impossible using QML. Also I didn't work with QML before.
I'm not familiar with kmix, but some time ago some other developer
suggest that you can use qml for the UI part, and don't need to make
it purl qml plasmoid. I remember there is a convenient class introduce
in 4.8 which can set up all plasma qml imports path.

http://api.kde.org/4.x-api/kdelibs-apidocs/plasma/html/classPlasma_1_1DeclarativeWidget.html

> Second issue: this applet works using "mixer" dataengine (which ships with
> kmix), which gets information from KMix through DBus. It updates data in
> dataengine when it receives DBus signals. The problem is: my applet doesn't
> receive a dataUpdated() call every time it is actually updated. Sometimes
> data is updated, but applet doesn't know anything about it. Is that a bug or
> I just wrong somewhere?
> And it would be great if someone look at code and review it somehow. It's my
> first experience in writing plasmoids so there may be some quite serious
> issues. Any suggestions and comments are welcome. Thanks in advance.
> Best regards,
> Igor.
>
> _______________________________________________
> Plasma-devel mailing list
> Plasma-devel@kde.org
> https://mail.kde.org/mailman/listinfo/plasma-devel
>
_______________________________________________
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