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.