Commit Graph

2293 Commits

Author SHA1 Message Date
Luis Ángel San Martín
ec77afade7 Fixed compilation after rebase 2020-04-07 18:11:40 +02:00
Luis Ángel San Martín
f945c6c5ca Update files format with clang-format 2020-04-07 18:11:40 +02:00
Luis Ángel San Martín
732ea7ecac Use svg icons in the default main toolbar 2020-04-07 18:11:40 +02:00
Luis Ángel San Martín
a1f1cca3b3 Fir variable initialization in macos 2020-04-07 18:11:40 +02:00
Luis Ángel San Martín
a583242f1d Fix search edit 2020-04-07 18:11:39 +02:00
Luis Ángel San Martín
557ae1c63c Fix warning 2020-04-07 18:11:39 +02:00
Luis Ángel San Martín
bb857272e1 Add a setting for showing/hiding the current comic banner. 2020-04-07 18:11:39 +02:00
Luis Ángel San Martín
c943dd205f Use theme in the main window. 2020-04-07 18:11:39 +02:00
Luis Ángel San Martín
8881ef885d Fix nullptr crash. 2020-04-07 18:11:39 +02:00
Luis Ángel San Martín
7ce05f71c2 Remove check based on the os instead of theme. 2020-04-07 18:11:38 +02:00
Luis Ángel San Martín
78c1b56083 Use theme in the comics table view. 2020-04-07 18:11:38 +02:00
Luis Ángel San Martín
7048ae275a Use theme in tree view. 2020-04-07 18:11:38 +02:00
Luis Ángel San Martín
36e76d28e8 Use theme in grids comic view. 2020-04-07 18:11:38 +02:00
Luis Ángel San Martín
ac0aa6ded5 Use theme as the color source for the completed decoration. 2020-04-07 18:11:38 +02:00
Luis Ángel San Martín
58facbe744 Use theme in titled toolbar. 2020-04-07 18:11:37 +02:00
Luis Ángel San Martín
cc73b27388 Use theme in the sidebar. 2020-04-07 18:11:37 +02:00
Luis Ángel San Martín
b91186a708 Extracted EmptyFolderWidget style to theme. 2020-04-07 18:11:37 +02:00
Luis Ángel San Martín
3d2c25aadb Replace old app icons with newer svg versions 2020-04-07 18:11:37 +02:00
Luis Ángel San Martín
4a5e7b078e Remove lots of unused images. 2020-04-07 18:11:37 +02:00
Luis Ángel San Martín
f090e5483b Remove unused code and images. 2020-04-07 18:11:36 +02:00
Luis Ángel San Martín
17f467994f Create dialogs before setting up the layout. 2020-04-07 18:11:36 +02:00
Luis Ángel San Martín
61ac25bb7b Fix full screen button show/hide depending on the theme. 2020-04-07 18:11:36 +02:00
Luis Ángel San Martín
e7922a0e51 Implement a way for setting the title in the main toolbar. 2020-04-07 18:11:36 +02:00
Luis Ángel San Martín
ca5096fba4 Use the new toolbar and search edit.
This enables the use of the any of the supported toolbars in macos.
2020-04-07 18:11:35 +02:00
Luis Ángel San Martín
9321e94c78 No need to customize YACReaderSearchLineEdit.
This is going to be always the default custom widget.
2020-04-07 18:11:35 +02:00
Luis Ángel San Martín
965e8be2fe Show the full screen button only if it has actions assigned. 2020-04-07 18:11:35 +02:00
Luis Ángel San Martín
655cdc619e Create wrappers for the search edit and the main toolbar.
So we can hide native implementations from classes using these elements.
2020-04-07 18:11:35 +02:00
Luis Ángel San Martín
00f8adfa54 Update theme to include full screen action configuration. 2020-04-07 18:11:35 +02:00
Luis Ángel San Martín
176565d78c Use the native macos toolbar depending on the theme. 2020-04-07 18:11:35 +02:00
Luis Ángel San Martín
a3024a1bee Extract to theme no comics widgets style. 2020-04-07 18:11:34 +02:00
Luis Ángel San Martín
d2c92c0c2d Use theme for choosing the right folder icon in reading lists. 2020-04-07 18:11:34 +02:00
Luis Ángel San Martín
797d7aa723 Control via themes when do we have to use native icons for folders. 2020-04-07 18:11:34 +02:00
Luis Ángel San Martín
4216717d07 Remove unused code. 2020-04-07 18:11:34 +02:00
Luis Ángel San Martín
c0be631767 Remove commented code. 2020-04-07 18:11:34 +02:00
Luis Ángel San Martín
27fc03b9f1 Spacing. 2020-04-07 18:11:33 +02:00
Luis Ángel San Martín
52f17842c8 Use theme for styling item libraries. 2020-04-07 18:11:33 +02:00
Luis Ángel San Martín
8a003dbfa8 Add new them properties to store specific styles for library items. 2020-04-07 18:11:33 +02:00
Luis Ángel San Martín
f504c83436 Remove fix macos specific image loading for retina. 2020-04-07 18:11:33 +02:00
Luis Ángel San Martín
afdd96c2e0 Use the theme property. 2020-04-07 18:11:32 +02:00
Luis Ángel San Martín
0eebc9af92 Keep the current theme in LibraryWindow and pass it when needed. 2020-04-07 18:11:32 +02:00
Luis Ángel San Martín
7f30709920 Fix ClassicComicsView instantiation. 2020-04-07 18:11:32 +02:00
Luis Ángel San Martín
f808fcfe2e Inject a theme to the comics view manager. 2020-04-07 18:11:32 +02:00
Luis Ángel San Martín
365bf451b1 Replace include. 2020-04-07 18:11:32 +02:00
Luis Ángel San Martín
0830958283 Return the theme from the factory method. 2020-04-07 18:11:31 +02:00
Luis Ángel San Martín
deb1971bc9 Add a theme class to store all the custom UI values used in the code.
It will need a setting for selecting the theme in the factory method.
2020-04-07 18:11:31 +02:00
Luis Ángel San Martín
53fcc52dd6 Inject ComicsViewTransition background color as a string. 2020-04-07 18:11:31 +02:00
Luis Ángel San Martín
730436c3e9 Inject disable collapsing setting into ClassicComicsView. 2020-04-07 18:11:31 +02:00
Jeremy Douglass
15c126fda5
Enable unarr 7z support. Closes #113 (#115)
* Enable unarr 7z support. Closes #113
2020-02-12 08:38:03 +01:00
Jan Beich
65a77daa75 Explicitly include <sys/socket.h>
server_config_dialog.cpp:57:30: error: member access into incomplete type 'struct sockaddr'
            if (ifa->ifa_addr->sa_family == AF_INET) { // check it is IP4
                             ^
/usr/local/include/qt5/QtNetwork/qhostaddress.h:50:8: note: forward declaration of 'sockaddr'
struct sockaddr;
       ^
server_config_dialog.cpp:61:27: error: use of undeclared identifier 'AF_INET'
                inet_ntop(AF_INET, tmpAddrPtr, addressBuffer, INET_ADDRSTRLEN);
                          ^
server_config_dialog.cpp:64:37: error: member access into incomplete type 'struct sockaddr'
            } else if (ifa->ifa_addr->sa_family == AF_INET6) { // check it is IP6
                                    ^
/usr/local/include/qt5/QtNetwork/qhostaddress.h:50:8: note: forward declaration of 'sockaddr'
struct sockaddr;
       ^
server_config_dialog.cpp:68:27: error: use of undeclared identifier 'AF_INET6'
                inet_ntop(AF_INET6, tmpAddrPtr, addressBuffer, INET6_ADDRSTRLEN);
                          ^
2019-11-26 19:03:34 +00:00
Felix Kauselmann
27f52df15c Azure Pipelines: Fix path environment 2019-11-20 15:57:35 +00:00