Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Name

qclear — clear widget contents

Syntax

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

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

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