På denne side

Core::IOptionsPageWidget Class

class Core::IOptionsPageWidget

IOptionsPageWidget-klassen bruges til at standardisere samspillet mellem en IOptionsPage og dens widget. Læs mere...

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

Offentlige funktioner

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

Detaljeret beskrivelse

Brug setOnApply() og setOnFinish() til at angive de funktioner, der skal kaldes, når IOptionsPage henholdsvis anvendes og afsluttes.

Dokumentation til medlemsfunktioner

[virtual] void IOptionsPageWidget::apply()

Kaldes funktionen »apply«, hvis den er angivet.

Se også setOnApply.

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

Indstiller den funktion, der som standard kaldes ved anvendelse af ` 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.