Commit Graph

3280 Commits

Author SHA1 Message Date
Marco Martin
06e7a940b0 don't try to reimplement popupPosition() but base on that, otherwise its
bugs would be just duplicated, like 
CCBUG:177621 and CCBUG:177580

svn path=/trunk/KDE/kdelibs/; revision=896192
2008-12-12 20:07:51 +00:00
Marco Martin
4b75b49f06 switch between popup and full on a startup complete constraint
svn path=/trunk/KDE/kdelibs/; revision=896126
2008-12-12 15:15:40 +00:00
Rob Scheepmaker
1b3d372062 (re)Add some kDebug lines temporarily to help me debug a bug I can't reproduce myself.
svn path=/trunk/KDE/kdelibs/; revision=896123
2008-12-12 15:03:18 +00:00
Marco Martin
43a7784230 take into account rotations when deciding the popup position
BUG: 177580

svn path=/trunk/KDE/kdelibs/; revision=896110
2008-12-12 14:41:15 +00:00
Aaron J. Seigo
29b2776ee4 carefully save applets on creation, prevents losing new applets right after adding them
svn path=/trunk/KDE/kdelibs/; revision=895934
2008-12-12 01:05:00 +00:00
Aaron J. Seigo
4ffa080061 SVN_SILENT: quit spamming the output with this one
svn path=/trunk/KDE/kdelibs/; revision=895806
2008-12-11 19:53:35 +00:00
Script Kiddy
4ae7b9e16e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=895681
2008-12-11 13:04:22 +00:00
Aaron J. Seigo
e317155238 make sure the rects cache file is always valid
BUG:177463

svn path=/trunk/KDE/kdelibs/; revision=895593
2008-12-11 06:24:25 +00:00
Aaron J. Seigo
47866f417b List->Set, and try and make the even filter a little more efficient
svn path=/trunk/KDE/kdelibs/; revision=895578
2008-12-11 03:10:36 +00:00
Aaron J. Seigo
7ccd4fb64f SVN_SILENT: probably don't need that debug in there anymore ;)
svn path=/trunk/KDE/kdelibs/; revision=895577
2008-12-11 03:06:46 +00:00
Aaron J. Seigo
87fb3dfabe smarter use of QMap
svn path=/trunk/KDE/kdelibs/; revision=895574
2008-12-11 02:55:28 +00:00
Aaron J. Seigo
2a8e07ba42 use value/contains better.
svn path=/trunk/KDE/kdelibs/; revision=895573
2008-12-11 02:52:06 +00:00
Aaron J. Seigo
ee776a8367 better use of value and contains; thanks Hermier! =)
svn path=/trunk/KDE/kdelibs/; revision=895572
2008-12-11 02:50:06 +00:00
Aaron J. Seigo
c98d3aacf5 one less contains
svn path=/trunk/KDE/kdelibs/; revision=895571
2008-12-11 02:47:11 +00:00
Aaron J. Seigo
f4486e8862 * remove in-memory entries for invalid elements when an svg is no longer in use
* remove in-memory entries for invalid elements when the rect cache is invalidated for an svg

svn path=/trunk/KDE/kdelibs/; revision=895570
2008-12-11 02:45:45 +00:00
Aaron J. Seigo
7cfce67821 lists to sets and trying to do fewer collection lookups
svn path=/trunk/KDE/kdelibs/; revision=895540
2008-12-10 23:17:12 +00:00
Aaron J. Seigo
b69d0722d8 clear with transparency; a little better but not perfect yet
svn path=/trunk/KDE/kdelibs/; revision=895441
2008-12-10 18:52:26 +00:00
Aaron J. Seigo
fda8cf20d7 take the space location from the cleaned up path, not the original term
BUG:154395

svn path=/trunk/KDE/kdelibs/; revision=895431
2008-12-10 18:15:47 +00:00
Rob Scheepmaker
c51d9d7d9b Yeah, finally! Fixed a crash that occurs when moving an extenderitem back to its source from an extender that was also the last one to have a spacer inserted because the same item was hovering over it. Phew, that was a mouthfull... With this fix we monitor if previousTargetExtender get's destoryed so we don't accidently try to remove it's spacer.
BUG: 171498


svn path=/trunk/KDE/kdelibs/; revision=895405
2008-12-10 17:29:40 +00:00
Marco Martin
4bca5e12ec stop timers and clear list to save also here
svn path=/trunk/KDE/kdelibs/; revision=895381
2008-12-10 15:45:34 +00:00
Marco Martin
232986330b clear local memory caches and stop cache timers when theme changes
svn path=/trunk/KDE/kdelibs/; revision=895370
2008-12-10 14:35:44 +00:00
Marco Martin
6d0e474ba9 detach from the config of rects cache before deleting it
svn path=/trunk/KDE/kdelibs/; revision=895360
2008-12-10 14:21:08 +00:00
Rob Scheepmaker
7ae063b1ec Don't crash on use when detaching extenderitems while having widgets locked. Instead just move the item back where it came from.
svn path=/trunk/KDE/kdelibs/; revision=895345
2008-12-10 13:51:26 +00:00
Script Kiddy
aa49665c6c SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=895328
2008-12-10 13:46:31 +00:00
Rob Scheepmaker
72eaf8c5f7 No longer use a QGraphicsGridLayout to manage offscreen widgets in corona. Instead position them manually and give each one a spot where they can grow up to QWIDGETSIZEMAX. This has the advantage of not requiring hacks to work around QGL problems, and it avoids having to move all views when one item resizes. It feels snappier and the code looks cleaner.
svn path=/trunk/KDE/kdelibs/; revision=895118
2008-12-10 00:57:42 +00:00
Aaron J. Seigo
a6140d5a27 use isEmpty; a couple minor, minor changes that crept in while debugging things elsewhere
svn path=/trunk/KDE/kdelibs/; revision=895022
2008-12-09 20:37:41 +00:00
Frederik Gladhorn
f0c5eeea37 put the "Appearance Settings" after "Lock Widgets" in the context menu of the desktop
svn path=/trunk/KDE/kdelibs/; revision=894992
2008-12-09 19:10:30 +00:00
Marco Martin
d0e899603c not all popupapplets are based on extenders :)
svn path=/trunk/KDE/kdelibs/; revision=894991
2008-12-09 19:07:21 +00:00
Marco Martin
2af3225c26 size.isEmpty() does the same and looks nicer, good catch sebas :)
svn path=/trunk/KDE/kdelibs/; revision=894919
2008-12-09 16:22:03 +00:00
Rob Scheepmaker
b321b2f033 Performance optimization: only change the icon if it's actually a different icon. Mainly affects uiserver widgets atm.
Oh, and warning--.


svn path=/trunk/KDE/kdelibs/; revision=894878
2008-12-09 14:04:33 +00:00
Marco Martin
e166600984 last commit was indeed correct but the whole thing still a bit wrong..
the other  problem was that cachePath() did take the wrong size, the size
of the whole svg vs the size of the element to be drawn (and that was my
bad, so we can share the misery now, aaron:)

CCBUG:177172

svn path=/trunk/KDE/kdelibs/; revision=894713
2008-12-09 09:03:12 +00:00
Marco Martin
ff8af18497 a size like QSize(10,0) is valid but will end up in a null pixmap, and
this thing did confuse the cache a lot
CCBUG: 177172
does this patch fixes it? will keep open a day to be really sure :)

svn path=/trunk/KDE/kdelibs/; revision=894591
2008-12-08 22:22:18 +00:00
Aaron J. Seigo
9edf9c2ac0 do the cheap check first
svn path=/trunk/KDE/kdelibs/; revision=894561
2008-12-08 21:31:13 +00:00
Aaron J. Seigo
7bc2bfd8da constBegin
svn path=/trunk/KDE/kdelibs/; revision=894558
2008-12-08 21:27:42 +00:00
Aaron J. Seigo
e328a0a6c1 build .. =/
svn path=/trunk/KDE/kdelibs/; revision=894557
2008-12-08 21:26:46 +00:00
Aaron J. Seigo
12eca1edaf use a const iterator; some ws fixes
svn path=/trunk/KDE/kdelibs/; revision=894551
2008-12-08 21:16:55 +00:00
Aaron J. Seigo
011832d5fb --compiler_warnings;
svn path=/trunk/KDE/kdelibs/; revision=894470
2008-12-08 18:05:17 +00:00
Aaron J. Seigo
e42452e847 * update the direction on location changes
* update the dialog, if it exists, when checking the border of the extender
BUG:177113

svn path=/trunk/KDE/kdelibs/; revision=894469
2008-12-08 18:03:23 +00:00
Marco Martin
1d7144e6f7 die hardcoded colors, die!
svn path=/trunk/KDE/kdelibs/; revision=894466
2008-12-08 17:51:53 +00:00
Aaron J. Seigo
dffbf7817c prevent possible crash
svn path=/trunk/KDE/kdelibs/; revision=894455
2008-12-08 17:32:57 +00:00
Aaron J. Seigo
2d6431cafa don't crash when a runner that doesn't exist is requested
BUGS:170989,177162

svn path=/trunk/KDE/kdelibs/; revision=894424
2008-12-08 15:59:05 +00:00
Script Kiddy
f40bc9cf36 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=894370
2008-12-08 13:44:23 +00:00
Marco Martin
1a4565f740 unset the cursor only on mouse release
BUG: 170347

svn path=/trunk/KDE/kdelibs/; revision=894074
2008-12-07 20:47:58 +00:00
Marco Martin
212a4238bd reposition the popup after saving, so won't jump always to the old size
svn path=/trunk/KDE/kdelibs/; revision=894071
2008-12-07 20:20:28 +00:00
Rob Scheepmaker
9116edc392 Use iconSize() function now that that function exists. This avoids having the margins in the dragger 2 pixels smaller then specified.
svn path=/trunk/KDE/kdelibs/; revision=894041
2008-12-07 18:28:26 +00:00
Rob Scheepmaker
7a90f822a5 Resize Plasma::Meter not to it's native size, since larger fonts will get cut off. Instead count the amount of label rows and multiply with the font height.
svn path=/trunk/KDE/kdelibs/; revision=893992
2008-12-07 16:45:49 +00:00
Marco Martin
becd2b631e some cleanups in the caching code
with that the systray background rendering problems seems somewhat less
frequent

svn path=/trunk/KDE/kdelibs/; revision=893751
2008-12-07 12:44:10 +00:00
Aaron J. Seigo
25b3937022 wow, that was massively broken!
svn path=/trunk/KDE/kdelibs/; revision=893519
2008-12-06 18:58:32 +00:00
Marco Martin
ac9356bd85 update the popup position right after creating the popup itself
BUG:177035

svn path=/trunk/KDE/kdelibs/; revision=893271
2008-12-06 12:15:49 +00:00
Marco Martin
ba43ebdd06 corrected sizing problem
animation jumps a bit less randomly
BUG: 176672

svn path=/trunk/KDE/kdelibs/; revision=893099
2008-12-05 22:48:58 +00:00