Commit Graph

3544 Commits

Author SHA1 Message Date
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
Allen Winter
a320742114 coding style fixes.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870188
2008-10-12 00:18:08 +00:00
Aaron J. Seigo
fbd8bc850e change when we call setName when loaded as a plugin
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870187
2008-10-12 00:05:39 +00:00
Aaron J. Seigo
f0b3371d1a in the plugin case, setName will trigger the ops registration
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870178
2008-10-11 23:54:51 +00:00
Aaron J. Seigo
c9937807b4 * always check the config object before accessing it
* don't bother trying to register the ops in the default ctor as it will always fail

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870177
2008-10-11 23:53:52 +00:00
Allen Winter
3674a94a99 more coding style fixes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870169
2008-10-11 23:28:20 +00:00
Allen Winter
a7aebfa60a a bunch more coding style fixes. still some lines longer than 100 chars.
this is definitely helping me find false positives in the Krazy style checker.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870161
2008-10-11 22:48:38 +00:00
Aaron J. Seigo
254d4c7107 update dox to reflext api changes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870159
2008-10-11 22:36:32 +00:00
Chani Armitage
0d99586a04 removed a function that shouldn't be there. we must *never* call setParent on that dialog.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870095
2008-10-11 18:14:45 +00:00
Rob Scheepmaker
51e03dc5e3 Add return to source icon the the plasma theme, and use this in extender items.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870089
2008-10-11 17:56:07 +00:00
Allen Winter
e88e2faa63 first batch of small coding style fixes.
these were found while testing the Krazy style checker, which I'm adapting
for the kdelibs style.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870051
2008-10-11 16:19:04 +00:00
Marco Martin
d96cc1d739 actually resize the dialog in adjustView
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=869904
2008-10-11 12:01:37 +00:00