Matthieu Gautier
235b82166e
Add a bit of styling.
...
Still need a lot of works
2018-10-17 14:47:09 +02:00
Matthieu Gautier
7a83a1038d
Handle downloading of remote books.
2018-10-17 11:16:57 +02:00
Matthieu Gautier
2923b19478
Display the size of the zim book in the contentManager.
2018-10-17 11:10:17 +02:00
Matthieu Gautier
f39254a6f1
Move the creation of a dict from a list of values in a specific function.
2018-10-17 11:01:27 +02:00
Matthieu Gautier
9ce41c06af
Open book from the contentManager.
2018-10-17 11:01:21 +02:00
Matthieu Gautier
a6f8bbd6e5
Add a first version of the contentManager.
2018-10-17 11:00:09 +02:00
Matthieu Gautier
d294b16a12
Run lupdate and lrelease only on linux.
...
system cannot run on windows.
2.0-alpha3
2018-09-05 17:54:00 +02:00
Matthieu Gautier
30520fd1aa
Merge pull request #25 from Ordissimo/master
2018-09-05 16:06:08 +02:00
Matthieu Gautier
bf8fab75d8
Add a translation for texts/about.html
.
2018-09-05 16:05:03 +02:00
Matthieu Gautier
457d9aafef
Update translations.
2018-09-05 16:05:03 +02:00
Matthieu Gautier
d37cdd6e2d
Do not use QObject::tr
but directly tr
.
...
It simplify the code and allow the translation to keep the context
(the class of the object) instead of always having the `QObject` context.
2018-09-05 16:05:03 +02:00
Matthieu Gautier
171a307a7b
Uniform the way we are loading translation files.
...
It is better to have the same mechanism to load the file instead of one
time using `load` method to find the right file and one time using the
resources system overloading the resource file.
2018-09-05 15:37:53 +02:00
Matthieu Gautier
2304987bcf
Make the QTranslator members of KiwixApp.
...
If we pass their address to `installTranslator` we have to be sure they
exist after we quit the constructor.
2018-09-05 15:35:21 +02:00
Thierry
0c6cdc4ac4
Update translations
2018-09-04 17:52:02 +02:00
Thierry
594ec51110
Return of the maintenair
2018-09-04 17:52:02 +02:00
Thierry
75be2c9311
Partial functioning of translations
2018-09-04 17:51:20 +02:00
Thierry
3d930e5bd8
Add build locale.
2018-09-04 17:51:20 +02:00
Thierry
b71fc67032
Added translation mechanism, and added French translation.
2018-09-04 17:51:20 +02:00
Matthieu Gautier
6097c0fe99
Implement search in page actions.
...
- Create a TOCSideBar (name TOC because it will also show TOC)
- Remove `FindNextAction` and `FindPreviousAction`. They are handle
directly by a button in the sidebar.
2018-09-04 17:27:58 +02:00
Matthieu Gautier
67f2d1f067
Implement zoom action.
2018-09-03 16:12:25 +02:00
Matthieu Gautier
089a1753eb
[About message] Add a link to report bugs in the about message.
...
Fix #23
2.0-alpha2
2018-08-21 17:32:39 +02:00
Matthieu Gautier
19c991f8a9
[About message] fix typos
2018-08-21 17:32:04 +02:00
Matthieu Gautier
502154ac3d
Hide donateAction.
2.0-alpha
2018-08-03 17:28:56 +02:00
Matthieu Gautier
ae155063a5
Add missing ;
at end of Categories.
2018-08-03 14:21:03 +02:00
Matthieu Gautier
1554b90a2e
Hide ReopenClosedTabAction and SettingAction.
...
We will not implement them for the alpha.
2018-08-03 14:20:47 +02:00
Matthieu Gautier
48aa87fb48
Display the kiwix version in the about dialog.
2018-08-02 19:26:54 +02:00
Matthieu Gautier
5824083382
Connect the AboutAction.
...
Show the about dialog when action is triggered.
2018-08-02 17:59:38 +02:00
Matthieu Gautier
76214e6f53
Add an about dialog.
2018-08-02 17:57:31 +02:00
Matthieu Gautier
96b23c5c1e
Connect the toggleFullScreen action.
...
The topwidget now use the application's action instead of having
two different action.
2018-08-02 17:24:32 +02:00
Matthieu Gautier
dfc0a454ab
Convert filepath to utf8.
...
Let's move to http://utf8everywhere.org/
2018-07-31 20:09:54 +02:00
Matthieu Gautier
07e80eefa5
Open external links in the system browser.
2018-07-27 18:33:59 +02:00
Matthieu Gautier
7900c1a4e1
Fix some crash when no tab is opened.
2018-07-26 14:50:32 +02:00
Matthieu Gautier
f8c6f18c0a
Connect RandomArticleAction.
2018-07-26 14:49:33 +02:00
Matthieu Gautier
15f1492d96
Connect PrintAction.
...
This display a dialog to select the printer and its options.
The dialog is awful because it reuses the application stylesheet
but it works.
2018-07-26 13:47:05 +02:00
Matthieu Gautier
d2e32dbf79
We should use the zimId as host in search.
...
Fix bug instroduced with 7408bb0a
2018-07-26 10:41:05 +02:00
Matthieu Gautier
7fa49479a9
Correctly check the index with -1
not 1
.
...
If `index == -1`, it means there is no more tab opened.
2018-07-25 17:34:14 +02:00
Matthieu Gautier
2ec1beb103
Connect OpenFileAction.
2018-07-25 17:30:32 +02:00
Matthieu Gautier
52f6b03da2
Connect closeTabAction.
2018-07-25 17:19:57 +02:00
Matthieu Gautier
0806faeb99
Connect NewTabAction.
2018-07-25 17:18:11 +02:00
Matthieu Gautier
2743568cef
Connect ExitAction
2018-07-25 17:10:36 +02:00
Matthieu Gautier
61e566e318
Fix style of icon size of tabBar
2018-07-25 17:02:53 +02:00
Matthieu Gautier
60405d533a
Style the menu.
2018-07-25 17:02:32 +02:00
Matthieu Gautier
6f8b1ab7b4
Add a menu.
...
All action of the menu are created but none is associated with an action.
Actions needed for the alpha are disabled.
Actions not needed for the alpha are hidden.
2018-07-25 17:02:13 +02:00
Matthieu Gautier
7b7f432f8b
Customize the searchBar using the css
...
- Use a the css to display the icon.
- Update the search.svg icon to be 40px wide.
- No need to have a custom paintEvent method.
2018-07-24 17:28:32 +02:00
Matthieu Gautier
28fff443ed
Remove the margin around the centralWidget.
2018-07-24 17:25:11 +02:00
Matthieu Gautier
fea60dca50
Add a custom CSS.
...
This basic CSS is a first attempt to have our custom style.
We use the "Windows" style as base as it is the closest of our style.
2018-07-24 17:24:51 +02:00
Matthieu Gautier
7408bb0a65
Do not use deprecated kiwix-lib method.
2018-07-23 15:48:48 +02:00
Matthieu Gautier
e35d42bcfd
Add a property currentZimId to the TabWidget.
2018-07-23 15:48:47 +02:00
Matthieu Gautier
b3fbeccfbc
Add a property zimId in the WebView.
2018-07-23 15:48:08 +02:00
Matthieu Gautier
5e80464128
Method of tabWidget changing a webView work by default on current webView.
2018-07-23 15:48:06 +02:00