public ImageItem(QImage image) { this.image = image; SetRect(0, 0, image.Width(), image.Height()); SetFlag(ItemIsMovable); }