Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Unknown macro: {alias}

Name

qclear — clear widget contents

Syntax

qclear [widget]

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 for an example on how to clear a QTextEdit.

Arguments

widget

Unknown macro: {indent}

The widget to be cleared. If this argument is omitted the current widget will be used.

  • No labels