Q_IMPORT_PLUGIN(uiplugin);
registerCustomWidget(%PYARG_1);
%CPPSELF.addPluginPath(""); // force reload widgets
//Avoid calling the original function: %CPPSELF.load
%PYARG_0 = quiloader_load_ui_from_device(%CPPSELF, %1, %2);
//Avoid calling the original function: %CPPSELF.load
%PYARG_0 = quiloader_load_ui(%CPPSELF, %1, %2);