add docs for QPlainTextEdit's setPlaceholderText method

This commit is contained in:
soonoo 2019-09-09 18:46:29 +09:00
parent 07a2da0278
commit 90fe3ad33c

View File

@ -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).