Core::IOptionsPageWidget Class
class Core::IOptionsPageWidgetLa classe IOptionsPageWidget viene utilizzata per standardizzare l'interazione tra un IOptionsPage e il relativo widget. Per saperne di più...
| Header: | #include <coreplugin/dialogs/ioptionspage.h> |
| Inherits: | QWidget |
Funzioni pubbliche
| virtual void | apply() |
| void | setOnApply(const std::function<void ()> &func) |
Descrizione dettagliata
Utilizzare setOnApply() e setOnFinish() per impostare le funzioni che vengono chiamate rispettivamente quando l'IOptionsPage viene applicato e quando l'operazione è terminata.
Documentazione delle funzioni membro
[virtual] void IOptionsPageWidget::apply()
Chiama la funzione "apply", se impostata.
Vedi anche setOnApply.
void IOptionsPageWidget::setOnApply(const std::function<void ()> &func)
Imposta la funzione che viene chiamata per impostazione predefinita quando si applica l'operazione "apply" 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.