Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.

...