Bug #127
Saving the Style
0%
Description
I think it would be pretty nice if the client could save and load style settings automagically. This should be actually pretty easy to do:
QStyleFactory::keys() returns a list of available styles.
http://doc.trolltech.com/4.0/qstylefactory.html#keys
The Style can be simply set using QApplication::setStyle(const QString &styleName).
http://doc.trolltech.com/4.3/qapplication.html#setStyle-2
Hint from the Qt-Docs:
Warning: To ensure that the application's style is set correctly, it is best to call this function before the QApplication constructor, if possible.
The Settingspage should note that this setting needs a restart of the client to take effect.
Phon: I'm assigning this to you, as you've already caught some experience with the settingspages and stuff like that. Please reassign if you don't like it.