Menu

UI_ overlapping Groups

Anonymous
2017-10-01
2017-10-01
  • Anonymous

    Anonymous - 2017-10-01

    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

     
  • Stefan Zieker

    Stefan Zieker - 2017-10-01

    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
  • Anonymous

    Anonymous - 2017-10-01

    Hello Stefan
    Script and UI
    It is failing on Windows and Linux

     
  • Stefan Zieker

    Stefan Zieker - 2017-10-02

    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
  • Anonymous

    Anonymous - 2017-10-02

    Hello Stefan
    So using the Horisontal layout fixes the problem.
    Thank You
    Regards Joakim

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.