Hi,
I want to fill a rectangle with gray color but i want Qt::BDiagPattern on it using black color.
I tried,
painter.setPen(QPen(Qt::black));
painter.setBrush(QBrush(Qt::gray, Qt::BDiagPattern));
but this creates a empty filled rectangle with gray diagonal lines.
Any help appreciated.
Regards,
Adeel.
Bookmarks