Project

General

Profile

Bug #127

Saving the Style

Added by EgS over 16 years ago. Updated almost 16 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Quassel GUI (Qt)
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Version:
0.13.1
OS:
Any

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.

Also available in: Atom PDF