
QGauge
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
QGauge is a custom widget plugin able to display values (int or double) and to check the data against a threshold.
This custom widget plugin is in beta version. The next version will be delivered together with other custom widget plugins (QLed, QSwitch, QMeter, QtTimer) in a specific library.
The architecture of this library is currently under definition.
If you have comments or requirements, please leave a comment. Thanx.
10 years ago
Version 0.2.0
Bug Fix:
-qgauge.h header file (instead of the qled.h in version 0.1)
10 years ago
Version 0.2.0
Bug Fix:
-qgauge.h header file (instead of the qled.h in version 0.1)
kernelchaos
12 years ago
Report
qphoton
12 years ago
I will fix it in the next release
paolo
Report
hvengel
13 years ago
I hope you don't mind that I used your code as a base for my widget. I will give you full attribution. I would give you a copy of it but most of the features that I needed are basically hard coded rather than being configurable. For example the scale has been totally removed rather than making it so the user can turn it on and off since I don't need this in my app. So in it's current state is not suitable for anyone else to use. I think the only change I made that is something you would want it to add the ability to configure the color of the gauge. That was simple to do but if you want I could get you some code fragments to add this to your version.
Report
qphoton
13 years ago
If you like I would appreciate to see your modification, so I can integrate something in my widget (only if you want, of course)
I know Qwt, I know Uwe and he is doing a great job.
From my side I do like to receive comments and requests for new features from other people. It helps me to understand that my work is useful and someone can benefit from that ;-)
So if you have more requests I'll like to know and implement.
Take care
paolo
Report
hvengel
13 years ago
Report
qphoton
13 years ago
bye
paolo
Report
hvengel
13 years ago
1. I need to be able to turn off the scale since for my use it is meaningless and waists too much space.
2. I need to be able to control the color of the gauge since this is used to convey information to the user about what the gauge is connected to.
3. Even with the scale turned off I need to be able to somehow tell the user where the middle of the gauge is. That is the goal for the user is to adjust a control until the gauge is centered. I also need to be able to set the color of of this indicator so that I can pick a color that contrasts well with the background color. I would also like to be able to have the center maker appear on each side of the gauge.
4. I need to be able to control the width of the widget since I need a thin but tall gauge.
I also notice when I set the min Value to -100 that the scale stops at -80. So this appears to be a bug. Actually it looks like the scale is offset from the zero point.
Report
qphoton
13 years ago
I really appreciate your suggestion and I will start working to fix the problems and improve it. It is really important for me receiving feedback from users.
Bye
paolo
Report