@qutescheme.add_handler('settings', backend=usertypes.Backend.QtWebKit)
def qute_settings(_url):
 config_getter = functools.partial(objreg.get('config').get, raw=True)
 html = jinja.render('settings.html', title='settings', config=configdata, confget=config_getter)
 return ('text/html', html)

@ qutescheme . add_handler ( 'settings' , backend = usertypes . Backend . QtWebKit ) def qute_settings ( _url ) : config_getter = functools . partial ( objreg . get ( 'config' ) . get , raw = True ) html = jinja . render ( 'settings.html' , title = 'settings' , config = configdata , confget = config_getter ) return ( 'text/html' , html )
handler for qute:settings .