388 Commits

Author SHA1 Message Date
Matthieu Gautier
7a54f2a6ac
Merge pull request #367 from kiwix/wheel-zoom
fix zoom with mouse wheel
2020-02-05 15:26:51 +01:00
luddens
c4a038a5f3 fix zoom with mouse wheel
Mouse event aren't handled by QWebEngineView as related in https://bugreports.qt.io/browse/QTBUG-43602

To make it work for now, it uses a solution of Eike Ziller  http://code.qt.io/cgit/qt-creator/qt-creator.git/tree/src/plugins/help/webenginehelpviewer.cpp
2020-02-05 15:17:31 +01:00
Matthieu Gautier
bb9e6202c4 Fix compilation because of missing method.
The method `getAria2LaunchCmd` doesn't exist in kiwix-lib.
Remove it as it now avoid kiwix-desktop to compile correctly.

Proper message will be displayed correctly when #351 will be merged.
2020-02-05 11:14:36 +01:00
Kelson
336329093d
Github Kiwix Sponsoring page link 2020-02-01 17:55:20 +01:00
Kelson
c2e38b369b
Merge pull request #361 from kiwix/close-tab-from-library
Fixes problems with tab closing
2020-01-28 16:37:48 +01:00
luddens
4874927063 select the tab on the left if the closed tab is the furthest to the right 2020-01-28 16:37:28 +01:00
luddens
0dcbe42346 fix close a tab from library tab
Because the close tab button is now a custom QToolButton, when you press
it from another tab, we have to refer to the cursor position to know the
index of the tab.
2020-01-28 16:37:28 +01:00
Kelson
7536505b0b
Merge pull request #364 from kiwix/dash-title
local kiwix server window title uses short dash as separator
2020-01-28 16:32:28 +01:00
Kelson
5de3717165
Merge pull request #362 from kiwix/new-tab-focus
set the focus on the search bar when opening a new tab
2020-01-28 16:25:57 +01:00
luddens
1c7b900aef set focus on searchbar when opening a tab
the searchbar isn't update if it has the focus
2020-01-28 16:10:47 +01:00
luddens
3831e5f227 local kiwix server window title uses short dash as separator 2020-01-28 15:36:58 +01:00
Kelson
47cc29d31c
Merge pull request #346 from kiwix/menu-icon
bigger menu icon
2020-01-28 11:34:13 +01:00
Kelson
8d84932e22 Remove tabs indentation 2020-01-28 11:33:26 +01:00
luddens
8d6deff541 add more padding 2020-01-28 11:29:09 +01:00
luddens
840e409cec bigger menu icon
apply a custom proxystyle for the menu widget to change the icon size
2020-01-28 11:29:09 +01:00
Kelson
6e25496141
Merge pull request #345 from kiwix/close-tab-button
close tab button style improvement
2020-01-24 14:09:29 +01:00
luddens
944cbf5ac8 close tab button style improvement
bigger icon
background when mouse over it
2020-01-23 16:25:56 +01:00
Kelson
961c972b58
Merge pull request #341 from kiwix/no-newtab-open-with-searchbar
open article from searchbar in the same tab
2020-01-22 16:51:34 +01:00
Matthieu Gautier
8dbd36878e
GitHub action (#354)
GitHub action
2020-01-21 18:34:38 +01:00
Matthieu Gautier
52195218a8 Use github action for the CI. 2020-01-21 18:28:52 +01:00
Matthieu Gautier
4ea267fd59 Display the console on windows.
This will help to debug issue as we will have access to log output.
This should be revert before doing the last release.
2020-01-15 17:17:54 +01:00
Kelson
bc9ddd1945
Merge pull request #340 from kiwix/dont-hide-sidebar
Readinglist doesn't close automatically
2020-01-14 16:08:57 +01:00
luddens
21e1c1145d Sidebar is not hidden if the sidebar displays the readinglist 2020-01-14 16:07:15 +01:00
luddens
e107f2a304 add a getter for the m_currentSideType 2020-01-14 16:07:15 +01:00
Kelson
ca1a597cc8
Merge pull request #349 from kiwix/searchbar-open-completion-fix
fix searchbar that doesn't search after switching from another app
2020-01-14 15:02:35 +01:00
luddens
d92240e3ec fix searchbar that doesn't search after switching from another app
Same problem as this problem https://github.com/kiwix/kiwix-desktop/pull/180

The openCompletion has to be connected every time the searchbar gains the focus.
2020-01-14 14:57:14 +01:00
Kelson
a4844b6aea
Merge pull request #343 from kiwix/close-tab-scroll
closing a tab keeps the scroll position of the right tab
2020-01-14 14:44:31 +01:00
luddens
d7e0fcba59 closing a tab keeps the scroll position of the right tab
QTabBar::setSelectionBehaviorOnRemove seems to reset the scroll position of
the selected tab, set the current index manually keeps it.
2020-01-14 14:39:43 +01:00
Kelson
e7b986285a
Merge pull request #344 from kiwix/new-tab-button
new tab button style improvement
2020-01-14 14:38:15 +01:00
Kelson
89dae6ff5e Use standart colors 2020-01-14 14:37:19 +01:00
luddens
468cba66e3 new tab button style improvement
use an icon instead of a text "+"
add a background when mouse over it
better centered position
2020-01-14 14:28:03 +01:00
Kelson
6242d04288
Merge pull request #336 from kiwix/margin-toolbar-button
add margin for left and right icon in toolbar
2020-01-09 11:06:53 +01:00
luddens
0331edbf17 open article from searchbar in the same tab 2020-01-04 15:55:59 +01:00
luddens
e9420e10c7 add margin for left and right icon in toolbar 2019-12-19 00:41:36 +01:00
Kelson
cae10d9e39
Merge pull request #335 from kiwix/new-donate-shortcut
Donate shortcut is now Ctrl + d
2019-12-17 16:32:32 +01:00
luddens
2d4dcd9d99 Donate shortcut is now Ctrl + d 2019-12-17 16:22:52 +01:00
Kelson
40a9ea894d
Merge pull request #333 from kiwix/title-not-filename
Title not filename
2019-12-15 10:06:30 +01:00
Kelson
a279b8fc21 Title, not File name (label) 2019-12-15 10:05:13 +01:00
Kelson
8628edf393 Remove useless trailing spaces 2019-12-15 10:04:13 +01:00
Kelson
9e3385ecf5 Bump-up to rc3 2.0-rc4 2019-11-26 11:12:39 +01:00
Kelson
0b7c0186c8 Complete Github configuration 2019-11-26 09:40:16 +01:00
Kelson
d479d1bc3c
Remove empty line 2019-11-23 17:49:06 +01:00
Kelson
c3095e3269
Merge pull request #308 from kiwix/download-error
improve download error management
2019-11-22 10:38:19 -05:00
luddens
bc481f56fe improve download error management
Display an error messsage if Download* Downloader::startDownload(const std::string& uri)
fails because aria2 doesn't succeed to start the download.

Display an error message if a download get the "error status".
2019-11-22 16:34:03 +01:00
Kelson
5d0ac476ea Update Changelog 2019-11-22 11:57:07 +01:00
Kelson
71c4db2dd6
Merge pull request #306 from kiwix/remove-inspect-source
Remove view source from context menu
2019-11-21 09:28:06 -05:00
luddens
5fc1861420 remove view source option from context menu 2019-11-21 16:05:22 +02:00
luddens
af46035d58 remove save page option from context menu 2019-11-21 16:01:50 +02:00
Kelson
20494b5f97
Merge pull request #288 from kiwix/zoom-per-zim
Zoom per zim
2019-11-19 23:58:39 -05:00
luddens
c3172c058b save zoom factor per zim
Each time the zoom of a zim is changed, it is saved in the QSettings.

The SettingsManager class has new methods that wrap QSettings method :
- void setSettings(const QString &key, const QVariant &value);
- void deleteSettings(const QString &key);
- bool settingsExists(const QString &key);
- QVariant getSettings(const QString &key);
2019-11-19 18:31:54 +02:00