add docs for QPlainTextEdit's setPlaceholderText method
This commit is contained in:
parent
07a2da0278
commit
90fe3ad33c
@ -28,6 +28,10 @@ QPlainTextEdit can access all the static methods defined in [NodeWidget](api/Nod
|
||||
|
||||
QPlainTextEdit can access all the instance properties defined in [NodeWidget](api/NodeWidget.md).
|
||||
|
||||
#### `plainTextEdit.placeholderText`
|
||||
|
||||
The placeholder text set on the plainTextEdit.
|
||||
|
||||
### Instance Methods
|
||||
|
||||
QPlainTextEdit can access all the instance methods defined in [NodeWidget](api/NodeWidget.md).
|
||||
@ -38,6 +42,12 @@ Sets the given text to the plainTextEdit. It calls the native method [QPlainText
|
||||
|
||||
- `text` string
|
||||
|
||||
#### `plainTextEdit.setPlaceholderText(text)`
|
||||
|
||||
Sets the given text to the plainTextEdit's placeholder.
|
||||
|
||||
- `text` string
|
||||
|
||||
#### `plainTextEdit.toPlainText()`
|
||||
|
||||
Returns the text of the text edit as plain text. [QPlainTextEdit: toPlainText](https://doc.qt.io/qt-5/qplaintextedit.html#toPlainText).
|
||||
|
||||
Loading…
Reference in New Issue
Block a user