Hello,
Has anyone somewhere an example code of a small dialogue box which contains a hyperlink to a web site?

I would like to point the user to some web site, in the confirmation dialogue I want to show.

Quick way is to use a QLabel with <qt> </qt> tags in the string and then using the standard html for creating a hyperlink:

For example:

dialogLabel = QtGui.QLabel("<qt> Please visit <a href = "http://www.google.ca> Google</a>to search.</qt>")

darryl
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to