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

List:       kde-panel-devel
Subject:    Re: Plasma applets inside QML applet
From:       Djuro Drljaca <djurodrljaca () gmail ! com>
Date:       2012-06-23 21:48:30
Message-ID: CALTgeGWrbCfejYOZjmkbVP4zVu31rjs6zmtWpJ7Qr+e+WkzHgw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hello,

it would probably useful if you also provided an example where you want to
use this. I don't know enough about what this, but you will probably get
better information or even another way to do what you want to achieve if
there is more information on the background of the problem.

Regards,
Djuro Drljaca

On Sat, Jun 23, 2012 at 10:33 PM, Dmitry <dmitry.ashkadov@rosalab.ru> wrote:

> Hello!
> 
> I'm developing an applet in QML. I need to load an external applet and to
> place it into my applet like  containment applet, like panel or system
> tray. But at the same time my applet isn't a pure containment applet [it
> doesn't contain only applets]. Do You know how I can do it or it's not
> possible?
> 
> I'd like to do like next:
> 
> Applet { // like Svg
> id: battery_applet
> name: "battery" // name of applet to be loaded (like argument of
> function Plasma::Applet::load(name, ...) )
> }
> 
> AppletItem { // like SvgItem
> applet: battery_applet
> width: 20
> height: width
> ...
> }
> 
> Thank you!
> ______________________________**_________________
> Plasma-devel mailing list
> Plasma-devel@kde.org
> https://mail.kde.org/mailman/**listinfo/plasma-devel<https://mail.kde.org/mailman/listinfo/plasma-devel>
>  


[Attachment #5 (text/html)]

Hello,<br><br>it would probably useful if you also provided an example where you want \
to use this. I don&#39;t know enough about what this, but you will probably get \
better information or even another way to do what you want to achieve if there is \
more information on the background of the problem.<br> <br>Regards,<br>Djuro \
Drljaca<br><br><div class="gmail_quote">On Sat, Jun 23, 2012 at 10:33 PM, Dmitry \
<span dir="ltr">&lt;<a href="mailto:dmitry.ashkadov@rosalab.ru" \
target="_blank">dmitry.ashkadov@rosalab.ru</a>&gt;</span> wrote:<br> <blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">Hello!<br> <br>
I&#39;m developing an applet in QML. I need to load an external applet and to place \
it into my applet like   containment applet, like panel or system tray. But at the \
same time my applet isn&#39;t a pure containment applet [it doesn&#39;t contain only \
applets]. Do You know how I can do it or it&#39;s not possible?<br>

<br>
I&#39;d like to do like next:<br>
<br>
Applet { // like Svg<br>
      id: battery_applet<br>
      name: &quot;battery&quot; // name of applet to be loaded (like argument of \
function Plasma::Applet::load(name, ...) )<br> }<br>
<br>
AppletItem { // like SvgItem<br>
      applet: battery_applet<br>
      width: 20<br>
      height: width<br>
      ...<br>
}<br>
<br>
Thank you!<br>
______________________________<u></u>_________________<br>
Plasma-devel mailing list<br>
<a href="mailto:Plasma-devel@kde.org" target="_blank">Plasma-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/plasma-devel" \
target="_blank">https://mail.kde.org/mailman/<u></u>listinfo/plasma-devel</a><br> \
</blockquote></div><br>



_______________________________________________
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