PdQmlWidgets  2.0.0
Properties | List of all members
de::igh::pd::PdLabel Class Reference

Value hash type. More...

Inheritance diagram for de::igh::pd::PdLabel:
Inheritance graph
[legend]
Collaboration diagram for de::igh::pd::PdLabel:
Collaboration graph
[legend]

Properties

var hash
 type:var More...
 
alias model
 
string undefText
 type:var this text is shown if no key is found in hash More...
 
alias variable
 type:var connection to the process variable see PdCheckBox More...
 
alias connection
 
alias path
 type:var convinience connection to the process path see PdCheckBox More...
 
string indexRole
 type:string Text is selected from that role of the model, which key is: IndexRole. More...
 
bool hovered
 This signal is emitted when a mouse is hovered over the control. More...
 
alias value
 type:var Raw Process value More...
 

Detailed Description

Value hash type.

This hash shall contain a value object for each possible value to display.

Import Statement

import de.igh.pd
Version
2.0

Property Documentation

◆ connection

alias de::igh::pd::PdLabel::connection
read

◆ hash

var de::igh::pd::PdLabel::hash
read

type:var

Example hash/model with indexRole:

{key: "None"}
{key: "a few"}
{key: "many"}
{key: "all"}
]

Example hash/model without indexRole

hash:["Car","Person","Animal"]

◆ hovered

bool de::igh::pd::PdLabel::hovered
read

This signal is emitted when a mouse is hovered over the control.

true: when the mouse moves over the control, false: otherwise

◆ indexRole

string de::igh::pd::PdLabel::indexRole
read

type:string Text is selected from that role of the model, which key is: IndexRole.

When the model has multiple roles, textRole can be set to determine which role should be displayed.

◆ model

alias de::igh::pd::PdLabel::model
read

◆ path

alias de::igh::pd::PdLabel::path
read

type:var convinience connection to the process path see PdCheckBox

◆ undefText

string de::igh::pd::PdLabel::undefText
read

type:var this text is shown if no key is found in hash

◆ value

alias de::igh::pd::PdLabel::value
read

type:var Raw Process value

Remarks
This property is read-only

◆ variable

alias de::igh::pd::PdLabel::variable
read

type:var connection to the process variable see PdCheckBox


The documentation for this class was generated from the following file: