|
1 Introduction
see:
2 QT4 designer
QT4 designer is used to create the /pylib/qt4_gui.ui XML file.
This file is process by pyuic4 to qt4_main.py that only display the gui (do not modify it).
# apt-get install qt4-designer pyqt4-dev-tools
$ designer
$ pyuic4 qt4.gui.ui ...
Warning: check for python-sip python-qt4 python-dpkt python-pcapy
main.py call gui by passing an event call backs object.
setupUI(self)
3 Entry points
- In a file,
__init__ play main() function role.
- In a directory, __init__ file is needed and provide a packet unitary test entry.
|