Commit graph

21 commits

Author SHA1 Message Date
Albert Astals Cid 19d98d6a74 Run clang-format
find . \( -name "*.cpp" -or -name "*.h"  -or -name "*.c"  -or -name "*.cc" \) -exec clang-format -i {} \;

If you reached this file doing a git blame, please see README.clang-format (added 2 commits in the future of this one)
2020-07-11 09:17:33 +02:00
Andi Sardina Ramos d735d50cde Give the option of switching to a tab if the file is already open instead of opening a new tab
Disabled by default

BUG: 419096
2020-04-23 07:39:32 +00:00
Albert Astals Cid 6d0d61c2ad Enable clazy copyable-polymorphic 2020-02-21 17:09:43 +01:00
Yuri Chornoivan c04ca1fa96 Fix minor EBN issues 2018-08-31 12:23:45 +03:00
Thomas Friedrichsmeier df0c41212f Fix build with MinGW on Windows.
REVIEW: 127328
2016-03-16 10:57:34 +01:00
Gleb Popov 6fdc6e22a9 Make ViewerInterface to be exported unconditionally to fix linking errors with MSVC.
REVIEW: 125741
2015-10-29 18:54:19 +03:00
Montel Laurent 49ce3fc4d2 Merge remote-tracking branch 'origin/master' into frameworks
Conflicts:
	core/version.h
2015-08-03 09:44:50 +02:00
Alex Richardson dcf4d93abb Fix the export header not being found in interfaces/*.h
REVIEW: 123363
2015-04-16 00:54:32 +01:00
René J.V. Bertin 7f6c9987ab Fix crashes on Mac
Seems Mac and/or clang need these to be exported

BUGS: 345765
2015-04-14 01:39:14 +02:00
Montel Laurent 5da7c5f77d port to qCDebug. Autogenerate export headers 2014-10-27 22:35:06 +01:00
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
2014-02-08 12:15:15 +01:00
Patrick von Reth 47c036cfe1 fixed windows build, dont export the pure virtual interface 2012-01-08 14:01:12 +01:00
Albert Astals Cid ffbaa091b6 add the QtCore path here too 2011-12-11 22:16:53 +01:00
Michel Ludwig 5db362fb26 Use the correct line number in 'Part::showSourceLocation' 2011-11-08 08:25:36 +00:00
Michel Ludwig 5b7c6b8170 Add two new methods to the viewer interface.
Namely, 'areSourceLocationsShownGraphically()' and 'isWatchFileModeEnabled()'.
A corresponding implementation is provided.
2011-11-05 09:40:12 +00:00
Michel Ludwig 1be2696cc3 Allow for more control over when source locations are shown graphically.
The method 'showSourceLocation' has been extended with a new parameter which
controls whether the given source location is shown graphically. A new method
'clearLastShownSourceLocation' has been added; and a corresponding implementation
is provided.
2011-11-05 09:18:08 +00:00
Michel Ludwig f431e98bb8 Change the action states according to whether a document is shown or not 2011-10-23 10:17:04 +01:00
Michel Ludwig 627d29bca2 Some reorganization 2011-10-22 09:30:49 +01:00
Michel Ludwig e8e0237ca0 Add the possibility to show sources location graphically on the rendered pages.
Note that currently the rotation of pages is not taken into account as one still has
to find a unique way of handling this.
2011-10-17 20:56:45 +01:00
Michel Ludwig ee7437eb61 Better let 'ViewerInterface' be part of the 'Okular' name space.
Also, use correct includes in 'viewerinterface.h'.
2011-09-10 20:04:44 +01:00
Michel Ludwig 0e29008150 Initial commit of the 'ViewerInterface' and of a first implementation. 2011-09-10 18:15:52 +01:00