I think that is exactly what Maya's file dialog does. Derives from QFileDialog, grabs its main layout, then adds all the options UI to the end of the HBoxLayout. I'm not 100% sure, but I think just calling QWidget::layout (from the derived parent class of the dialog) gives you the hbox that you're looking for to add something off to the right. To edit other things you might have to do a "findChildren" with a specific name.
On Thu, Nov 15, 2018 at 9:23 AM Adam Baker <[email protected]> wrote: > I tried looking for the child and I keep getting None so I can’t add that > layout to another layout or add a button to its layout. I am not just > trying to adding a QPushButton but also add a QTextEdit to show the user > more information about the file. My idea to add all the UI elements I want > was to get the layout of the QfileDialog add that to a HBoxlayout. This > will allow me to add UI elements off to the right of the QFileDialog’s > layout. > > Thanks, > - Adam > > -- > You received this message because you are subscribed to the Google Groups > "Python Programming for Autodesk Maya" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/python_inside_maya/9baad844-e50d-4687-af71-e2aa0d26e8f7%40googlegroups.com > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CALKD2WrM0Vx-i6UoyYAPeraDmTadR7TdwfSSoGwRzjFcE1SFdg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
