<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
On 12/23/2010 07:00 PM, mw wrote:
<blockquote
cite="mid:AANLkTingSvUozNZFhfmfvk8+6TPEstTci34wN3QKV-Mh@mail.gmail.com"
type="cite">hope this helps.<br>
<br>
written on python 2.7 with pyqt 4.8.1 on WinXP<br>
<br>
<br>
<br>
<div class="gmail_quote">On Thu, Dec 23, 2010 at 6:14 AM,
Janwillem van Dijk <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:jwevandijk@xs4all.nl">jwevandijk@xs4all.nl</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">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).<br>
My projcect (interacting with a camera using gphoto2) consists
of the following files:<br>
ui/capture_photo_form.ui (made with Qt Designer)<br>
ui/Ui_capture_photo_form.py (Eric: Compiled Form)<br>
ui/capture_photo_form.py (Eric: Generate Dialogue Code plus my
own code)<br>
capture_photo.py (creates application)<br>
<br>
Please help in the form a piece of example code.<br>
Many thanks, Janwillem<br>
_______________________________________________<br>
PyQt mailing list <a moz-do-not-send="true"
href="mailto:PyQt@riverbankcomputing.com" target="_blank">PyQt@riverbankcomputing.com</a><br>
<a moz-do-not-send="true"
href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt"
target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br>
</blockquote>
</div>
<br>
</blockquote>
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.<br>
Thanks again, Janwillem.<br>
</body>
</html>