I want to ask a question about can I resize QGraphicsItem without creating a class that inherits QGraphicsItem. For example, something like this:
void MyScene::mousePressEvent(QGraphicsSceneMouseEvent *event)
{
point = event->scenePos();
if( ArrowCursor )
{
curItem = this->itemAt( point, view->transform() );
if( curItem && !curItem->isSelected() )
{
curItem->update( 10,10, 100, 100 );
}
}
}