Robert Knight
62b2605d0d
Add methods to set/get a layout's animator. The various layout implementations need small changes to make use of an animator if set. Add an update() method to Layout to trigger re-layouting.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=701059
2007-08-17 07:02:24 +00:00
Enrico Ros
341c3700eb
Faster background drawing. Speeds up a lot zooming operations and general compositing.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=701053
2007-08-17 06:35:19 +00:00
Percy Leonhardt
f1855dd6b2
Fixed wrong calculation of width
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=700938
2007-08-16 20:37:29 +00:00
Robert Knight
2475cfed09
Add LayoutAnimator class. This provides a way to animate changes in layouts. eg. Fading in new items, fading out removed items, moving and resizing items smoothly as the layout changes. The layouts themselves need some small changes to make use of this class, and the client code must create the animator, attach it to the layout and choose the animation effects to use.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=700844
2007-08-16 15:56:00 +00:00
Friedrich W. H. Kossebau
cee77d79d9
help plasmoids getting all their events
...
* until dragLeaveEvent gets special treatment do the default
* drop events over items should(?) only be handled by those
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=700652
2007-08-16 05:32:54 +00:00
Gabriel Anderson
0231bb68fe
fixed dpointer
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=700536
2007-08-15 19:53:46 +00:00
Script Kiddy
ff36e3da06
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=700288
2007-08-15 06:11:48 +00:00
Robert Knight
ad83b23dc4
Reimplement sizeHint() in Plasma::Icon, otherwise an invalid size hint gets returned.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=699874
2007-08-14 06:59:36 +00:00
Script Kiddy
eece84b13c
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=699851
2007-08-14 05:56:15 +00:00
Gabriel Anderson
6fd370952d
Fixed krazy issue #8 (Non-const d-pointer)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=699687
2007-08-13 21:51:23 +00:00
Gabriel Anderson
657e4cd036
fixed krazy issue 3 (contractions in strings)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=699663
2007-08-13 21:02:47 +00:00
Percy Leonhardt
9268590942
Added a signalplotter to plasma.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=699576
2007-08-13 15:15:19 +00:00
Robert Knight
482f9824ba
Optimization. Avoid calling prepareGeometryChange() if the new and old geometry have the same size. Added a graphicsItem() method to LayoutItem which returns the associated graphics item (if any). Needed for effects during layouting.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=699494
2007-08-13 09:01:00 +00:00
Robert Knight
ca39faf71a
Fix the push button size hint. Make PushButton::boundingRect() side-effect free.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=699467
2007-08-13 06:32:31 +00:00
Robert Knight
1f99ac776a
Fix LineEdit::geometry(). Returned ectangle should be in parent coordinates.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=699255
2007-08-12 13:13:06 +00:00
Michael Olbrich
17e17536b1
DataEngine::query should not create an empty source but do what
...
DataEngine::connectSource does: ask the engine
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=698833
2007-08-11 08:19:20 +00:00
Aaron J. Seigo
b764db9438
use a KIcon here to get the proper loading
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=698791
2007-08-11 03:30:54 +00:00
Aaron J. Seigo
b80d526229
use QIcon in the public API
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=698752
2007-08-10 22:24:49 +00:00
Matias Valdenegro Toro
777d23d06b
Change start layout position topLeft point of the Geometry.
...
CCMAIL: panel-devel@kde.org
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=698656
2007-08-10 16:04:26 +00:00
Script Kiddy
9820ed31aa
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=698492
2007-08-10 06:30:15 +00:00
Script Kiddy
7ccc15279d
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=698098
2007-08-09 05:49:22 +00:00
Matias Valdenegro Toro
0923b77b89
Fix the starting position of VBoxLayout.
...
CCMAIL: lfranchi@gmail.com
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=698045
2007-08-08 20:37:59 +00:00
Leo Franchi
c89bd8f0bf
add clearApplets() method to Corona, as discussed on panel-devel.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=698001
2007-08-08 17:32:32 +00:00
Aaron J. Seigo
b4a001e6e1
SVN_SILENT: yeah, (C) is meaningless
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=697686
2007-08-08 12:13:05 +00:00
Matt Broadstone
21394705f1
Provide a valid size before being painted
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=697570
2007-08-08 05:29:50 +00:00
Pino Toscano
99f22093f9
include fixup
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=697353
2007-08-07 14:58:00 +00:00
Pino Toscano
507566d71e
actually install the header, not the cpp ;)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=697348
2007-08-07 14:44:03 +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
Matt Broadstone
26569e231c
Add layout test
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696814
2007-08-05 23:05:57 +00:00
Aaron J. Seigo
61b1dccc3d
don't load from plasma-appletsrc by default, provide a convenience
...
method for that however (e.g. mirror the saveApplets methods)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696806
2007-08-05 22:44:07 +00:00
Aaron J. Seigo
05d103abfa
* position applets due to drops properly
...
* if we get a matching mimetype, create that applet (not that applet + a
button too ;)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696783
2007-08-05 22:04:26 +00:00
Aaron J. Seigo
c68077c56e
use the standard MimeTypes key, not our own messed up variant of it
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696780
2007-08-05 21:52:35 +00:00
Matt Broadstone
6a6c508036
Fix Q_PROPERTY/Q_INVOKABLE's, readd icon accessor
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696719
2007-08-05 18:03:26 +00:00
Matt Broadstone
8a4601f9b0
Remove old unneeded debug calls
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696700
2007-08-05 17:13:07 +00:00
Matt Broadstone
388d1ca167
Cleaned up Plasma::Icon a whole lot, added Fredrik's text drawing code from KFileItemDelegate so we actually draw text correctly.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696698
2007-08-05 17:11:46 +00:00
Matt Broadstone
f33c5ab58b
'fixes' layouts for pushbuttons
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696696
2007-08-05 17:03:18 +00:00
Aaron J. Seigo
5d05c8ac7e
more comparison fixes
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696656
2007-08-05 14:24:24 +00:00
Aaron J. Seigo
b41bd5f532
* loading and saving of applets; allows one to define which config file,
...
which keeps us on the path to being able to snapshot and share layouts
* extend addApplet with optional params for applet id and starting geometry
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696631
2007-08-05 13:03:54 +00:00
Aaron J. Seigo
d10dba893e
* Misc => Miscellaneous
...
* provide acccess to the applet id and plugin name
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696629
2007-08-05 13:01:09 +00:00
Aaron J. Seigo
b1d1f1959f
comparing doubles for equality with == isn't great
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696628
2007-08-05 12:58:40 +00:00
Richard J. Moore
8d7e06a09d
- Steps towards dataengine access from scripts
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696620
2007-08-05 12:39:13 +00:00
Aaron J. Seigo
6a784b89a0
don't crash on exit due to using kdebug when the app is going away
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696616
2007-08-05 12:29:06 +00:00
Richard J. Moore
51e50f0c80
- Tidy up script interface
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696595
2007-08-05 11:05:47 +00:00
Aaron J. Seigo
0eafb46fc4
* save applet config on exit
...
* introduce Applet::destroy which will perform cleanups, like deleting
config files, etc..
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696586
2007-08-05 09:39:32 +00:00
Aaron J. Seigo
21c804908e
* add an updateConstraints to be used to do things globally that need to
...
prefix or suffix constraintsUpdated, e.g. manage the shadow
* add experimental support for dynamic shadow, based on a patch by
zrusin; still issues to be addressed but it gives us the start of a
layer-based means to do effects
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696561
2007-08-05 08:41:55 +00:00
Matt Broadstone
2a2348b0e4
_much_ more complete version of the PushButton widget, also fully documented
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696541
2007-08-05 08:10:17 +00:00
Aaron J. Seigo
f74b94a1d5
put clip to shape back in business as the bugs related to it seem to be
...
fixed in 4.3.1
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696383
2007-08-04 15:53:28 +00:00
Aaron J. Seigo
ecad916f0a
set the pos of the lineedit. really, this should become a Widget with a
...
QGrahpicsTextItem as a child item
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696366
2007-08-04 14:59:21 +00:00
Richard J. Moore
e4f1d2f617
- Prepare for scripting
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696337
2007-08-04 13:14:57 +00:00
Richard J. Moore
705b7839f9
- Prepare for scripting
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696314
2007-08-04 12:46:29 +00:00