View Full Version : how to create circular dialog
Askar
24th April 2012, 11:42
Dear Friends,
Is it possible to create circular dialog in Qt, if so, how can i create it
qlands
24th April 2012, 17:34
Place this code in the constructor of the your dialog.
int side = qMin(width(), height());
QRegion maskedRegion(width() / 2 - side / 2, height() / 2 - side / 2, side,
side, QRegion::Ellipse);
setMask(maskedRegion);
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.