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

List:       kde-panel-devel
Subject:    Re: Plasma appet with C++ plugin
From:       Ashish Bansal <bansal.ashish096 () gmail ! com>
Date:       2016-04-29 14:16:34
Message-ID: CACTKPONwBnuy+kOaiAopuUGORemTf8y837yamsKKLuXkC0gskw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Fri, Apr 29, 2016 at 3:09 PM, Marco Martin <notmart@gmail.com> wrote:

> On Tuesday 26 April 2016 22:03:11 Pablo Sánchez Rodríguez wrote:
> > Hello,
> >
> > My name is Pablo and currently I am writing an applet for Plasma
> (Plasmoid).
> >
> > Due to new functions I would like to implement in my applet, I need to
> > create a plugin written in C++ (using Kdeclarative).
> >
> > My questions are:
> >
> > Does anybody know where I can find documentation about how to do it? All
> I
> > could do until now was done watching inside other projects.
>
>
David has wrote some nice blog posts[0] about creating Plasmoid. You might
want to check them out.

the best way is to start from the application template.
> with a recent enough version of plasma framework, in KDevelop (or
> KAppTemplate) you should have in the project templates both a pure qml and
> a
> mixed qml/c++ version.
>
> a quick introduction to mixed qml/c++ is at
>
> https://community.kde.org/Plasma/DeveloperGuide#Advanced:_Plasmoids_using_C.2B.2B
>
> --
> Marco Martin
> _______________________________________________
> Plasma-devel mailing list
> Plasma-devel@kde.org
> https://mail.kde.org/mailman/listinfo/plasma-devel
>


[0] http://blog.davidedmundson.co.uk/node/89



-- 

*Regards,*
*Ashish Bansal*
*http://ashish-bansal.in <http://ashish-bansal.in>*

[Attachment #5 (text/html)]

<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr \
29, 2016 at 3:09 PM, Marco Martin <span dir="ltr">&lt;<a \
href="mailto:notmart@gmail.com" target="_blank">notmart@gmail.com</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span \
class="">On Tuesday 26 April 2016 22:03:11 Pablo Sánchez Rodríguez wrote:<br> &gt; \
Hello,<br> &gt;<br>
&gt; My name is Pablo and currently I am writing an applet for Plasma (Plasmoid).<br>
&gt;<br>
&gt; Due to new functions I would like to implement in my applet, I need to<br>
&gt; create a plugin written in C++ (using Kdeclarative).<br>
&gt;<br>
&gt; My questions are:<br>
&gt;<br>
&gt; Does anybody know where I can find documentation about how to do it? All I<br>
&gt; could do until now was done watching inside other projects.<br>
<br></span></blockquote><div><br></div><div>David has wrote some nice blog posts[0] \
about creating Plasmoid. You might want to check them \
out.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span \
class=""> </span>the best way is to start from the application template.<br>
with a recent enough version of plasma framework, in KDevelop (or<br>
KAppTemplate) you should have in the project templates both a pure qml and a<br>
mixed qml/c++ version.<br>
<br>
a quick introduction to mixed qml/c++ is at<br>
<a href="https://community.kde.org/Plasma/DeveloperGuide#Advanced:_Plasmoids_using_C.2B.2B" \
rel="noreferrer" target="_blank">https://community.kde.org/Plasma/DeveloperGuide#Advanced:_Plasmoids_using_C.2B.2B</a><br>
 <span class=""><font color="#888888"><br>
--<br>
Marco Martin<br>
</font></span><div class=""><div \
class="h5">_______________________________________________<br> Plasma-devel mailing \
list<br> <a href="mailto:Plasma-devel@kde.org">Plasma-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/plasma-devel" rel="noreferrer" \
target="_blank">https://mail.kde.org/mailman/listinfo/plasma-devel</a><br> \
</div></div></blockquote></div><br><br></div><div class="gmail_extra">[0] <a \
href="http://blog.davidedmundson.co.uk/node/89">http://blog.davidedmundson.co.uk/node/89</a> \
<div><br></div><div><br></div><div><br></div>-- <br><div class="gmail_signature"><div \
dir="ltr"><div><br></div><div><b></b></div><div><b>Regards,</b></div><div><b>Ashish \
Bansal</b></div><div><b><a href="http://ashish-bansal.in" \
target="_blank">http://ashish-bansal.in</a></b></div></div></div> </div></div>


[Attachment #6 (text/plain)]

_______________________________________________
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