
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
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.
v 1.0 4 years ago
Compiled for Qt5.
Code refactoring
Make use of QPropertyAnimation for needle animation
v 1.0 4 years ago
Compiled for Qt5.
Code refactoring
Make use of QPropertyAnimation for needle animation
10 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
weaver4
2 years ago
Report
danciac
9 years ago
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
8 years ago
I am confused with the same question.Do you solve the question?
I used the plugin QMeter in the environment Qt Creator.
Report
11Nov11
9 years ago
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
9 years ago
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
12 years ago
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
12 years ago
I get a warning (QPainter::restore: Unbalanced save/restore) when the position of the needle changes, continuosly? Why may it be?
Report
BlaX
12 years ago
Removing the first one fix the warning.
Report
qphoton
13 years ago
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
13 years ago
Report
qphoton
13 years ago
To add the plugin in Qt Designer just do
qmake qmeterplugin.pro
make
make install
and run qt designer.
VoilÃ
bye
paolo
Report
anafor2004
13 years ago
Report
DexterMagnific
13 years ago
Report
qphoton
13 years ago
I'm working on it to fix the problems and add new features.
bye
paolo
Report
DexterMagnific
13 years ago
nSteps should be set as a property in designer
Report
DexterMagnific
13 years ago
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