Commit graph

28 commits

Author SHA1 Message Date
Yuri Chornoivan
c7722c4078 Fix minor EBN issues 2018-08-17 21:05:01 +03:00
Albert Astals Cid
191a37fb52 Q_DECL_OVERRIDE -> override 2017-03-02 20:39:24 +01:00
Montel Laurent
a8c13a9e1d Add Q_DECL_OVERRIDE 2015-08-04 15:07:22 +02:00
Frederik Gladhorn
4ce837a7ac Qt5 porting 2014-08-09 21:29:06 +02:00
Albert Astals Cid
541650a4f4 Remove the concept of observer/view id
Just use the pointer as id :-)

This is BIC and SIC, increase the soversion now to makes sure we don't forget in the future

Patch based in an earlier patch by Bogdan Cristea <cristeab@gmail.com>
REVIEW: 109115
2013-02-24 23:01:02 +01:00
Tobias Koenig
d3e0dadcac Introduce notifyCurrentPageChanged callback DocumentObserver interface 2012-09-06 08:46:10 +02:00
Albert Astals Cid
b2dfb910e8 Small rework of AnnotWindow
* We do not keep them around any more time than needed (they are cheap to create)
 * AnnotWindow::slotsaveWindowText calls m_document->modifyPageAnnotation so
   edition of inline notes happens immediately
2012-01-17 23:46:37 +01:00
Elvis Stansvik
820a667190 Save case sensitivity and regular expression search options for the Contents
and Reviews side panels to okularpartrc.

If these options are turned on they are now saved as:

[Contents]
ContentsSearchCaseSensitive=true
ContentsSearchRegularExpression=true

and

[Reviews]
ReviewsSearchCaseSensitive=true
ReviewsSearchRegularExpression=true

respectively.


svn path=/trunk/KDE/kdegraphics/okular/; revision=1051497
2009-11-19 17:26:41 +00:00
Pino Toscano
1080a193b9 - make sure to properly unregister all the observers before the Document gets destroyed
- keep ownership of the "export as" menu, and check before manipulating its child widgets: avoid crashes in case the part widget is destroyed before the pa
rt is
both the problems discovered and debugged with the precious help of Armin Berres, thanks!
CCMAIL: trigger@space-based.de

svn path=/trunk/KDE/kdegraphics/okular/; revision=863716
2008-09-22 22:58:32 +00:00
Albert Astals Cid
be5c6c8a95 style fixes, i suck
svn path=/trunk/KDE/kdegraphics/okular/; revision=846875
2008-08-14 09:29:17 +00:00
Albert Astals Cid
0d12c549cd Enable people to remove annotations from the tree in the page or author
level

Patch by Alex Fiestas and Aleix Pol with some minor tweak by me

svn path=/trunk/KDE/kdegraphics/okular/; revision=846872
2008-08-14 09:27:56 +00:00
Tobias Koenig
c70cb99bdc Add proxy model for grouping by author
svn path=/trunk/KDE/kdegraphics/okular/; revision=710548
2007-09-10 09:35:08 +00:00
Pino Toscano
bc509794eb remove two empty DocumentObserver notifications
svn path=/trunk/KDE/kdegraphics/okular/; revision=710426
2007-09-09 22:28:19 +00:00
Tobias Koenig
709e0eed1d Print fancy information when no annotations are available
svn path=/trunk/KDE/kdegraphics/okular/; revision=710354
2007-09-09 18:32:54 +00:00
Tobias Koenig
9642e7ae5e Add proxy models for the AnnotationModel and port SideReviews
to it

svn path=/trunk/KDE/kdegraphics/okular/; revision=710330
2007-09-09 16:51:55 +00:00
Pino Toscano
b56ad8c3ae Change the DocumentObserver::notifySetup() to allow a better tuning of the different setup options (different layout for the pages, or different document).
svn path=/trunk/KDE/kdegraphics/okular/; revision=710227
2007-09-09 10:50:36 +00:00
Pino Toscano
21a8ebbe1e simply a bit its layout, making it coherent with the other sidebar panes
svn path=/trunk/KDE/kdegraphics/okular/; revision=704288
2007-08-24 14:39:18 +00:00
Albert Astals Cid
0d47b62715 krazy include order issues
svn path=/trunk/KDE/kdegraphics/okular/; revision=655893
2007-04-19 18:30:20 +00:00
Tobias Koenig
777877f2d2 Refactor the RMB menu for annotations, so we can use the menu for
the PageView and the SideReview.

BUGS: 137722

svn path=/trunk/playground/graphics/okular/; revision=617807
2006-12-30 12:40:54 +00:00
Pino Toscano
ea071caf9d Improve the way we get the contents of an annotation; dynamically change the tooltip of the annotation item in the side review pane.
svn path=/trunk/playground/graphics/okular/; revision=617106
2006-12-28 00:40:09 +00:00
Pino Toscano
1c710fc2eb better use itemActivated
svn path=/trunk/playground/graphics/okular/; revision=606823
2006-11-21 22:25:12 +00:00
Pino Toscano
2840bc7c3d Smootly move the viewer area to the annotation when an annotation item in the review tab is double-clicked.
BUG: 137631

svn path=/trunk/playground/graphics/okular/; revision=606817
2006-11-21 22:08:49 +00:00
Tobias Koenig
df7d144c10 Moved all classes in core/ into the 'Okular' namespace and removed
nearly all references to kpdf (knewstuff still missing).

svn path=/trunk/playground/graphics/okular/; revision=586993
2006-09-21 08:45:36 +00:00
Pino Toscano
5e7142bfc7 port the annotation side treeview to QTreeWidget
svn path=/branches/work/kde4/playground/graphics/okular/; revision=542619
2006-05-19 20:06:18 +00:00
Pino Toscano
8e9570877d Port to the new toolbar API.
svn path=/branches/work/kde4/playground/graphics/okular/; revision=525362
2006-04-01 19:29:50 +00:00
Pino Toscano
8b41489e2f porting
svn path=/branches/work/kde4/playground/graphics/okular/; revision=522251
2006-03-24 21:31:46 +00:00
Albert Astals Cid
db09e1aabe some more things compile, commiting so Pino has lastest
svn path=/branches/work/kde4/playground/graphics/okular/; revision=522242
2006-03-24 20:40:02 +00:00
Enrico Ros
4d0a1ed6e1 Added a new experimental 'Reviews' widget to the toolbox. This shows
all the reviews on the document (pretty unuseful now, but that will
change ;-). Another step to good kpdf annotations.

Part:
  Added Reviews toolbox pane. Added (commented out while doing it right)
  searchline for toc; just works.
Misc:
  Observer: added id for Reviews pane (as document observer it monitors
  document/annotations changes). Page: added 2 temporary accessors for
  annotations (will change soon). Makefile: added side_reviews.cpp to
  compilation. Searchwidget: slight better spacing to look consistant with
  the review panel.

svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=400307
2005-03-24 19:50:28 +00:00