Recent

Author Topic: Simple Gauge thats works with QT5  (Read 2354 times)

TheMouseAUS

  • Jr. Member
  • **
  • Posts: 81
Simple Gauge thats works with QT5
« on: June 11, 2023, 09:35:00 pm »
I need to use gauges in my app. In Delphi I used to use TGauge with was simple and worked great. You could change the size and color with no issue. I have been trying to find a LCL that works just as well but I cant seem to find one. TProgressBar would be fine as I can change the direction but it does not resize, you can change length but not the thickness. I tried TcySimpleGauge which has all the functionality but does work properly. It does not seem to update when changing the position. Are there any suggestions for an LCL which works well in QT5 under Linux? Thanks

howardpc

  • Hero Member
  • *****
  • Posts: 4144
Re: Simple Gauge thats works with QT5
« Reply #1 on: June 11, 2023, 09:48:37 pm »
You could try installing the indusrialStuff package via the Online Packge manager.
You may find a component there that meets your requirements.

TheMouseAUS

  • Jr. Member
  • **
  • Posts: 81
Re: Simple Gauge thats works with QT5
« Reply #2 on: June 15, 2023, 01:03:48 pm »
Thanks for the suggestion but unfortunately I cannot have only a bar, it displays the max a current value without any way of hiding them

TheMouseAUS

  • Jr. Member
  • **
  • Posts: 81
Re: Simple Gauge thats works with QT5
« Reply #3 on: June 15, 2023, 02:02:48 pm »
Just tried cySimpleGauge again and found out that if i call 'update' after writing the position value it will draw the change immediately. Not sure if this is expected behavior but it works.

 

TinyPortal © 2005-2018