Description:

QMeter is a custom widget for Qt Creator.
QMeter can be used directly from Qt Creator to display values using the "Promote To" function in the designer.

Changelog:

v 1.0 4 months ago

Compiled for Qt5.
Code refactoring
Make use of QPropertyAnimation for needle animation

6 years ago

Version 0.5.2
-simple bug fixing (URL redirection on help page)

Version 0.5.1
-added doxygen documentation.

Version 0.5.0 beta

New Features:
-added threshold management
-added numerical indicator
-Help QMeter... dialog improvement (now this dialog can help you to understand better how QMeter works)

Open problems:
-domXml method does not set correctly some properties

Under development
-complete error management
-source documentation (doxygen)
-testing

-------------------------------------
Version 0.4.1 beta

-added Info Property dialog. Right click on the QMeter widget in Qt Designer to display it.

-------------------------------------
Version 0.4.0 beta (not downloadable any more)

Bug Fixing:
-minValue and maxValue fixing

New Features:
-number of steps is exported as property
-startAngle and endAngle are exported as property
-background color and foreground color are exported as property
-added a property dialog (right click on the widget in Qt Designer to see it)

Open problems:
-domXml method does not set correctly the value property
-Failure flag and threshold indicator not yet available. (Does anyone use these features?)

-------------------------------------
Verion 0.3 (not downloadable any more)
Antialiasing
Added Threshold management
Added target indicator
Added Failure flag indicator

5 years ago

danciac

Hi!
I have installed the plugin as it was pointed out in the INSTALL file. The only note, is that I had to sudo make install in order for the files to be copied.

So when I add the qMeter to my application, the project won't build saying:
"carmonitor.cpp:(.text._ZN13Ui_CarMonitor7setupUiEP11QMainWindow[Ui_CarMonitor::setupUi(QMainWindow*)]+0x424): undefined reference to `QMeter::QMeter(QWidget*)"
and a bunch of similar ones with some functions like setValue, setMinValue...

Any ideas please?

Thank you!

Report

4 years ago

shenjjmary

hello!
I am confused with the same question.Do you solve the question?
I used the plugin QMeter in the environment Qt Creator.

Report

5 years ago

11Nov11

installed qt-addin
in VS 2008->new project->Qt->Qt Application->ok
opened the .ui file through Qt Designer and added the QMeter plugin->save
build the project->success, but the application window not showing up.
How to add these installed plugins in my project through Visual Studio??
Regards!!

Report

5 years ago

11Nov11

installed qt-addin
in VS 2008->new project->Qt->Qt Application->ok
opened the .ui file through Qt Designer and added the QMeter plugin->save
build the project->success, but the application window not showing up.
How to add these installed plugins in my project through Visual Studio??
Regards!!

Report

8 years ago

Keisuke

Very Nice ^^
But, can we use this under windows ?
If yes, can you explain me.
I have some errors.

PS: Sorry for my bad english (i'm beginner french)

Report

8 years ago

yagabey

Hello,
I get a warning (QPainter::restore: Unbalanced save/restore) when the position of the needle changes, continuosly? Why may it be?

Report

8 years ago

BlaX

QMeter::drawIndicator() does "painter->restore();" twice for only one save.

Removing the first one fix the warning.

Report

9 years ago

qphoton

OK, I've added some doxygen information about QMeter and I included the doxygen html files into the zip archive.
Now I have to verify the robustness of the code and improve the error management.
After some testing I will consider QMetr stable and I'll release the 1.0.0 version.
If someone has comments or find a bug, please post a comment.
Good luck!
paolo

Report

9 years ago

anafor2004

I mean , how can i add this custom widgets to Qt designer?

Report

9 years ago

qphoton

I'm uploading a new QMeter with some bug fixes and improvement.
To add the plugin in Qt Designer just do

qmake qmeterplugin.pro
make
make install

and run qt designer.

Voilà

bye
paolo

Report

9 years ago

anafor2004

Can we do this with Qt designer?

Report

9 years ago

DexterMagnific

Nice widget :)

Report

9 years ago

qphoton

Thanks for your comments and advices.
I'm working on it to fix the problems and add new features.
bye
paolo

Report

9 years ago

DexterMagnific

The start angle should also be adjustable. Now it always starts at angle -270° (according to your sourcecode painter->rotate(-270))

nSteps should be set as a property in designer

Report

9 years ago

DexterMagnific

If you set (for instance) the low limit to 50 and the max limit to 100, the meter digits are from 0 to 50 (they should be from 50 to 100)

also there should be an option to configure the step. If i set the min to 0 and the max to 260, the widget automatically sets a step of 26. It seems that it automatically wants to display 10 steps (thus 260/10=26). This should be adjustable.

There are some small bugs when you set a threshold greater than max limit, ...

Report

Supporters

Recent Donations

Be the first to donate
Filename Version Description Filetype Packagetype License Downloads Date Filesize Install
Score 72%
72.00 Likes
28 Dislikes

0 Supporters for QMeter:

Recent Donations:

Be the first to donate
show all
Details
version
1.0
updated Nov 03 2016
added Jan 02 2008
downloads
page views 2477
support qphoton
For The Product
QMeter
5 - 10 - 25 - 50 - 100 - 200 - 500