On 12/23/2010 07:00 PM, mw wrote:
hope this helps.

written on python 2.7 with pyqt 4.8.1 on WinXP



On Thu, Dec 23, 2010 at 6:14 AM, Janwillem van Dijk <[email protected] <mailto:[email protected]>> wrote:

    I have small application build with Eric/Qt Designer. Even for
    somebody like me who does not really understand events, slots,
    signals and signatures this works great. But now I am stuck
    because I want to intercept the PgDn key to do something special
    (fire a camera).
    My projcect (interacting with a camera using gphoto2) consists of
    the following files:
    ui/capture_photo_form.ui (made with Qt Designer)
    ui/Ui_capture_photo_form.py (Eric: Compiled Form)
    ui/capture_photo_form.py (Eric: Generate Dialogue Code plus my own
    code)
    capture_photo.py (creates application)

    Please help in the form a piece of example code.
    Many thanks, Janwillem
    _______________________________________________
    PyQt mailing list [email protected]
    <mailto:[email protected]>
    http://www.riverbankcomputing.com/mailman/listinfo/pyqt


Thanks a lot, it works. Had seen such an example in "Rapid Gui Programming with Python and Qt" but could not believe it would be that simple so I even didn't try. Apparently it is simple.
Thanks again, Janwillem.
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to