Utils::TypedAspect Class
template <typename ValueType> class Utils::TypedAspectDie Klasse „ TypedAspect “ ist eine Hilfsklasse zur Implementierung eines einfachen Aspekts. Mehr...
| Header: | #include <utils/aspects.h> |
| Inherits: | Utils::BaseAspect |
| Inherited By: | Utils::BoolAspect, Utils::DoubleAspect, Utils::FilePathAspect, Utils::FilePathListAspect, Utils::IntegerAspect, Utils::MultiSelectionAspect, Utils::SelectionAspect, Utils::StringAspect, and Utils::StringListAspect |
Öffentliche Funktionen
| void | setDefaultValue(const ValueType &value) |
Ausführliche Beschreibung
Ein typisierter Aspekt enthält ein einzelnes Datenelement vom Typ „ ValueType “.
Dokumentation der Mitgliedsfunktionen
void TypedAspect::setDefaultValue(const ValueType &value)
Legt einen Standard value n und den aktuellen Wert für diesen Aspekt fest.
Hinweis: Der aktuelle Wert wird stillschweigend auf denselben Wert gesetzt. Es ist sinnvoll, Standardwerte nur in der Einrichtungsphase des Aspekts festzulegen.
Standardwerte werden nicht in den Einstellungen gespeichert.
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.