På den här sidan

Core::IOptionsPageWidget Class

class Core::IOptionsPageWidget

Klassen IOptionsPageWidget används för att standardisera interaktionen mellan en IOptionsPage och dess widget. Mer...

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

Offentliga funktioner

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

Detaljerad beskrivning

Använd setOnApply() och setOnFinish() för att ställa in funktioner som anropas när IOptionsPage tillämpas respektive avslutas.

Dokumentation för medlemsfunktioner

[virtual] void IOptionsPageWidget::apply()

Anropar funktionen apply, om den är inställd.

Se även setOnApply.

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

Ställer in den funktion som anropas som standard vid tillämpning på 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.