|
open_iA 2024.9
|
#include "iabase_export.h"Enumerations | |
| enum class | iAValueType { Invalid = -1 , Continuous , Discrete , Categorical , String , Text , Boolean , FilterName , FilterParameters , Folder , FileNameOpen , FileNamesOpen , FileNameSave , Color , Vector2 , Vector3 , Vector2i , Vector3i } |
| Value types that can be used for parameters and attributes. More... | |
Functions | |
| iAbase_API QVariant | colorToVariant (QColor const &c) |
| Convert a given QColor to its internally used QVariant representation (a string) | |
| iAValueType | Str2ValueType (QString const &str) |
| iAbase_API QString | ValueType2Str (iAValueType type) |
| iAbase_API QColor | variantToColor (QVariant const &v) |
| Convert QVariant with value type iAValueType::Color (internally stored as string) to a QColor. | |
| iAbase_API QString | variantValueToString (iAValueType valueType, QVariant value) |
| convert the QVariant of the given iAValueType to a string (describing its content, for human-readable output) | |
|
strong |
Value types that can be used for parameters and attributes.
| iAbase_API QVariant colorToVariant | ( | QColor const & | c | ) |
Convert a given QColor to its internally used QVariant representation (a string)
| iAValueType Str2ValueType | ( | QString const & | str | ) |
| iAbase_API QString ValueType2Str | ( | iAValueType | type | ) |
| iAbase_API QColor variantToColor | ( | QVariant const & | v | ) |
Convert QVariant with value type iAValueType::Color (internally stored as string) to a QColor.
| iAbase_API QString variantValueToString | ( | iAValueType | valueType, |
| QVariant | value ) |
convert the QVariant of the given iAValueType to a string (describing its content, for human-readable output)