Alexander Sashnov
921615c970
Localize MainWindow inner-children connections
...
Move 'connect()' call from KiwixApp to MainWindow
because MainWindow should be responsible for connecting
its children between each other.
2022-01-29 02:50:02 +07:00
Alexander Sashnov
fd90eb8fe1
Drop 'KiwixApp::currentTitleChanged()' signal
...
When TabBar emits currentTitleChanged(), its only affects
other children of MainWindow: TopWidget and SearchBar.
So it makes the code more manageble if this knowledge
is local to MainWindow only.
2022-01-29 02:50:02 +07:00
Alexander Sashnov
60571e685d
Drop extra '#include'
2022-01-29 02:49:56 +07:00
Alexander Sashnov
bba53bc098
Don't emit TabBar's signal from outside
...
According to Qt QObject manual only an QObject itself should emit
their signal, indicating its internal state has changed.
Calling emit on others' signal is a bad practice.
References: #540
2022-01-29 02:49:29 +07:00
Alexander Sashnov
73470864b2
Make 'TabBar::onCurrentChanged()' slot private
2022-01-29 02:49:29 +07:00
Alexander Sashnov
5e7b856f72
Drop redundant Kiwixapp::mp_tabWidget pointer
...
No need to story what can be easily get.
2022-01-29 02:49:15 +07:00
Kelson
6ac401c1f0
Merge pull request #772 from kiwix/translatewiki
2022-01-27 22:18:31 +01:00
translatewiki.net
947781ccbc
Localisation updates from https://translatewiki.net .
2022-01-27 13:05:42 +01:00
Kelson
f17932080e
Merge pull request #771 from kiwix/legoktm-patch-1
2022-01-24 06:43:04 +01:00
Kunal Mehta
64b530ec65
PPA: Fix libkiwix-dev dependency
...
Our libkiwix packages are "10.0.0~focal" but the ~ means that "10.0.0" is greater than
"10.0.0~focal" so the dependency can't be satisfied. Depending on "10.0.0~" will
allow "10.0.0~focal" to satisfy the dependency.
2022-01-23 20:32:35 -08:00
Kelson
979e76a5a9
Merge pull request #769 from kiwix/countFix
...
Use count = -1 for displaying all books
2022-01-21 18:05:56 +01:00
Nikhil Tanwar
93310c65b2
Use count = -1 for displaying all books
...
This changes count from 0 to -1 due to recent changes in libkiwix.
2022-01-21 20:34:46 +05:30
Kelson
4de240fc5e
Merge pull request #768 from amire80/open
...
Fix verb tense in an English message
2022-01-21 14:58:24 +01:00
Amir E. Aharoni
6f53261e77
Fix verb tense in an English message
2022-01-21 13:23:26 +02:00
Matthieu Gautier
2a612422e7
Merge pull request #766 from kiwix/version_2.1.0
2.1.0
2022-01-20 14:53:20 +01:00
Matthieu Gautier
8dc1984f0b
Check for the version of kiwix and libzim.
2022-01-20 14:38:59 +01:00
Matthieu Gautier
7f5fe877f9
New version 2.1.0
2022-01-20 14:38:59 +01:00
Matthieu Gautier
28422b5159
Update resources/translations.qrc
2022-01-20 14:38:59 +01:00
Matthieu Gautier
9bfc411cdf
Make generation script always use relative path in the qrc file.
2022-01-20 14:38:59 +01:00
Kelson
3f2f750109
Merge pull request #767 from kiwix/translatewiki
...
Localisation updates from https://translatewiki.net .
2022-01-20 13:16:33 +01:00
translatewiki.net
2e2c519d9c
Localisation updates from https://translatewiki.net .
2022-01-20 13:05:49 +01:00
Matthieu Gautier
fe588daf86
Merge pull request #760 from kiwix/fileHandle
2022-01-19 20:45:47 +01:00
Nikhil Tanwar
90afbf3f92
Update showMessage()
...
This removes the previous default error message.
KiwixApp::showMessage() now accepts title, text and MessageBox icon
2022-01-19 20:08:06 +01:00
Nikhil Tanwar
f14d633fd3
Add check to not open zim file (from command line arguments) if it is invalid
2022-01-19 20:08:06 +01:00
Nikhil Tanwar
60effd4c84
Add exception handling for book modification while kiwix-desktop is running
...
A message box is shown if the file couldn't be opened and the entry is removed from library.
2022-01-19 20:08:06 +01:00
Kelson
8107d2267a
Merge pull request #765 from kiwix/settingsFix
...
Emit TabBar::libraryPageDisplayed(false) when creating settings view
2022-01-17 09:52:16 +01:00
Nikhil Tanwar
d5f5c66528
Emit TabBar::libraryPageDisplayed(false) when creating settings view
2022-01-17 13:43:52 +05:30
Kelson
0bf67a99b8
Merge pull request #746 from kiwix/illimitate_kiwixapp_SideBarType_property
...
Code clean up: illiminate KiwixApp::SideBarType property
2022-01-12 16:56:53 +01:00
Alexander Sashnov
5d0f1bd096
Code clean up: illiminate KiwixApp::SideBarType property
...
Switching sidebar between reading list and library is
only MainWindow responsibility.
KiwixApp and Tabbar are not involved in it anymore.
2022-01-12 16:14:32 +01:00
Kelson
f4f3d6914e
Merge pull request #762 from kiwix/525-use-svg-app-icon-under-Linux
...
Fixes #525 Kiwix icon low resolution
2022-01-12 09:17:54 +01:00
Alexander Sashnov
9bb32e19f1
Fixes #525 Kiwix icon low resolution
...
Set white background to kiwix-desktop.svg, include it into .deb
2022-01-12 14:46:54 +07:00
translatewiki.net
0fae1eb3ad
Localisation updates from https://translatewiki.net . ( #761 )
2022-01-06 16:48:27 +01:00
Kelson
789dfd568c
Merge pull request #735 from kiwix/moreIPChoices
...
Add server IP Chooser
2022-01-05 15:22:21 +01:00
Nikhil Tanwar
d365acfc5a
Change entry "0.0.0.0" to "All"
...
For better user experience
2022-01-05 17:51:25 +05:30
Nikhil Tanwar
7f7bc5c017
Make naming consistent for kiwix server ip address
2022-01-05 17:41:41 +05:30
Nikhil Tanwar
cf259313f2
Do not allow 0 as port value
...
Use default port if there is no value
2022-01-05 17:41:41 +05:30
Nikhil Tanwar
8c962f151d
Do not allow values higher than 65535 as port number
2022-01-05 17:41:41 +05:30
Nikhil Tanwar
ea1a1379cd
Change default port to 8080
2022-01-05 17:41:41 +05:30
Nikhil Tanwar
cae216feeb
Add IP Address to local settings and make IP Addresses in Combobox sorted
2022-01-05 17:41:41 +05:30
Nikhil Tanwar
11d6641415
Better UI for local server and make http URL read-only
2022-01-05 17:41:41 +05:30
Nikhil Tanwar
1336aacc2e
Drop parameter port from SettingsView::init
2022-01-05 17:41:41 +05:30
Nikhil Tanwar
4981d41270
Use kiwix::getNetworkInterfaces from kiwix/tools.h
2022-01-05 17:41:41 +05:30
Nikhil Tanwar
f4b0a1a4cc
Remove port option from settings panel
...
Allow port settings to be changed from local server dialog
2022-01-05 17:41:41 +05:30
Nikhil Tanwar
93edcbd41b
Add logic for allowing user to choose Ip and port.
2022-01-05 17:41:41 +05:30
Nikhil Tanwar
a9c65222c7
Add basic layout for IP Chooser
2022-01-05 17:41:41 +05:30
Kelson
ff59e975ef
Merge pull request #759 from kiwix/better_version
...
Better (with dependences version) --version
2022-01-03 19:13:08 +01:00
Emmanuel Engelhart
cc5cef3b48
Better (with dependences version) --version
2022-01-03 14:10:07 +01:00
translatewiki.net
2875b52ae6
Localisation updates from https://translatewiki.net . ( #740 )
2021-12-20 13:17:09 +01:00
Kelson
98cdf7554e
Merge pull request #750 from kiwix/legoktm-patch-1
...
PPA: Reinstate Ubuntu Impish, add Jammy
2021-12-20 07:56:54 +01:00
Kunal Mehta
0377812ba7
PPA: Reinstate Ubuntu Impish, add Jammy
2021-12-19 16:49:36 -08:00