hasmik
13th July 2009, 18:32
Hello!!!
Please, look at attached pictures.
I want dispaly items on a grid texture. So mouse could move across discrete points. To obtain grid appearance I set view's background brush with pixmap.
view->setBackgroundBrush(QPixmap("Resources\\grid.png"));
But I met some problems. When I do zoom action the discrete points are zooming too. Item's fill texture spoilt too. But I want to zoom only GarphicsItems' sizes but not fillstyle and grid texture.
Please, give me advice to solve this problem.
Please, look at attached pictures.
I want dispaly items on a grid texture. So mouse could move across discrete points. To obtain grid appearance I set view's background brush with pixmap.
view->setBackgroundBrush(QPixmap("Resources\\grid.png"));
But I met some problems. When I do zoom action the discrete points are zooming too. Item's fill texture spoilt too. But I want to zoom only GarphicsItems' sizes but not fillstyle and grid texture.
Please, give me advice to solve this problem.