QMessageBox风俗

问题描述 投票:0回答:0

如何在不编辑完整消息框的情况下在此消息框中仅编辑按钮

这里是代码:

msg = QMessageBox()
msg.setWindowFlag(Qt.FramelessWindowHint)
msg.setStyleSheet("""
background-color: "#222831";
font-family: "Pixel Emulator";
color: "#00ADB5";
""")
msg.exec()
python qt qpushbutton qmessagebox
© www.soinside.com 2019 - 2024. All rights reserved.