All configuration dialogs use QPushButton's (buttons with a pixmap/QIcon).
E.g. main configuration dialog, Screenshot-directory picker "folder" button.
or main configuration dialog, script tab, "play" and "pause" buttons.
Now this has the side-effect that they are not StelButtons and as such do not honour nightmode at all (they are not StelButton::makeRed()ed but drawn with their initial pixmap).
There are a couple of ways that could be fixed (random thoughts):
- use StelButtons everywhere, instead of directly using QPushButtons
- use palette-switching to implement nightmode (conflicts with stylesheets?)
- use a displaylist post-processor to let the GPU compute nightmode (i suspect that this would be much slower than palette switching, especially on small devices like cell-phones or netbooks with slow graphic chips)
- shoehorn a pixmap switcher unto QPushButtons (i'll try to attach that to this report later, as proof-of-concept). Ugly.
- ???
This is a mid-term whishlist item (couldn't set this when reporting it)