The style-sheets are actually text-files (*.qss), similar to HTML/CSS, but not exactly the same...

Detailed Qt style-sheet documentation is here: http://qt-project.org/doc/qt-4.8/stylesheet.html

Take the existing style-sheets for QMC2 as examples to create your own. When done, please post it here so I can add your sheet on the QMC2 homepage smile.

Note that some of the example style-sheets contain statements that directly address objects in QMC2 (Qt has a concept of an 'object-name' which relates to the instance's variable name). Example:

Code:
QLabel#labelGamelistStatus {
    background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 rgba(0, 34, 255, 128), stop:1 rgba(255, 255, 255, 128));
}

This would tell the style-sheet system to use a semi-transparent (alpha=128), diagonal (0,0 => 1,1), linear gradient as the background of any QLabel instance called 'labelGamelistStatus'. You can obviously only know those object names by reading the QMC2 source code, so when unsure just ask wink. In this specific case that's the label used in the bottom-left corner of the main widget to display the game/machine-list statistics.


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]