wwWidgets is a set of useful widgets for Qt 3. All widgets can be placed directly in Qt Designer using a widget plugin. To use these widgets, you have to compile the widget plugin and place it somewhere where designer will see it (either use qtconfig to configure such a place, use an existing path or place the plugin in $QTDIR/lib/plugins/designer. Next time you start Designer, the plugin should be active and ready to use. You also need to link your applications against appropriate classes. You can do it in two ways – either by adding appropriate files from wwWidgets distribution to your project or by linking against the plugin itself. If you have any problems, consult the Qt Designer manual or Qt Plugins Howto.
wwActiveLabel is an enhanced version of QLabel that adds new signals connected with mouse events, like clicking and hovering mouse pointer over the widget.
This widget is an enhancement to the standard QLineEdit. It allows one to enter a regular expression (QRegExp) directly in Designer, which will be responsible for validation of line edit's input. The following example demonstrates how to set a validator in a hand written code.
You can set the validator directly in Qt Designer using regExp property in the property editor. Just place wwLineEdit on the form and set the value of this property. You can change the validator anytime either by setValidator() or by changing the value of regExp property. Thanks to this extension you don't have to write additional code to make your line edit accept only the format you want – now you can use either the input mask or the regexp to do the job.
wwFloatSpinBox is an enhanced version of QSpinBox that supports real numbers. As the spinbox operates on integer numbers internally, so an overflow may occur with very high values of precisions. Please note, that for integers one should still use QSpinBox (although wwFloatSpinBox supports integers too).
wwCanvasView is a subclass of QCanvasView. It adds support for clicking and dragging items without the need to subclass QCanvasView. The programmer can enable dragging, which will cause all items to be draggable. A side effect is that a signal will be emitted whenever an item is clicked or dragged. Also a context menu can be created by adding a set of QActions to the widget.
wwListBoxNav is an extension to a QListBox, which adds two buttons – "Up" and "Down" which make it possible to move items up and down. Additionaly a method removeSelected() is provided to remove the currently selected item.
Additionally to new custom widgets, wwWidgets allow one to place QWorkspace, QCanvasView, QGLWidget directly on forms. Use of these items is limited as they are often subclassed to provide functionality (especially QGLWidget), but some may find it usefull anyway.
You can reach me via private messaging system on QtCentre.org if you are registered there.