Extending Qt Creator Manual | IconButton

Extending Qt Creator Manual 4.6.0

# IconButton Class

(Utils::IconButton)

- List of all members, including inherited members

## Properties

- autoHide : bool
- iconOpacity : float

## Public Functions

| IconButton(QWidget *parent = 0)
void | animateShow(bool visible)
bool | hasAutoHide() const
float | iconOpacity()
void | paintEvent(QPaintEvent *event)
void | setAutoHide(bool hide)
void | setIconOpacity(float value)
QSize | sizeHint() const

## Protected Functions

void | keyPressEvent(QKeyEvent *ke)
void | keyReleaseEvent(QKeyEvent *ke)

## Property Documentation

### autoHide : bool

Access functions:

bool | hasAutoHide() const
void | setAutoHide(bool hide)

### iconOpacity : float

Access functions:

float | iconOpacity()
void | setIconOpacity(float value)

## Member Function Documentation

### IconButton::IconButton(QWidget *parent = 0)

Default constructs an instance of IconButton.

### void IconButton::animateShow(bool visible)

### `[protected]` void IconButton::keyPressEvent(QKeyEvent *ke)

### `[protected]` void IconButton::keyReleaseEvent(QKeyEvent *ke)

### void IconButton::paintEvent(QPaintEvent *event)

### QSize IconButton::sizeHint() const