libplasma
Plasma::View Class Reference
#include <view.h>
List of all members.
Detailed Description
A
QGraphicsScene for Plasma::Applets.
Definition at line 36 of file view.h.
Constructor & Destructor Documentation
| Plasma::View::View |
( |
int |
screen, |
|
|
Corona * |
corona, |
|
|
QWidget * |
parent = 0 | |
|
) |
| | |
Member Function Documentation
| void Plasma::View::setDrawWallpaper |
( |
bool |
draw |
) |
|
Sets whether or not to draw the containment wallpaper when painting on this item.
Definition at line 126 of file view.cpp.
| bool Plasma::View::drawWallpaper |
( |
|
) |
const |
- Returns:
- whether or not containments should draw wallpaper
Definition at line 131 of file view.cpp.
| void Plasma::View::setScreen |
( |
int |
screen |
) |
|
Sets which screen this view is associated with, if any.
This will also set the containment if a valid screen is specified
- screen the xinerama screen number; -1 for no screen
Definition at line 84 of file view.cpp.
| int Plasma::View::screen |
( |
|
) |
const |
Returns the screen this view is associated with.
- Returns:
- the xinerama screen number, or -1 for none
Definition at line 100 of file view.cpp.
| void Plasma::View::setContainment |
( |
Containment * |
containment |
) |
|
Sets the containment for this view, which will also cause the view to track the geometry of the containment.
- containment the containment to center the view on
Definition at line 105 of file view.cpp.
- Returns:
- the containment associated with this view, or 0 if none is
Definition at line 121 of file view.cpp.
| void Plasma::View::updateSceneRect |
( |
|
) |
[protected, slot] |
The documentation for this class was generated from the following files: