luddens
870dba20b0
add the possibility to set the download path in the settings
...
New field "download path" in the settings page.
To start a download it now uses the download path stored in the settings. Use the new api
of https://github.com/kiwix/kiwix-lib/pull/310 to work.
2020-03-03 15:27:17 +01:00
Kelson
425fa3436b
Merge pull request #375 from kiwix/searchbar-focus-out-restore-title
...
Restore the title tab when searchbar loses focus
2020-02-26 12:23:42 +01:00
luddens
1f07d8b75f
restore the title tab when searchbar loses focus
...
reimplement QLineEdit::focusInEvent(QFocusEvent* event)
use setReadOnly method to display/hide blinking cursor
2020-02-26 12:19:35 +01:00
Kelson
a4450d9181
Merge pull request #378 from kiwix/newtab-emptytab
...
remove useless variables
2020-02-19 15:49:00 +01:00
luddens
6bd4646e1a
remove useless variables
2020-02-19 15:25:27 +01:00
Matthieu Gautier
4fb9e917b6
Merge pull request #351 from kiwix/aria2-error
...
Aria2 crash fix
2020-02-19 14:40:43 +01:00
luddens
cf3f699dc2
error handling when mp_downloader doesn't exist
2020-02-19 14:20:56 +01:00
luddens
a774d90256
display aria2 launch cmd that doesn't crash
...
The program crashes because it tries to use mp_downloader->getAria2LaunchCmd()
but the mp_downloader is null if the aria2 launch command fail.
Now the program displays an error message to warn users that all download fct will not working.
This PR https://github.com/kiwix/kiwix-lib/pull/306 is needed in order to display the aria2 launch cmd
2020-02-19 14:20:56 +01:00
jetownfeve21
a9a299c8ad
change library icon ( #377 )
2020-02-19 08:33:02 +01:00
jetownfeve21
9beba77625
set a default filename to the filepicker ( #376 )
...
Note: in Qt 5.14
this method QString QWebEngineDownloadItem::downloadFileName() const
gives directly the filename
2020-02-18 08:44:13 +01:00
jetownfeve21
113fa261eb
new tab action opens an empty tab ( #374 )
2020-02-18 08:19:13 +01:00
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