Vector Variant to be used in QML applications.
More...
#include <VectorVariant.h>
|
QString | path |
| Assign path: this selects the default process and event transmission. More...
|
|
QVariant | connection |
| if one wants to update the variable connection values in one call supply a map with {"path":path, "period":sampleTime .... More...
|
|
bool | connected |
| Indicates that the process is connected and data is transfered. More...
|
|
QVariant | value |
| Process value. More...
|
|
QString | text |
| Interpret the elements of an process variable array as string. More...
|
|
QVariant | mtime |
| last modification time of process variable More...
|
|
Vector Variant to be used in QML applications.
◆ VectorVariant()
PdQmlWidgets::VectorVariant::VectorVariant |
( |
QObject * |
= Q_NULLPTR | ) |
|
◆ ~VectorVariant()
PdQmlWidgets::VectorVariant::~VectorVariant |
( |
| ) |
|
◆ clearData()
void PdQmlWidgets::VectorVariant::clearData |
( |
| ) |
|
◆ clearVariable()
void PdQmlWidgets::VectorVariant::clearVariable |
( |
| ) |
|
◆ connectionUpdated
void PdQmlWidgets::VectorVariant::connectionUpdated |
( |
| ) |
|
|
signal |
◆ dataPresentChanged
void PdQmlWidgets::VectorVariant::dataPresentChanged |
( |
bool |
| ) |
|
|
signal |
◆ getConnection()
QVariant PdQmlWidgets::VectorVariant::getConnection |
( |
| ) |
|
◆ getDataPresent()
bool PdQmlWidgets::VectorVariant::getDataPresent |
( |
| ) |
|
◆ getMTime()
std::chrono::nanoseconds PdQmlWidgets::VectorVariant::getMTime |
( |
| ) |
const |
◆ getMTimeToDouble()
double PdQmlWidgets::VectorVariant::getMTimeToDouble |
( |
| ) |
const |
◆ getPath()
QString PdQmlWidgets::VectorVariant::getPath |
( |
| ) |
|
◆ getValue()
QVariant PdQmlWidgets::VectorVariant::getValue |
( |
| ) |
const |
◆ getValueAsString()
QString PdQmlWidgets::VectorVariant::getValueAsString |
( |
| ) |
const |
◆ hasVariable()
bool PdQmlWidgets::VectorVariant::hasVariable |
( |
| ) |
const |
◆ pathChanged
void PdQmlWidgets::VectorVariant::pathChanged |
( |
QString & |
| ) |
|
|
signal |
◆ setConnection()
void PdQmlWidgets::VectorVariant::setConnection |
( |
QVariant |
| ) |
|
◆ setPath()
void PdQmlWidgets::VectorVariant::setPath |
( |
QString & |
| ) |
|
◆ setProcess()
void PdQmlWidgets::VectorVariant::setProcess |
( |
QtPdCom::Process * |
| ) |
|
◆ setValue()
Q_INVOKABLE void PdQmlWidgets::VectorVariant::setValue |
( |
const QVariant & |
| ) |
|
◆ setValueAsString()
Q_INVOKABLE void PdQmlWidgets::VectorVariant::setValueAsString |
( |
const QString & |
| ) |
|
◆ updateConnection()
void PdQmlWidgets::VectorVariant::updateConnection |
( |
| ) |
|
◆ valueChanged
void PdQmlWidgets::VectorVariant::valueChanged |
( |
| ) |
|
|
signal |
Emitted, when the value changes, or the variable is disconnected.
◆ valueUpdated
void PdQmlWidgets::VectorVariant::valueUpdated |
( |
std::chrono::nanoseconds |
mtime | ) |
|
|
signal |
Emitted also when value does not change but got an update from the msr process.
◆ connected
bool PdQmlWidgets::VectorVariant::connected |
|
read |
Indicates that the process is connected and data is transfered.
◆ connection
QVariant PdQmlWidgets::VectorVariant::connection |
|
readwrite |
if one wants to update the variable connection values in one call supply a map with {"path":path, "period":sampleTime ....
}
◆ mtime
QVariant PdQmlWidgets::VectorVariant::mtime |
|
read |
last modification time of process variable
◆ path
QString PdQmlWidgets::VectorVariant::path |
|
readwrite |
Assign path: this selects the default process and event transmission.
◆ text
QString PdQmlWidgets::VectorVariant::text |
|
readwrite |
Interpret the elements of an process variable array as string.
◆ value
QVariant PdQmlWidgets::VectorVariant::value |
|
readwrite |
The documentation for this class was generated from the following file: