a29ae57a7d
comments below. * New Flow Layout. This provides simple icon view-esque layout of items. Useful for icons for documents , applications or other tasks on the desktop for example. Supports non-equally sized items. Works well when used with the LayoutAnimator class to animate insertions and removals. * Re-wrote BoxLayout and removed old HBoxLayout,VBoxLayout classes which had a lot of code duplication. BoxLayout class now takes a direction argument in the constructor, ala. QBoxLayout. New BoxLayout class actually takes minimumSize() , maximumSize() of items into account. The Qt layout code for box and grid layouts is surprisingly sophisticated, so the results from BoxLayout probably will not be as good in certain situations but it should do for the panel. New BoxLayout also has support for LayoutAnimator * Fix Plasma::HBoxLayout and Plasma::VBoxLayout to use margin() rather than spacing() for the distance from the top and left margins respectively. * Fix Plasma::Applet::contentSize() to return the actual content size rather than a size hint. Added a new method contentSizeHint() which applets use to provide a hint about suitable content size. Existing implementations of contentSize() in applets need to be renamed to contentSizeHint(). The arguments and return type are the same as before. * Install the LayoutAnimator header so that applets can use it svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=707275 |
||
---|---|---|
effects | ||
includes | ||
servicetypes | ||
widgets | ||
abstractrunner.cpp | ||
abstractrunner.h | ||
animator.cpp | ||
animator.h | ||
applet.cpp | ||
applet.h | ||
CMakeLists.txt | ||
configxml.cpp | ||
configxml.h | ||
corona.cpp | ||
corona.h | ||
datacontainer.cpp | ||
datacontainer.h | ||
dataengine.cpp | ||
dataengine.h | ||
dataenginemanager.cpp | ||
dataenginemanager.h | ||
glapplet.cpp | ||
glapplet.h | ||
karambamanager.cpp | ||
karambamanager.h | ||
Mainpage.dox | ||
Messages.sh | ||
package.cpp | ||
package.h | ||
packagemetadata.cpp | ||
packagemetadata.h | ||
packages_p.h | ||
packages.cpp | ||
packagestructure.cpp | ||
packagestructure.h | ||
phase.cpp | ||
phase.h | ||
plasma_export.h | ||
plasma.cpp | ||
plasma.h | ||
README | ||
scriptengine.cpp | ||
scriptengine.h | ||
shadowitem_p.h | ||
shadowitem.cpp | ||
svg.cpp | ||
svg.h | ||
theme.cpp | ||
theme.h |
libplasma Commit Rules: * If your patch is not an obvious or trivial bug fix, have it peer reviewed by another Plasma developer * All code MUST follow the kdelibs coding style, as found at: http://techbase.kde.org/Policies/Kdelibs_Coding_Style * All new public API MUST have apidox written before committing Unit tests are next to godliness. (Though as you can see, right now libplasma is hellbound.) This directory contains the classes making up libplasma, which provides the core framework used by Plasma and its components. This includes applet and extension definitions and loading, common GUI elements, etc. Domain specific sets of functionality, e.g. for network awareness or sensors, are not found here but in one of the Plasma Engines. Please refer to the Plasma website (http://plasma.kde.org) and Plasma wiki (http://techbase.kde.org/Projects/Plasma) for API documentation and design documents regarding this library.