Core::IOptionsPageWidget Class | Extending Qt Creator Manual
Description: The IOptionsPageWidget class is used to standardize the interaction between an IOptionsPage and its widget.

- Extending Qt Creator Manual
- QtCreator
- IOptionsPageWidget
- Extending Qt Creator Manual 19.0.0

# Core::IOptionsPageWidget Class

class Core::IOptionsPageWidget

The IOptionsPageWidget class is used to standardize the interaction between an IOptionsPage and its widget. More...

Header: | `#include <coreplugin/dialogs/ioptionspage.h>`
Inherits: | QWidget

- List of all members, including inherited members

## Public Functions

virtual void | apply()
void | setOnApply(const std::function<void ()> &func)

## Detailed Description

Use setOnApply() and setOnFinish() to set functions that are called when the IOptionsPage is applied and finished respectively.

## Member Function Documentation

### `[virtual]` void IOptionsPageWidget::apply()

Calls the apply function, if set.

See also setOnApply.

### void IOptionsPageWidget::setOnApply(const std::function<void ()> &func)

Sets the function that is called by default on apply to func.