På den här sidan

Utils::TypedAspect Class

template <typename ValueType> class Utils::TypedAspect

TypedAspect -klassen är en hjälpklass för att implementera en enkel aspekt. Mer...

Offentliga funktioner

void setDefaultValue(const ValueType &value)

Detaljerad beskrivning

En typad aspekt innehåller en enda datadel av typen ValueType.

Dokumentation för medlemsfunktioner

void TypedAspect::setDefaultValue(const ValueType &value)

Ställer in en standard value och det aktuella värdet för detta aspekt.

Obs! Det aktuella värdet kommer att ändras automatiskt till samma värde. Det är lämpligt att endast ange standardvärden under inställningsfasen för aspekten.

Standardvärden sparas inte i inställningarna.

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.