<div dir="ltr">Hi Michael,<div><br></div><div><br></div><div class="gmail_extra">
<br><div class="gmail_quote">On Thu, Apr 27, 2017 at 9:58 PM, michael h <span dir="ltr"><<a href="mailto:michaelkenth@gmail.com" target="_blank">michaelkenth@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="gmail-"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><br></div><div>I am having trouble finding good examples of doing this though. One recent example that we did was where we created a wizard using over 15 ui files. How does one load up a series of ui files for this sort of thing in PyQt? What do you need to do if the ui files need to be nested?</div><div><br></div><div>Thanks,</div><div>Mike</div><div><br></div></div></blockquote><div><br></div></span><div>You can load ui files at runtime using PyQt5.uic.loadUi or PyQt5.uic.loadUiType which can be nice for prototyping. (I prefer to generate the python modules with pyuic before deploying though.)</div><div><br></div><div>Not sure what you mean by nested ui files.</div></div></div></div>
</blockquote></div><br></div><div class="gmail_extra">Nested may be the wrong term. But I have seen multiple examples where we are creating part of a page in one ui file and the rest of the page in a separate one. I wasn't sure how to phrase that.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks,</div><div class="gmail_extra">Mike</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div>-----------------<br>Mike Driscoll<br><br>Blog:   <a href="http://blog.pythonlibrary.org/" target="_blank">http://blog.pythonlibrary.org</a><br></div>Books: <a href="https://gum.co/py101" target="_blank">Python 101</a>, <a href="https://gum.co/py201" target="_blank">Python 201: Intermediate Python</a> <br></div></div>