Код: Выделить всё
class AboutMessageBox(QMessageBox):
def __init__(self):
super().__init__()
infoLabel = QLabel()
self.setWindowTitle("About")
infoLabel.setOpenExternalLinks(True)
infoLabel.setText('''
'[url=http://example.com]example[/url]'
'[url=../README.md]Readme[/url]'
'[url=../LICENSE.md]License[/url]'
''')
self.layout().addWidget(infoLabel)
Код: Выделить всё
self.setStandardButtons(QMessageBox.NoButton)
Подробнее здесь: https://stackoverflow.com/questions/792 ... -ok-button
Мобильная версия