• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

libplasma

Plasma::Widget

Plasma::Widget Class Reference

#include <widget.h>

Inheritance diagram for Plasma::Widget:

Inheritance graph
[legend]

List of all members.


Detailed Description

Base class for all Widgets in Plasma.

Author:
Alexander Wiedenbruch

Matias Valdenegro

Widgets are the basis for User Interfaces inside Plasma. Widgets are rectangular, but can be in any visible shape by just using transparency to mask out non-rectangular areas.

To implement a Widget, just subclass Plasma::Widget and implement at minimum, sizeHint() and paintWidget()

Definition at line 65 of file widget.h.


Public Member Functions

 Widget (QGraphicsItem *parent=0, QObject *parentObject=0)
virtual ~Widget ()

Constructor & Destructor Documentation

Plasma::Widget::Widget ( QGraphicsItem *  parent = 0,
QObject *  parentObject = 0 
) [explicit]

Creates a new Plasma::Widget.

Parameters:
parent the QGraphicsItem this icon is parented to.

Definition at line 83 of file widget.cpp.

Plasma::Widget::~Widget (  )  [virtual]

Destroys a Plasma::Widget.

Definition at line 91 of file widget.cpp.


The documentation for this class was generated from the following files:
  • widget.h
  • widget.cpp

libplasma

Skip menu "libplasma"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • KWin
  •   KWin Libraries
  • Libraries
  •   libkworkspace
  •   libplasma
  •   libsolidcontrol
  •   libtaskmanager
  • Plasma
  •   Animators
  •   Applets
  •   Engines
  • Solid Modules
Generated for API Reference by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal