reimplement the contextMenuEvent : if the link hovered is an external link
it removes from the standard context menu the "openLinkinNewTab" action and
and add the "open link in web browser"
Update a bit the "about.html" text to not split sentences in several parts
and allow translator to translate the whole sentence at once.
Change the template format to use `{{}}` to be closer than mustache
templating system we already use in kiwix-lib.
Fix#399
`GIT_VERSION` and `BUILD_DATE` are only displayed to the user.
It was useful pre-release to identify the exact version of the build in
bug report.
Now than, we are now releasing kiwix-desktop, we don't need the
`BUILD_DATE` and we must use the exact version instead of the git version.
Fix#476
- add a delay before searching suggestions
A timer of 100ms is started each time the text is edited, if the timer
time-outs the suggestion's search is executed.
- foreach search a worker with a token is launched in another thread
Once the search is done, the worker sends the suggestions list and the corresponding urls list to the main thread.
if the token of the worker matches with the last token used, the main thread displays the suggestions.
The ContentTypeFilter Class is a custom QCheckBox.
These are stored in a QList that is sended to the ContentManager each time they are clicked.
The ContentManager sets the acceptedTags according to the state of the ContentTypeFilters
The "All" button resets the filters
Qt is aware about this problem on Windows and provide a workaround :
the function QWindowsWindowFunctions::setHasBorderInFullScreen simulate a fullscreen mode by
displaying the app on the entire screen but add a small border.
Move categories list in `static_content.cpp`
We use two "string" to handle each category. The first one is the
tag to use to do the opds request. The second one is the one displayed to
the user. The later is translatable.
The list is taken from issue kiwix/kiwix-tools#317
Fix#193