Utils::TypedAspect Class
template <typename ValueType> class Utils::TypedAspectTypedAspect -klassen er en hjælpeklasse til implementering af et simpelt aspekt. Mere...
| 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 |
Offentlige funktioner
| void | setDefaultValue(const ValueType &value) |
Dokumentation til medlemsfunktioner
void TypedAspect::setDefaultValue(const ValueType &value)
Indstiller en standard value og den aktuelle værdi for dette aspekt.
Bemærk: Den aktuelle værdi indstilles automatisk til den samme værdi. Det er fornuftigt kun at indstille standardværdier i aspektets opsætningsfase.
Standardværdier gemmes ikke i indstillingerne.
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.