Is it possible to add text on top of a scrollbar?
问题 I would like to add some text to the left end side, the right end side and on the slider as in the figure below I don't understand how I can add text on top of a widget here the minimal example of the Qscrollbar (without texts) from PyQt5.QtGui import * from PyQt5.QtCore import * from PyQt5.QtWidgets import * import sys class Viewer(QMainWindow): def __init__(self, parent=None): super(Viewer, self).__init__() self.parent = parent self.centralWidget = QWidget() self.setCentralWidget(self