예제 #1
0
def remote_editor_test():
    """Remote dictionary editor test"""
    from spyderlib.widgets.externalshell.namespacebrowser import get_settings
    from spyderlib.widgets.externalshell.monitor import make_remote_view
    remote = make_remote_view(get_test_data(), get_settings())
    from pprint import pprint
    pprint(remote)
    _app = qapplication()
    dialog = DictEditor(remote, remote=True)
    if dialog.exec_():
        print dialog.get_copy()