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. Propagate Size Changes from GLWidget to Parents

Propagate Size Changes from GLWidget to Parents

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 418 Views 1 Watching
  • 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.
  • B Offline
    B Offline
    bobthebuilder
    wrote on last edited by
    #1

    I have a QMainWindow with a QWidget that contains a GLWidget and a few controls. I would like GLWidget to be able to change its size and propagate the size change up to the QWidget and in turn to the QWindow. Per the instructions in http://qt-project.org/faq/answer/how_can_i_trigger_the_parent_widget_to_resize_when_its_child_widget_is_resi, I change the value that sizeHint returns in my GLWidget and then call updateGeometry. This seems to have no effect, however.

    Is what I would like to accomplish possible? Thank you for any tips or references.

    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