lp:~adamreichold/qpdfview/extend-search-dock2
Created by
Adam Reichold
and last modified
- Get this branch:
- bzr branch lp:~adamreichold/qpdfview/extend-search-dock2
Only
Adam Reichold
can upload to this branch. If you are
Adam Reichold
please log in for upload directions.
Branch merges
Propose for merging
No branches
dependent on this one.
- Razi Alavizadeh: Approve
-
Diff: 351 lines (+82/-137)4 files modifiedsources/mainwindow.cpp (+7/-13)
sources/miscellaneous.cpp (+60/-101)
sources/miscellaneous.h (+8/-14)
sources/searchmodel.cpp (+7/-9)
Branch information
Recent revisions
- 1709. By Adam Reichold <email address hidden>
-
Painting a page number using the search delegate is overkill.
- 1708. By Adam Reichold <email address hidden>
-
Try to reduce the amount of boiler-plate code in the search delegate.
Since we do all the layout for each item anyway, there is no need to store these objects as members.
Hence there is no need for mutable members and we also do not need to layout several lines if we only ever paint the first one. - 1707. By Adam Reichold <email address hidden>
-
Fix compilation issues caused by the qHash(QPair) overload being preferred over the more specific result overload.
- 1704. By Razi Alavizadeh
-
Some improvements related to the new search dock:
1- Better performance by disabling update on view and removing connection to verticalHeader sectionCountChanged.
2- Correct width for page column.
3- Use beginResetModel() and endResetModel() within SearchModel::clear( )
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:qpdfview