Howdy,

I believe Guru Hans-Peter ;-) posted a collection of PyQt examples that
he converted into Python from the Qt C++ examples..

In one titled "fancybrowser.py"


There's a few lines that read...


        @QtCore.pyqtSlot()
        def submit(self):
            frame = self.ui.webView.page().mainFrame()

then


            firstName    = frame.findFirstElement("#firstname")


It appears that the function "findFirstElement()" appeared in a version of Qt
that came along after the one I'm on (4.5.3)

1) Can anyone suggest a code workaround that would accomplish same 

    that will work in 4.5.3 rather than 4.7 or 4.8 (whenever that appeared)


2) Secondly,...as an alternative, one that I hesitate to try,...is it possible 
for two
    versions of Qt (and I guess two versions of PyQt and Sip) to exist 
simultaneously?
    Using one version for *this* and another version for *that* ?
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to