def main( argv ): task = stub.start() if task['task'] == 'open': app.openProject( task['path'] ) import gii.SceneEditor import gii.AssetEditor # import gii.ScriptView import gii.DeviceManager app.run()
def main(argv): task = stub.start() if task['task'] == 'open': app.openProject(task['path']) import gii.SceneEditor import gii.AssetEditor # import gii.ScriptView import gii.DeviceManager app.run()
def run( stop_other_instance ): app.openProject() import gii.SceneEditor import gii.AssetEditor import gii.DeviceManager import gii.DebugView import gii.ScriptView options = {} options[ 'stop_other_instance' ] = stop_other_instance print 'starting gii IDE...' app.run( **options )
def run(**kwargs): app.openProject() import sip try: sip.setapi("QString", 2) sip.setapi('QVariant', 2) except Exception as e: pass options = {} options['stop_other_instance'] = kwargs.get('stop_other_instance', False) options['load_compiled_project'] = kwargs.get('load_compiled_project', False) print('starting gii IDE...') print('------------------------') app.run(**options) print('------------------------') print('bye!')