Core::IOptionsPageWidget Class
class Core::IOptionsPageWidgetA classe IOptionsPageWidget é usada para padronizar a interação entre um IOptionsPage e seu widget. Mais...
| Header: | #include <coreplugin/dialogs/ioptionspage.h> |
| Inherits: | QWidget |
Funções públicas
| virtual void | apply() |
| void | setOnApply(const std::function<void ()> &func) |
Descrição detalhada
Utilize setOnApply() e setOnFinish() para definir funções que serão chamadas quando o IOptionsPage for aplicado e concluído, respectivamente.
Documentação das funções de membro
[virtual] void IOptionsPageWidget::apply()
Chama a função `apply`, se estiver definida.
Veja também setOnApply.
void IOptionsPageWidget::setOnApply(const std::function<void ()> &func)
Define a função que é chamada por padrão ao aplicar a ` 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.