from pyforms import conf


if conf.PYFORMS_MODE in ['GUI','GUI-OPENCSP']:

	from pyforms.gui.Controls.ControlBase 			import ControlBase
	from pyforms.gui.Controls.ControlText 			import ControlText
	from pyforms.gui.Controls.ControlBoundingSlider import ControlBoundingSlider
	from pyforms.gui.Controls.ControlButton 		import ControlButton
	from pyforms.gui.Controls.ControlCheckBoxList 	import ControlCheckBoxList
	from pyforms.gui.Controls.ControlCheckBox 		import ControlCheckBox
	from pyforms.gui.Controls.ControlCombo 			import ControlCombo
	from pyforms.gui.Controls.ControlDir 			import ControlDir
	from pyforms.gui.Controls.ControlDockWidget 	import ControlDockWidget
	from pyforms.gui.Controls.ControlEmptyWidget 	import ControlEmptyWidget
	from pyforms.gui.Controls.ControlFile 			import ControlFile
	from pyforms.gui.Controls.ControlFilesTree 		import ControlFilesTree
	from pyforms.gui.Controls.ControlLabel 			import ControlLabel
	from pyforms.gui.Controls.ControlList 			import ControlList
	from pyforms.gui.Controls.ControlMdiArea 		import ControlMdiArea
	from pyforms.gui.Controls.ControlNumber 		import ControlNumber
	from pyforms.gui.Controls.ControlMatplotlib 	import ControlMatplotlib
	
	try:
		from pyforms.gui.Controls.ControlOpenGL 		import ControlOpenGL
		from pyforms.gui.Controls.ControlImage 			import ControlImage
		from pyforms.gui.Controls.ControlPlayer.ControlPlayer 	import ControlPlayer
	except:
		print("GL widgets or Opencv not installed")

	from pyforms.gui.Controls.ControlProgress 		import ControlProgress
	from pyforms.gui.Controls.ControlSlider 		import ControlSlider
	from pyforms.gui.Controls.ControlTextArea 		import ControlTextArea
	from pyforms.gui.Controls.ControlToolBox 		import ControlToolBox
	from pyforms.gui.Controls.ControlTree 			import ControlTree
	from pyforms.gui.Controls.ControlTreeView 		import ControlTreeView
	try:
		from pyforms.gui.Controls.ControlVisVis 		import ControlVisVis
		from pyforms.gui.Controls.ControlVisVisVolume 	import ControlVisVisVolume
	except:
		print("VisVis not installed")
	from pyforms.gui.Controls.ControlEventTimeline.ControlEventTimeline 	import ControlEventTimeline
	from pyforms.gui.Controls.ControlEventsGraph.ControlEventsGraph 	import ControlEventsGraph

	try:
		from pyforms.gui.Controls.ControlCodeEditor 		import ControlCodeEditor
	except:
		print("QScintilla2 not installed")
	

elif conf.PYFORMS_MODE in ['TERMINAL']:

	from pyforms.terminal.Controls.ControlBase 			import ControlBase
	from pyforms.terminal.Controls.ControlText 			import ControlText
	from pyforms.terminal.Controls.ControlButton 		import ControlButton
	from pyforms.terminal.Controls.ControlCheckBox 		import ControlCheckBox
	from pyforms.terminal.Controls.ControlCombo 		import ControlCombo
	from pyforms.terminal.Controls.ControlFile 			import ControlFile
	from pyforms.terminal.Controls.ControlDir 			import ControlDir
	from pyforms.terminal.Controls.ControlImage 		import ControlImage
	from pyforms.terminal.Controls.ControlSlider 		import ControlSlider
	from pyforms.terminal.Controls.ControlPlayer 		import ControlPlayer
	from pyforms.terminal.Controls.ControlProgress 		import ControlProgress

elif conf.PYFORMS_MODE in ['WEB']:

	from pyforms.web.Controls.ControlBase 			import ControlBase
	from pyforms.web.Controls.ControlText 			import ControlText
	from pyforms.web.Controls.ControlDate 			import ControlDate
	from pyforms.web.Controls.ControlButton 		import ControlButton
	from pyforms.web.Controls.ControlCheckBox 		import ControlCheckBox
	from pyforms.web.Controls.ControlCombo 			import ControlCombo
	from pyforms.web.Controls.ControlDir 			import ControlDir
	from pyforms.web.Controls.ControlFile 			import ControlFile
	from pyforms.web.Controls.ControlImage 			import ControlImage
	from pyforms.web.Controls.ControlSlider 		import ControlSlider
	from pyforms.web.Controls.ControlPlayer	 		import ControlPlayer
	from pyforms.web.Controls.ControlProgress 		import ControlProgress
	from pyforms.web.Controls.ControlVisVis			import ControlVisVis
	from pyforms.web.Controls.ControlList 			import ControlList
@@ -1863,23 +1863,16 @@
 reeView%0A
-%09try:%0A%09
 %09from py
@@ -1927,17 +1927,16 @@
 lVisVis%0A
-%09
 %09from py
@@ -2006,49 +2006,8 @@
 ume%0A
-%09except:%0A%09%09print(%22VisVis not installed%22)%0A
 %09fro

Revert "."