QGroupBox lost border in maya 2016 extension 2

65 views
Skip to first unread message

Rudi Hammad

unread,
May 16, 2016, 12:24:49 PM5/16/16
to Python Programming for Autodesk Maya
hello,
So I have a UI that was working perfectly in maya 2016. But in maya 2016 extension 2, that same UI shows up without the borders in the QGroupBox.
I have been googling and looking in the docs, but it only says that if I set up QGroupBoxas flat, the border would only show on top, which is true. it flat is unchecked, it says that borders will show, which was true in maya 2016.
But in extension 2, pufff !!!! it is gone.
could that be a bug? because, as I said, in previous maya it was ok.
any idea where I should be looking. I do all in designer and then compile the ui. So I don´t really do any ui coding.

cheers

Justin Israel

unread,
May 16, 2016, 4:15:23 PM5/16/16
to Python Programming for Autodesk Maya

I heard recently that the new ext of 2016 is using different library versions and that for all intents and purposes it is basically a new major version to a developer. I don't have more details then that right now but I will try to look into it.

Maybe they have changed Qt versions, or their QStyle?


--
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 python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/16d4f3d0-0a09-420c-99f5-394739a6b7e1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Rudi Hammad

unread,
May 16, 2016, 7:30:56 PM5/16/16
to Python Programming for Autodesk Maya
qt version is 4.8.6, I don´t know much about QStyle


El lunes, 16 de mayo de 2016, 22:15:23 (UTC+2), Justin Israel escribió:

I heard recently that the new ext of 2016 is using different library versions and that for all intents and purposes it is basically a new major version to a developer. I don't have more details then that right now but I will try to look into it.

Maybe they have changed Qt versions, or their QStyle?


On Tue, 17 May 2016 4:24 AM Rudi Hammad <rudih...@gmail.com> wrote:
hello,
So I have a UI that was working perfectly in maya 2016. But in maya 2016 extension 2, that same UI shows up without the borders in the QGroupBox.
I have been googling and looking in the docs, but it only says that if I set up QGroupBoxas flat, the border would only show on top, which is true. it flat is unchecked, it says that borders will show, which was true in maya 2016.
But in extension 2, pufff !!!! it is gone.
could that be a bug? because, as I said, in previous maya it was ok.
any idea where I should be looking. I do all in designer and then compile the ui. So I don´t really do any ui coding.

cheers

--
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 python_inside_maya+unsub...@googlegroups.com.

Rudi Hammad

unread,
May 21, 2016, 12:27:54 PM5/21/16
to Python Programming for Autodesk Maya
hi,
I just solved editing the stylesheet  adding 1px to the border. Maybe in the new qt version, by default it is set to zero?
I didn´t see any parameter to edit the px border directly, so that´s why I looked into stylesheet. Is this the only way?

Justin Israel

unread,
May 21, 2016, 5:34:02 PM5/21/16
to Python Programming for Autodesk Maya


On Sun, 22 May 2016 4:27 AM Rudi Hammad <rudih...@gmail.com> wrote:
hi,
I just solved editing the stylesheet  adding 1px to the border. Maybe in the new qt version, by default it is set to zero?
I didn´t see any parameter to edit the px border directly, so that´s why I looked into stylesheet. Is this the only way?

Autodesk uses a custom QStyle, which is how how they get that custom material look to be consistent across all widgets. Even the ones that you create.  So either setting a new QStyle on individual widgets, or a custom stylesheet on cascading parent/child widgets, would override their choice of style. 



El martes, 17 de mayo de 2016, 1:30:56 (UTC+2), Rudi Hammad escribió:
qt version is 4.8.6, I don´t know much about QStyle

El lunes, 16 de mayo de 2016, 22:15:23 (UTC+2), Justin Israel escribió:

I heard recently that the new ext of 2016 is using different library versions and that for all intents and purposes it is basically a new major version to a developer. I don't have more details then that right now but I will try to look into it.

Maybe they have changed Qt versions, or their QStyle?


On Tue, 17 May 2016 4:24 AM Rudi Hammad <rudih...@gmail.com> wrote:
hello,
So I have a UI that was working perfectly in maya 2016. But in maya 2016 extension 2, that same UI shows up without the borders in the QGroupBox.
I have been googling and looking in the docs, but it only says that if I set up QGroupBoxas flat, the border would only show on top, which is true. it flat is unchecked, it says that borders will show, which was true in maya 2016.
But in extension 2, pufff !!!! it is gone.
could that be a bug? because, as I said, in previous maya it was ok.
any idea where I should be looking. I do all in designer and then compile the ui. So I don´t really do any ui coding.

cheers

--
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 python_inside_m...@googlegroups.com.

--
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 python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/c205897c-84aa-404c-b94a-311576e66ab0%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages