93bf2933e4When updating a Widget's geometry, pass the geometry in the Widget's co-ordinates to layout()->setGeometry() rather than the parent widget's co-ordinates. Call updateGeometry() inside setGeometry().
Robert Knight
2007-08-17 16:28:54 +0000
19efbb9108Respect min/max sizeHints when setting geometry
Matt Broadstone
2007-08-17 16:04:49 +0000
93070ce1fdImplement the same sizeHint() logic in Plasma::Widget as QWidget. It returns the layout's sizeHint() if there is a layout or an invalid QSizeF otherwise. Implement sizeHint() in Plasma::Applet. It returns the same as contentSize() if there is no border or the content size hint plus the border size otherwise. Many of the applets need changes for setGeometry() to work properly on them. Fix various warnings.
Robert Knight
2007-08-17 15:05:01 +0000
c86bf6caeaExample for nested layouts
Percy Leonhardt
2007-08-17 14:36:48 +0000
62b2605d0dAdd 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.
Robert Knight
2007-08-17 07:02:24 +0000
341c3700ebFaster background drawing. Speeds up a lot zooming operations and general compositing.
Enrico Ros
2007-08-17 06:35:19 +0000
f1855dd6b2Fixed wrong calculation of width
Percy Leonhardt
2007-08-16 20:37:29 +0000
2475cfed09Add 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.
Robert Knight
2007-08-16 15:56:00 +0000
cee77d79d9help plasmoids getting all their events
Friedrich W. H. Kossebau
2007-08-16 05:32:54 +0000
0231bb68fefixed dpointer
Gabriel Anderson
2007-08-15 19:53:46 +0000
7f4acfc837SVN_SILENT made messages (.desktop file)
Script Kiddy
2007-08-15 06:11:48 +0000
ff36e3da06SVN_SILENT made messages (.desktop file)
Script Kiddy
2007-08-15 06:11:48 +0000
ad83b23dc4Reimplement sizeHint() in Plasma::Icon, otherwise an invalid size hint gets returned.
Robert Knight
2007-08-14 06:59:36 +0000
eece84b13cSVN_SILENT made messages (.desktop file)
Script Kiddy
2007-08-14 05:56:15 +0000
6fd370952dFixed krazy issue #8 (Non-const d-pointer)
Gabriel Anderson
2007-08-13 21:51:23 +0000
657e4cd036fixed krazy issue 3 (contractions in strings)
Gabriel Anderson
2007-08-13 21:02:47 +0000
9268590942Added a signalplotter to plasma.
Percy Leonhardt
2007-08-13 15:15:19 +0000
482f9824baOptimization. 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.
Robert Knight
2007-08-13 09:01:00 +0000
ca39faf71aFix the push button size hint. Make PushButton::boundingRect() side-effect free.
Robert Knight
2007-08-13 06:32:31 +0000
2ee8d7701fSVN_SILENT made messages (.desktop file)
Script Kiddy
2007-08-13 05:38:36 +0000
1f99ac776aFix LineEdit::geometry(). Returned ectangle should be in parent coordinates.
Robert Knight
2007-08-12 13:13:06 +0000
17e17536b1DataEngine::query should not create an empty source but do what DataEngine::connectSource does: ask the engine
Michael Olbrich
2007-08-11 08:19:20 +0000
b764db9438use a KIcon here to get the proper loading
Aaron J. Seigo
2007-08-11 03:30:54 +0000
b80d526229use QIcon in the public API
Aaron J. Seigo
2007-08-10 22:24:49 +0000
777d23d06bChange start layout position topLeft point of the Geometry. CCMAIL: panel-devel@kde.org
Matias Valdenegro Toro
2007-08-10 16:04:26 +0000
55a5062322SVN_SILENT made messages (.desktop file)
Script Kiddy
2007-08-10 06:30:15 +0000
9820ed31aaSVN_SILENT made messages (.desktop file)
Script Kiddy
2007-08-10 06:30:15 +0000
9f716b6da7SVN_SILENT made messages (.desktop file)
Script Kiddy
2007-08-09 05:49:22 +0000
7ccc15279dSVN_SILENT made messages (.desktop file)
Script Kiddy
2007-08-09 05:49:22 +0000
0923b77b89Fix the starting position of VBoxLayout. CCMAIL: lfranchi@gmail.com
Matias Valdenegro Toro
2007-08-08 20:37:59 +0000
c89bd8f0bfadd clearApplets() method to Corona, as discussed on panel-devel.
Leo Franchi
2007-08-08 17:32:32 +0000
b4a001e6e1SVN_SILENT: yeah, (C) is meaningless
Aaron J. Seigo
2007-08-08 12:13:05 +0000
21394705f1Provide a valid size before being painted
Matt Broadstone
2007-08-08 05:29:50 +0000
507566d71eactually install the header, not the cpp ;)
Pino Toscano
2007-08-07 14:44:03 +0000
db4a7ebe61copyright cleanups:
Aaron J. Seigo
2007-08-06 11:20:02 +0000
26569e231cAdd layout test
Matt Broadstone
2007-08-05 23:05:57 +0000
61b1dccc3ddon't load from plasma-appletsrc by default, provide a convenience method for that however (e.g. mirror the saveApplets methods)
Aaron J. Seigo
2007-08-05 22:44:07 +0000
05d103abfa* position applets due to drops properly * if we get a matching mimetype, create that applet (not that applet + a button too ;)
Aaron J. Seigo
2007-08-05 22:04:26 +0000
c68077c56euse the standard MimeTypes key, not our own messed up variant of it
Aaron J. Seigo
2007-08-05 21:52:35 +0000
6a6c508036Fix Q_PROPERTY/Q_INVOKABLE's, readd icon accessor
Matt Broadstone
2007-08-05 18:03:26 +0000
8a4601f9b0Remove old unneeded debug calls
Matt Broadstone
2007-08-05 17:13:07 +0000
388d1ca167Cleaned up Plasma::Icon a whole lot, added Fredrik's text drawing code from KFileItemDelegate so we actually draw text correctly.
Matt Broadstone
2007-08-05 17:11:46 +0000
f33c5ab58b'fixes' layouts for pushbuttons
Matt Broadstone
2007-08-05 17:03:18 +0000
5d05c8ac7emore comparison fixes
Aaron J. Seigo
2007-08-05 14:24:24 +0000
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
Aaron J. Seigo
2007-08-05 13:03:54 +0000
d10dba893e* Misc => Miscellaneous * provide acccess to the applet id and plugin name
Aaron J. Seigo
2007-08-05 13:01:09 +0000
b1d1f1959fcomparing doubles for equality with == isn't great
Aaron J. Seigo
2007-08-05 12:58:40 +0000
8d7e06a09d- Steps towards dataengine access from scripts
Richard J. Moore
2007-08-05 12:39:13 +0000
6a784b89a0don't crash on exit due to using kdebug when the app is going away
Aaron J. Seigo
2007-08-05 12:29:06 +0000
51e50f0c80- Tidy up script interface
Richard J. Moore
2007-08-05 11:05:47 +0000
0eafb46fc4* save applet config on exit * introduce Applet::destroy which will perform cleanups, like deleting config files, etc..
Aaron J. Seigo
2007-08-05 09:39:32 +0000
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
Aaron J. Seigo
2007-08-05 08:41:55 +0000
2a2348b0e4_much_ more complete version of the PushButton widget, also fully documented
Matt Broadstone
2007-08-05 08:10:17 +0000
f74b94a1d5put clip to shape back in business as the bugs related to it seem to be fixed in 4.3.1
Aaron J. Seigo
2007-08-04 15:53:28 +0000
ecad916f0aset the pos of the lineedit. really, this should become a Widget with a QGrahpicsTextItem as a child item
Aaron J. Seigo
2007-08-04 14:59:21 +0000
e4f1d2f617- Prepare for scripting
Richard J. Moore
2007-08-04 13:14:57 +0000
705b7839f9- Prepare for scripting
Richard J. Moore
2007-08-04 12:46:29 +0000
e7512b5b77- Prepare for scripting
Richard J. Moore
2007-08-04 12:37:59 +0000
466fda4c04SVN_SILENT made messages (.desktop file)
Script Kiddy
2007-08-04 05:43:42 +0000
23fe05689adocumented Plasma::CheckBox, removed methods now implemented in Plasma::Widget for this widget.
Matt Broadstone
2007-08-03 19:17:30 +0000
a53be5affeProper documentation, added setSize
Matt Broadstone
2007-08-03 18:56:14 +0000
be3c212374Make all plasma/widgets inherit Plasma::Widget now. Holding off on committing change for icon as I have a massive patch for the new text drawing
Matt Broadstone
2007-08-03 16:00:10 +0000
8fce372a7callow applets to register that they need to be configured before use
Aaron J. Seigo
2007-08-03 15:23:56 +0000
0e221b59bdadd the ability to include a screenshot with packages
Aaron J. Seigo
2007-08-03 12:38:57 +0000
e6988faf49Adapt to new KWarning/kFatal/kDebug api
Laurent Montel
2007-08-03 06:59:24 +0000
8c9f82bd4aReduce debugging noise when performing drag-and-drop.
Robert Knight
2007-08-03 00:13:33 +0000
510c39002afixes the clicked signal.. thanks to Anrdreas, the MAN!
Aaron J. Seigo
2007-08-02 17:15:21 +0000
ce090faab8add matrixForElement(const QString& elementId) const as discussed on panel-devel
Leo Franchi
2007-08-02 16:14:35 +0000
ac918ad4bfkdebug fixes
Aaron J. Seigo
2007-08-02 13:12:59 +0000
d40669a2d2Do not paint anything inheriting Widget and do not paint LineEdit when in desktop view. LineEdit is currently just a temporary solution, because it doesn't inherit Widget for some reason.
Aaron Eisenberg
2007-08-01 20:51:27 +0000
8ccfa4e4ddQMetaObject::invokeMethod is called incorrectly in DataEngine::connectSource / DataEngine::connectAllSources
Sebastian Kügler
2007-08-01 11:22:53 +0000
f84844f85c#include cleanup in public header
Pino Toscano
2007-08-01 10:18:48 +0000
398d39948eCall base implementations of dragMoveEvent() and dropEvent() so that individual QGraphicsItems within the scene can use drag and drop.
Robert Knight
2007-08-01 07:09:27 +0000
4823fc0237More refactoring in preparation for text layout code
Matt Broadstone
2007-08-01 01:25:01 +0000
48700bf813Refactor these to Private, makes paint more readable and gets us ready for new text layout code
Matt Broadstone
2007-08-01 00:52:26 +0000
5aaccf0489The applets now can associate with (one or more) certain mimetypes, and be called when that mime is dragged onto the desktop. Very rudimental for the moment, we should pass the name of the file to the applet. Added some copyrights I missed in the past. Aaron: your turn now to discover the 'Mimetypes' key problem. CCMAIL: aseigo@kde.org
Riccardo Iaconelli
2007-07-31 10:52:05 +0000
8d4debed10* add missing return in instanceName * turn off clipping to shape for Applet as that breaks background painting in cute and wonderful ways * remove some dead code * use setFlag instead of setFlags everywhere
Aaron J. Seigo
2007-07-31 01:11:25 +0000
999cd6ed57Cache standard applet background.
Thomas Georgiou
2007-07-31 00:21:08 +0000
d66a988732added the QList<QAction*> Applet::contextActions() method. thanks aaron :)
Sebastian Sauer
2007-07-31 00:20:19 +0000
7634beebf3a bit of extra debug output here plus a mod to the icon demo so i can show bibr in a couple days the interesting ways in which event handling is broken
Aaron J. Seigo
2007-07-30 20:29:10 +0000
8d5d8daeb3give the configxml object our config object; probably works better that way ;)
Aaron J. Seigo
2007-07-30 16:19:07 +0000
b1fafa0edcadd a ctor that takes a KSharedConfig::Ptr
Aaron J. Seigo
2007-07-30 16:18:27 +0000
f7abb4b135* call prepareGeometryChange when the darw default background setting changes * add in a completely untested-but-should-work ;) implementation of config ui loading; requires a package with config/ui/main.ui and config/xml/main.xml in it. should shave 7LOC off of the clock's Script.js, which is ~10% of the code line count!
Aaron J. Seigo
2007-07-30 16:00:29 +0000
b877dc8ee0add main config xml and ui entries to the applet package structure
Aaron J. Seigo
2007-07-30 15:56:04 +0000
e753760069SVN_SILENT made messages (.desktop file)
Script Kiddy
2007-07-30 04:47:23 +0000
d511b20751SVN_SILENT made messages (.desktop file)
Script Kiddy
2007-07-30 04:47:23 +0000
b9b651bf7eif you're going to fix duplicates, take out the one that is out of alphabetical order. preventing dupes when hand editting is why i put things in alpha order in the first place.
Aaron J. Seigo
2007-07-29 15:20:02 +0000
0e16a6b846Add missing include file
Laurent Montel
2007-07-29 11:35:29 +0000
e921256074SVN_SILENT made messages (.desktop file)
Script Kiddy
2007-07-29 05:20:59 +0000
b09384dcc5remove more of the misguided lock applet commit
Aaron J. Seigo
2007-07-29 05:06:04 +0000
42199d52daFinish reverting to the right revision.
Thomas Georgiou
2007-07-29 04:36:38 +0000
adddd535ffFinish reverting.
Thomas Georgiou
2007-07-29 04:33:48 +0000
3b051def64Revert commit.
Thomas Georgiou
2007-07-29 04:33:21 +0000
ee0793ef7dConvert painters to stack from pointers.
Thomas Georgiou
2007-07-29 01:41:13 +0000
d58bbd2d29Add dynamic shadows to standard background. Color the shadows instead of a roundrect when zoomed out. Actually paint the applet when zoomed out.
Thomas Georgiou
2007-07-29 01:24:58 +0000
947ed386ab* remove the lock/move stuff as it ignores kiosk and is already covered nicely by isImmutable and setImmutable * on the base implementation of contentSize, check to see if we have a layout and if so use that to determine the size we ought to be
Aaron J. Seigo
2007-07-28 23:41:40 +0000
08fca6641econst fixes
Aaron J. Seigo
2007-07-28 23:40:21 +0000