lib
KoToolButton Class Reference
Inheritance diagram for KoToolButton:

Detailed Description
Definition at line 128 of file KoTooluButton.h.
Public Slots | |
void | colorSelected (const QColor &color) |
Public Member Functions | |
KoToolButton (const QString &icon, int id, QWidget *parent, const char *name=0L, const QString &txt=QString::null, KInstance *_instance=KGlobal::instance()) | |
KoToolButton (const QPixmap &pixmap, int id, QWidget *parent, const char *name=0L, const QString &txt=QString::null) | |
virtual | ~KoToolButton () |
virtual QSize | sizeHint () const |
virtual QSize | minimumSizeHint () const |
virtual QSize | minimumSize () const |
Protected Member Functions | |
virtual void | drawButton (QPainter *p) |
virtual bool | eventFilter (QObject *o, QEvent *e) |
Constructor & Destructor Documentation
|
Construct a button with an icon loaded by the button itself. This will trust the button to load the correct icon with the correct size.
Definition at line 648 of file KoTooluButton.cpp. |
|
Construct a button with an existing pixmap. It is not recommended that you use this as the internal icon loading code will almost always get it "right".
Definition at line 655 of file KoTooluButton.cpp. |
The documentation for this class was generated from the following files: