As above...You need to create a subclass of QLabel
There is video on yt Subclassing QLabel