c++ - Qt5 custom widget - Curved slider -
i'm starting next electronics project create own version of google's nest thermostat. whole circular dial temperature selection , i've been having think how create myself. gui programming not area of expertise (cli way!).
so far i'm think along 1 of 2 lines, both involving custom widgets:
- create widget inherits pushbutton class. subclass contain lots of buttons, 1 each step in temperature scale, arranged in 3/4 circle.
- create widget inherits slider class, defining object curved around 3/4 of circle. each step temperature.
now... have no idea if these practical solutions problem or if there easier way of doing this. i've had @ style sheets , don't think going it. i've had root around google similar , not found yet; said, analogwidgets 3electrons @ least creates dials, these output rather input.
Comments
Post a Comment