PdQmlWidgets  2.0.0
Public Member Functions | Properties | List of all members
de::igh::pd::PdComboBox Class Reference

ComboBox. More...

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

Public Member Functions

void update (v)
 

Properties

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...
 
alias value
 Raw Process value. More...
 
string indexRole
 type:string IndexRole is written to the realtime process if the model has a valid index key. More...
 

Detailed Description

ComboBox.

The model property of ComboBox has to be set to function property.

Example Model with indexRole:

ListModel {
id:modeModel
ListElement {key: "None"; value:0}
ListElement {key: "a few"; value:4}
ListElement {key: "many"; value:8}
ListElement {key: "all"; value:10}
}

Example Model without indexRole

ListModel {
id:modeModel
ListElement {key: "None"}
ListElement {key: "a few"}
ListElement {key: "many"}
ListElement {key: "all"}
}



Import Statement

import de.igh.pd
Version
2.0

Member Function Documentation

◆ update()

void de::igh::pd::PdComboBox::update ( )

Property Documentation

◆ connection

alias de::igh::pd::PdComboBox::connection
read

◆ indexRole

string de::igh::pd::PdComboBox::indexRole
read

type:string IndexRole is written to the realtime process if the model has a valid index key.

Otherwise the modelIndex is written to the process.

◆ path

alias de::igh::pd::PdComboBox::path
read

type:var convinience connection to the process path see PdCheckBox

◆ value

alias de::igh::pd::PdComboBox::value
read

Raw Process value.

◆ variable

alias de::igh::pd::PdComboBox::variable
read

type:var connection to the process variable see PdCheckBox


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