Core::IOptionsPageWidget Class
class Core::IOptionsPageWidgetКлас IOptionsPageWidget використовується для стандартизації взаємодії між об’єктом типу « IOptionsPage » та його віджетом. Детальніше...
| Header: | #include <coreplugin/dialogs/ioptionspage.h> |
| Inherits: | QWidget |
Публічні функції
| virtual void | apply() |
| void | setOnApply(const std::function<void ()> &func) |
Детальний опис
Використовуйте методи setOnApply() та setOnFinish(), щоб задати функції, які викликаються відповідно під час застосування та завершення роботи елемента IOptionsPage.
Документація до функцій-членів
[virtual] void IOptionsPageWidget::apply()
Викликає функцію apply, якщо вона задана.
Див. також setOnApply.
void IOptionsPageWidget::setOnApply(const std::function<void ()> &func)
Встановлює функцію, яка за замовчуванням викликається під час застосування до func.
Copyright © The Qt Company Ltd. and other contributors. 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.