the type of the group boxes is QGroupBox. hide() and show() are calling the corresponding functions from this class. If this does not work then this is maybe a QT problem.
Perhaps you can explain your problem a litle bit more and/or you can upload your script so I can reproduce your problem.
Best regards,
Stefan
Last edit: Stefan Zieker 2017-10-01
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
View and moderate all "Bug Reports" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
The .hide() and .show() applied on a pair of group box (to select what is shown)
do not work if the boxes are overlapped.
Regards
Joakim
Hi Joakim,
the type of the group boxes is QGroupBox. hide() and show() are calling the corresponding functions from this class. If this does not work then this is maybe a QT problem.
Perhaps you can explain your problem a litle bit more and/or you can upload your script so I can reproduce your problem.
Best regards,
Stefan
Last edit: Stefan Zieker 2017-10-01
View and moderate all "Bug Reports" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Hello Stefan
Script and UI
It is failing on Windows and Linux
Hi Joakim,
your script did not work because you put one group box into the other. In the attachment you can find an example which works as you intented.
Best regards,
Stefan
Last edit: Stefan Zieker 2017-10-02
View and moderate all "Bug Reports" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Hello Stefan
So using the Horisontal layout fixes the problem.
Thank You
Regards Joakim