Wiki Markup |
---|
{alias:qclear} h2. Name *qclear* — clear widget contents h2. Syntax {panel:|borderStyle=solid|borderWidth=1|bgColor=#FFFFAA} *qclear* \[_widget_] {panel} h2. Description The *qclear* command clears the contents of the widget. Acceptable widgets are [QComboBox], [QLineEdit], [QToolBar], [QTextEdit], [QSpinBox], [QDoubleSpinBox], [QMenu], [QMenuBar], [QTreeWidget], [QTableWidget], and [QLabel]. See [Editor with clear button|ref:qtextedit - multiline text editor#Editor with clear button] for an example on how to clear a QTextEdit. h2. Arguments _widget_ {indent}The widget to be cleared. If this argument is omitted the current widget will be used. {indent} |
Page Comparison
General
Content
Integrations