本页内容

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)

将“apply”操作默认调用的函数设置为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.