I want to distinguish line edits that are set to readonly from the others by changing the background color. This is not obvious.
I want to distinguish line edits that are set to readonly from the others by changing the background color. This is not obvious.
The easiest way is to use style sheetscss Code:
QLineEdit[readOnly="true"] { /*...*/ }To copy to clipboard, switch view to plain text mode
Bookmarks