Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

How to draw a ruler with variable parameters



  • Dear all,

    I need to draw a ruler in my application. I must read a file with some parameters, such as length, width and step of each tick mark of the ruler. Any idea of how can I do that? I mean, draw the ruler with variable parameters.

    Thank you all in advance,


Log in to reply