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:

  1. create widget inherits pushbutton class. subclass contain lots of buttons, 1 each step in temperature scale, arranged in 3/4 circle.
  2. 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

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -