qtui: Split off status bar code into a QStatusBar subclass.