Qore Programming Language

  • Increase font size
  • Default font size
  • Decrease font size

widget: wiggly example

E-mail Print PDF

This is the QT widget example "wiggly" ported from C++ to Qore.

The Wiggly example shows how to animate a widget using QBasicTimer and timerEvent(). In addition, the example demonstrates how to use QFontMetrics to determine the size of text on screen.

wiggly.q

Screenshot:

wiggly example