Aaron J. Seigo
3d4ccc37c2
constify and build
...
svn path=/trunk/KDE/kdelibs/; revision=898199
2008-12-17 17:45:24 +00:00
Jesse Lee Zamora
9a57b3105e
Lets the delegate detect whether the item will need a tooltip, and adds a
...
function so programs can show tooltips.
svn path=/trunk/KDE/kdelibs/; revision=898183
2008-12-17 16:30:19 +00:00
Marco Martin
bd31e3d0da
return always the lastScreen as screen()
...
and take care to always sync it, except during the setContainment()
execution
in this way we avoid to have two views with the same screen() for a
while (this avoided the setContainment(0) in
DesktopView::screenOwnerChanged(), making the two views have the same
containment)
svn path=/trunk/KDE/kdelibs/; revision=898122
2008-12-17 13:29:40 +00:00
Aaron J. Seigo
b4eecd7650
set the config interface to true later in the start cycle so we don't turn it on for containments
...
svn path=/trunk/KDE/kdelibs/; revision=897899
2008-12-17 03:55:26 +00:00
Aaron J. Seigo
5333fb5bfa
allow any applet to have their keyboard shortcut set
...
svn path=/trunk/KDE/kdelibs/; revision=897890
2008-12-17 03:16:30 +00:00
Aaron J. Seigo
97869ca7c7
z value related cleanups, including one fixme
...
svn path=/trunk/KDE/kdelibs/; revision=897861
2008-12-17 00:51:30 +00:00
Aaron J. Seigo
c26e118bbf
cache the last screen/desktop setting so during moments of transience views don't behave amnesiatically; hopefully fixes the multi-screen containment-switcharoo problem
...
svn path=/trunk/KDE/kdelibs/; revision=897859
2008-12-17 00:40:42 +00:00
Davide Bettio
60a42ae854
Air is the new default wallpaper.
...
svn path=/trunk/KDE/kdelibs/; revision=897711
2008-12-16 17:28:25 +00:00
Thomas Schildknecht
66f7abba16
SVN_SILENT apidox fix for QSize size() const;
...
svn path=/trunk/KDE/kdelibs/; revision=897702
2008-12-16 16:44:51 +00:00
Marco Martin
78d7967cea
set the layout hint in the popup considering the relative position of the popup icon
...
with the popup position, this makes for instance the favourites icon in
kickof to be always as near the mouse as possible
svn path=/trunk/KDE/kdelibs/; revision=897521
2008-12-16 11:43:21 +00:00
Sebastian Sauer
8f12925265
disable conflicting shortcut for now.
...
BUG:165938
svn path=/trunk/KDE/kdelibs/; revision=897447
2008-12-16 04:34:38 +00:00
Aaron J. Seigo
69364bc42e
reject position and matrix changes when locked
...
BUG:177596
svn path=/trunk/KDE/kdelibs/; revision=897433
2008-12-16 03:33:09 +00:00
Aaron J. Seigo
bad9871ccf
* remove some dead code
...
* set a 1px margin only if there is no background
* use width, not height, went horizontal and there is no text
BUG:177871
svn path=/trunk/KDE/kdelibs/; revision=897398
2008-12-15 23:42:29 +00:00
Marco Martin
450e4a88a3
use a qregion instead of a qbitmap for the frame
...
resizing is same speed, still pixmap->bitmap->region
just repainting should be quite faster
one of the last bic changes
svn path=/trunk/KDE/kdelibs/; revision=897385
2008-12-15 22:17:59 +00:00
Aaron J. Seigo
9c25aa59a5
share one style amongst all the widgets
...
svn path=/trunk/KDE/kdelibs/; revision=897366
2008-12-15 21:17:43 +00:00
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