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. QWidgets layout misunderstanding
Forum Updated to NodeBB v4.3 + New Features

QWidgets layout misunderstanding

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 245 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.
  • sitesvS Offline
    sitesvS Offline
    sitesv
    wrote on last edited by
    #1

    Hi!
    I have GridLayout. Two the same widgets 'A' are vertically and dynamically added.
    Each of 'A' have QTabWidget with inner widgets 'B'...
    I trying to resize 'B' widgets by resizeEvent of 'A' . But I have different final result.
    I don't know why, by I have 3 resizeEvent 's executions. Finally, 'A' widgets have the same size. But my 'B' have different.
    Some advice?

    JonBJ 1 Reply Last reply
    0
    • sitesvS sitesv

      Hi!
      I have GridLayout. Two the same widgets 'A' are vertically and dynamically added.
      Each of 'A' have QTabWidget with inner widgets 'B'...
      I trying to resize 'B' widgets by resizeEvent of 'A' . But I have different final result.
      I don't know why, by I have 3 resizeEvent 's executions. Finally, 'A' widgets have the same size. But my 'B' have different.
      Some advice?

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @sitesv said in QWidgets layout misunderstanding:

      Some advice?

      Show some (minimal, relevant) code.

      1 Reply Last reply
      0
      • sitesvS Offline
        sitesvS Offline
        sitesv
        wrote on last edited by sitesv
        #3

        @JonB , here is the link to the test project: my test project

        I have tried to create a relevant minimal project... I couldn't repeat a bug that I already explained here.... But there is a second one:
        How to block resizing feature while creating square widgets? How to create square widgets correctly?
        Click on the second tab.

        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