Albert Astals Cid
19b7e3c112
The work in this branch was sponsored by LiMux
...
give them some credit in the headers
8 years ago
Albert Astals Cid
c14fbe5eb6
Remove SaveAsDontShowWarning
...
It was only used in tests as a way to "hide" warning dialogs, now we have a proper way to
close them, this way we make sure that dialogs are should when they should not not when they should not
9 years ago
Albert Astals Cid
b2673a58b1
When saving a file that had password we will reload it
...
Also tweak error messages a bit
9 years ago
Kevin Ottens
a5da013a4d
Add a "share" menu to Okular
...
Summary: This is implemented using the Purpose framework.
BUG: 173896
Reviewers: aacid
Subscribers: #okular
Tags: #okular
Differential Revision: https://phabricator.kde.org/D8244
9 years ago
Alexey Demennikov
a57ffdbd95
added the "remove this bookmark" to bookmarks section
...
Summary:
**FEATURE**: 357626
Remove bookmark from popup menu added
Reviewers: #okular, aacid
Reviewed By: #okular, aacid
Subscribers: aacid
Tags: #okular
Differential Revision: https://phabricator.kde.org/D7848
9 years ago
Albert Astals Cid
a6aea95608
Do not start reloading again if we're reloading
...
If you press and hold F5 we try to reload multiple times, which isn't a nice idea, let's finish one before starting the next
9 years ago
Albert Astals Cid
8ca27ef393
Fix crash when closing
...
Unregister the part dbus object when it gets destroyed
Also fixes a crash if you try to inspect okular with qdbusviewer after having closed the a part/tab
BUGS: 384142
9 years ago
Albert Astals Cid
3672c3222f
Compile++
...
Meh me for not compiling after doing a minor change
9 years ago
Gilbert Assaf
a2aceadc13
Allow to create bookmarks from the TOC
...
BUGS: 190203
REVIEWS: 129999
9 years ago
Albert Astals Cid
191a37fb52
Q_DECL_OVERRIDE -> override
9 years ago
Aleix Pol
c75a2e52d9
Make context menu on a bookmark menu action work again
...
Solves a todo from porting to kf5
Reviewed by Albert Astals
10 years ago
Olivier CHURLAUD
741c616c7a
Port most of part.cpp out of KDELibsSupport
...
minor: Change header cases : <qicon.h> becomes <QIcon>
10 years ago
Martin T. H. Sandsmark
c8e3c0eb01
Port part away from deprecated KArchive methods
10 years ago
Martin T. H. Sandsmark
48d52d9bd1
Add missing override declarations
10 years ago
Martin T. H. Sandsmark
439ced872d
Port away from signal/slot keyword
...
When building okular without kdelibs4support it apparently builds with
-DQT_NO_SIGNALS_SLOTS_KEYWORDS.
10 years ago
Albert Astals Cid
ce7f81fc06
Make the sidebar work on widget pointers and not ints
...
This way we don't need to worry if we add more widgets in the middle
11 years ago
Albert Astals Cid
d8f9800d28
Make the drawing tools be actions instead of tool buttons
...
3 benefits:
* We can set the shortcut in the edit shortcuts dialog as before
* Shortcuts can be activated without showing the topbar as before
* Drawing in the toppbar is exactly as the other actions
11 years ago
Montel Laurent
014b712359
Use explicit. Q_DECL_OVERRIDE
11 years ago
Saheb Preet Singh
bf673495fb
added layers on the left sidebar
11 years ago
Saheb Preet Singh
1eafe4feb1
New shortcut to resize window to fit page
...
FIXED-IN: KDE Applications 15.08
BUGS: 326844
REVIEW: 115283
11 years ago
Jonathan Doman
1cfb007b63
Fix session restore/save with multiple tabs
...
BUGS: 335852
REVIEW: 122570
11 years ago
Lukáš Tinkl
fd6a35486e
port KUrl -> QUrl
11 years ago
Montel Laurent
5da7c5f77d
port to qCDebug. Autogenerate export headers
12 years ago
Frederik Gladhorn
3581fb6245
Port to QTemporaryFile
12 years ago
Frederik Gladhorn
e28dbc6c00
Port to QMime
...
compressedMimeFor now already does the inheritance check, so another
check was removed.
12 years ago
Fabio D'Urso
8a1acdcd6a
Non-blocking docdata/ migration message
12 years ago
Fabio D'Urso
ba9491bccd
Save dialog: use .okular as default format if there's data that can't be saved natively
12 years ago
Fabio D'Urso
4cfea5e4c4
Added test to check save to native and to .okular features
12 years ago
Albert Astals Cid
fba90677fc
Fine tune mime type detection used for opening files
...
If the argument mimetype and filepath mimetype disagree, first try to use the filepath mimetype and if that fails use the argument one. On top of that if text/plain is the first, first try with content mimetype since the text backend never fails to open a file
I can now open https://bugs.freedesktop.org/attachment.cgi?id=99508 (which is served as text/plain) and PS files with .txt extension (bug 325044)
REVIEW: 119737
BUGS: 325044
FIXED-IN: 4.14.0
12 years ago
Vishesh Handa
46cf7e46a5
Port away from KUrl::List
12 years ago
Vishesh Handa
077689c4d3
Port KAction and KMenu
12 years ago
Frederik Gladhorn
08840a9168
Remove old KPart factory
12 years ago
Frederik Gladhorn
ac15a7075e
More QUrl porting
12 years ago
Frederik Gladhorn
0c7a45c7a5
Disable lots of stuff and compile
...
The text generator is the only one compiled now.
This version links for me but then doesn't find its KPart on startup.
TTS has been completely disabled as well as some other things like the
about dialog.
12 years ago
Frederik Gladhorn
96b0e27c44
QAction, more includes fixed
12 years ago
Frederik Gladhorn
4ce837a7ac
Qt5 porting
12 years ago
Fabio D'Urso
6691401ea6
Fix file swapping after saving to a remote URL
12 years ago
Fabio D'Urso
68d5f0af89
Better error handling (ie avoid inconsistencies) in case of reload/swapping errors
12 years ago
Fabio D'Urso
43a3756e1c
Hot-swap backing file instead of reloading (if the generator supports it)
12 years ago
Fabio D'Urso
005cf7f082
Load new file instead of the old one after Save As
12 years ago
Fabio D'Urso
3bae3c289f
Removed parent directory check on KDirWatch, handling created() and deleted() is enough
12 years ago
Fabio D'Urso
0ea9625765
Save action implemented
12 years ago
Fabio D'Urso
a20afdff7d
"Save Copy As" removed, make it possible to create .okular files with "Save As"
12 years ago
Luigi Toscano
69459e742a
Redirect error and warning signals to a KMessageWidget
...
Those two categories are usually longer messages and more
important, so more fit for a (new) KMessageWidget; simple
notice signals still go to PageViewMessage into PageView.
A more general review of all the messages should be probably
performed in order to assign proper categories to them.
Reviewed by: Albert Astal Cid
12 years ago
Luigi Toscano
56c101833f
Remove PageViewTopMessage, use KMessageWidget instead
...
Acked by Albert Astal Cid
12 years ago
Jonathan Doman
89fd56c23b
Launch documents from external sources in new tabs
...
FIXED-IN: 4.13.0
BUGS: 331872
BUGS: 332238
REVIEW: 116700
12 years ago
Montel Laurent
7b79ca1b36
Pedentic--
12 years ago
Albert Astals Cid
7681cdf004
Move the open new files in tabs setting to configure dialog
...
Also make it non enabled by default for now
GUI
BUGS: 155515
12 years ago
Jonathan Doman
0a982319f4
Tabbed interface
...
GUI
BUGS: 155515
REVIEW: 110914
12 years ago
Albert Astals Cid
ea8316960e
Revert the test, it's broken
13 years ago