예제 #1
0
파일: main.py 프로젝트: frmdstryr/enamlx
# -*- coding: utf-8 -*-
'''
Created on Aug 23, 2015

@author: jrm
'''
import faulthandler
import cProfile,pstats,cStringIO
import sys
sys.path.append('../../')

import enamlx
enamlx.install()

import enaml
from enaml.qt.qt_application import QtApplication

if __name__ == '__main__':
    faulthandler.enable()
    with enaml.imports():
        from table_view import Main

    app = QtApplication()
    view = Main()
    profiler = cProfile.Profile()
    profiler.enable()

    view.show()

    app.start()
    profiler.disable()
예제 #2
0
파일: main.py 프로젝트: saluzi/enamlx
# -*- coding: utf-8 -*-
'''
Created on Aug 23, 2015

@author: jrm
'''
import sys
sys.path.append('../../')
import enamlx
enamlx.install()

import enaml
from enaml.qt.qt_application import QtApplication

if __name__ == '__main__':
    with enaml.imports():
        from tree_view import Main

    app = QtApplication()
    view = Main()
    view.show()
    app.start()
예제 #3
0
파일: main.py 프로젝트: saluzi/enamlx
import sys
sys.path.append('../../')
import enamlx
enamlx.install(allow_def=True)

import enaml
from enaml.qt.qt_application import QtApplication

if __name__ == '__main__':
    with enaml.imports():
        from graphics_items import Main

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