<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sun, May 1, 2016 at 7:51 AM, kdea <span dir="ltr"><<a href="mailto:k.dea@mail.com" target="_blank">k.dea@mail.com</a>></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">Excuse me, I sent the message in html format. Sending now in text format...<br>
<div><div class="h5"><br>
Hi, yesterday I published a new version of my "Take a break" plasmoid ( <a href="http://kde-apps.org/content/show.php/Take+a+break?content=174127" rel="noreferrer" target="_blank">http://kde-apps.org/content/show.php/Take+a+break?content=174127</a> ). It now includes a little-but-useful library, "TextSize.qml", that contains a description and an example of use.<br></div></div></blockquote><div><br></div><div>What does it actually do? There is a similar thing in QML</div><div>called TextMetrics and FontMetrics btw, maybe they could</div><div>be of use to you.</div><div> </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"><div><div class="h5">
Is there any repository of contributed libraries, where I can upload the library to, and where other developers can easily browse/find libraries to (re)use in their plasmoids?<br></div></div></blockquote><div><br></div><div>You could in theory put it in Plasma extra/components, more</div><div>on that below.</div><div> </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"><div><div class="h5">
If not, I would like to propose to create such repository. For example, it could be similar to "<a href="http://kde-apps.org/" rel="noreferrer" target="_blank">http://kde-apps.org/</a>" page, but only for libraries (let's say "<a href="http://kde-libs.org/" rel="noreferrer" target="_blank">http://kde-libs.org/</a>"). The users of the page would be developers, and the "things" uploaded/downloaded/browsed/searched would be libraries, instead of programs.<br>
<br>
In this way, before developing a new plasmoid, the developer would search for reusable libraries, contributed by other developers. I think it would promote the creation of modular plasmoids, with more reusable parts, and the sharing of solutions to common problems.<br>
<br>
What do you think?<br></div></div></blockquote><div><br></div><div>For developing a Plasmoid, you should ideally use what Plasma</div><div>offers, ie. the components that are parts of it. So when you're</div><div>developing a Plasmoid, you should search its components found</div><div>in our apidocs [1]. If you think your addition would be a good addition</div><div>for other Plasma developers, it is of course welcome to join the</div><div>Plasma framework. Just note that Plasma tries to not become</div><div>a collection of everything, so maybe there won't be a place for</div><div>your little stuff.</div><div><br></div><div>Alternatively, QtQuick should have most of other generic things</div><div>you might need.</div><div><br></div><div>In any case, we could really use a quick overview of what your</div><div>TextSize.qml does and why do you think it's useful for other</div><div>Plasmoid developers, then we'll advise you on next steps :)</div><div><br></div><div>[1] <a href="http://api.kde.org/frameworks-api/frameworks5-apidocs/plasma-framework/html/">http://api.kde.org/frameworks-api/frameworks5-apidocs/plasma-framework/html/</a></div><div><br></div></div><div>Cheers</div>-- <br><div class="gmail_signature"><div><span style="color:rgb(102,102,102)">Martin Klapetek | KDE Developer</span></div></div>
</div></div>