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

List:       kde-panel-devel
Subject:    Help with implementing plasmoid configuration
From:       Djuro Drljaca <djurodrljaca () gmail ! com>
Date:       2012-02-26 13:19:03
Message-ID: CALTgeGUUMRHVYmy+g-2ApamZN8=DQSb09b7jk5hWdcfaCdqnKQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hello,

I created a PDF viewer C++/QML component that uses poppler library (my plan
is to replace this with an okular QML component in the near future). Using
this I created a QML plasmoid but I have a problem with creating a
configuration interface for my plasmoid so that I can change the PDF file
path without directly modifying the QML file.

I already asked this on the KDE forums and was directed to this list. Here
is the link to the forum:
http://forum.kde.org/viewtopic.php?f=64&t=99437&p=214713#p214713

And this is the contents of my forum post:
> I created a PDF viewer QML plasmoid (custom C++/QML component that uses
poppler library)
> and now I would like to create some kind of a configuration dialog for
changing the PDF file path.
> By default there is already a configuration dialog and I think it would
probably be the best solution
> to somehow extend this to include my custom configuration items.
>
> I read some thing about configuration xml files and also about the custom
".ui" file for the
> configuration dialog but I didn't get anything useful from that (I
doesn't really tell you what and
> how you can do this).
>
> So ... what is the best solution for having some GUI configuration items
for a QML plasmoid?

Regards,
Djuro Drljaca

[Attachment #5 (text/html)]

Hello,<br><br>I created a PDF viewer C++/QML component that uses poppler library (my \
plan is to replace this with an okular QML component in the near future). Using this \
I created a QML plasmoid but I have a problem with creating a configuration interface \
for my plasmoid so that I can change the PDF file path without directly modifying the \
QML file.<br> <br>I already asked this on the KDE forums and was directed to this \
list. Here is the link to the forum: <a \
href="http://forum.kde.org/viewtopic.php?f=64&amp;t=99437&amp;p=214713#p214713">http://forum.kde.org/viewtopic.php?f=64&amp;t=99437&amp;p=214713#p214713</a><br>
 <br>And this is the contents of my forum post:<br>&gt; I created a PDF viewer QML \
plasmoid (custom C++/QML component that uses  poppler library)<br>
&gt; and now I would like to create some kind of a 
configuration dialog for changing the PDF file path.<br>
&gt; By default there is
 already a configuration dialog and I think it would probably be the 
best solution<br>
&gt; to somehow extend this to include my custom configuration 
items.<br>
&gt; <br>
&gt; I read some thing about configuration xml files and also 
about the custom &quot;.ui&quot; file for the<br>
&gt; configuration dialog but I didn&#39;t 
get anything useful from that (I doesn&#39;t really tell you what and<br>
&gt; how 
you can do this).<br>
&gt; <br>
&gt; So ... what is the best solution for having some GUI configuration items for a \
QML plasmoid?<br><br>Regards,<br>Djuro Drljaca<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