Hi, I acually feel bad asking this question here, but as the only python "friendly" Qt mailing list I know of...well

I don't understand how QStyleSheetItem.setAnchor() is suposed to work.
"""
<xml version 1.0>
<OBJECT_SITE>http://somewhere.com<OBJECT_SITE>
..
"""
I'm displaying this XML in a QTextBrowser
I've assigned a default mimeSourceFactory to the TextBrowser and connected a SIGNAL("anchorClicked(const QString&,const QString&)")


The magic _should_ happen when:
url = QStyleSheetItem(TextBrowser.styleSheet(),"OBJECT_SITE")
url.setAnchor(1)

...but, I'm obviously wrong. Can anyone help?

regards
/rune

_______________________________________________
PyKDE mailing list    [EMAIL PROTECTED]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to