On Sat, Nov 17, 2018 at 6:05 PM Adam Baker <[email protected]> wrote:

> Ahah no worries. After all this info do you have any suggestions on how I
> can edit the QFileDialog and add the extra widgets in on the right hand
> side?
>

I don't really have any suggestions since I see it works differently in
PySide 1.x vs 2.x. The QFileDialog relies on system native calls so it
would be difficult I think to completely customise the existing one through
Qt.


>
> - Adam B.
>
> On Friday, 16 November 2018 23:42:53 UTC-5, Justin Israel wrote:
>>
>> Oh sorry about that. I was reading it wrong multiple times :-)
>> For me, your example mostly works as expected on linux under PySide 1.x.
>> But the reject signal is still mapped to the QFileDialog so when you hit
>> ESC, the QFileDialog disappears and leaves behind your button and main
>> widget. On PySide 2.x however, it completely doesn't work and pops up two
>> individual widgets. It seems in Qt5 the QFileDialog is doing some late
>> layout at the time its actually shown, so the child layouts and widgets
>> aren't available yet.
>>
>> On Sat, Nov 17, 2018 at 3:41 AM Adam Baker <[email protected]> wrote:
>>
>>> Hey Justin,
>>>
>>> I am using a QWidget.QDialog here. I named the class “MainWindow” so I
>>> think your getting it mixed up. Sorry for that should have been more clear
>>> with my class names.
>>>
>>> Any other ideas why I’d have this problem on OSX ? Haven’t tested with
>>> Windows yet.
>>>
>>> -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/a328373e-1fce-47f7-af52-5aee20328636%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/a56eda2e-f966-423e-a50c-3a1136a737a1%40googlegroups.com
> <https://groups.google.com/d/msgid/python_inside_maya/a56eda2e-f966-423e-a50c-3a1136a737a1%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 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/CAPGFgA0k4EgmPmHaJ6P4mw8zFwB2FfXyhoYRydEMTOvpyO%2BOkA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to