このページでは

Core::IOptionsPageWidget Class

class Core::IOptionsPageWidget

IOptionsPageWidget クラスは、IOptionsPage とそのウィジェット間のやり取りを標準化するために使用されます。詳細...

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

パブリック関数

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

詳細な説明

setOnApply() および setOnFinish() を使用して、IOptionsPage が適用されたとき、および適用が完了したときにそれぞれ呼び出される関数を設定します。

メンバー関数のドキュメント

[virtual] void IOptionsPageWidget::apply()

設定されている場合、apply関数を呼び出します。

setOnApplyも参照してください 。

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

func に対して、apply 時にデフォルトで呼び出される関数を設定します。

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.