PDA

View Full Version : Custom popup with irregular shape



gaczm
24th June 2012, 19:07
Not sure if it is a right place for such question, but: is it possible to create in Qt custom popup with irregular shape? (sth like this: http://i48.tinypic.com/ndwtgk.jpg)

wysota
24th June 2012, 19:53
Yes, it is possible. There are options to use QWidget::setMask() or Qt::WA_TranslucentBackground attribute.

Ali Reza
28th June 2012, 10:46
or use windows API function setWindowRgn directly.

high_flyer
28th June 2012, 10:54
or use windows API function setWindowRgn directly.
Wont bring much under X (as the user marked as his platform).

Ali Reza
28th June 2012, 11:22
lol ........
:-)