Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. Tags
    3. qpaint
    Log in to post

    • SOLVED How to can i stop from painting the background widget in paintevent?
      General and Desktop • c++ qpainter qwt graph qpaint • • Yash001  

      11
      0
      Votes
      11
      Posts
      658
      Views

      @mrjj Thank you sir for helping me and direction. I am able to solve this issue by setting the clipping area properly on graph. Use QWidget::update() instead of QWidget::repaint().
    • UNSOLVED How do I print long widgets continuously without cutoff?
      General and Desktop • qt creator qpaint qprint • • wanyeop  

      1
      0
      Votes
      1
      Posts
      126
      Views

      No one has replied

    • UNSOLVED How to properly trigger paintGL function ?
      General and Desktop • qpainter qopenglwidget qtime qpaint fps • • Dariusz  

      2
      0
      Votes
      2
      Posts
      337
      Views

      Ok solved It appears that a GLOBAL surface setInterval overrides the setIntervals I did on my glWidget. Kinda weird that the global one overrides local one if local one was specified, is this a bug ? format.setSwapInterval(0); QSurfaceFormat::setDefaultFormat(format); overrides on widget > QSurfaceFormat format; format.setSwapInterval(0); setFormat(format);
    • UNSOLVED Displaying a Pixmap on a Graphics View Widget
      General and Desktop • qt creator qgraphicsview pixmap graphics view qpaint • • Brazzoni  

      3
      0
      Votes
      3
      Posts
      1096
      Views

      Hi and welcome to devnet, Since your widgett is called PixmapView then in your CanvaTest class you can use ui->PixmapView ..
    • SOLVED Limit paint area
      General and Desktop • translation viewport qpaint • • Suths  

      5
      0
      Votes
      5
      Posts
      1349
      Views

      Thanks for the advice mrjj. I used the translate functions and the save and restore to ensure that each section has a logical coordinate system that makes sense to it.