本页内容

Utils::AspectContainer Class

class Utils::AspectContainer

AspectContainer 类封装了一个或多个切面,同时提供单个切面的接口。更多内容...

Header: #include <AspectContainer>
Inherits: Utils::BaseAspect
Inherited By:

Utils::FontAspect

公共函数

Utils::BaseAspect *aspect(Utils::Id id) const

详细描述

子切面的所有权可使用setOwnsSubAspects 进行声明。

成员函数文档

Utils::BaseAspect *AspectContainer::aspect(Utils::Id id) const

根据给定的id 检索一个BaseAspect ,如果未包含此类方面,则返回nullptr。

另请参见 BaseAspect 。

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.