new Plasma Quick module: PlasmaExtras
Sebastian Kügler
sebas at kde.org
Fri Mar 30 23:36:57 UTC 2012
We have a new Plasma Quick Module: org.kde.plasma.extras :-)
Plasma Extras is a collection of Add-ons for Plasma that:
- provide higher level functionality and system integration
- capture appearance specific patterns by providing Look & Feel integration
components for a higher degree of consistency in layouts between apps
This is achieved by the following components:
- ResourceInstance -- Plasma Quick way to export currently viewed document,
used for example in share like connect
- Animations -- A set of pre-fab animations that can be used to animate
(dis)appearing, activation of items
- Title, Heading, Paragraph -- Basic text layout components, derived from
PlasmaComponents.Label
- appbackgrounds image provider -- Loads backgrounds for use in apps
- An App class which allows screen-adaptive implementation of workflows in
apps (experimental)
Screenshot: http://simplest-image-hosting.net/png-0-r29392
The code is in :
kde-runtime/plasma/declarativeimports/plasmaextracomponents
I've extended the Plasma components gallery in
kde-runtime/plasma/declarativeimports/plasmaextracomponents
to also use these new classes.
I've adapted the qmlapigenerator.py script which we use to generate the API
docs on api.kde.org to dive into subdirectories of kde-
runtime/plasma/declarativeimports in order to generate documentation for all
the old and new classes.
Most of it has lived for some time already in plasma-
mobile/components/mobilecomponents, but has now moved to a more central place
to allow more apps to use it. plasma-mobile has a branch
sebas/plasmaextracomponents with everything ported to the new imports, to be
merged shortly.
Enjoy!
--
sebas
http://www.kde.org | http://vizZzion.org | GPG Key ID: 9119 0EF9
More information about the Plasma-devel
mailing list