class KRootPixmap

Create pseudo-transparent widgets. More...

Definition#include <krootpixmap.h>
InheritsQObject (kdecore)
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Slots

Protected Methods


Detailed Description

Create pseudo-transparent widgets.

A pseudo-transparent widget is a widget with its background pixmap set to that part of the desktop background that it is currently obscuring. This gives a transparency effect.

To create a transparent widget, construct a KRootPixmap and pass it a pointer to your widget. That's it! Moving, resizing and background changes are handled automatically.

 KRootPixmap (QWidget *widget)

Construct a KRootPixmap.

Parameters:

KRootPixmap ()

void  setFadeEffect (double strength, QColor color)

Set the fade effect.

This effect will fade the background to the specified color.

Parameters:

void  start ()

Start background handling.

void  stop ()

Stop background handling.

bool  checkAvailable (bool ignored)

Check if pseudo-transparency is available.

Returns: true if transparency is available, false otherwise.

void  repaint (bool force)

Repaint the widget background.

Normally, you shouldn't need this.

Parameters:

void  repaint ()

[slot]

bool  eventFilter (QObject *, QEvent *)

[protected virtual]