Ezen az oldalon

Core::IOptionsPageWidget Class

class Core::IOptionsPageWidget

Az IOptionsPageWidget osztályt az IOptionsPage és a hozzá tartozó widget közötti interakció egységesítésére használják. További információk...

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

Nyilvános függvények

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

Részletes leírás

Az setOnApply() és a setOnFinish() metódusokkal állíthatók be azok a függvények, amelyeket az IOptionsPage alkalmazásakor, illetve befejezésekor hívnak meg.

Tagfüggvények dokumentációja

[virtual] void IOptionsPageWidget::apply()

Meghívja az apply függvényt, ha az be van állítva.

Lásd még: setOnApply.

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

Beállítja azt a függvényt, amelyet az `apply` művelet végrehajtásakor alapértelmezés szerint hív meg az ` 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.