本页内容

Utils::TypedAspect Class

template <typename ValueType> class Utils::TypedAspect

TypedAspect 类是一个用于实现简单切面的辅助类。更多内容...

公共函数

void setDefaultValue(const ValueType &value)

详细描述

类型化切面包含一个类型为ValueType 的数据项。

成员函数文档

void TypedAspect::setDefaultValue(const ValueType &value)

设置该方面的默认value 及其当前值。

注意:当前值 将被静默地设置为与默认值相同的值。仅在该方面的设置阶段设置默认值是合理的。

默认值不会存储在设置中。

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.