I made a vertical QProgressBar, but the text inside changed orientation with it. That is, the numbers inside have been rotated 90 degrees clockwise. Is there a way to rotate the text back, so it's right-side-up? After looking at the documentation, I thought using setTextDirection(QProgressBar::BottomToTop) would rotate the text, but it doesn't seem to do anything.