#NEWLINE# def _load_pyside( ) : #NEWLINE# #INDENT# from PySide import QtCore , QtGui , __version__ , QtTest #NEWLINE# if ( __version__ < '1.0.3' ) : #NEWLINE# #INDENT# raise ImportError ( 'Glue requires PySide >= 1.0.3' ) #NEWLINE# #UNINDENT# register_module ( QtCore , 'QtCore' ) #NEWLINE# register_module ( QtGui , 'QtGui' ) #NEWLINE# register_module ( QtTest , 'QtTest' ) #NEWLINE# def setMargin( self , x ) : #NEWLINE# #INDENT# self . setContentsMargins ( x , x , x , x ) #NEWLINE# #UNINDENT# QtGui . QLayout . setMargin = setMargin #NEWLINE# global QT_API #NEWLINE# QT_API = QT_API_PYSIDE #NEWLINE# _import_hook . deny_module ( 'PyQt4' ) #NEWLINE# _import_hook . deny_module ( 'PyQt5' )