In questa pagina

Utils::TypedAspect Class

template <typename ValueType> class Utils::TypedAspect

La classe ` TypedAspect ` è una classe di supporto per l'implementazione di un aspetto semplice. Per saperne di più...

Funzioni pubbliche

void setDefaultValue(const ValueType &value)

Descrizione dettagliata

Un aspetto tipizzato contiene un singolo dato di tipo ValueType.

Documentazione delle funzioni membro

void TypedAspect::setDefaultValue(const ValueType &value)

Imposta un valore predefinito per l'value e e il valore corrente di questo aspetto.

Nota: il valore corrente verrà impostato automaticamente sullo stesso valore. È consigliabile impostare i valori predefiniti solo nella fase di configurazione dell'aspetto.

I valori predefiniti non verranno memorizzati nelle impostazioni.

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.