0

I have a QLabel in a QScrollArea. When I set the label's pixmap with the setPixmap function, the scrollbars appear to cover entire image. But when I try to overload the paintEvnet function and draw an image with QPainter::drawImage, scrollbars disappear and for discovering the entire image I have to resize the the program's window. What is the solution?

Daniel Hedberg
  • 5,677
  • 4
  • 36
  • 61
Hesam Qodsi
  • 1,569
  • 3
  • 25
  • 38

0 Answers0