summaryrefslogtreecommitdiffstats
path: root/globals.h
Commit message (Collapse)AuthorAgeFilesLines
* Implement alternating row colorsArno2018-02-031-0/+5
| | | | | | | | | | | | | | | Once again, surprisingly difficult, as you can see on the number of changed files. Coding the configuration options wasn't that difficult, but actually using them was. As it turned out, the default style on Windows doesn't use QApplication::palette() at all, though it does honor setAlternatingRowColors(). It just doesn't use the palette colors, but style sheets. Took me a while to figure out. So, there's always another layer of indirection: First, add all QTreeViews to Globals::views, then create a helper to set the style sheet.
* Add picture viewerArno2016-11-271-0/+3
| | | | Opens on doubleclick when it's image/*.
* Make QActions local to FileWidgetArno2016-09-041-0/+25
Introduce Globals singleton for global actions.