Aaron J. Seigo
adaed62351
* forward the valueChanged signal
...
* simplify the ctor to be more in line with the other widgets
* add setOrientation
combined, this elminates the need pretty much everywhere its used for nativeWidget() to be accessed. woo!
svn path=/trunk/KDE/kdelibs/; revision=897341
2008-12-15 20:34:03 +00:00
Aaron J. Seigo
fab0de787f
consolidate the code paths in flushUpdatedConstraintsEvent, document it a bit better, and call layout()->updateGeometry() less often; sadly it's still needed otherwise the panel containment doesn't come up properly =/ hopefully Qt 4.5 will alleviate that issue
...
svn path=/trunk/KDE/kdelibs/; revision=897317
2008-12-15 18:29:45 +00:00
Aaron J. Seigo
85161ce13f
re-enable some debug needed to work out problems with multiscreen
...
svn path=/trunk/KDE/kdelibs/; revision=897316
2008-12-15 18:28:28 +00:00
Aaron J. Seigo
6e6cb12b9b
delay the saving of new applets so that layouts can do their job
...
svn path=/trunk/KDE/kdelibs/; revision=897306
2008-12-15 17:48:28 +00:00
Aaron J. Seigo
a029c8396f
put the common code (repeated in two places) into a shared method in the private class and document it a bit; also, move the change triggering on startup compmlete to the end of the constraints event
...
svn path=/trunk/KDE/kdelibs/; revision=897304
2008-12-15 17:41:37 +00:00
Aaron J. Seigo
5c2927870d
* consolidate the remove action enabling check into one method
...
* check the remove action on immutability changes (prevents "Remove" from showing up erroniously when locking then unlocking)
svn path=/trunk/KDE/kdelibs/; revision=897290
2008-12-15 16:54:09 +00:00
Rob Scheepmaker
71d6e19ae8
Don't allow extenderitems to be dragged when plasma is locked.
...
svn path=/trunk/KDE/kdelibs/; revision=897287
2008-12-15 16:50:47 +00:00
Ivan Čukić
9a5ebc1669
Custom mask support
...
svn path=/trunk/KDE/kdelibs/; revision=897285
2008-12-15 16:49:55 +00:00
Aaron J. Seigo
e9411c577e
add tooltips to items, makes it easier to figure out what they do when zoomed out
...
BUG:177835
svn path=/trunk/KDE/kdelibs/; revision=897284
2008-12-15 16:42:29 +00:00
Aaron J. Seigo
32846f0e75
save immutability when it changes rather than on exit; prevents crashes from getting in the way
...
BUG:177756
svn path=/trunk/KDE/kdelibs/; revision=897281
2008-12-15 16:27:52 +00:00
Beat Wolf
22bd89da08
fixed jumpy resizing when resize starts
...
svn path=/trunk/KDE/kdelibs/; revision=896906
2008-12-14 17:57:50 +00:00
Beat Wolf
073c56b8de
removed some dead code after recent code change
...
svn path=/trunk/KDE/kdelibs/; revision=896893
2008-12-14 17:19:02 +00:00
Marco Martin
eee1671b3c
re-set the window preview when the size changes, since its behaviour
...
depends from the tooltip size
BUG:177378
svn path=/trunk/KDE/kdelibs/; revision=896526
2008-12-13 18:17:36 +00:00
Marco Martin
19e5467675
resize the graphicswidget when the dialog resizes, now it's done in a
...
waay cleaner way sonce the thing is no more in a layout :)
svn path=/trunk/KDE/kdelibs/; revision=896336
2008-12-13 11:23:42 +00:00
Beat Wolf
26c61a6205
resizing of applets is less jumpy now, there is still a problem at big applet sizes though
...
svn path=/trunk/KDE/kdelibs/; revision=896200
2008-12-12 20:20:07 +00:00
Marco Martin
be2ae212ed
don't cover the applet when the popup if from a top panel
...
BUG: 177621
svn path=/trunk/KDE/kdelibs/; revision=896197
2008-12-12 20:14:01 +00:00
Aaron J. Seigo
dbce22540c
make the bigLock publicly accessible; BIC, so thankfully caught before release!
...
svn path=/trunk/KDE/kdelibs/; revision=896193
2008-12-12 20:10:50 +00:00
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