Difference between revisions of "User:Inorton/QtNotes"
From NAMIC Wiki
m (moved User:Inorton/PyQtNotes to User:Inorton/QtNotes) |
m |
||
Line 1: | Line 1: | ||
Use pyuic to generate python code from .ui files. | Use pyuic to generate python code from .ui files. | ||
+ | |||
+ | === | ||
+ | Event filtering requires the eventFilter to be part of the public interface (duh). | ||
+ | |||
+ | Example here: | ||
+ | http://doc.trolltech.com/4.6/qobject.html#eventFilter | ||
+ | |||
+ | See QEditLine handler in qSlicerModuleSelectorToolBar |
Revision as of 08:16, 22 January 2011
Use pyuic to generate python code from .ui files.
=
Event filtering requires the eventFilter to be part of the public interface (duh).
Example here: http://doc.trolltech.com/4.6/qobject.html#eventFilter
See QEditLine handler in qSlicerModuleSelectorToolBar