Aaron J. Seigo
3e6f6ab670
This patch splits themeUpdated() into a set of methods that do the border checking and mask updating so that only the necessary work is actually done. The resize and move events now also cooperate in the scheduling of calls to checkBorders (reducing them by 50% or more during resizing). Calls to update(), which trigger full repaints, are also minimized.
...
svn path=/trunk/KDE/kdelibs/; revision=1104141
2010-03-16 20:40:59 +00:00
Fredrik Höglund
48c6fcbe8e
Set the blur region for tooltips and dialogs.
...
svn path=/trunk/KDE/kdelibs/; revision=1100074
2010-03-06 18:25:24 +00:00
Marco Martin
270ffa55d5
unset the masks when they should and set overrideshadow on each window show
...
svn path=/trunk/KDE/kdelibs/; revision=1099654
2010-03-05 22:31:04 +00:00
Marco Martin
885b1271f4
WA_NoSystemBackground causes huge graphical glitches combined with the slidingpopups kwin effect
...
svn path=/trunk/KDE/kdelibs/; revision=1099566
2010-03-05 19:04:09 +00:00
Aaron J. Seigo
3dff1d2d99
don't set the cursor if alt is held
...
BUG:228959
svn path=/trunk/KDE/kdelibs/; revision=1098440
2010-03-03 18:12:33 +00:00
Marco Martin
fd7b4fa730
a bit smarter policy to enable/disable borders:
...
-if the dialog is far from the panel, don't disable the corresponding border
-if the panel is smaller then the dialog, don't disable the corresponding border
svn path=/trunk/KDE/kdelibs/; revision=1083523
2010-02-01 12:02:20 +00:00
Marco Martin
26b361824d
apply the proper mask when composite is off
...
svn path=/trunk/KDE/kdelibs/; revision=1074120
2010-01-13 13:43:18 +00:00
Aaron J. Seigo
e7b129bea3
since the QGrahicsWidget we're given originates from the outside, don't assume it'll stay around nicely; use a QWeakPointer to track it
...
svn path=/trunk/KDE/kdelibs/; revision=1073410
2010-01-12 08:11:27 +00:00
Aaron J. Seigo
40b3e0bed5
allow users of Dialog to sync to the widget immediately
...
svn path=/trunk/KDE/kdelibs/; revision=1073291
2010-01-11 22:52:08 +00:00
Marco Martin
d6dd4ae24a
use the overrideMask window effect
...
svn path=/trunk/KDE/kdelibs/; revision=1070728
2010-01-06 16:00:53 +00:00
Marco Martin
429b000af3
use windowTranslucencyEnabled() instead of caching the value frm kwindowsystem
...
svn path=/trunk/KDE/kdelibs/; revision=1069170
2010-01-02 20:48:44 +00:00
Marco Martin
6d3387453d
set a rectangular mask when composite is enabled, much faster
...
svn path=/trunk/KDE/kdelibs/; revision=1069040
2010-01-02 16:11:32 +00:00
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