tag:blogger.com,1999:blog-1629739459234463496.post1147255615002263115..comments2023-06-28T18:05:02.782+03:00Comments on Tufan Görel: Draw Grid on QGraphicsScenetufanghttp://www.blogger.com/profile/02308107478813024690noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-1629739459234463496.post-23699624301205027172016-11-18T01:56:53.065+03:002016-11-18T01:56:53.065+03:00Just a side-note: I would advise against calling `...Just a side-note: I would advise against calling `delete` on your scene and view. Both have an assigned parent (which you did when you called their constructors and passed `this` (that is the `Dialog`'s instance) as a parent). It's not that `delete` is something you shouldn't use at all but in your case it's a waste and basically eliminates the automatic memory management Qt offers with the whole parent-child stuff.rbaleksandarhttps://www.blogger.com/profile/16494563119441624127noreply@blogger.comtag:blogger.com,1999:blog-1629739459234463496.post-76649624459179837392012-06-07T17:09:41.142+03:002012-06-07T17:09:41.142+03:00Hello, I know this thread is so old, but I think ...Hello, I know this thread is so old, but I think I can contribute. Recently I had to do something similar and I got the same problem, eficiency, I develop a simple solution with a simple technique that uses a bitmap to draw all, is so fast and efficient, the explanation is in my website <a href="http://varper-tech.com/wp/creacion-de-grilla-de-forma-eficiente-en-qgraphicsviewqgraphicsscene/" rel="nofollow">Creación de grilla de forma eficiente en QGraphicsView/QGraphicsScene</a> but is spanish, if you think that you can exploit this, then visit it.Anonymoushttps://www.blogger.com/profile/15886006625197687091noreply@blogger.com