mrv.maya.ui
Covered: 31 lines
Missed: 0 lines
Skipped 24 lines
Percent: 100 %
 2
"""Initialize the UI framework allowing convenient access to most common user interfaces
 4
All classes of the ui submodules can be accessed by importing this package.
 5
"""
 6
__docformat__ = "restructuredtext"
12
if 'init_done' not in locals():
13
	init_done = False
17
def force_type_creation():
18
	"""Enforce the creation of all ui types - must be called once all custom types 
19
	were imported"""
20
	from mrv.maya.util import StandinClass
21
	for cls in globals().itervalues():
22
		if isinstance( cls, StandinClass ):
23
			cls.createCls()
30
if not init_done:
31
	import typ
32
	typ.init_classhierarchy()				# populate hierarchy DAG from cache
33
	typ.initWrappers( )					# create wrappers for all classes
35
	import base
36
	base._uidict = globals()
40
	from base import *
41
	from control import *
42
	from dialog import *
43
	from layout import *
44
	from panel import *
45
	from editor import *
46
	from util import (
47
						Signal, 
48
						EventSenderUI
49
					)
52
	force_type_creation()
55
init_done = True