Plasma
DesktopView Class Reference
#include <desktopview.h>

Detailed Description
Definition at line 33 of file desktopview.h.
Public Slots | |
void | addContainment (Plasma::Containment *fromContainment=0) |
void | adjustSize () |
void | nextContainment () |
void | previousContainment () |
void | screenOwnerChanged (int wasScreen, int isScreen, Plasma::Containment *containment) |
void | setContainment (Plasma::Containment *containment) |
void | showAppletBrowser () |
void | toggleDashboard () |
void | zoom (Plasma::Containment *containment, Plasma::ZoomDirection direction) |
void | zoomIn (Plasma::Containment *toContainment) |
void | zoomOut (Plasma::Containment *fromContainment) |
Public Member Functions | |
void | connectContainment (Plasma::Containment *containment) |
DesktopView (Plasma::Containment *containment, int id, QWidget *parent) | |
bool | isDesktop () const |
void | setIsDesktop (bool isDesktop) |
~DesktopView () | |
Protected Member Functions | |
void | drawBackground (QPainter *painter, const QRectF &rect) |
void | wheelEvent (QWheelEvent *event) |
Constructor & Destructor Documentation
DesktopView::DesktopView | ( | Plasma::Containment * | containment, | |
int | id, | |||
QWidget * | parent | |||
) |
Definition at line 42 of file desktopview.cpp.
DesktopView::~DesktopView | ( | ) |
Definition at line 80 of file desktopview.cpp.
Member Function Documentation
void DesktopView::addContainment | ( | Plasma::Containment * | fromContainment = 0 |
) | [slot] |
void DesktopView::adjustSize | ( | ) | [slot] |
Definition at line 124 of file desktopview.cpp.
void DesktopView::connectContainment | ( | Plasma::Containment * | containment | ) |
Definition at line 355 of file desktopview.cpp.
bool DesktopView::isDesktop | ( | ) | const |
Returns true if this widget is currently a desktop window.
See setAsDesktop()
Definition at line 155 of file desktopview.cpp.
void DesktopView::nextContainment | ( | ) | [slot] |
switch to the "next" available containment on the corona.
Definition at line 406 of file desktopview.cpp.
void DesktopView::previousContainment | ( | ) | [slot] |
switch to the "previous" available containment on the corona.
Definition at line 424 of file desktopview.cpp.
void DesktopView::screenOwnerChanged | ( | int | wasScreen, | |
int | isScreen, | |||
Plasma::Containment * | containment | |||
) | [slot] |
Definition at line 387 of file desktopview.cpp.
void DesktopView::setContainment | ( | Plasma::Containment * | containment | ) | [slot] |
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 160 of file desktopview.cpp.
void DesktopView::setIsDesktop | ( | bool | isDesktop | ) |
Sets this DesktopView as a desktop window if isDesktop
is true or an ordinary window otherwise.
Desktop windows are displayed beneath all other windows, have no window decoration and occupy the full size of the desktop.
Definition at line 137 of file desktopview.cpp.
void DesktopView::showAppletBrowser | ( | ) | [slot] |
Definition at line 322 of file desktopview.cpp.
void DesktopView::toggleDashboard | ( | ) | [slot] |
Definition at line 96 of file desktopview.cpp.
void DesktopView::wheelEvent | ( | QWheelEvent * | event | ) | [protected] |
Definition at line 331 of file desktopview.cpp.
void DesktopView::zoom | ( | Plasma::Containment * | containment, | |
Plasma::ZoomDirection | direction | |||
) | [slot] |
zoom in towards the given containment.
if toContainment is null, the current containment is used instead. zooming in also sets toContainment as current.
Definition at line 207 of file desktopview.cpp.
void DesktopView::zoomIn | ( | Plasma::Containment * | toContainment | ) | [slot] |
Definition at line 216 of file desktopview.cpp.
void DesktopView::zoomOut | ( | Plasma::Containment * | fromContainment | ) | [slot] |
Definition at line 276 of file desktopview.cpp.
The documentation for this class was generated from the following files: