Is there a way to open a QMessagebox while calling setDetailedText() and have those details showing by default?

Sample Code:
msgBox = QtGui.QMessageBox()
msgBox.setText("The document has been modified.")
msgBox.setInformativeText("Do you want to save your changes?")
msgBox.setStandardButtons(QtGui.QMessageBox.Save | QtGui.QMessageBox.Discard | QtGui.QMessageBox.Cancel)
msgBox.setDefaultButton(QtGui.QMessageBox.Save)
msgBox.setDetailedText('blah blha blhab lhab a;lbh')

msgBox.show()

--
Eric Thivierge
Rigging Lead


--
You received this message because you are subscribed to the Google Groups "Python 
Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/55802866.9040402%40hybride.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to