summaryrefslogtreecommitdiffstats
path: root/searchview.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove left over callsArno2018-02-031-2/+0
| | | | Missed them when I committed the alternating row color changes.
* Implement alternating row colorsArno2018-02-031-0/+3
| | | | | | | | | | | | | | | 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.
* Implement context menu for search resultsArno2018-02-021-0/+53
Subclass QTreeView to show a custom context menu. Since the depth of some items is > 1, add an option to expand and collapse a node recursively.