Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    How to display information contextually with PySide?

    Language Bindings
    1
    1
    1191
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      Tarinaky last edited by

      I am unsure how to make a panel or widget or something which appears when users click on something.

      I tried making a widget in Qt Designer and using show()/hide() on it but when I perform show()->hide()->show() the second show statement doesn't work, nothing gets drawn.
      I also have the issue that inserting it into a gridLayout causes the entire grid to be split 50/50 between the two - I can't set a maximum size for the panel - and removing the widget from the layout does not change the split back to being 100%.

      I've searched stackoverflow but all I can find are suggestions that I should show()/hide() which doesn't seem to work as advertised. Does anyone else have any insight? It seems like something which should be easily do-able.

      PS: I don't mind how it looks as long as it's usable.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post