I need to show a '&' symbol on a button and I don't understand this -
how come
self.l1 = QLabel("&", self)
self.l2 = QLabel(unichr(int("0026", 16)), self)
both of these show it on a label but
self.b1 = QPushButton("&", self)
self.b2 = QPushButton(unichr(int("0026", 16)), self)
none of these show the symbol on a button? Nor do these
self.b1 = QPushButton()
self.b2 = QPushButton()
self.b1.setText("&")
self.b2.setText(unichr(int("0026", 16)))
Am I missing anything? Is there any way to show it on a button?
Thank you.