[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: [PyQt] adding keypress event
From: Janwillem van Dijk <jwevandijk () xs4all ! nl>
Date: 2010-12-23 14:14:16
Message-ID: 4D135938.2040506 () xs4all ! nl
[Download RAW message or body]
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 PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic