Reputation: 2319
I'm using Python with PyQt and I have a few problems with my QLineEdits
.
QLineEdit
.QLineEdit
?Upvotes: 3
Views: 4475
Reputation: 3775
Pretty much like this:
linedit = QtGui.QlineEdit()
linedit.setPlaceholderText("My grey text which disappear when I click on it")
linedit.setEnabled(False)
with Qt minimum version 4.7 and latest PyQt 4.
Upvotes: 9