Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

PyQt and keyEventPress

Name: Anonymous 2012-06-10 10:50

Hi there! any PyQt programmer? I need to catch the keyPressed on my widgets, but I have no clue on how to do it for a given view:

class ComprobanteDeCompra_Ui(QtGui.QWidget):
    def __init__(self):
        QtGui.QWidget.__init__(self)
        self.ui = uic.loadUi("ui_ComprobanteDeCompra.ui")

How do I overwrite the KeyPressedEvent of the QLineEdit for that "ui_ComprobanteDeCompra.ui"

thanks!

Name: Anonymous 2012-06-10 23:51

NO EXCEPTIONS

Don't change these.
Name: Email:
Entire Thread Thread List