Commit Graph

60 Commits

Author SHA1 Message Date
Aaron Seigo
454cbaa7cb fix up constraintsEvent documentation 2012-02-13 22:30:29 +01:00
Marco Martin
7e50fe0f40 a new PackageStructure type: GenericComponent
this component will be used for loading generic repositories of files,
usually will be repositories of QML files
2011-08-31 12:53:09 +02:00
Frederik Schwarzer
5c0d0e8e8e Replace doxygen tag @arg by @param.
The @param doxygen tag is formatted way nicer and should be used
throughout our apidox.

REVIEW: 101596
2011-06-13 14:47:29 +02:00
Sebastian Kügler
6b78ceb627 In true [ade] spirit, complete some apidocs while I read through this header
svn path=/trunk/KDE/kdelibs/; revision=1155692
2010-07-27 21:37:45 +00:00
Davide Bettio
f5716b83cd Added missing Q_DECLARE_OPERATORS_FOR_FLAGS.
svn path=/trunk/KDE/kdelibs/; revision=1090757
2010-02-15 23:18:37 +00:00
Aaron J. Seigo
1bdc28c19e AnimationDirection should be Animation::Direction ... glad i caught this before 4.4.0 was rolled!
svn path=/trunk/KDE/kdelibs/; revision=1073436
2010-01-12 09:54:42 +00:00
Petri Damstén
289b9ac1eb Add WallpaperScript.
Review: http://reviewboard.kde.org/r/1984/

svn path=/trunk/KDE/kdelibs/; revision=1042086
2009-10-29 05:54:11 +00:00
Adenilson Cavalcanti Da Silva
a4b408277c Merging Mehmet Ali Akmanalp new plasma::Animator code. It uses the new and shiny
Qt 4.6 animation API (a.k.a. kinetic) to implement effects.

Current implemented animations: fade, slide, expand, grow (next will be
pulse and rotation).

Further discussion is here:
http://reviewboard.kde.org/r/1512/


svn path=/trunk/KDE/kdelibs/; revision=1035749
2009-10-15 19:36:38 +00:00
Marco Martin
acfd2a83fa Add PopupConstraintEvent, tells popupapplets (and applets with popups)
that the position has to be changed

svn path=/trunk/KDE/kdelibs/; revision=1019486
2009-09-03 18:11:49 +00:00
Rob Scheepmaker
9cb9cfe65e Push in remote widgets
svn path=/trunk/KDE/kdelibs/; revision=1018655
2009-09-02 02:27:16 +00:00
Ryan P. Bitanga
ef32813846 Move actionsFromMenu from AbstractRunner to plasma.h
svn path=/trunk/KDE/kdelibs/; revision=1002462
2009-07-26 02:51:21 +00:00
Marco Martin
a3c54b201c move the status stuff into Applet, constify and also put a bit of apidox
(forgotten from the previous commit:))

svn path=/trunk/KDE/kdelibs/; revision=993912
2009-07-09 17:19:00 +00:00
Marco Martin
1300eea396 api to show/hide plasmoids from the systray, like NotificationItems
this REALLY needs api review
CCMAIL:plasma-devel@kde.org

svn path=/trunk/KDE/kdelibs/; revision=993364
2009-07-08 14:55:59 +00:00
Aaron J. Seigo
71c82013f7 SVN_SILENT: english
svn path=/trunk/KDE/kdelibs/; revision=956988
2009-04-21 08:16:26 +00:00
Aaron J. Seigo
b479428114 inverse location<->direction enum mapping
svn path=/trunk/KDE/kdelibs/; revision=954611
2009-04-16 03:19:33 +00:00
Richard J. Moore
8db000f7e6 - doc comments live before the thing they describe
svn path=/trunk/KDE/kdelibs/; revision=926249
2009-02-14 22:08:08 +00:00
Marco Martin
2046c01a29 messagebox that displays as an overlay over the applet.
it has optional buttons  or can be shown/closed programmatically by the
applet implementation

svn path=/trunk/KDE/kdelibs/; revision=920367
2009-02-02 19:39:41 +00:00
Alex Merry
9c1570f13e apidocs fixes.
Remember to document ALL parameters to methods.  They may seem obvious to you, but I had to look at the code for at least two of the methods in order to document their parameters correctly.

*waves stick of EBN-ness*


svn path=/trunk/KDE/kdelibs/; revision=908604
2009-01-10 00:08:31 +00:00
Aaron J. Seigo
1b523b9054 ok, this time JUST the plasma dir ;)
svn path=/trunk/KDE/kdelibs/; revision=879759
2008-11-03 23:08:39 +00:00
Aaron J. Seigo
fa5a2d87d9 bum-de-dum! plasma to kdelibs.
svn path=/trunk/KDE/kdelibs/; revision=879757
2008-11-03 23:03:26 +00:00
Guillaume Pothier
bd7e7b10c9 Added screen management methods to Corona and removed usage of QDesktopWidget in plasmalibs.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=877451
2008-10-29 15:22:38 +00:00
Allen Winter
e88e2faa63 first batch of small coding style fixes.
these were found while testing the Krazy style checker, which I'm adapting
for the kdelibs style.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870051
2008-10-11 16:19:04 +00:00
Petri Damstén
e5fe5ed0c2 add FixedSize to AspectRatioMode and don't show resize button when FixedSize.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=860649
2008-09-13 17:09:34 +00:00
Loic Marteau
b6cb43398d - add a "popupPosition" support to PopupApplet so applets can use it to deal with
fitt law optimisation
- also save the new size of the popup (Plasma::Dialog) in the config file when user 
resize it
- use popupPosition facilities in kickoff and remove the resize stuff on it since it 
can be now directly dealed in Plasma::Dialog


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=860323
2008-09-12 17:16:58 +00:00
Alex Merry
e293d7d785 Specify includes in apidocs, so we get
#include <Plasma/Foo>
at the top of the apidocs pages.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852289
2008-08-25 17:47:48 +00:00
Aaron J. Seigo
46ef63168e allow applets to query for their context, update the context via a constraint (we're running out of them!)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=848820
2008-08-18 14:04:30 +00:00
Loic Marteau
88b7a7022e some stuff in Plasma::PopupApplet
- add QGraphicsWidget support
- add a timer so we can show a popup during a specified time and hide it again
- let applet Notifier does a last Swan song by convert it in a PopupApplet before dying and 
reborn sooner like a phoenix

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=838490
2008-07-27 23:23:57 +00:00
Aaron J. Seigo
19b3401af9 * get rid of ToolTipManager::getItemItsApplet
* introduce Plasma::viewFor and Plasma::popupPosition

generally nicer code all around.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833534
2008-07-16 23:48:41 +00:00
Aaron J. Seigo
922c85c705 it makes no sense to have the blur stuff in one header/namespace and the roundedRectangle stuff in another: it's all painting related. putting them together, however, makes "ImageEffects" really not accurate. ImageEffects will also clash, concept-wise, with a real effects lib.
therefore, introducing Plasma::PaintUtils.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=827859
2008-07-03 23:50:13 +00:00
Marco Martin
1cb044332c new aspect ratio mode ConstrainedSquare
it makes applets in panel to not
be wider than tall in horizontal panels and not taller than wider in
vertical panels, but can be for instance less wide than tall in
horizontal panels, as opposed to square applets.
it makes poossible to have icons with a reasonable size in very big
panels as vertical panels usually are for instance

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=816757
2008-06-04 18:58:38 +00:00
Chani Armitage
2a6a5fa6db :%s/NotImmutable/Mutable/g
because double negatives hurt my brain.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=805296
2008-05-08 04:26:52 +00:00
Aaron J. Seigo
43e6bac986 Plasma::AspectRatioMode, just like Qt::AspectRatioMode. the setter/getter in Applet even used Mode.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802866
2008-04-30 22:13:27 +00:00
Marco Martin
43066e49ce API review:
remainSquare(), aspectRatioMode() and their setters are merged in
aspectRatioMode() + setAspectRatioMode(Plasma::AspectRatio)
Plasma::AspectRatio has IgnoreAspectRatio, KeepAspectRatio and Square

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802561
2008-04-29 20:31:18 +00:00
Aaron J. Seigo
4d6ab4bb1a * zoomRequested
* zoomIn/Out -> pimpl
* Plasma::ZoomDirection enumeration

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=801132
2008-04-25 19:08:49 +00:00
Marco Martin
7d057a2bc2 API review:
isImmutable(), setIsImmutable() and isKioskImmutable() of applet and
corona are merged in one property so they becamed
immutability() and setImmutability() using the new type
ImmutabilityType defined in plasma.h as:
NotImmutable: normal behaviour
UserImmutable: the user locked the desktop, can unlock it
SystemImmutable: the system locked the desktop and the user can't unlock
it

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800724
2008-04-24 18:24:11 +00:00
Aaron J. Seigo
7f3aea19ff move MarginEdge to the Plasma namespace to avoid coupling to the layout stuff in innapropriate places
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=771704
2008-02-06 19:12:21 +00:00
Anne-Marie Mahfouf
782bcbce51 a few typos
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=770891
2008-02-04 16:26:49 +00:00
Aaron J. Seigo
68acc75d20 ComponentType enumeration
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=765979
2008-01-25 00:11:11 +00:00
Aaron J. Seigo
da34471e13 add a way for Containments to get notified that startup is indeed complete
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758066
2008-01-06 20:38:35 +00:00
Ivan Čukić
12a2f50922 FlipLayout committed
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=747176
2007-12-11 09:06:21 +00:00
Aaron J. Seigo
12af5bc729 add a constraint for immutability changes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=745242
2007-12-05 20:23:25 +00:00
Aaron J. Seigo
1e1b63b9fe add the Geometry Changed constraint
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=741157
2007-11-24 23:37:18 +00:00
Aaron J. Seigo
9c9e6e4371 provide a rounded rectangle path generator so we can share this implementatoin around plasma
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738424
2007-11-18 21:33:04 +00:00
Aaron J. Seigo
147f087d3c add a NoConstraint enum entry to Constraints
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=729448
2007-10-26 01:10:13 +00:00
Aaron J. Seigo
b51cc728fd actually pass around what constraints are being updated. this allows preventing of unecessary processing (for one) and also can avoid recursion where someone calls a constraints setter from inside constraintsUpdated.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=719831
2007-10-01 23:24:38 +00:00
Ivan Čukić
63164d2cc0 BorderLayout initial import
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=713071
2007-09-16 09:08:08 +00:00
Aaron J. Seigo
e15c950bc3 introduce interval alignment, so it is possible to align a time interval to the minute or hour (we can add arbitrary ones to the mix should we choose; e.g. "every 10 mins" or whatever..but there needs to be good use cases =)
this is needed by clocks, as the obvious example, since "once a minute" isn't enough: it needs to be once a minute *on* the minute

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=711737
2007-09-12 17:53:54 +00:00
Aaron J. Seigo
db4a7ebe61 copyright cleanups:
* Copyright (C) -> Copyright
* add "or later" clause to files that i have the sole copyright on
* add current year (2007) to my copyrights where it was missing

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696946
2007-08-06 11:20:02 +00:00
Aaron J. Seigo
0710825034 add a ZoomLevel enum and a conversion method to Plasma namespace
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692584
2007-07-25 22:43:43 +00:00
Aaron J. Seigo
04d138869a remove dead code which; Applet manages these ids itself
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=688723
2007-07-16 17:52:49 +00:00