[Qt-interest] [Stylesheets] Reverting all settings for some classes.

Ender EREL erelender at yahoo.com
Mon Jul 20 12:49:10 CEST 2009


You could switch from static QMessageBoxes to dynamically created custom 
ones, and reset the style sheet.

QMessageBox* box = new QMessageBox(this);
/// Customization codes///
box->setStyleSheet("");
box->show();

But this will reset the stylesheets of other elements like labels etc. 
in the message box.

-- 
ender -  -



More information about the Qt-interest-old mailing list