stylesheet, Textfield readOnly

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
3 posts • Page 1 of 1
teemu_ylonen
Posts:10
Joined: Tue Jun 30, 2020 3:51 pm

stylesheet, Textfield readOnly

Post by teemu_ylonen »

Hello,
does anyone know how to set readOnly for spesific type definition of WinCC OA text field in stylesheet.css


/* MyDisplayField (non editable) */
QLineEdit[type = "MyDisplayField"]
{
border: 1px solid rgb(85, 160, 185);
border-radius: 2px;
"readOnly, editable=false, enabled = false ???"
}

Regards, Teemu

gschijndel
Posts:376
Joined: Tue Jan 15, 2019 3:12 pm

Re: stylesheet, Textfield readOnly

Post by gschijndel »

Code: Select all

  qproperty-enabled: false;

teemu_ylonen
Posts:10
Joined: Tue Jun 30, 2020 3:51 pm

Re: stylesheet, Textfield readOnly

Post by teemu_ylonen »

Thank you...

3 posts • Page 1 of 1