Commit Graph

11151 Commits

Author SHA1 Message Date
Aaron J. Seigo
432bfaf165 make paintGLInterface non-pure virtual to make it more similar to Applet
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=706360
2007-08-30 04:34:09 +00:00
Aaron J. Seigo
243f835253 a micropatch i had sitting on the laptop
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=706359
2007-08-30 04:33:12 +00:00
Aaron J. Seigo
bf30d19c41 improve error reporting when a plugin fails to load
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=705985
2007-08-29 03:06:48 +00:00
Aaron J. Seigo
e600dbe4c3 * fix typo in PLASMA_EXPORT_SCRIPTENGINE name; guess nobody is using this yet? ;)
* port to new plugin system
* forget about taking a QVariantList in the ScriptEngine ctor. it's not going to be used

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=705983
2007-08-29 03:00:00 +00:00
Aaron J. Seigo
1316a45e7e * make connectSource apidox a bit clearer
* add DataContainer* containerForSource() for script engine authors to use

CCMAIL:rich@kde.org

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=705981
2007-08-29 02:57:04 +00:00
Aaron J. Seigo
b34983f356 remove an unecessary include and a compile warning
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=705980
2007-08-29 02:55:49 +00:00
Aaron J. Seigo
904c1b13f8 move animator to the new plugin system
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=705975
2007-08-29 02:45:20 +00:00
Aaron J. Seigo
559647f5cc make Applet use the newer plugin loading mechanisms
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=705972
2007-08-29 02:33:22 +00:00
Aaron J. Seigo
c911115b10 kpluginfactory, it's all the new rage
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=705970
2007-08-29 02:17:39 +00:00
Aaron J. Seigo
7f6821574c make engine loading work again.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=705960
2007-08-29 01:49:44 +00:00
Thomas Georgiou
44c1f66714 Make other widgets paint when zoomed out. (These 3 commits are just
commenting things out. The code will need to be removed once we are 
sure we do not need it.)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=705868
2007-08-28 19:12:13 +00:00
Thomas Georgiou
d65ab52dd6 Lineedits should display when zoomed out.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=705867
2007-08-28 19:02:38 +00:00
Thomas Georgiou
2bd7c794ba Paint applets when zoomed out.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=705864
2007-08-28 18:49:44 +00:00
Tim Beaulen
7452d8eeb3 The qatomic include is not used.
Removing it makes plasma build with the latest Qt4.4 snapshot.

See also svn commit 705296


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=705849
2007-08-28 18:13:07 +00:00
Richard J. Moore
5cecb0229c - Fix for Q_INVOKABLE
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=705760
2007-08-28 14:26:31 +00:00
Steve Evans
5227b697c3 Replace expf with std::exp, which does the same thing, and is available on
machines that don't have expf, like Solaris.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=705725
2007-08-28 12:56:02 +00:00
Thiago Macieira
0ad0b8c21f You don't need QAtomic if you're not thread-safe
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=705296
2007-08-27 17:27:27 +00:00
Arto Hytönen
8bc26d704f includes, include guards and typos fixed
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=705066
2007-08-27 04:31:52 +00:00
Jarosław Staniek
79323a4399 GCC 3.3.5: fixed error before '.'
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=704155
2007-08-24 07:14:24 +00:00
Robert Knight
773612ac44 Default implementations of minimumSize() , maximumSize() in Layout and correct implementations of minimumSize() , maximumSize() in Widget to match equivalents in QLayout , QWidget.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=703547
2007-08-22 20:13:24 +00:00
Arto Hytönen
8232082478 a lot of i18n tags and other small krazy issues fixed, nothing major
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=702784
2007-08-21 07:02:04 +00:00
Script Kiddy
bba405e390 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=702776
2007-08-21 06:53:29 +00:00
Thiago Macieira
eca6dc90c0 Remove use of k_funcinfo
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=702583
2007-08-20 21:33:48 +00:00
Script Kiddy
02e77eac3f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/menu/; revision=702200

The following changes were in SVN, but were removed from git:

M	pics/oxygen/index.theme
2007-08-20 07:37:38 +00:00
Script Kiddy
d26d44d606 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=702200
2007-08-20 07:37:38 +00:00
Script Kiddy
a72f6cdfad SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/menu/; revision=701736
2007-08-19 06:11:40 +00:00
Script Kiddy
6b6f7cf54e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=701736
2007-08-19 06:11:40 +00:00
Matt Broadstone
4fbc948d56 That'll teach me not to test the build before committing :)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=701238
2007-08-17 18:57:28 +00:00
Matt Broadstone
1fb3bef9bb Fix build
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=701237
2007-08-17 18:55:55 +00:00
Robert Knight
93bf2933e4 When 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().
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=701207
2007-08-17 16:28:54 +00:00
Matt Broadstone
19efbb9108 Respect min/max sizeHints when setting geometry
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=701205
2007-08-17 16:04:49 +00:00
Robert Knight
93070ce1fd Implement 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.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=701192
2007-08-17 15:05:01 +00:00
Percy Leonhardt
c86bf6caea Example for nested layouts
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=701173
2007-08-17 14:36:48 +00:00
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
7f4acfc837 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=700288
2007-08-15 06:11:48 +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
Script Kiddy
2ee8d7701f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/menu/; revision=699436
2007-08-13 05:38:36 +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