From 90fe3ad33c3e11e32ae351d1bfec964b065a8673 Mon Sep 17 00:00:00 2001 From: soonoo Date: Mon, 9 Sep 2019 18:46:29 +0900 Subject: [PATCH] add docs for QPlainTextEdit's setPlaceholderText method --- docs/api/QPlainTextEdit.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/api/QPlainTextEdit.md b/docs/api/QPlainTextEdit.md index ad38ae488..688bc894a 100644 --- a/docs/api/QPlainTextEdit.md +++ b/docs/api/QPlainTextEdit.md @@ -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).