still some problems to track down (for some applets some other code somewhere resizes
back to the original size)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=868204
Conditional jump or move depends on uninitialised value(s)
at 0x4137DA3: Plasma::Dialog::mouseMoveEvent(QMouseEvent*) (dialog.cpp:201)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=867837
The issue is that we are using a QProxyWidget, and it seems that QWidgets don't have a sensible size() until they're shown for the first time. So we use sizeHint() (or effectiveSizeHint() in this case) instead.
The only issue I can see is that if the widget passed to the dialog is in a layout, its size() and effectiveSizeHint(Qt::PreferredSize) might not match. Is this something we need to deal with? If so, how?
CCMAIL: plasma-devel@kde.org
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=859660
breaking all around, and some random crashes are avoided too, all by making the
Dialog in PopupApplet no longer of the type Qt::Popup and installing an event filter
to still hide the dialog when you click somewhere else on your screen.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=857095
The popupApplet has now the capability to know if the dialog is displayed or not, then call popupEvent.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=855715
item is removable. Implementation is still not perfect, but it's now a lot better then it
was.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=853962
it will be used by all applets that needs to display a graphics widget
in a popup window
at the moment used by popupapplet and clockapplet
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=843265
Plasma::Svg(imagePath, parent) -> Plasma::Svg(parent) and
Plasma::PanelSvg(imagePath, parent) -> Plasma::PanelSvg(parent)
updated as needed every class that was using Svg or PanelSvg
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800143
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
applets to show additional information, using QWidgets and the like.
It's factored out from devicenotifier, thanks to Alexis Menard.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=745298