Home > other >  Consult qt smooth scrolling display images
Consult qt smooth scrolling display images

Time:11-30

I use the qt 4.5 + vs2008 a main window, displays two images, two images rolling contact to left, I use a timer 40 ms a, but the overall effect is not very smooth, look some jitter, but it should not be flashing problem, setAttribute (qt: : WA_NoSystemBackground, true); The setAttribute (Qt: : WA_OpaquePaintEvent, true); The setAttribute (Qt: : WA_StaticContents, true); The setAttribute (Qt: : WA_PaintOnScreen, true); That several states also set, I don't know how should also, consult the experience help you see, the attachment is the example project, is qt underlying support? Or mechanism?

CodePudding user response:

https://blog.csdn.net/zhiyiYo/article/details/107557814
  • Related