Marco Martin
203fda098d
PanelSvg now is a subclass of Plasma::Svg so it doesn't use anymore an internal istance of Plasma::Svg
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=799908
2008-04-22 20:25:28 +00:00
Aaron J. Seigo
868a4107a3
move getting the size for the subelement first before creating the cache id.
...
also remove all the SVG_CACHE_BUGFIX. it wasn't getting used and was making the code a lot uglier.
if someone wants to attempt to have the cache store transform-neutral renderings, they can have another crack it and do it so that ifdef's aren't necessary.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=799600
2008-04-21 23:00:58 +00:00
Malcolm Hunter
8e9dd61541
Typo fixes
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=799557
2008-04-21 21:20:03 +00:00
Aaron J. Seigo
92a2bb701e
avoid painting empty pixmaps.
...
BUG:161122
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=799536
2008-04-21 19:32:26 +00:00
Petri Damstén
77e66bc8fb
Convert Meter and SignalPlotter to QGraphicsWidget based widgets
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=799477
2008-04-21 16:26:18 +00:00
Marco Martin
85a1f0e516
use a separate cache for each elementPrefix, this will speed up
...
rendering a lot if prefixes are switched very often. this will make
possible for instance to render the background of taskbar items with a
PanelSvg.
This behaviour is disabled by default, you can enable/disable it with
setCacheAllRenderedPanels(bool), get with cacheAllRenderedPanels() and
erase the entire cache with clearCache()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=799411
2008-04-21 14:01:46 +00:00
Marco Martin
b175042a04
- boundingRect() now is pure virtual in Toolbox class
...
- correctly places the toolbox in vertical panels
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=799135
2008-04-20 14:23:37 +00:00
Rob Scheepmaker
f27fb3fc1b
Applied some of the API changes to Plasma::View:
...
- renamed drawWallpaper
- made config() protected
- moved updateSceneRect() and initGraphicsView to pimpl
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=798623
2008-04-18 17:40:57 +00:00
Marco Martin
1e77632048
api changes:
...
init() and setFailedToLaunch are now protected
containment and corona are friends of applet
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=798585
2008-04-18 16:05:20 +00:00
Script Kiddy
463a6beff7
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=798572
2008-04-18 15:51:48 +00:00
Marco Martin
bfcbfd2662
restoring the minimum size alteration in setDrawStandardBackground()
...
but now when standard background is disabled the minimum size shrinks.
now some applets are starting to look good on the desktop, for instance
tasks, but not pager or clock
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=798173
2008-04-17 17:49:33 +00:00
Marco Martin
8c41b89090
make the applets to behave well when resizing the panel
...
as a bonus, applets with standard background appears a little bit less
wrong (but still wrong) on the desktop
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=798154
2008-04-17 17:09:13 +00:00
Alexis Ménard
c1a93efbdf
we don't need to create an another layout, just changing the direction work, there is
...
a big size problem when put the panel on the right or on the left, the length seems to
be huge
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=798129
2008-04-17 15:29:28 +00:00
Alexis Ménard
dcd0a9bbe9
the layout should take the entire panel
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=798126
2008-04-17 15:17:01 +00:00
Pino Toscano
3d9a4ad7e1
fix signal/slot usage
...
CCMAIL: darktears31@gmail.com
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=798097
2008-04-17 13:12:25 +00:00
Alexis Ménard
cee1f3d1cb
API change as decided in tokamak
...
private slot is now in the pimpl
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=798090
2008-04-17 12:45:46 +00:00
Marco Martin
ea9347e48f
check for toolbox existence, fixes a crash in plasmoidviewer
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=798068
2008-04-17 11:36:20 +00:00
Marco Martin
419277a044
finished the Plasma::Svg api change
...
ContentType now is simply a bool and related methods now are
containsMultipleImages() and setContainsMultipleImages()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797998
2008-04-17 09:09:48 +00:00
Pino Toscano
b4bdfcd9ec
extra ';'
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797870
2008-04-16 22:01:51 +00:00
Dmitry Suzdalev
c2b28413dd
/me done another round of simple stuff renaming :)
...
(corresponding wiki items <s>-ed out)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797824
2008-04-16 21:15:38 +00:00
Marco Martin
f522c38eeb
file() and setFile() -> imagePath() and setImagePath()
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797772
2008-04-16 20:48:53 +00:00
Marco Martin
b08e8ae782
themeChanged() and colorsChanged() now are Q_PRIVATE_SLOTS
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797745
2008-04-16 20:30:18 +00:00
Marco Martin
6024f48475
Api changes to PanelSvg finished:
...
-now it's a Plasma::Svg
-DrawTopBorder DrawLeftBorder etc -> TopBorder LeftBorder etc
-contentAtOrigin -> out of flags
-setFile() -> setImagePath()
-setBorderFlags() -> setEnabledBorders()
-added resize(qreal,qreal)
-setPrefix() -> setElementsPrefix()
-updateSizes() -> Q_PRIVATE_SLOT
-pos() setPos() removed, now pos is a parameter of paint
-setLocation() -> setElementPrefix(enum)
-location() removed
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797736
2008-04-16 20:17:36 +00:00
Marco Martin
3e5f70f8bc
SvgPanel -> PanelSvg
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797664
2008-04-16 17:24:34 +00:00
Marco Martin
d07a60c581
Rename SvnPanel into PanelSvg and update accordingly who is using that,
...
as discussed in api reviews
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797663
2008-04-16 17:23:58 +00:00
Dmitry Suzdalev
b237019d4f
Plasma API adjustements:
...
Theme::colors() => Theme::colorScheme()
Theme::image() => Theme::imagePath()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797634
2008-04-16 15:53:16 +00:00
Marco Martin
4a5df9c733
begin of api changes, as in
...
http://techbase.kde.org/index.php?title=Projects/Plasma/Tokamak1#Plasma::Svg
elementRect() returns a QRectF
elementExisits() became hasElement()
matrixForElement is only private
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797610
2008-04-16 14:31:43 +00:00
Marco Martin
ef4d4863ca
toolbox is vertical panels is starting to appear, still in the wrong
...
position btw.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797598
2008-04-16 13:55:23 +00:00
Marco Martin
01c5a6620c
now the panel toolbox looks way better (still only in horizontal panels
...
btw)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797291
2008-04-15 10:44:24 +00:00
Dan Meltzer
5dec314c85
More tabs that have been eradicated from plasma.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797218
2008-04-15 02:47:16 +00:00
Dan Meltzer
6a13421595
begone you wretched tabs.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797216
2008-04-15 02:38:48 +00:00
Script Kiddy
1a59ca8215
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797202
2008-04-15 02:02:03 +00:00
Aaron J. Seigo
4381fdfafa
they beginning of keyboard focus possibilities; hardly works at the moment, but this is the groundwork
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797091
2008-04-14 21:50:41 +00:00
Marco Martin
4e7e2cb345
bring back the toolbox reset after setIscontainment
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797081
2008-04-14 21:26:40 +00:00
Marco Martin
f4e44f397e
panel toolbox looks way better, but is not displayed right now because
...
isContainment of the panel returns false again and it seems geometry()
returns a size of 0x0 in constraintsUpdated
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797075
2008-04-14 21:09:15 +00:00
Aaron J. Seigo
17bba1cffc
SVN_SILENT: tabs are not cool. tell your friends.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797074
2008-04-14 21:07:25 +00:00
Alexis Ménard
d5753f1fba
welcome back to the background that will be a little modified soon with window frame (that
...
will include the applet handle No More Seperate Item ;) ) + delete in layouts in
containments when removing applets
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797066
2008-04-14 20:37:54 +00:00
Aaron J. Seigo
b8e3eed0dc
move the timer experiment out for 4.1 at least
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797015
2008-04-14 18:11:51 +00:00
Aaron J. Seigo
ae33eeddda
SVN_SILENT: minor ws
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797014
2008-04-14 18:10:24 +00:00
Rob Scheepmaker
54a3279aa7
ReAdded the isAnimating() function to Phase.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797010
2008-04-14 18:04:34 +00:00
Alexis Ménard
d5dd4e16ac
Ammmaaziiing grace!!
...
Widget class is dead..
still in the repo for tooltip code
CCMAIL : aseigo@kde.org
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796973
2008-04-14 16:02:23 +00:00
Chani Armitage
fd37ae89b0
correct more lies
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796953
2008-04-14 15:41:30 +00:00
Alexis Ménard
d91b8a94d4
remove useless function
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796939
2008-04-14 15:15:26 +00:00
Alexis Ménard
1b7a9a14e0
+bye bye paintwidget method
...
+remove tooltip that will be replaced by the tooltip manager
+port some used stuff in applet class
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796924
2008-04-14 14:50:02 +00:00
Chani Armitage
da49777a70
remove lies from the docs
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796923
2008-04-14 14:49:16 +00:00
Davide Bettio
4e6e78cb04
Now everything works but I don't really know the why.
...
Please, *check* this code.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796915
2008-04-14 14:41:41 +00:00
Chani Armitage
3c9e07518a
more accurate docs for updateInterval
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796910
2008-04-14 14:37:04 +00:00
Alexis Ménard
1e8d0d6051
API clean : bye bye cache mode wich is managed by qt
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796903
2008-04-14 14:18:17 +00:00
Alexis Ménard
1b15d951a9
API clean : bye bye opacity, wich is bas implemented in all cases
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796900
2008-04-14 14:09:13 +00:00
Sebastian Kügler
b32216ac24
Take border sizes into account when drawing applets with background.
...
It's still busted right now though, since geometry() returns an
empty rect (dunno why ... )
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796898
2008-04-14 14:04:00 +00:00