I want to achieve something similar to:
I want to display a QDialog on top of my QMainWindow that has some transparency. Problem is that I cannot get the QDialog to appear transparent at the edges. I tried setting a QRegion as mask which does not work.
Setting the mask is not working for me on Symbian (same code works fine on Windows). For testing I set a small region as the mask for the QDialog:
I first tried to set the background transparent with a transparent background color:
// inside my class' constructor extending from QDialog
QRegion r(QRect(0,0,50,50), QRegion::Rectangle);
But that shows some artifacts of the previously visible S60 UI. The QMainWindow behind the dialog is displayed correctly outside of the dialogs region.
Any help to achieve a neat looking dialog is greatly appreciated.