root/masterdriverz/maintainer-helper/mhelper.py
@
jokey%2540gentoo.org-20070413101736-4uqgow0mr86l0oqu
| Revision jokey%2540gentoo.org-20070413101736-4uqgow0mr86l0oqu, 347 bytes (checked in by Markus Ullmann <jokey@…>, 20 months ago) | |
|---|---|
|
|
| Line | |
|---|---|
| 1 | #!/usr/bin/python |
| 2 | |
| 3 | """Entry point for shell call""" |
| 4 | |
| 5 | import sys |
| 6 | from PyQt4 import QtGui |
| 7 | from gui import core |
| 8 | |
| 9 | def main(): |
| 10 | """init Qt stuff and present MainWidget to enter the event loop""" |
| 11 | app = QtGui.QApplication(sys.argv) |
| 12 | mainwin = core.MainWidget() |
| 13 | mainwin.show() |
| 14 | sys.exit(app.exec_()) |
| 15 | |
| 16 | if __name__ == "__main__": |
| 17 | main() |
Note: See TracBrowser
for help on using the browser.
