我想显示一些信息消息,为此,我决定使用没有图标的QMessageBox,问题是在小工具的左边部分和文本之间有一个巨大的差距,试图通过设置边距和间距为0来删除它,但除了左边部分之外,所有东西都被删除了。QMessageBox messageBox(QMessageBox::NoIcon, "My Title", "This is my text that I want to display.\n", QMessageBox::StandardButt
id = give_id(self)Process finished with exit code 1没有任何消息就失败了。那么,错误或差异在哪里呢?)
TypeError: QMessageBox.setIcon(QMessageBox.Icon): first argument of unbound method