Greetings,
I would like to show QGraphicsScene. The scene bounding rectangle is (0,0,1,1). The problem is that then the selection of items on linux doesn't work correctly. On Windows there are no problems.
To better explain this I have created simple application with QGraphicsView of dimensions (500,500) in a simple QMainWindow:
Qt Code:
  1. MainWindow::MainWindow(QWidget *parent) :
  2. QMainWindow(parent),
  3. ui(new Ui::MainWindow)
  4. {
  5. ui->setupUi(this);
  6. scena=new QGraphicsScene();
  7. ui->graphicsView->setScene(scena);
  8. ui->graphicsView->scale(500,500);
  9. it->setRect(-0.1,-0.1,0.2,0.2);
  10. it->setFlags(QGraphicsItem::ItemIsMovable | QGraphicsItem::ItemIsSelectable);
  11. scena->addItem(it);
  12. }
To copy to clipboard, switch view to plain text mode 

Is there some bug in linux version of qt? I have qt 4.7.

Thank you,
MadBear