B2::B2Button Class Reference

List of all members.

Public Member Functions

 B2Button (B2Client *_client=0, TQWidget *parent=0, const TQString &tip=NULL, const int realizeBtns=LeftButton)
void setBg (const TQColor &c)
void setPixmaps (KPixmap *pix, KPixmap *pixDown, KPixmap *iPix, KPixmap *iPixDown)
void setPixmaps (int button_id)
void setToggle ()
void setActive (bool on)
void setUseMiniIcon ()
TQSize sizeHint () const
TQSizePolicy sizePolicy () const

Public Attributes

B2Clientclient
ButtonState last_button
int realizeButtons
bool hover

Protected Member Functions

virtual void drawButton (TQPainter *p)
void drawButtonLabel (TQPainter *)
void mousePressEvent (TQMouseEvent *e)
void mouseReleaseEvent (TQMouseEvent *e)

The documentation for this class was generated from the following files:

Generated on Sat Oct 2 23:01:21 2010 by  doxygen 1.6.1