search&replace, project: show header in results

Review Request #109159 - Created Feb. 25, 2013 and submitted

Information
Alexander Neundorf
kate
master
Reviewers
kate
cullmann, sars
This patch actually does 3 things:
1) it adds property projectName() and projectBaseDir() to the project plugin, so those can be queried from the outside, and the name etc. can be shown there (needed for the 3rd point)

2) it makes the one column of the results tree view use the whole width by setting stretchLastColumn to true, and remove the resizeColumnToContent() call. Personally I like that better.

3) it adds a header to the treewidget which shows "Results in folder <search dir>" or "Result in project <name>" depending on the search mode. A stylesheet is used to make it bold black on white. This feels a bit hardcoded.

I can commit those things also separately.

Alex

  
Kåre Särs
Alexander Neundorf
Kåre Särs
Alexander Neundorf
Review request changed

Status: Closed (submitted)

Loading...