Ideas to create a liquid container meter (bar) GUI - SOLVED
I need to create a bar that will represent liquid in a container (displayed as a vertical bar)
on the bar there should be horizontal lines with text at the left indicating the level (levels are variable,
not fixed levels)
I was thinking of using QProgressBar but it doesn't have a way of displaying multiple levels, the horizontal lines.
any ideas on how to approach this?
Custom widget with custom drawing?
I would first look into existing alternatives. Qwt has some widgets that seem useful, and there is stuff to be found on qt-apps.org (widgets section) as well.
well, it seems that Qwt have a good starting point, they have a progress bar with levels, i can subclass and get it done, thanks!