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.
Last changelog:

v 1.0 6 months ago

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

danciac

5 years ago

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

shenjjmary

4 years ago

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

Report

11Nov11

5 years ago

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

11Nov11

5 years ago

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

Keisuke

8 years ago

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

yagabey

8 years ago

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

Report

BlaX

8 years ago

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

Removing the first one fix the warning.

Report

qphoton

9 years ago

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

anafor2004

9 years ago

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

Report

qphoton

9 years ago

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

anafor2004

9 years ago

Can we do this with Qt designer?

Report

DexterMagnific

9 years ago

Nice widget :)

Report

qphoton

9 years ago

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

Report

DexterMagnific

9 years ago

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

DexterMagnific

9 years ago

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

v 1.0 6 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

Filename Version Description Filetype Packagetype License Downloads Date Filesize Install
Score 72%
72.00 Likes
28 Dislikes
Details
version
1.0
updated Nov 03 2016
added Jan 02 2008
downloads
page views 3266