Home > Mobile >  Frame using QPainter drag mouse to choose an area, release the mouse, just delete the box?
Frame using QPainter drag mouse to choose an area, release the mouse, just delete the box?

Time:03-04

Frame using QPainter drag mouse to choose an area, release the mouse, just delete the box, what is the function can be implemented? Currently only implements the frame, but the mouse release box does not disappear, only draw again, before the draw will disappear

CodePudding user response:

How are you now? This frame is not dealing with mouse events? In QEvent: : MouseButtonRelease clean not line?

CodePudding user response:

QT rubber band class consult
https://blog.csdn.net/ykm0722/article/details/6993050
  •  Tags:  
  • Qt
  • Related