Na tej strani

Core::IOptionsPageWidget Class

class Core::IOptionsPageWidget

Razred IOptionsPageWidget se uporablja za standardizacijo interakcije med stranjo » IOptionsPage « in njenim widgetom. Več...

Header: #include <coreplugin/dialogs/ioptionspage.h>
Inherits: QWidget

Javne funkcije

virtual void apply()
void setOnApply(const std::function<void ()> &func)

Podrobni opis

Uporabite funkcije ` setOnApply()` in `setOnFinish()`, da nastavite funkcije, ki se pokličejo ob uporabi oziroma ob zaključku uporabe ` IOptionsPage `.

Dokumentacija funkcij članov

[virtual] void IOptionsPageWidget::apply()

Pokliče funkcijo »apply«, če je ta nastavljena.

Glej tudi setOnApply.

void IOptionsPageWidget::setOnApply(const std::function<void ()> &func)

Določi funkcijo, ki se privzeto pokliče ob uporabi 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.