Friday, June 13, 2014

[Qt] Random background color palette

this->setPalette(QPalette(QColor(rand()%255,rand()%255,rand()%255)));

No comments:

Post a Comment