[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: [PyQt] Creating an action with a "verbose" signal
From: Martin =?iso-8859-1?q?H=F6fling?= <martin.hoefling () gmx ! de>
Date: 2008-01-25 9:43:41
Message-ID: 200801251043.42251.martin.hoefling () gmx ! de
[Download RAW message or body]
Hi all,
I am a bit confused how to realize the following, any hint's are welcome:
What I have is a menu, this menu should be filled with all executable scripts
in a directory. On menu selection, the selected script should be executed. So
far so good.
Here come's the problem: For each file i create a QAction object, add this to
the menu and connect it's "triggered()" signal with a python function blubb.
The problem is to distinguish from which QAction/File blubb has been called.
Any hint's how to solve this?
Best
Martin
--
Meinungsfreiheit heißt nicht, dass ich mir jeden Scheiß anhören muss.
(Tobias Erle in bln.misc)
_______________________________________________
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