Commit Graph

100 Commits

Author SHA1 Message Date
Marco Martin
edc2fccdf4 don't get bigger than the desktop area, makes the notifications problem slightly less worse
svn path=/trunk/KDE/kdelibs/; revision=1067535
2009-12-29 18:58:10 +00:00
Marco Martin
8e967abc2d avoid view sync more than every 150 msecs, avoids cpu hogging and displaying garbage
BUG:206946

svn path=/trunk/KDE/kdelibs/; revision=1062972
2009-12-16 14:19:10 +00:00
Giulio Camuffo
a35e7394c3 adds aspect ratio modes to Dialog; PopupApplet sets the right one for its dialog
svn path=/trunk/KDE/kdelibs/; revision=1051074
2009-11-18 20:11:03 +00:00
Aaron J. Seigo
def1a43dc1 always resize the graphics widget when the dialog does, unless we're resizing the dialog because the graphics widget did
svn path=/trunk/KDE/kdelibs/; revision=1047713
2009-11-11 21:45:45 +00:00
Aaron J. Seigo
2f02f25bda set complimentary expand corners when we run out of space on one edge
BUG:214052

svn path=/trunk/KDE/kdelibs/; revision=1047679
2009-11-11 19:43:43 +00:00
Aaron J. Seigo
f9b2ad74fc api docs and note an API wart that should be fixed in the next BIC release
svn path=/trunk/KDE/kdelibs/; revision=1038110
2009-10-20 16:37:25 +00:00
Marco Martin
189618d2e4 look up in the parent hyerarchy rather than parentItem
svn path=/trunk/KDE/kdelibs/; revision=1033106
2009-10-09 13:40:33 +00:00
Marco Martin
d8e084c77e be based also on the widget parent applet location for removing the proper borders
svn path=/trunk/KDE/kdelibs/; revision=1032273
2009-10-07 13:04:09 +00:00
Aaron J. Seigo
b5d5a9a924 remove a bunch of dead code and some dptr member vars thanks to reliance on the kwin effects
svn path=/trunk/KDE/kdelibs/; revision=1022539
2009-09-12 00:18:26 +00:00
Aaron J. Seigo
1e6aaec27f extenders into a subdir
svn path=/trunk/KDE/kdelibs/; revision=1019570
2009-09-03 21:53:56 +00:00
Marco Martin
b95b9cfd6d add an overloaded member that uses a qwidget and animates always from ad
edge of the widget: saves tons of code

svn path=/trunk/KDE/kdelibs/; revision=1003631
2009-07-28 13:50:48 +00:00
Aaron J. Seigo
4dd1cc887b it's not really setting the window to slide, but saying "slide this window"
svn path=/trunk/KDE/kdelibs/; revision=1003321
2009-07-28 01:33:31 +00:00
Marco Martin
8ecfc801de pass the offset in the api, rather that trying to do magic with
qdesktopwidget

svn path=/trunk/KDE/kdelibs/; revision=1003244
2009-07-27 21:53:36 +00:00
Marco Martin
6a60d6cf75 WindowEffects namespace: here will go functions used to set atoms on
windows to trigger kwin effects, without having t use xlibs directly
from the rest of the code

svn path=/trunk/KDE/kdelibs/; revision=1002670
2009-07-26 18:58:27 +00:00
Marco Martin
ab6124c2a6 use the new _KDE_SLIDE atom to make popups use a sliding animation
svn path=/trunk/KDE/kdelibs/; revision=1001605
2009-07-23 19:08:06 +00:00
Aaron J. Seigo
8a4dc5460d avoid calling getMargins twice when not necessary
svn path=/trunk/KDE/kdelibs/; revision=979113
2009-06-08 23:33:10 +00:00
Aaron J. Seigo
25b34778ce standard naming
svn path=/trunk/KDE/kdelibs/; revision=976575
2009-06-02 05:49:31 +00:00
Marco Martin
fd1a5a98fc move the dialog to make it still look attached to the panel/screen edge
when its size is synced with the graphicswidget one
BUG:193100

svn path=/trunk/KDE/kdelibs/; revision=969468
2009-05-18 12:36:19 +00:00
Marco Martin
7b93ddbc4c mess with borders only if the dialog is visible fixes the panel
controller options dialog appearance

svn path=/trunk/KDE/kdelibs/; revision=966571
2009-05-11 12:08:29 +00:00
Andreas Hartmetz
b3bdde3483 make the compiler happy on ARM: with qreal==float the compiler is not sure which qFuzzyCompare to use otherwise.
svn path=/trunk/KDE/kdelibs/; revision=964126
2009-05-06 02:54:47 +00:00
Aaron J. Seigo
3fd3c6bb37 --noise;
svn path=/trunk/KDE/kdelibs/; revision=959958
2009-04-27 16:33:15 +00:00
Aaron J. Seigo
f904ed3fac some small tweaks during usage tonight
svn path=/trunk/KDE/kdelibs/; revision=954626
2009-04-16 05:29:16 +00:00
Aaron J. Seigo
81cc419de6 actually show when not animating; faster show when animating
svn path=/trunk/KDE/kdelibs/; revision=954620
2009-04-16 04:33:55 +00:00
Aaron J. Seigo
406a0fac5f animated shows as well
svn path=/trunk/KDE/kdelibs/; revision=954617
2009-04-16 04:19:03 +00:00
Aaron J. Seigo
3919fe141a support animated hiding
svn path=/trunk/KDE/kdelibs/; revision=954610
2009-04-16 03:19:02 +00:00
Aaron J. Seigo
fe02bd3735 "widget" is a QGraphicsWidget, and since we have other widgets around, refer to it as something more obvious
svn path=/trunk/KDE/kdelibs/; revision=951375
2009-04-09 04:51:51 +00:00
Aaron J. Seigo
b5c6c9c817 * update the borders before adjusting the view in the move event so that we have the right borders (fixes misplaced contents in taskbar popups on first show)
* sceneBoundingRect fixes

svn path=/trunk/KDE/kdelibs/; revision=951362
2009-04-09 03:18:24 +00:00
Marco Martin
ce6ac2d4d3 fix extenders appearance broken in the last commit
svn path=/trunk/KDE/kdelibs/; revision=939772
2009-03-15 17:31:19 +00:00
Marco Martin
9b4cc44046 set the margins correctly
svn path=/trunk/KDE/kdelibs/; revision=939760
2009-03-15 16:51:05 +00:00
Marco Martin
2878bb98e5 remove useless debug output
svn path=/trunk/KDE/kdelibs/; revision=935822
2009-03-06 10:56:38 +00:00
Marco Martin
0b69364e0c unbreak on multi monitor
svn path=/trunk/KDE/kdelibs/; revision=935821
2009-03-06 10:55:33 +00:00
Marco Martin
a409afab79 better syncing between dialog graphicswidget and the dialog
(popups shows up at a sane size now)

svn path=/trunk/KDE/kdelibs/; revision=935167
2009-03-04 15:47:59 +00:00
Marco Martin
3f50ffd7ce deactivate the dialog borders that are at the edge of the working
desktop, makes kickoff more fitts law friendly and gives for free an
extender-like appearance to all dialogs

svn path=/trunk/KDE/kdelibs/; revision=934351
2009-03-02 20:32:01 +00:00
Ivan Čukić
bb3ebe644f Sets the focus for widget in Plasma::Dialog on show
svn path=/trunk/KDE/kdelibs/; revision=930557
2009-02-23 20:15:11 +00:00
Marco Martin
f9ab759b8e set WA_TranslucentBackground to top level windows
svn path=/trunk/KDE/kdelibs/; revision=927085
2009-02-16 19:24:05 +00:00
Aaron J. Seigo
14ac4a4271 a lot less popup flickering and repainting. if there are no sideeffects to this discovered, this needs to be backported to the 4.2 branch.
CCMAIL:plasma-devel@kde.org

svn path=/trunk/KDE/kdelibs/; revision=915488
2009-01-23 07:33:30 +00:00
Aaron J. Seigo
2b8a8ceec4 escape == hide
svn path=/trunk/KDE/kdelibs/; revision=905313
2009-01-04 07:59:55 +00:00
Marco Martin
996a1277bc better manage save and restore of popup size of popupapplets when the
content is a qgraphicswidget (i.e it works now), also ensure the default
size when it first pops up is the gwidget's preferred size

svn path=/trunk/KDE/kdelibs/; revision=902439
2008-12-28 12:54:48 +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
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
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
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
Fredrik Höglund
cc50a63ef6 flicker--
svn path=/trunk/KDE/kdelibs/; revision=892582
2008-12-04 17:03:00 +00:00
Marco Martin
6743e12499 never set big minimum sizes in panels
and don't use scrollbars in the popup views

svn path=/trunk/KDE/kdelibs/; revision=888095
2008-11-23 19:24:49 +00:00
Marco Martin
c0d430de74 force a valid rect in adjustview, otherwise the view will get the whole
scene O.o
(this fixes the tooltips not moving issue)

svn path=/trunk/KDE/kdelibs/; revision=888074
2008-11-23 17:55:01 +00:00
Marco Martin
ff6030e4f4 sanitize sizing of widgets displayed in popupapplet
svn path=/trunk/KDE/kdelibs/; revision=887767
2008-11-22 20:22:22 +00:00
Ambroz Bizjak
7529d778a8 Fix resize limits.
If the widget would be resized more than it's allowed, don't 
leave it as is, but use the limit size. Noticable if you move
the mouse quickly.

svn path=/trunk/KDE/kdelibs/; revision=884179
2008-11-14 12:31:49 +00:00
Aaron J. Seigo
beaa49aeb2 ++compile
svn path=/trunk/KDE/kdelibs/; revision=879800
2008-11-04 02:39:56 +00:00
Aaron J. Seigo
4b08c03726 change KDE includes to use the .h style now that we're in libs
svn path=/trunk/KDE/kdelibs/; revision=879795
2008-11-04 02:04:34 +00:00
Aaron J. Seigo
1b523b9054 ok, this time JUST the plasma dir ;)
svn path=/trunk/KDE/kdelibs/; revision=879759
2008-11-03 23:08:39 +00:00