Commit Graph

1136 Commits

Author SHA1 Message Date
Script Kiddy
419f8db838 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=749000
2007-12-16 07:57:44 +00:00
Jason Stubbs
933932ddb4 LayoutAnimator indirectly calls relayout() so calling startAnimation() in
relayout() is almost an infinite loop. Instead, only call startAnimation()
when an item has actually been added or removed.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=748736
2007-12-15 09:08:09 +00:00
Script Kiddy
ec76079031 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=748723
2007-12-15 08:25:51 +00:00
Jason Stubbs
82eae90414 Take translations into account when moving an applet.
Patch derived from work done by Thomas Coopman.
BUG: 153927

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=748642
2007-12-15 05:48:13 +00:00
Script Kiddy
c7bdfb5a1c SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=748324
2007-12-14 07:53:43 +00:00
Aaron J. Seigo
bdcec3bee6 allow outsiders (e.g. subclasses) to enable/disable tools
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=748312
2007-12-14 06:34:26 +00:00
Marijn Kruisselbrink
a7dcbb5456 fixes for platforms where qreal is not a double
btw, wouldn't it be cleaner if all those qMin(0.0, qMax(1.0, foo)) calls are calls to qBound instead?

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=748283
2007-12-14 01:38:32 +00:00
Allen Winter
8fcf61c9b6 no need to look for OpenGL here as it is looked for in the workspace/CMakeLists.txt
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=748050
2007-12-13 13:45:30 +00:00
Aaron J. Seigo
cdceb6531a this one had me scratching my head for a while: applets that are also containments, but which are not currently being *used* as containments need to have the containment they are in's form factor returned from formFactor, not their own (which probably not set at that point anyways =)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=747861
2007-12-13 06:27:23 +00:00
Script Kiddy
593ae4a10e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=747533
2007-12-12 09:03:36 +00:00
Adriaan de Groot
7e8b236445 Andre W. pointed out it should probably be qreal just in case that's different from float; works on SPARC and x86.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=747411
2007-12-11 23:03:52 +00:00
Aaron J. Seigo
5a44fae20f hush the compiler
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=747406
2007-12-11 22:30:05 +00:00
Pino Toscano
f54a012731 include fixup
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=747300
2007-12-11 16:56:06 +00:00
Aaron J. Seigo
5fc323b7db provide a place for runners to put their config. no, not overly performant but this really shouldn't need to be
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=747296
2007-12-11 16:53:40 +00:00
Pino Toscano
bf9bd90ec8 unuseful includes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=747285
2007-12-11 16:05:09 +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
Script Kiddy
8f2b055fb7 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=747146
2007-12-11 07:44:45 +00:00
Aaron J. Seigo
616675be80 appletRemoved signal to create symetry with appletAdded. had two people ask about this already.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=747104
2007-12-11 02:59:02 +00:00
Adriaan de Groot
ce8d1ede68 Math functions in namespace std:: ; gcc likes it either way but not everyone does. Also use standard math.h #define which, at 1.57079632679489661923, has way more significant others than before.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=746995
2007-12-10 19:52:29 +00:00
Adriaan de Groot
03436aad7d The usual includes dance
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=746994
2007-12-10 19:50:31 +00:00
Adriaan de Groot
cb344f2acd INFINITY is a gcc-ism, use something more C++y (but it's possible to have *no* infinity() for floats; that would require another bit of hackery)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=746992
2007-12-10 19:49:25 +00:00
Adriaan de Groot
4db2399b6e Tighten the type of the template parameter for calculateSize() so that sum() can actually be used.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=746990
2007-12-10 19:46:58 +00:00
Adriaan de Groot
02023370f2 Disambiguate pow()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=746989
2007-12-10 19:45:45 +00:00
Adriaan de Groot
febb919d3e Same workaround for bad include file / dir handling.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=746980
2007-12-10 19:38:31 +00:00
Ivan Čukić
4d3d0b8a64 Removing debugging messages
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=746972
2007-12-10 19:05:23 +00:00
Ivan Čukić
f6b097db82 Aaron skipped a bit when removing geometry() and setGeometry() so the layout was broken
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=746969
2007-12-10 19:04:16 +00:00
Ryan P. Bitanga
5f7c078705 Remove remnants of QAction inheritance from SearchMatch
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=746951
2007-12-10 18:04:45 +00:00
Ryan P. Bitanga
f1df93c794 Add runner speed functions to abstractrunner
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=746915
2007-12-10 16:20:46 +00:00
Anne-Marie Mahfouf
8d84a43513 typo
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=746825
2007-12-10 11:37:48 +00:00
Script Kiddy
9604ec93ad SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=746783
2007-12-10 07:48:53 +00:00
Aaron J. Seigo
a9b8490d33 make errors more consistent; patch by zrusin
BUG:22428

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=746766
2007-12-10 05:03:47 +00:00
Chani Armitage
950cc1c149 appletbrowser gets a remove icon and a filter for running applets
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=746735
2007-12-10 01:18:57 +00:00
Jason Stubbs
5db83950c4 Use Widget::view() to find the view rather than emmiting
QGraphicsSceneMouseEvent from Plasma::Icon for only that purpose

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=746549
2007-12-09 13:32:30 +00:00
Script Kiddy
a98f0b9838 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=746474
2007-12-09 07:38:20 +00:00
Aaron J. Seigo
706585b270 avoid negative sizes in absurd situations
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=746404
2007-12-08 21:40:59 +00:00
Sebastian Trueg
2a34006fcd Do not crash if the scene is not a Corona.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=746210
2007-12-08 09:16:06 +00:00
Jason Stubbs
80bbadc39f Operating under the premise that applets will receive notified with
constraintsUpdated(LocationConstraint) whenever there is a change in
position relative view makes global geometry handling much easier.
This change ensures that moving an applet via its handle follows the
above premise.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=746173
2007-12-08 03:38:11 +00:00
Jason Stubbs
10af4df668 Added methods for gaining information about the view. This is useful for
applets such as systemtray and tasks that need to know about global
geometry.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=746172
2007-12-08 03:35:11 +00:00
Aaron J. Seigo
059505f639 save/restore lock status
CCMAIL:tokoe@kde.org

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=745809
2007-12-07 05:02:54 +00:00
Aaron J. Seigo
1adb4d7387 update package defs
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=745675
2007-12-06 19:45:57 +00:00
Pino Toscano
6664c9a206 include fixup
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=745319
2007-12-05 23:16:55 +00:00
Sebastian Kügler
9b112c42ae Use QGraphicsSceneEvent instead of QGraphicsSceneMouseEvent to make it more flexible (actually needed for the devicenotifier)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=745315
2007-12-05 23:09:28 +00:00
Sebastian Kügler
d2514a373b Plasma::Dialog, a widget-dialog thing that can be used by plasma
applets to show additional information, using QWidgets and the like.

It's factored out from devicenotifier, thanks to Alexis Menard.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=745298
2007-12-05 22:32:45 +00:00
Sebastian Kügler
792274b1da SVN_SILENT --typo
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=745297
2007-12-05 22:31:23 +00:00
Aaron J. Seigo
57f73a4dc1 propagate constraints update on immutability change
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=745247
2007-12-05 20:27:16 +00:00
Aaron J. Seigo
198544318a * optional names for tools
* respond to immutability constraint updates, in particular hide the add widgets toolbox button

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=745246
2007-12-05 20:26:23 +00:00
Aaron J. Seigo
5c257fce5a * update constraints on immutability changes
* introduce QRectF contentRect() const method so applets can easily get the content rect

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=745244
2007-12-05 20:24:40 +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
e5911d2f46 * allow associating a tool name with a given tool
* convenience method for enabling/disabling tools by name
* don't show disabled tools

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=745240
2007-12-05 20:22:25 +00:00
Script Kiddy
fee70cb28f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=745035
2007-12-05 07:44:57 +00:00