I like the ability to add a suffix to a QSpinBox and do not know how to do what I am proposing to do. When I move the mouse over a QGLWidget I need to be able to display the coordinates of the mouse as they move. I want to be able to update the value while keeping the label of the units next to the number, much like the suffix does for the QSpinBox. Is there a way to make the QSpinBox uneditable and to remove the arrows from it...basically a labal with a suffix? Or is there an efficient way to layout 2 labels so the suffix is always correctly spaced from the mouse coordinate while being right aligned to the window? Or would it just be easiest to use one label and always add the suffix manually even though it will never change? Thanks!
Bookmarks