Nesta página

Utils::TypedAspect Class

template <typename ValueType> class Utils::TypedAspect

A classe ` TypedAspect ` é uma classe auxiliar para a implementação de um aspecto simples. Mais...

Funções públicas

void setDefaultValue(const ValueType &value)

Descrição detalhada

Um aspecto tipado contém um único dado do tipo ValueType.

Documentação da função de membro

void TypedAspect::setDefaultValue(const ValueType &value)

Define um valor padrão para “ value ” e o valor atual desse aspecto.

Observação: O valor atual será definido automaticamente com o mesmo valor. É recomendável definir valores padrão apenas na fase de configuração do aspecto.

Os valores padrão não serão armazenados nas configurações.

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.