TypedAspect Class
template <typename ValueType> class Utils::TypedAspectThe TypedAspect
class is a helper class for implementing a simple aspect. More...
Header: | #include <utils/aspects.h> |
Inherits: | Utils::BaseAspect |
Inherited By: |
Public Functions
void | setDefaultValue(const ValueType &value) |
Member Function Documentation
void TypedAspect::setDefaultValue(const ValueType &value)
Sets a default value and the current value for this aspect.
Note: The current value will be set silently to the same value. It is reasonable to only set default values in the setup phase of the aspect.
Default values will not be stored in settings.
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.