File: main.py

package info (click to toggle)
python-enamlx 0.6.4-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 388 kB
  • sloc: python: 3,338; makefile: 18
file content (14 lines) | stat: -rw-r--r-- 284 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import enaml
from enaml.qt.qt_application import QtApplication

import enamlx

if __name__ == "__main__":
    enamlx.install(allow_def=True)
    with enaml.imports():
        from graphics_items import Main

    app = QtApplication()
    view = Main()
    view.show()
    app.start()