void DrawImages(QPainter painter) { painter.DrawImage(5, 15, colorImage); painter.DrawImage(5, colorImage.Height + 10, grayscaleImage); }
protected void paint(QPainter p, QStyleOptionGraphicsItem option) { p.DrawImage(option.ExposedRect, image, Option.ExposedRect, Qt::OrderedAlphaDither); }