Qt Forum

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

    Update: Forum Guidelines & Code of Conduct

    Is there a possibility to have expanding widget in front of other widget?

    General and Desktop
    2
    2
    497
    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.
    • N
      never_ever last edited by

      Hi,
      I have an app, that have one main widget (size of that widget is almost the same as size of window). Under this widget I want to have some widget that could expand whenever someone clicks on it.It should extend vertically - the width of that is the same as window. It should expand but also be on the top of that main widget when it is expanded.
      If one of the qt widgets allows that?

      1 Reply Last reply Reply Quote 0
      • A
        andreyc last edited by

        Frankly speaking I don't understand what you try to achieve, but I'm pretty sure that there is no such widget available in Qt.
        You will need to implement this behavior by yourself.
        Inherit new widget from QWidget and overwrite the event handlers.

        If you would draw a picture it may help us to help you.

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