Sur cette page

Core::IOptionsPageWidget Class

class Core::IOptionsPageWidget

La classe `IOptionsPageWidget` sert à normaliser l'interaction entre une page d'options ( IOptionsPage ) et son widget. En savoir plus...

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

Fonctions publiques

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

Description détaillée

Utilisez les méthodes setOnApply() et setOnFinish() pour définir les fonctions appelées respectivement lors de l’application et de la fin de l’ IOptionsPage.

Documentation des fonctions membres

[virtual] void IOptionsPageWidget::apply()

Appelle la fonction « apply », si elle est définie.

Voir également setOnApply.

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

Définit la fonction appelée par défaut lors de l'application de la méthode ` 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.