org.kde.koala
public class KRootPixmap extends QObject
Version: $Id: KRootPixmap.java 473384 2005-10-23 14:17:09Z rdale $
UNKNOWN: Creates pseudo-transparent widgets.
Constructor Summary | |
---|---|
protected | KRootPixmap(Class dummy) |
KRootPixmap(QWidget target, String name)
Constructs a KRootPixmap. | |
KRootPixmap(QWidget target) | |
KRootPixmap(QWidget target, QObject parent, String name)
Constructs a KRootPixmap where the parent QObject and target QWidget are
different. | |
KRootPixmap(QWidget target, QObject parent) |
Method Summary | |
---|---|
String | className() |
QColor | color() |
int | currentDesktop()
Returns the number of the current desktop. |
boolean | customPainting()
Returns true if custom painting is enabled, false otherwise. |
void | dispose() Delete the wrapped C++ instance ahead of finalize() |
void | enableExports()
Asks KDesktop to export the desktop background as a KSharedPixmap.
|
boolean | eventFilter(QObject arg1, QEvent arg2)
Reimplemented to filter the events from the target widget and
track its movements. |
protected void | finalize() Deletes the wrapped C++ instance |
boolean | isActive()
Returns true if the KRootPixmap is active. |
boolean | isAvailable()
Checks if pseudo-transparency is available. |
boolean | isDisposed() Has the wrapped C++ instance been deleted? |
QMetaObject | metaObject() |
double | opacity() |
static String | pixmapName(int desk)
Returns the name of the shared pixmap (only needed for low level access) |
void | repaint(boolean force)
Repaints the widget background. |
void | repaint()
Repaints the widget background. |
void | setCustomPainting(boolean enable)
Enables custom handling of the background painting. |
void | setFadeEffect(double opacity, QColor color)
Sets the fade effect.
|
void | start()
Starts background handling. |
void | stop()
Stops background handling. |
Parameters: target A pointer to the widget that you want to make pseudo transparent. name The internal name of the pixmap
UNKNOWN: Constructs a KRootPixmap.
UNKNOWN: Constructs a KRootPixmap where the parent QObject and target QWidget are different.
Returns: the fade color.
Since: 3.2
UNKNOWN: @since 3.
UNKNOWN: Returns the number of the current desktop.
See Also: KRootPixmap
UNKNOWN: Returns true if custom painting is enabled, false otherwise.
UNKNOWN: Asks KDesktop to export the desktop background as a KSharedPixmap.
UNKNOWN: Reimplemented to filter the events from the target widget and track its movements.
UNKNOWN: Returns true if the KRootPixmap is active.
Returns: true
if transparency is available, false
otherwise.
UNKNOWN: Checks if pseudo-transparency is available.
Returns: the color opacity.
Since: 3.2
UNKNOWN: @since 3.
UNKNOWN: Returns the name of the shared pixmap (only needed for low level access)
Parameters: force Force a repaint, even if the contents did not change.
UNKNOWN: Repaints the widget background.
UNKNOWN: Repaints the widget background.
UNKNOWN: Enables custom handling of the background painting.
Parameters: opacity A value between 0 and 1, indicating the opacity of the color. A value of 0 will not change the image, a value of 1 will use the fade color unchanged. color The color to fade to.
UNKNOWN: Sets the fade effect.
UNKNOWN: Starts background handling.
UNKNOWN: Stops background handling.