Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Is there a possibility to have expanding widget in front of other widget?
QtWS25 Last Chance

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

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 609 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.
  • N Offline
    N Offline
    never_ever
    wrote on last edited by
    #1

    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
    0
    • A Offline
      A Offline
      andreyc
      wrote on last edited by
      #2

      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
      0

      • Login

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