qgraphicsitem
How to do lower() and raise() for QGraphicsItem in Qt?
I wanted to changed z-or开发者_JAVA百科der of graphicsitems in my graphicsscene. I have used QGraphicsWebView as graphicsitem.[详细]
2023-04-10 11:47 分类:问答Qt: Using QTransform object for rotate differs from setting setRotation() in QGraphicsItem
While setting a QGraphicsItem rotation, I get different results upon the transformation origin point while using setRotation() and using:[详细]
2023-04-09 10:03 分类:问答A question about 'itemChange()' of QGraphicsItem
In the function of itemChange, first ,I get the child item that will be added, then I use dynamic_cast cast it to \'MyItem\', but the cast always fail.[详细]
2023-03-26 22:36 分类:问答How to get event of clicking out of a QGraphicsItem, being notified of focusOut
i have a class implemented from QGraphicsItem, called Node. i have a rectangle shaped \"Node\" and i can do something when user clicked on it[详细]
2023-03-24 00:24 分类:问答QGraphicsPixmapItem not displaying image
Can help? I just get a blank view with vertical scrollbar. Can check the code? I think the trouble starts at item.setPixmap(pixmap); because the pixmap is the same size of image that is the image is l[详细]
2023-03-23 21:45 分类:问答Draw border of QGraphicsItem
How to draw border of QGraphicsItem ? Simple 开发者_如何转开发painter->drawRect( boundingRect() ) in overloaded paint method is not correct(bottom-right corner is outside the item).Note that the do[详细]
2023-03-19 04:13 分类:问答QGraphicsItem's - selection & rotation
I\'d like to implement application which allows user to select few QGraphicsItems and then rotate them as a gro开发者_开发百科up. I know that I could add all items into one QGraphicsItemGroup but I ne[详细]
2023-03-16 23:42 分类:问答Qt QGraphicsItem move animation
I\'d like to now how should I code \"move animation\" on QGraphicsItem. Something similar to moveBy(qreal, qreal) but not inst开发者_如何转开发ant. Should I look for it in QtAnimation Framework?Use a[详细]
2023-03-16 18:37 分类:问答QT: trouble with qobject_cast
I have derived QGraphicsItem and QGraphicsScene classes.I want the items to be able to call scene() and get a derviedGraphicsItem * instead of a QGraphicsItem *, so I reimplemented QGraphicsScene::ite[详细]
2023-03-14 17:21 分类:问答Creating shader program for QGraphicsItem
I have a QGraphicsScene in which I add a QGraphicsItem. Inside the QGraphicsItem, I render the triangle used in the hello triangle example of OpenGL ES 2.0. The problem is that if I create and compile[详细]
2023-03-13 10:16 分类:问答