Na tej stronie

Utils::TypedAspect Class

template <typename ValueType> class Utils::TypedAspect

Klasa ` TypedAspect ` jest klasą pomocniczą służącą do implementacji prostego aspektu. Więcej...

Funkcje publiczne

void setDefaultValue(const ValueType &value)

Szczegółowy opis

Aspekt typowany zawiera pojedynczy element danych typu ValueType.

Dokumentacja funkcji składowych

void TypedAspect::setDefaultValue(const ValueType &value)

Ustawia domyślną wartość „ value ” oraz bieżącą wartość dla tego aspektu.

Uwaga: Aktualnawartość zostanie po cichu ustawiona na tę samą wartość. Rozsądnym rozwiązaniem jest ustawianie wartości domyślnych wyłącznie na etapie konfiguracji aspektu.

Wartości domyślne nie będą zapisywane w ustawieniach.

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.