kwin Library API Documentation

Redmond::RedmondButton Class Reference

Inheritance diagram for Redmond::RedmondButton:

QButton List of all members.

Public Member Functions

 RedmondButton (RedmondDeco *parent=0, const char *name=0, const unsigned char *bitmap=NULL, bool menuButton=false, bool isMini=false, int size=16, const QString &tip=NULL, const int realizeBtns=LeftButton)
void setBitmap (const unsigned char *bitmap)
void setPixmap (const QPixmap &p)
void reset ()
QSize sizeHint () const

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
QPixmap pix
bool menuBtn
bool miniBtn
RedmondDeco * client
int size
int realizeButtons

Detailed Description

Definition at line 36 of file redmond.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.1.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Sep 30 18:40:48 2005 by doxygen 1.4.3 written by Dimitri van Heesch, © 1997-2003