Core::IOptionsPageWidget Class
class Core::IOptionsPageWidgetTřída IOptionsPageWidget slouží ke standardizaci interakce mezi stránkou typu IOptionsPage a jejím ovládacím prvkem. Více...
| Header: | #include <coreplugin/dialogs/ioptionspage.h> |
| Inherits: | QWidget |
Veřejné funkce
| virtual void | apply() |
| void | setOnApply(const std::function<void ()> &func) |
Podrobný popis
Pomocí metod ` setOnApply()` a `setOnFinish()` nastavte funkce, které se vyvolají při použití a po dokončení aplikace ` IOptionsPage `.
Dokumentace členských funkcí
[virtual] void IOptionsPageWidget::apply()
Zavolá funkci apply, je-li nastavena.
Viz také setOnApply.
void IOptionsPageWidget::setOnApply(const std::function<void ()> &func)
Nastaví funkci, která se při použití funkce `apply` na ` func` volá ve výchozím nastavení.
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.