Well, yes, that's what I'm trying to do, but I can't find how to change the alignment of a cell. I've managed to get the desired result with this:
Code:
box = MessageBox(...)
box.gridLayout.addWidget(box.icon_label,0,0,Qt.AlignTop)
box.exec_()
but this does not look (codewise) right, it's adding a widget that's already there, not directly changing the alignment, and I just feel lucky that the icon is not duplicated. Simply using setAlignment(Qt.AlignTop) in various places didn't cause an error, but didn't work either.