Home > Software engineering >  Qt layout in the location problem
Qt layout in the location problem

Time:10-14

Grandfather has formalyout1 window in QT
In the parent window: called widget2 formalayout_2, widget2 in formlayout_1 grandfather window (
Child window: called widget3, child window's parent window is formlayout_2, widget3 broadcast video

Now want to change the video window size, should be widget3 - & gt; The resize (), but after each perform this function, the video window is black screen, do you have encountered this problem? Where is the problem? If only on widget2 - & gt; Formlayout_2 - & gt; The resize () displays video incomplete, show only a part of,

CodePudding user response:

You change the size of the video window, do not need to call video similar to Reset the Position or Repaint method?
  • Related