KDEUI
Go to the documentation of this file.
   25 #include <QtGui/QWidget> 
   48     Q_PROPERTY( 
State state READ state WRITE setState )
 
   49     Q_PROPERTY( 
Shape shape READ shape WRITE setShape )
 
   50     Q_PROPERTY( Look look READ look WRITE setLook )
 
   51     Q_PROPERTY( 
QColor color READ color WRITE setColor )
 
   52     Q_PROPERTY( 
int darkFactor READ darkFactor WRITE setDarkFactor )
 
   66     enum Shape { Rectangular, Circular };
 
   88     enum Look  { Flat, Raised, Sunken };
 
  167     int darkFactor() 
const;
 
  184     void setColor( 
const QColor& color );
 
  195     void setState( State state );
 
  210     void setLook( Look look );
 
  218     void setShape( Shape shape );
 
  233     void setDarkFactor( 
int darkFactor );
 
  235     virtual QSize sizeHint() 
const;
 
  236     virtual QSize minimumSizeHint() 
const;
 
  267     virtual int ledWidth() 
const;
 
  272     virtual void paintFlat();
 
  277     virtual void paintRaised();
 
  282     virtual void paintSunken();
 
  287     virtual void paintRect();
 
  293     virtual void paintRectFrame( 
bool raised );
 
  295     void paintEvent( QPaintEvent* );
 
  296     void resizeEvent( QResizeEvent* );
 
  302     bool paintCachedPixmap();
 
  308     void updateCachedPixmap();
 
  313     void paintLed(Shape shape, Look look);
 
Look
Displays a flat, round or sunken LED. 
State
Status of the light is on/off. 
  
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:14 by
doxygen 1.8.7 written
by 
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.