IOptionsPageWidget Class
class Core::IOptionsPageWidgetThe IOptionsPageWidget class is used to standardize the interaction between an IOptionsPage and its widget. More...
Header: | #include <coreplugin/dialogs/ioptionspage.h> |
Inherits: | QWidget |
Public Functions
void | setOnApply(const std::function<void ()> &func) |
void | setOnFinish(const std::function<void ()> &func) |
Protected Functions
Detailed Description
Use setOnApply() and setOnFinish() to set functions that are called when the IOptionsPage is applied and finished respectively.
Member Function Documentation
[virtual protected]
void IOptionsPageWidget::apply()
Calls the apply function, if set.
See also setOnApply.
[virtual protected]
void IOptionsPageWidget::finish()
Calls the finish function, if set.
See also setOnFinish.
void IOptionsPageWidget::setOnApply(const std::function<void ()> &func)
Sets the function that is called by default on apply to func.
void IOptionsPageWidget::setOnFinish(const std::function<void ()> &func)
Sets the function that is called by default on finish to func.
© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.