kwin Library API Documentation

ModernSystem::ModernButton Class Reference

Collaboration diagram for ModernSystem::ModernButton:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ModernButton (ModernSys *parent=0, const char *name=0, bool toggle=false, const unsigned char *bitmap=NULL, const QString &tip=NULL, const int realizeBtns=LeftButton)
void setBitmap (const unsigned char *bitmap)
void reset ()
QSize sizeHint () const
void turnOn (bool isOn)

Public Attributes

ButtonState last_button

Protected Member Functions

void mousePressEvent (QMouseEvent *e)
void mouseReleaseEvent (QMouseEvent *e)
virtual void drawButton (QPainter *p)
void drawButtonLabel (QPainter *)

Protected Attributes

QBitmap deco
ModernSysclient
int realizeButtons

Detailed Description

Definition at line 18 of file modernsys.h.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kwin Library Version 3.4.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Jun 14 16:47:56 2006 by doxygen 1.4.4 written by Dimitri van Heesch, © 1997-2003