<div dir="ltr">Hello,<div><br></div><div>can somebody help me with adding functionality to designer with python, preferably by some code examples?</div><div><br></div><div>I already succeeded to create custom python widgets and to expose them to designer: so that is not a problem.</div><div><br></div><div>But the documentation states also the following code in <a href="http://doc.qt.io/qt-4.8/qdesignerformwindowmanagerinterface.html">http://doc.qt.io/qt-4.8/qdesignerformwindowmanagerinterface.html</a> , but for me it is totally unclear how to proceed from here with Python.</div><div><br></div><div><pre class="" style="margin-top:0.75em;margin-bottom:25px;padding:25px;border:0px;font-size:16px;vertical-align:baseline;color:rgb(255,255,255);font-family:'Droid Sans Mono';line-height:1.5;background-color:rgb(64,66,68)"><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline"><a href="http://doc.qt.io/qt-4.8/qdesignerformwindowmanagerinterface.html#QDesignerFormWindowManagerInterface" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(92,170,21);text-decoration:none">QDesignerFormWindowManagerInterface</a></span> <span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline">*</span>manager <span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline">=</span> <span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline">0</span>;
<span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline"><a href="http://doc.qt.io/qt-4.8/qdesignerformwindowinterface.html" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(92,170,21);text-decoration:none">QDesignerFormWindowInterface</a></span> <span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline">*</span>formWindow <span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline">=</span> <span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline">0</span>;
manager <span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline">=</span> formEditor<span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline">-</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline">></span>formWindowManager();
formWindow <span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline">=</span> manager<span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline">-</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline">></span><a href="http://doc.qt.io/qt-4.8/qdesignerformwindowmanagerinterface.html#formWindow" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(92,170,21);text-decoration:none">formWindow</a>(<span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline">0</span>);
manager<span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline">-</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline">></span><a href="http://doc.qt.io/qt-4.8/qdesignerformwindowmanagerinterface.html#setActiveFormWindow" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(92,170,21);text-decoration:none">setActiveFormWindow</a>(formWindow);</pre></div><div><br></div><div>Thanks in advance,<br></div><div>Carl.</div><div><br></div></div>