qt_get_text
Extract text from Qt editors, line edits, labels, and combo boxes via a widget reference to read field values and displayed content.
Instructions
Extract text content from a text editor or input widget.
Args: ref: Widget ref from qt_snapshot (e.g., 'w5').
Works with QPlainTextEdit, QTextEdit, QLineEdit, QLabel, QComboBox, and any widget with a text() or toPlainText() method.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| instance | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |