Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Language Bindings
  4. How to display information contextually with PySide?
QtWS25 Last Chance

How to display information contextually with PySide?

Scheduled Pinned Locked Moved Language Bindings
1 Posts 1 Posters 1.3k Views
  • 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 Offline
    T Offline
    Tarinaky
    wrote on last edited by
    #1

    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
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved