QIconButton Class Reference


The QIconButton widget provides a push button with a pixmap label. (details) (complete member list)

#include <qiconbt.h>

Inherits QPushButton.

Public Members

Protected Members


Detailed Description

The QIconButton widget provides a push button with a pixmap label.

To do:


Member Function Documentation

QIconButton::QIconButton (QWidget *parent=0, const char *name=0)

Constructs an icon button with no pixmap.

The parent and name arguments are sent to the QWidget constructor.

QIconButton::QIconButton (const QPixmap &pixmap, QWidget *parent=0, const char *name=0)

Constructs an icon button with a pixmap.

The parent and name arguments are sent to the QWidget constructor.

void QIconButton::adjustSize ()

Adjusts the size of the icon button to fit the contents.

This function is called automatically whenever the contents change and auto-resizing is enabled.

See also: QPushButton::setAutoResizing().

void QIconButton::drawButtonFace (QPainter *paint)

Draws the button pixmap.


This file is part of the Qt toolkit, copyright 1995 Troll Tech, all rights reserved.

It was generated from the following files:


Generated at 16:17, 1995/06/30 by the webmaster at Troll Tech