Qmeters demo + library

qmetersdemo is a demo application for the qmeters library, included in the same distribution tarball.

The qmeters library provides a highly customizable Qt widget able to create complex analog/dial 2D widgets (multiple scales, multiple needles, customizable needles and backgrounds).

As you can see, the demo is simply a panel filled with with a bunch of strange instruments with unprobable colors or backgrounds. Nothing so amazing, but its purpose in fact was only to test the library capabilities.


qmeters demo snapshot

The idea behind qmeters is a "container" widget QAnalogMeter that initially is empty. The developer must create also one or more instances of a scale (clock or sector) and one or more instance of index/needle (clock, donut, pie). QAnalogMeter allow to insert these instances into the container, so they can appear to the user as unique analog instrument wired around the same pivot. By acting on the widget sizes it's possible to show an analog instrument with more coaxial scales and indexes.


qmetersdemo+lib are licensed under GPL2++ license, see COPYING into the source tarball.

Download source code (QMAKE project): click here .


My homepage on Freshmeat

Changes

0.1 - Sept 6, 2006 - First public release.

0.2 - Sept 14,2006 - It was not possible to compile 0.1 under more recent KDE releases (0.1 was compiled under Suse Linux 9.0 - KDE2 - KDevelop2), while 0.2 should.
Some deprecated code was replaced with more compliant one and now kmeters _should_ be compilable also under Suse10-KDE3-KDevelop3, I will check this the next days.
The demo was improved.
KNOWN BUG: I tried to run the demo by clicking on its icon on konqueror and it crashed, while launching it through a terminal window or from within KDevelop it works. Probably a problem while loading the background images, that kmeters expects to find in the same directory of the executable. It's a problem of the demo and not a bug in the library.

Sept 18,2006 - Ported to SUSE10 - KDE3 - Kdevelop3

Oct 2, 2006 - Release 0.3 - important bugfix:  scales and indexes classes will no inherit QWidgets anymore. This inheritation was the cause of the bad widget refresh when not regularly updated by calling updateAnalog().

Oct 26, 2006 - Release 0.4 - bugfix:  corrected index behavior for instruments embedding zero (I mean: with scales from -somevalue..0...+someothervalue)

Jan 12, 2007 - Release 0.5
-IMPORTANT CHANGE: removed any KDE dependence from the demo and the project itself, that now is based on QMAKE instead of KDEVELOP see the README.FIRST file before compiling.
-bugfix:  corrected index behavior: values out of range are not considered for widget update

May 6, 2008 - Release 0.6
Added fixedPoint parameter for QASectScale and QAClockScale, allowing to show fixed-point decimal values on the scales



Last updated: May 6, 2008

Hosted by www.Geocities.ws

1