cherry-pick from new_ui_code

This changes the setStyleSheet interface in cre.cpp, which will be used for implementing css menu in crereader.