|
open_iA 2024.7
|
#include "iAValueType.h"#include "iALog.h"#include "iAStringHelper.h"#include <QColor>#include <QString>#include <QVariant>Functions | |
| QVariant | colorToVariant (QColor const &c) |
| Convert a given QColor to its internally used QVariant representation (a string) | |
| iAValueType | Str2ValueType (QString const &str) |
| QString | ValueType2Str (iAValueType type) |
| QColor | variantToColor (QVariant const &v) |
| Convert QVariant with value type iAValueType::Color (internally stored as string) to a QColor. | |
| QString | variantValueToString (iAValueType valueType, QVariant value) |
| convert the QVariant of the given iAValueType to a string (describing its content, for human-readable output) | |
| QVariant colorToVariant | ( | QColor const & | c | ) |
Convert a given QColor to its internally used QVariant representation (a string)
| iAValueType Str2ValueType | ( | QString const & | str | ) |
| QString ValueType2Str | ( | iAValueType | type | ) |
| QColor variantToColor | ( | QVariant const & | v | ) |
Convert QVariant with value type iAValueType::Color (internally stored as string) to a QColor.
| QString variantValueToString | ( | iAValueType | valueType, |
| QVariant | value ) |
convert the QVariant of the given iAValueType to a string (describing its content, for human-readable output)