Mart

a cute little home a cute little boy a cute little cow: mooo!

Tale of a little pixel

a cute little girl

Plasma QML documentation

Just a brief heads up. As you know, from now on the recomended way to write plasmoids will be using QML only, and using the new components api for common widgets such as buttons, sliders etc.

What's cool about this API is that is as compatible as possible with Symbian and Harmattan(N9/N950), so porting to and from those platforms just became a tad easier (That's especially important in the perspective of Plasma Active).

The documentation of those components just landed on api.kde.org, and can be seen here.

Other useful resources for QML plasmoids:

A big thanks to everybody that helped writing the documentation, to Antonis that helped with the script for the generator and Allen that helped with the setup of the infrastructure to api.kde.org :)



Excellent!

Now I can port Weather Forecast plasmoid to QML, soon :)

Sent from Shawn Starr (Anonimous) on 19/01/2012 at 11:41:30


SVGs and theme colors

While designing applets declaratively using SVG and QML sounds nice, one thing I worry about is making the applets fit in with the system's color scheme.

Do you have any solutions for using theme colors with SVGs? I don't see anything in the docs you linked.

Sent from ben (Anonimous) on 18/01/2012 at 10:20:05


DataEngine vs. import

I have seen that the logic of a QML plasmoid is often still written in C++, either using a DataEngine or using imports (the latter is the case for the QML version of Kickoff). Could you say which of the two approaches is the recommended one (if both are acceptable, which is recommended when)?

Sent from anonymous (Anonimous) on 18/01/2012 at 6:25:43


Great work!

Thanks for giving the docs some loving!

Sent from Johan Thelin (Anonimous) on 18/01/2012 at 6:08:54


Submit comment



Article: