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
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
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
Aaron J. Seigo
4a7699ce82
since it leads to confusion for users, breaks occassionally in svn due to its complexity, incurs overhead on every applet paint but especially when dragging, doesn't look nice at all without composite ... just kill the top level view thing and when you drag something it just "pops" into the right containment.
...
BUG:176298
svn path=/trunk/KDE/kdelibs/; revision=890331
2008-11-28 22:39:29 +00:00
Aaron J. Seigo
766dc8ab60
patch by Andrew Lake to free-resize applets from the corner rather than the center; need to do some work on applet handle right now and i don't want this patch going sideways and he's not online right now, so ...
...
svn path=/trunk/KDE/kdelibs/; revision=890316
2008-11-28 22:01:39 +00:00
Marco Martin
2eb6b3ed9c
hide the view on rmb click
...
BUG: 166902
svn path=/trunk/KDE/kdelibs/; revision=886216
2008-11-18 20:39:05 +00:00
Aaron J. Seigo
4e964a2ec8
update the hover pos to make the entry point the last hovered location
...
BUG:172075
svn path=/trunk/KDE/kdelibs/; revision=882611
2008-11-11 00:57:08 +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
1b523b9054
ok, this time JUST the plasma dir ;)
...
svn path=/trunk/KDE/kdelibs/; revision=879759
2008-11-03 23:08:39 +00:00
Aaron J. Seigo
fa5a2d87d9
bum-de-dum! plasma to kdelibs.
...
svn path=/trunk/KDE/kdelibs/; revision=879757
2008-11-03 23:03:26 +00:00
Kevin Ottens
f66b4d819b
API changes as announced:
...
* ConfigXml becomes ConfigLoader
* Containment::(add|remove)ToolBoxTool(QAction *action) becomes
Containment::(add|remove)ToolBoxAction(QAction *action)
* Flash becomes FlashingLabel
* Icon becomes IconWidget
* PanelSvg becomes FrameSvg
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=877504
2008-10-29 17:46:33 +00:00
Allen Winter
81d09742bb
fix spelling
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870322
2008-10-12 11:12:24 +00:00
Allen Winter
3674a94a99
more coding style fixes
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870169
2008-10-11 23:28:20 +00:00
Aaron J. Seigo
2f87c469f7
the contents rect check is a cheap cop out mostly, but it works a lot. when it doesn't, also make sure we aren't dealing with an applets whose shape is the bounding rect
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=866793
2008-10-01 22:26:43 +00:00
Marco Martin
7e975d764c
make it compile on arm
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=864367
2008-09-24 15:59:29 +00:00
Laurent Montel
8e9aed75a6
Be sure to delete it
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=864270
2008-09-24 11:44:39 +00:00
Marco Martin
2e8dba5df2
smooth animation until the end ensuring the repaint is scheduled before
...
the delete by emitting the signal in the paint event and with a
singleshot timer
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=863664
2008-09-22 19:28:11 +00:00
Aaron J. Seigo
b4b2a4a96a
qFuzzyCompare doesn't work well with 0.0, so compare against 1.0 instead; interesting to know
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=863599
2008-09-22 16:37:36 +00:00
Marco Martin
b2e27747b9
move the gradient to the opposite side of the sliding animation, so acts
...
like a clip but with a smooth edge
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=863334
2008-09-21 20:55:18 +00:00
Marco Martin
da12953de9
don't pre-render the configure button when it's not needed
...
no more configure instead of close icon on applets that don't have
config options
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=863126
2008-09-21 08:02:54 +00:00
Aaron J. Seigo
de163b5e37
proper fix; now if we take the offset into consideration, they should even disappear perfectly behind translucent things =)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862853
2008-09-20 06:26:26 +00:00
Aaron J. Seigo
c302aa3ff4
* try not to call view() if possible
...
* code clarifications, simplicity++
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862852
2008-09-20 06:08:28 +00:00
Aaron J. Seigo
f9244362a4
we cache the view for a reason
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862851
2008-09-20 05:48:38 +00:00
Aaron J. Seigo
b9bd00fdae
smoooooooth, faaaaaaaaaast
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862849
2008-09-20 05:47:18 +00:00
Marco Martin
1cb382a09a
new look and animation for applet handles, based on an old Nuno mockup,
...
that uses the standard applet background (will have new graphics).
also, don't use painter->setOpacity anymore, so should be a bit faster
the look is slightly different in 3 cases:
-the applet is smaller than the handle, the panelsvg gets drawn
completely and looks like the old thing
-shape not rectangular: the panelsvg is wider, so it's visible also for
instance behind the clock circle
-normal: only a bit of the panelsvg exits from the applet and is
visible, the hidden part has a few pixels fade out gradient to look less wrong with
transparent backgrounds like folderview or themes with all backgrounds
more transparent
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862411
2008-09-18 19:40:46 +00:00
Marco Martin
0e4ad264c3
a new widget that contains little monocrome svg icons to be used around
...
plasma and make the applet handle use that
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=861319
2008-09-15 20:08:21 +00:00
Petri Damstén
e5fe5ed0c2
add FixedSize to AspectRatioMode and don't show resize button when FixedSize.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=860649
2008-09-13 17:09:34 +00:00
Aaron J. Seigo
81ff908a3e
* for ghost painting, used when dragging, we only need to know true or false .. we don't need to check the view
...
* cache the current view as this gets called on every mouse move event when dragging something by the handle.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=858901
2008-09-09 00:23:02 +00:00
Alex Merry
7ee88a1007
We shouldn't be doing this. Containment deletes us itself.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=853474
2008-08-27 19:15:59 +00:00
Alex Merry
bfe6bd2906
Stack allocation is better than heap.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851427
2008-08-23 16:21:49 +00:00
Ambroz Bizjak
b7e61e34c4
Fix a rare bug when a new applet handle is created before the previous one is
...
destroyed, causing the applet not to follow the handle when moved or fail to appear.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849828
2008-08-20 09:14:27 +00:00
Marco Martin
23839efb30
translate the painter to draw in a less blurry way, this was getting way
...
too annoying...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=848919
2008-08-18 17:57:37 +00:00
Ambroz Bizjak
b91b722dc2
Fade applet handle back in if the mouse reenters the applet while it's already fading out.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=845999
2008-08-12 19:08:55 +00:00
Aaron J. Seigo
63bce9d1b4
move all the prive code into private/; makes it much clearer with the division lines are
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=839792
2008-07-30 20:35:42 +00:00