Na tej stronie

Core::IOptionsPageWidget Class

class Core::IOptionsPageWidget

Klasa IOptionsPageWidget służy do ujednolicenia interakcji między obiektem typu ` IOptionsPage ` a jego kontrolką. Więcej...

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

Funkcje publiczne

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

Szczegółowy opis

Za pomocą metod ` setOnApply()` i `setOnFinish()` można ustawić funkcje wywoływane odpowiednio w momencie zastosowania i zakończenia działania widżetu ` IOptionsPage `.

Dokumentacja funkcji składowych

[virtual] void IOptionsPageWidget::apply()

Wywołuje funkcję apply, jeśli została ustawiona.

Zobacz także setOnApply.

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

Ustawia funkcję wywoływaną domyślnie przy zastosowaniu do 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.