Commit Graph

9 Commits

Author SHA1 Message Date
Marco Martin
afdb5e84a0 reworked how shaped windows with svg backgrounds are obtained:
there is a new function PanelSvg::mask() that returns a qbitmap of the areas of the svg with alpha=0 that can be used to create the mask of the window, at the moment used in tooltip and dialog (krunner still to come).
so now windows that uses svg backgrounds should always set PanelSvg::mask() as their own mask, regardless if composite is active or not.
In this commit there are also two (identical) svgs for opaque tooltips and dialogs with pixelated rounded borders that looks good without antialiasing (and unlike the previous version they are vector based now).

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=782727
2008-03-05 21:03:27 +00:00
Pino Toscano
fd0adac258 slots -> Q_SLOTS
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=781228
2008-03-02 11:05:54 +00:00
Pino Toscano
896bae2516 - public Qt includes as QModule/QFoo
- public KDE CamcelCase includes as KDE/KFoo

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=781163
2008-03-02 02:18:10 +00:00
Andre Duffeck
322faacbe7 Make the SvgPanel position-aware
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=775234
2008-02-15 09:04:12 +00:00
Aaron J. Seigo
8cd7f80dea * add the repaintNeeded signal to SvgPanel for those who need that (e.g. krunner)
* make non-ContentAtOrigin painting work

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=771738
2008-02-06 20:53:14 +00:00
Aaron J. Seigo
b2480a105a * more readable flag names
* add a DrawAllBorders for brevity's sake
* add operators for the border flags

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=771707
2008-02-06 19:24:48 +00:00
Aaron J. Seigo
7f3aea19ff move MarginEdge to the Plasma namespace to avoid coupling to the layout stuff in innapropriate places
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=771704
2008-02-06 19:12:21 +00:00
Aaron J. Seigo
82546c250b dptr-ify
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=771692
2008-02-06 18:49:14 +00:00
Aaron J. Seigo
eed057c39a move this over to where it will end up and is easier to test
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=771659
2008-02-06 16:51:07 +00:00