이 페이지에서

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.