Core::IOptionsPageWidget Class
class Core::IOptionsPageWidgetKlasa IOptionsPageWidget koristi se za standardizaciju interakcije između stranice opcija ( IOptionsPage ) i njezina widgeta. Više...
| Header: | #include <coreplugin/dialogs/ioptionspage.h> |
| Inherits: | QWidget |
Javne funkcije
| void | setOnApply(const std::function<void ()> &func) |
| void | setOnFinish(const std::function<void ()> &func) |
Zaštićene funkcije
Detaljan opis
Koristite setOnApply() i setOnFinish() za postavljanje funkcija koje se pozivaju pri primjeni i završetku IOptionsPage -a.
Dokumentacija funkcija članova
[virtual protected] void IOptionsPageWidget::apply()
Poziva funkciju apply, ako je postavljeno.
Vidi također setOnApply.
[virtual protected] void IOptionsPageWidget::finish()
Poziva završnu funkciju, ako je postavljeno.
Vidi također setOnFinish.
void IOptionsPageWidget::setOnApply(const std::function<void ()> &func)
Postavlja funkciju koja se po zadanom poziva na func.
void IOptionsPageWidget::setOnFinish(const std::function<void ()> &func)
Postavlja funkciju koja se po zadanom poziva pri završetku na 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.