Davide Bettio
dd9445d885
Added svgwidget.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=873133
2008-10-18 21:30:02 +00:00
Aaron J. Seigo
62c417fe46
get the connection right
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=873121
2008-10-18 20:59:53 +00:00
Aaron J. Seigo
b5df90348f
don't load the wallpaper config until we paint. this means that if we have off-screen containments, even with complex wallpapers, they don't take up unecessary memory or delay start up because they won't render the wallpaper until the first paint event.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872755
2008-10-18 01:31:52 +00:00
Aaron J. Seigo
390f76d33a
prepare Wallpaper for delay init: add a setRenderingMode and an isInitialized
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872753
2008-10-18 01:30:52 +00:00
Aaron J. Seigo
333b91acfb
allow swapping of arbitrary containments, not just this view's containment
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872751
2008-10-18 01:29:42 +00:00
Aaron J. Seigo
2f501ace5e
make cache strategies configurable
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872726
2008-10-17 23:41:34 +00:00
Aaron J. Seigo
f1accd0eba
ok, don't need this shouting all the time anymore
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872725
2008-10-17 23:41:13 +00:00
Marco Martin
027957f2e5
look ma, no FAILs!
...
use the suffix normal for natural for sizes in the cache, makes not
nevessary the svg size to be initialized
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872706
2008-10-17 21:27:32 +00:00
Marco Martin
84f23dd033
add also enabled borders in the cached name (fixes moving of panel)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872656
2008-10-17 18:53:20 +00:00
Marco Martin
42d446525d
fix scrollbar arrows
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872652
2008-10-17 18:42:44 +00:00
Davide Bettio
69155230cd
Added a new useful overload.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872636
2008-10-17 17:45:18 +00:00
Alessandro Diaferia
7f51dcbf62
* better behavior with aspectRatioMode.
...
* one important line more than the diff in reviewboard
needed to correctly restore the aspectratio.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872574
2008-10-17 13:49:11 +00:00
Marco Martin
88137e4136
comments++
...
did forgot them on the forst iteration :)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872552
2008-10-17 13:09:18 +00:00
Aaron J. Seigo
51e053e529
so people can see when we FAIL and hit up an svg.
...
the goal is to see *zero* FAILs on a second run
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872383
2008-10-17 05:17:46 +00:00
Aaron J. Seigo
d725fd9413
swap screens with the containment we kick off our screen if we have a screen of our own to trade them
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872382
2008-10-17 05:16:26 +00:00
Aaron J. Seigo
573306a3af
ok, that was a stupid error. =)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872366
2008-10-17 02:52:51 +00:00
Aaron J. Seigo
de112e34fe
* remove some (apparently accidently) duplicated code
...
* add the size of the element we are looking for to the cache, so multiple sizes of the same svg don't result in reading the renderer
* if found, then don't go and re-check it even if the rect is invalid
this commit introduces some breakage since it actually relies on the cache properly now, it's apparent that there are some caching issues and we're getting incorrect values in/out =)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872363
2008-10-17 02:30:08 +00:00
Aaron J. Seigo
5197a55791
allow setting of the disk cache size; init it to "no limit", so we can see how that puppy grows with time
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872362
2008-10-17 02:26:26 +00:00
Aaron J. Seigo
12c5b4da94
if we find it in the cache, let's not render it anyways
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872361
2008-10-17 02:25:18 +00:00
Chani Armitage
4f776b73c1
documentation++
...
warning people not to assume Applet::view() returns a view, because null pointer crashes make me sad :(
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872326
2008-10-16 21:40:21 +00:00
Marco Martin
bba4ea355b
-not prescale anymore since setcontainsmultipleimages now works
...
-qpixmap pointers don't help...
-store and retrieve from cache the rendered panel
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872314
2008-10-16 21:06:07 +00:00
Aaron J. Seigo
5e987c6ba8
send the containment along with the signal for consitency with similar signals
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872308
2008-10-16 20:54:15 +00:00
Aaron J. Seigo
11536c679b
this was a hack, albeit a mildly useful one, but it's in the way now; need to find a better solution for the keyboard shortcuts madness (or just switch to qt 4.5)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872302
2008-10-16 20:30:34 +00:00
Marco Martin
ed626e5869
ahem, there was a missing !
...
:)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872290
2008-10-16 20:04:51 +00:00
Marco Martin
3f5ddc5aee
fix a typo
...
put "Size" siffix to sizes, so now we can have an element called "invalidElement"
avoid duplicate entries in invalidElement
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872254
2008-10-16 18:34:43 +00:00
Marco Martin
089fb6ea94
cache on disk rects of elements and the not-existence of them
...
should avoid some calls of createRenderer() the second time it's queried
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872250
2008-10-16 18:25:20 +00:00
Guillaume Pothier
7b201201b0
Fixed positioning of desktop containments' toolbox
...
BUG: 166770
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872129
2008-10-16 11:47:03 +00:00
Aaron J. Seigo
771c946872
remove a bit of nonesense =)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=871924
2008-10-16 04:27:20 +00:00
Aaron J. Seigo
6374635bf3
on disk pixmap cache, and use it agressively for svg's. first step towards "no svg parsing on second run"!
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=871870
2008-10-15 20:55:07 +00:00
Script Kiddy
047c0dde89
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=871717
2008-10-15 12:18:04 +00:00
Aaron J. Seigo
e7357ffa7d
move the applet browser stuff into the two shells that actually use it (desktop and overlay) so that we can unburden libplasma from it; makes me a lot more comfortable talking about BC with a straight face. a new browser may end up going back in post-4.2 however
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=871492
2008-10-15 01:56:00 +00:00
Aaron J. Seigo
725c0c3137
when the contianment goes away, zero our pointer to it
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=871483
2008-10-15 00:26:42 +00:00
Marco Martin
9c6184b1bf
a bit more cleaner
...
more fitts law friendly when is in a top panel (still some resizing
issues)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=871308
2008-10-14 13:16:56 +00:00
Laurent Montel
a87be2379a
Pedantic
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=871193
2008-10-14 06:17:07 +00:00
Aaron J. Seigo
025d33adab
minimum size fixes
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=871187
2008-10-14 05:20:20 +00:00
Aaron J. Seigo
020c81e647
don't get caught with our layout pants down: re-check the layout after calling graphicsWidget()
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=871184
2008-10-14 05:02:29 +00:00
Aaron J. Seigo
2118460d27
applet -> widget
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=871125
2008-10-13 23:16:22 +00:00
Aaron J. Seigo
8cc7800aae
actually add the actions to the menu
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=871120
2008-10-13 22:57:23 +00:00
Aaron J. Seigo
59b5ac3080
allow PackageStructures to provide their own online browsers
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=871119
2008-10-13 22:40:00 +00:00
Script Kiddy
3d808a23b3
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870884
2008-10-13 11:35:37 +00:00
Allen Winter
81d09742bb
fix spelling
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870322
2008-10-12 11:12:24 +00:00
Allen Winter
c4573eae9a
use QString::clear() to clear a QString instead of assigning QString().
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870305
2008-10-12 11:05:42 +00:00
Script Kiddy
d0c8c9cee1
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870301
2008-10-12 11:04:37 +00:00
Allen Winter
790137103d
fix i18n() string passed to KMessageBox::error().
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870298
2008-10-12 11:01:00 +00:00
Allen Winter
8716f930ec
use split('x') instead of split("x")
...
add single chars instead of single char strings
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870295
2008-10-12 10:57:42 +00:00
Allen Winter
492fe0e8aa
fixup include guards
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870291
2008-10-12 10:48:53 +00:00
Allen Winter
214ac5f91f
clean up some kDebugs and kWarnings.
...
shorten some extra long lines.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870290
2008-10-12 10:20:02 +00:00
Allen Winter
4647b01da4
coding style fixes.
...
that's enough for now.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870214
2008-10-12 01:46:21 +00:00
Allen Winter
e2c26f0a90
coding style fixes
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870212
2008-10-12 01:39:10 +00:00
Allen Winter
eae853582b
coding style fixes.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870205
2008-10-12 01:31:54 +00:00