Commit graph

486 commits

Author SHA1 Message Date
Nicolas Fella e165180bb0 Rework UX for adding digital signature
Currently when adding a signature the user is prompted to specify a
rectangle, then chose a certificate. The problem here is that the
user doesn't know what size is appropriate, so it takes some trial and
error to get something good.

To address this change the flow a bit. First ask which certificate and
other parameters should be used. With that information we create a
signature annotation object and add that to the page. The user can
then move and resize it like any annotation util the size and placement
is right.

Once the user is happy with the placement they click on a Finish Signing
button that then prompts for where to save the signed document and signs
it.

This makes the warning about a too small signature rect redundant since
the user sees that the signature won't fit. It was only an approximation
anyway.

CCBUG: 443403
2024-09-12 14:54:27 +02:00
Albert Astals Cid ffb0abdcf4 Increase soversion of okularcore for the 24.08 release
There where quite a few binary incompatible changes between 24.05 and
24.08

(cherry picked from commit c8704e3e6d)
2024-08-10 12:10:09 +02:00
Albert Astals Cid 06ba51c8fc GIT_SILENT Upgrade release service version to 24.11.70. 2024-07-21 12:34:44 +02:00
Sune Vuorela 40433777fa Move textdocumentsettings to the right place
For some reason, it has been placed in part, but is used by things in
core.

Given it generates a header-only thing, it still works but is weird.
2024-07-09 22:57:36 +00:00
Pratham Gandhi e5900f9a4f created global qobject 2024-06-24 10:39:38 +05:30
Christoph Cullmann 119da9937e add USE_DBUS option
default on for Linux & BSD
2024-06-02 22:20:21 +02:00
Christoph Cullmann 32ba17454a have dbus optional beside on platforms it is useless on
we do now the same handling in most frameworks
2024-05-27 07:49:06 +00:00
Volker Krause ef3db458df Restore the Android APK build 2024-05-02 15:17:39 +00:00
Albert Astals Cid 6439552170 GIT_SILENT Upgrade release service version to 24.07.70. 2024-04-21 12:11:44 +02:00
Julius Künzel a2f90e6183 [macOS] Fix plist file 2024-03-16 15:20:41 +00:00
Julius Künzel fbb0b5de76 Set properties for plist file
Needed for signing, and in general helpful
2024-03-16 12:17:18 +00:00
Sam James 27d0a4737f Add missing deps to CMake
* kitemviews was added in 630269a400.
* kcolorscheme was added in 327d547024 at least
  but it goes back a bit further.
* kwidgetsaddons seems to have been used for quite a while too.

Noticed by checking linked libraries.

Signed-off-by: Sam James <sam@gentoo.org>
2024-03-04 23:28:34 +00:00
Sune Vuorela b38040cd74 Stop looking for jpeg 2024-02-08 23:32:11 +00:00
Sune Vuorela 3dc5ecf86f Reset SOVERSION. We changed the library name 2024-01-23 23:01:39 +00:00
Sune Vuorela 478f6f24fb Also fix compile path 2024-01-12 09:43:16 +01:00
Albert Astals Cid cee17248f9 GIT_SILENT Upgrade release service version to 24.04.70. 2024-01-11 21:17:25 +01:00
Sune Vuorela 55901afcc3 Install parts into the right folder
CCBUG: 479122
2024-01-09 10:10:05 +00:00
Sune Vuorela 8a604d8fe7 Fix android build 2024-01-09 10:09:42 +00:00
Albert Astals Cid 5f417b2dae GIT_SILENT Upgrade release service version to 24.01.90. 2024-01-09 00:27:27 +01:00
Andreas Hartmetz 26f5c4ab2c FORCE_NOT_REQUIRED_DEPENDENCIES is a string(list), not a boolean
option() is for *boolean* options, for which cmake-gui and ccmake
only offer a toggle switch. But it's later treated as (and should
be) a semicolon-separated list of strings, which is just a
convention layered on top of the STRING type. So STRING is the best
we can do, and it's now properly editable in cmake-gui and ccmake.
2024-01-07 20:35:07 +01:00
Sune Vuorela a27aef4332 Bump deprecated since warnings; remove leftover cmakecode 2023-12-18 22:56:22 +00:00
Carl Schwan d10aedaaa5 Properly add include directory for consumers like Kile 2023-12-18 22:56:22 +00:00
Sune Vuorela 422fbdc1b7 Replace Okular5 with Okular6 in cmake config
Install Okular6 target, required for Kile qt6 port
2023-12-18 22:56:22 +00:00
Sune Vuorela 050fa3bd09 Ask for xmlgui on all platforms 2023-12-18 22:56:22 +00:00
Sune Vuorela beff68b7fc Don't look for kwallet on windows 2023-12-18 22:56:22 +00:00
Carl Schwan dd09ce7591 Move find ecm to the top
This fixes the build failures on Android
2023-12-18 22:56:22 +00:00
Carl Schwan ce3af32709 Use KBookMarkWidgets and QtGui::Private::QX11Info in Qt6 2023-12-18 22:56:22 +00:00
Carl Schwan 2f05100dc2 Adapt cmake for library name change for kexiv2 and plasma-activities 2023-12-18 22:56:22 +00:00
Nicolas Fella 98f4267248 Use versionless CMake function 2023-12-18 22:56:22 +00:00
Nicolas Fella c29f0fec54 Switch to kf6 2023-12-18 22:56:22 +00:00
Nicolas Fella 5b0ebb0f4c Don't build CHM for Qt6
It depends on KHTML

No need to look for chm until we start porting the chm generator
2023-12-18 22:56:22 +00:00
Nicolas Fella 30eca3dd96 Don't install kservice files for KF6
They are not relevant there
2023-12-18 22:56:22 +00:00
Nicolas Fella 1510d07a9b Port away from deprecated install dir variable 2023-12-18 22:56:22 +00:00
Sune Vuorela 40cbc59bcf Adapt buildsystem to QtX11Extras change for Qt6 2023-12-18 22:56:22 +00:00
Nicolas Fella c3ee60e0a1 Add missing find_package for QtXml 2023-12-18 22:56:22 +00:00
Sune Vuorela f3be4f1cd3 Hardcode Qt6 2023-12-18 22:56:22 +00:00
Nicolas Fella b1c904bda3 Don't hardcode Qt5
Prepares for using Qt6
2023-12-18 22:56:22 +00:00
Nicolas Fella 44ee48f767 Use KF_REQUIRED_VERSION instead of KF5_REQUIRED_VERSION
Make it agnostic to the major version
2023-12-18 22:56:22 +00:00
Albert Astals Cid 900e5a33c5 GIT_SILENT Upgrade release service version to 24.01.85. 2023-12-18 22:56:45 +01:00
Albert Astals Cid f16064c733 GIT_SILENT Upgrade release service version to 24.01.80. 2023-11-25 00:31:47 +01:00
Albert Astals Cid f43ba1a3c5 GIT_SILENT Upgrade release service version to 24.01.75. 2023-11-07 20:50:17 +01:00
Friedrich W. H. Kossebau 9501f86ddb Deploy ui.rc files as Qt resource
Supported by KXmlGui since 5.4, avoids filesystem I/O.
2023-09-19 21:15:37 +00:00
Albert Astals Cid 7544743c55 As far as I can see we don't use Solid 2023-08-14 21:47:08 +02:00
Sune Vuorela 20209a0aba Remove kio filewidgets in linkage
Looks unused
2023-08-14 16:25:36 +02:00
Sune Vuorela 3eee43ffd8 Don't use private Qt api
Add some more unit testing to expose some bugs in previous implementation and fix those as well.
2023-08-10 23:06:18 +00:00
Shivodit Gill 6cc21aea10 Replace Kirigami.AboutPage with MobileForm.AboutPage for mobile build 2023-08-10 21:18:04 +00:00
Sune Vuorela 185d4be0dc Bump SOVERSION of okularcore
Various bits of refactorings and fixes broke abi, so better ensure it is
reflected in the libraries
2023-08-05 19:53:07 +00:00
Albert Astals Cid 74fad426f2 Fix phonon not being correctly detected 2023-08-03 23:57:04 +02:00
Jeremy Whiting cc80b3d0e3 Convert okular_part.desktop to okular_part.json and use it.
Also fixed the deprecation warning in the generator plugins.
Thanks to Alexander Lohnau
2023-07-23 17:16:07 +00:00
Sune Vuorela 720e08220d Allow dbus to be disabled
In certain usecases, especially for non-linux desktop builds, the
advantage of of dbus is often limited. Provide a way to disable
building with dbus.

Note that this also disables the related functionalities of having a
second okular launch open the document in the first okular.

This also disables the unit tests that tests those features.
2023-07-18 07:53:42 +00:00