Page 1 of 2 12 LastLast
Results 1 to 20 of 23

Thread: Multithreading in QGraphicsItem painting

  1. #1
    Join Date
    Feb 2013
    Location
    India
    Posts
    153
    Thanks
    27
    Thanked 18 Times in 18 Posts
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Exclamation Multithreading in QGraphicsItem painting

    Hello Everyone,

    I am working on a project which uses Qt GraphicsScene API. Well i have an item in which i have to print a number of points say(100000 points) which are stored in a std::vector.

    My program got some lag when it traverse and paint 100000 points., well i have done some logic that painter should draw the points which are visible on the screen.

    But still the program is not that much smooth. i have tried to work with QThread, and moveToThread but unable to solve the problem.

    Anyone have idea about how to paint a graphics item in a thread., or something new idea which will resolve my problem and make my program smooth.

    QGraphicsView optimizations are already done by my side.

    Qt Code:
    1. setViewportUpdateMode(QGraphicsView::BoundingRectViewportUpdate);
    2. setTransformationAnchor(QGraphicsView::AnchorUnderMouse);
    3. setCacheMode(QGraphicsView::CacheNone);
    4.  
    5. setOptimizationFlags(QGraphicsView::DontAdjustForAntialiasing
    6. | QGraphicsView::DontClipPainter
    7. | QGraphicsView::IndirectPainting);
    To copy to clipboard, switch view to plain text mode 

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Multithreading in QGraphicsItem painting

    Quote Originally Posted by karankumar1609 View Post
    My program got some lag when it traverse and paint 100000 points., well i have done some logic that painter should draw the points which are visible on the screen.
    This means you're not using the API correctly.

    But still the program is not that much smooth. i have tried to work with QThread, and moveToThread but unable to solve the problem.
    You cannot use threads for painting in graphics view.

    Please show your code related to handling your points.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Feb 2013
    Location
    India
    Posts
    153
    Thanks
    27
    Thanked 18 Times in 18 Posts
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Exclamation Re: Multithreading in QGraphicsItem painting

    Hei wysota,

    Below is the paint function of my plot QGraphicsItem
    Qt Code:
    1. void LinePlotter::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
    2. {
    3. Q_UNUSED (widget)
    4. Q_UNUSED (option)
    5.  
    6. if(!isVisible()) return;
    7.  
    8. painter->setPen(QPen(Qt::white, .7, Qt::SolidLine, Qt::RoundCap, Qt::MiterJoin));
    9.  
    10. QRectF visibleRectL = visibleRect();
    11.  
    12. // a pixmap is created on which all the points will draw
    13. // visibleRectL is the rect of the visible area(Means whole graph should not be painted only concentrate on visible part)
    14. QScopedPointer<QPixmap> pix(new QPixmap(visibleRectL.width(), visibleRectL.height()));
    15. QPainter paint;
    16. paint.begin(pix.data());
    17. paint.setBrush(QBrush(Qt::black));
    18. paint.drawRect(0, 0, visibleRectL.width(), visibleRectL.height());
    19. paint.end();
    20.  
    21. qreal horizontalPP = horizontalPaddingPixel();
    22. qreal verticalPP = verticalPaddingPixel();
    23.  
    24. qreal zoomFactorInverse = 1 / zoomFactor();
    25. qreal frontL = front();
    26.  
    27. QVector<PlotData*> plotDataVector = plotData();
    28.  
    29. qreal gridY0 = 0, gridY1 = visibleRectL.height();
    30.  
    31. foreach (PlotData* plotDataValue, plotDataVector) {
    32.  
    33. KAxisRange yRange = plotDataValue->yRange();
    34.  
    35. double height = (this->boundingRect().height() - (2* verticalPP));
    36.  
    37. int startPoint = (frontL * zoomFactorInverse) - (horizontalPP * zoomFactorInverse);
    38.  
    39. if(startPoint < 0)
    40. startPoint = 0;
    41.  
    42. int endPoint = startPoint + (visibleRectL.width() * zoomFactorInverse) + 5;
    43.  
    44. if(endPoint > plotDataValue->totalPixel())
    45. endPoint = plotDataValue->totalPixel();
    46.  
    47. qreal j = 0;
    48.  
    49. double xFactor = zoomFactor();
    50. double yFactor = 1.f / (double(yRange.max() - yRange.min()) / height);
    51.  
    52. std::vector<Plot_Aggregation_Element> plotAggregationElement = plotDataValue->plotData();
    53.  
    54. // Each vector contains the data of one day
    55. std::vector<Date_Element> dateElement = plotAggregationElement.at(0).ID[0].ID_vector;
    56.  
    57. foreach (Date_Element dateData, dateElement) {
    58. std::vector<Time_Element> timeElement = dateData.Time_Vector;
    59. QPolygonF LineToDraw;
    60. QVector<QLineF> gridLines;
    61.  
    62. // each time element contains 330 points and each data element have 30-60 minimum time element
    63. // that means we have atleast 330x60 points in one array and we will have 2-10 arrays
    64. foreach (Time_Element timeData, timeElement) {
    65.  
    66. if(j >= startPoint &&
    67. j <= endPoint) {
    68. qreal x = j;
    69. x = (x * xFactor) + horizontalPP - ::qCeil(frontL);
    70.  
    71. // value contains some data in it
    72. if(timeData.Value.max_size() > 0) {
    73. qreal data = timeData.Value[0];
    74. qreal y = data - yRange.min();
    75.  
    76. y = height - (y * yFactor) + verticalPP;
    77.  
    78. LineToDraw << QPointF(x, y);
    79. }
    80.  
    81. {
    82. // Draw Grid
    83. if(QTime::fromString(QString::number(timeData.Time), "hhmm").minute() == 0)
    84. gridLines << QLineF(QPointF(x, gridY0), QPointF(x, gridY1));
    85. }
    86. } else if(j > endPoint) {
    87. break;
    88. }
    89. j++;
    90. }
    91.  
    92. painter->setClipRect(0, 0, visibleRect().width(), visibleRect().height());
    93.  
    94. if(!LineToDraw.isEmpty()) {
    95. /// Draw graph on pixmap
    96. QPainter paint(pix.data());
    97. paint.setPen(plotDataValue->plotColor());
    98. paint.drawPolyline(LineToDraw);
    99.  
    100. paint.setPen(QPen(QBrush(Qt::red), 1));
    101. paint.setOpacity(0.25);
    102.  
    103. paint.drawLines(gridLines);
    104. paint.end();
    105. /// Drawing finished
    106. ///
    107. }
    108. }
    109. }
    110.  
    111. /// Draw pixmap with graph
    112. painter->drawPixmap(0, 0, *pix.data());
    113.  
    114.  
    115. }
    To copy to clipboard, switch view to plain text mode 

    this is the code i need to simplify that code.
    the main point is why i am not able to simplity that code coz i need to draw all the things immediately.

    Any idea please help

    when i draw a single graph it takes 20-30 millisecond which is pretty good., but when i have to draw 6-8 graphs it takes 30x8 = 150 - 240 millisecond, i dont like this much delay...
    Last edited by karankumar1609; 23rd July 2013 at 09:53. Reason: updated contents

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Multithreading in QGraphicsItem painting

    Graphics View is an object oriented architecture. It performs optimizations and takes decisions on what to draw based on whether a particular item is visible on the screen or not. If you're not using the object oriented nature of the framework but instead you draw everything yourself using low-level QPainter calls then you're not giving the framework any chance to show its strength. Divide your plot into a series of separate items (separate items for the grid/axis, separate items for each of the points, etc.) and you'll immediately see the difference in performance. If you don't want to do that then you can stuff your code into a simple QWidget instead of QGraphicsView/QGraphicsScene and have similar if not better performance to what you have now.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. The following user says thank you to wysota for this useful post:

    karankumar1609 (23rd July 2013)

  6. #5
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Multithreading in QGraphicsItem painting

    Other things to consider:
    • Only plot data that is significant. In the limited area of a screen widget it's unlikely that all 100000 points map to different pixels or carry useful information.
    • Don't draw lines between points if the points are densely packed anyway.
    • Everything in the inner loop should be fast or moved out of the loop. The string and date manipulations at line 83 certainly seem to be needlessly wasteful: converting int (230) to string ("230"), to a time (02:30), taking the integer minutes (30) and comparing to 0. Seems the same as (230 % 100 == 0) to me.
    • Use a plotting library like Qwt where much of this work is already done.


    Threads do not reduce the amount of work to do.

  7. The following user says thank you to ChrisW67 for this useful post:

    karankumar1609 (23rd July 2013)

  8. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Multithreading in QGraphicsItem painting

    And to add to that -- painting everything to a pixmap that is created and destroyed in the paint routine and then painting that pixmap to the target device is slower then just painting to that device directly. Using clipping yields an additional performance hit as every paint operation has to check against the clipping rect/region.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  9. The following user says thank you to wysota for this useful post:

    karankumar1609 (23rd July 2013)

  10. #7
    Join Date
    Feb 2013
    Location
    India
    Posts
    153
    Thanks
    27
    Thanked 18 Times in 18 Posts
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Exclamation Re: Multithreading in QGraphicsItem painting

    Thanks for all the precious comments., I have converted my paint from painting in pixmap to native painting.
    The difference is sharpness.
    when i use QPixmap it looks pretty sharp but still the time to paint on the screen is same for both native painting or pixmap painting.

    well i have to do that mannually coz size of data and points will be changed at the run time according to slider position.
    I have to do something smarter.,

  11. #8
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Multithreading in QGraphicsItem painting

    Quote Originally Posted by karankumar1609 View Post
    well i have to do that mannually coz size of data and points will be changed at the run time according to slider position.
    When the number of point changes, just create or destroy items representing those points.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  12. #9
    Join Date
    Feb 2013
    Location
    India
    Posts
    153
    Thanks
    27
    Thanked 18 Times in 18 Posts
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Multithreading in QGraphicsItem painting

    What if my points are in the range of 1000 - 6000 and my QGraphicsItem bounding rect is 300x200, how does it scale itself accordingly.
    i cant scale my whole QGraphicsView to do that., just because if i scale my view i have to scale everything in the QGraphicsScene.

    And ya i have use QGraphicsGridLayout to set plotter item.
    There is something which i messed, just because i have jumped to my start point from where to start calculation like we have 100000 points and we have to start calculation from 500 to 550 now my pointer jumps to 500 directly and do calculation till 550 .
    But doing this not return me a good result.

    i am trying to find out the way to optimize my calculation to make it sharper.

  13. #10
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Multithreading in QGraphicsItem painting

    Quote Originally Posted by karankumar1609 View Post
    What if my points are in the range of 1000 - 6000 and my QGraphicsItem bounding rect is 300x200, how does it scale itself accordingly.
    Bounding rect of your item should be the size of the item (thus the size of the point) and should not be related to item position.

    Here is a code sample that handles 100k items in the scene quite efficiently (use the mouse wheel to zoom).

    Qt Code:
    1. #include <QApplication>
    2. #include <QGraphicsView>
    3. #include <QGraphicsScene>
    4. #include <QGraphicsEllipseItem>
    5. #include <QWheelEvent>
    6. #include <QStyleOptionGraphicsItem>
    7.  
    8. class PointItem : public QGraphicsEllipseItem {
    9. public:
    10. PointItem(QGraphicsItem *parent = 0) : QGraphicsEllipseItem(parent) {
    11. setPointSize(2);
    12. setBrush(Qt::red);
    13. setPen(Qt::NoPen);
    14. setFlag(QGraphicsItem::ItemIgnoresTransformations);
    15. setCacheMode(QGraphicsItem::DeviceCoordinateCache);
    16. }
    17. void setPointSize(qreal s) {
    18. setRect(-s, -s, 2*s, 2*s);
    19. }
    20. };
    21.  
    22. class GraphicsView : public QGraphicsView {
    23. public:
    24. GraphicsView(QWidget *parent = 0) : QGraphicsView(parent) {}
    25. protected:
    26. void wheelEvent(QWheelEvent *event) {
    27. if(event->delta() > 0) {
    28. scale(1.25, 1.25);
    29. } else {
    30. scale( 0.8, 0.8);
    31. }
    32. }
    33. };
    34.  
    35. int main(int argc, char *argv[])
    36. {
    37. QApplication a(argc, argv);
    38. GraphicsView view;
    39. QGraphicsScene scene(0, 0, 10000, 5000);
    40. for(int i=0;i<100000;++i) {
    41. PointItem *item = new PointItem;
    42. item->setPos(qrand() % 10000, qrand() % 5000);
    43. scene.addItem(item);
    44. }
    45. view.setScene(&scene);
    46. view.setRenderHint(QPainter::Antialiasing);
    47. view.show();
    48. return a.exec();
    49. }
    To copy to clipboard, switch view to plain text mode 
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  14. The following user says thank you to wysota for this useful post:

    karankumar1609 (23rd July 2013)

  15. #11
    Join Date
    Feb 2013
    Location
    India
    Posts
    153
    Thanks
    27
    Thanked 18 Times in 18 Posts
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Thumbs up Re: Multithreading in QGraphicsItem painting

    Hello wysota,

    your example is the pretty simple one.
    But i am working it in a different way.

    What your example does:
    1. Create a View and Scene of a size
    2. plot points(Items) on the scene
    3. Scale the scene accordingly on whele event

    but something i am working on is different
    1. Create a view and scene of a size
    2. create axis and plot area and set them in the layout (Layout for multiple graph stacked in a scene)
    3. read all the data points and initialize to the plot item
    4. On every update plot item draw each graph in it

    The different is i can't use scale for zoomIn and ZoomOut purpose coz i have an item of fixed size., only the drawing will vary
    means item will virtually zoom in and zoom out horizontally via drawing not via scale., coz if i scale my scene each graph and axis will scale instead of the graph item
    and also i have to do something custom with the graph so i did my own painting.

    well when i complete zoomOut your code nt remain smooth., anyway thanks for your code.
    I think there is some issue with the pixmap painting or the calculation.
    may be it should need optimization.

  16. #12
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Multithreading in QGraphicsItem painting

    Then why are you using QGraphicsView at all?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  17. #13
    Join Date
    Feb 2013
    Location
    India
    Posts
    153
    Thanks
    27
    Thanked 18 Times in 18 Posts
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Multithreading in QGraphicsItem painting

    i cant scale my whole QGraphicsView to do that., just because if i scale my view i have to scale everything in the QGraphicsScene.
    sorry for missunderstanding.,
    but i said that i dont want to scale my view.
    the problem with the scale is that i have to scale my whole scene .

  18. #14
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Multithreading in QGraphicsItem painting

    Please answer my question.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  19. #15
    Join Date
    Feb 2013
    Location
    India
    Posts
    153
    Thanks
    27
    Thanked 18 Times in 18 Posts
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Multithreading in QGraphicsItem painting

    well graphicsView is the best API i have seen for drawing purpose.
    It automatically update its child items which i dont want to handle.
    QWidget need to update manually on each small changes.. that will effect the performance.

    On Widget i have to mannually handle and draw each element.
    like if i have to add a dynamic line element on graph i have to draw it and handle each and every moment.
    In QGraphicsScene its easy.

  20. #16
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Multithreading in QGraphicsItem painting

    Quote Originally Posted by karankumar1609 View Post
    well graphicsView is the best API i have seen for drawing purpose.
    It automatically update its child items which i dont want to handle.
    You only have one item currently.

    QWidget need to update manually on each small changes.. that will effect the performance.
    Based on what you have now, changing location of one point in the plot requires all 100k points to be redrawn. That sounds to me like "each small changes requires manual update of the whole plot".

    On Widget i have to mannually handle and draw each element.
    That's what you do now too. Both QWidget and QGraphicsView use QPainter API for painting. Each time a piece of your data changes, you redraw the whole canvas which is exactly the situation with widgets. With graphics view, modifying one point should only redraw that one point (and possibly others that intersect with it).

    like if i have to add a dynamic line element on graph i have to draw it and handle each and every moment.
    That's what you do now.

    In QGraphicsScene its easy.
    Yes, I know. Unfortunately you're using QGraphicsView like it were a plain widget.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  21. #17
    Join Date
    Feb 2013
    Location
    India
    Posts
    153
    Thanks
    27
    Thanked 18 Times in 18 Posts
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Multithreading in QGraphicsItem painting

    ya i did the same with QGraphicsItem like with QWidget.

    Firstly i started my project with different idea, which suits with QGraphicsView.

    nyway thanks for your help. i will do it in QWidget later.
    well is QWidget is faster than QGraphicsView ?

  22. #18
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Multithreading in QGraphicsItem painting

    If you use Graphics View incorrectly then QWidget is likely a bit faster since you don't have the overhead of setting up the environment which you are not using anyway. If you use Graphics View correctly then it will likely be much faster than QWidget, especially for use-cases such as yours where you have a lot of small items and a subset of them is changing in time.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  23. The following user says thank you to wysota for this useful post:

    karankumar1609 (24th July 2013)

  24. #19
    Join Date
    Feb 2013
    Location
    India
    Posts
    153
    Thanks
    27
    Thanked 18 Times in 18 Posts
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Multithreading in QGraphicsItem painting

    Thanks wysota,

    I have got the problem.
    Well the problem is in the two statements in painting.

    Qt Code:
    1. std::vector<Plot_Aggregation_Element> plotAggregationElement = plotDataValue->plotData();
    2.  
    3. // Each vector contains the data of one day
    4. std::vector<Date_Element> dateElement = plotAggregationElement.at(0).ID[0].ID_vector;
    To copy to clipboard, switch view to plain text mode 

    The above code takes 6-8 millisecond and if there is 8 graph then it takes 6x8 = 48ms.
    Now i have to solve this ., and after that it will be faster than before (60 - 48 = 12ms , thats look great).
    Last edited by karankumar1609; 24th July 2013 at 07:43.

  25. #20
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Multithreading in QGraphicsItem painting

    Don't copy all the data -- in the code you quoted you are possibly making two copies of a vector (x8, etc.).
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Painting the inside of a shape in QGraphicsItem
    By xtraction in forum Qt Programming
    Replies: 9
    Last Post: 16th February 2012, 17:06
  2. Painting problem for QGraphicsItem
    By vivekpurohit in forum Qt Programming
    Replies: 1
    Last Post: 9th August 2011, 10:55
  3. specific painting for just one QGraphicsItem
    By jano_alex_es in forum Qt Programming
    Replies: 1
    Last Post: 24th March 2011, 02:12
  4. QGraphicsItem - painting problem for zoomin
    By nileshsince1980 in forum Qt Programming
    Replies: 0
    Last Post: 26th March 2010, 10:02
  5. Force the painting of a QGraphicsItem
    By fabietto in forum Qt Programming
    Replies: 3
    Last Post: 2nd July 2007, 22:28

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.