Na tej stronie

Utils::AspectContainer Class

class Utils::AspectContainer

Klasa `AspectContainer` obejmuje jeden lub więcej aspektów, udostępniając jednocześnie interfejs pojedynczego aspektu. Więcej...

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

Utils::FontAspect

Funkcje publiczne

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

Szczegółowy opis

Własność podaspektów można zadeklarować przy użyciu ` setOwnsSubAspects`.

Dokumentacja funkcji składowych

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

Pobiera obiekt typu ` BaseAspect ` o podanym aspekcie typu ` id` lub `nullptr`, jeśli taki aspekt nie występuje.

Zobacz też: 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.