Albert Vaca
3c93b2523e
Added missing overrides found by clang-tidy
2016-10-29 17:07:10 +02:00
Martin T. H. Sandsmark
09a99ba96b
Port away from obsolete Qt functions
2016-07-24 23:46:53 +02:00
Martin T. H. Sandsmark
ba4b9eb1a6
ui: Fix build without implicit cast to/from ascii
...
See previous commits for details.
2016-07-11 22:05:18 +02:00
Montel Laurent
466eb79615
Use QStringLiteral
2015-10-29 13:37:11 +01:00
Montel Laurent
d3a3b2df25
Fix includes
2014-10-07 23:04:36 +02:00
Montel Laurent
26fc592e7d
Fix includes
2014-10-06 08:31:17 +02:00
Vishesh Handa
e038950f50
KIcon -> QIcon
2014-08-13 11:54:49 +02:00
Frederik Gladhorn
0ba233788c
Use moc include style dictated by automoc
...
While it's generally not a great idea to include moc files at least this
compiles.
2014-08-09 00:21:03 +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
38861f5f57
Hide widget annotations from the user
...
Widget annotations are not meant to behave like "regular" annotations.
In particular, they must not be listed in the review panel or when the
user right-clicks on form fields.
2012-12-12 19:33:48 +01:00
Jakob Petsovits
df5364da6c
Copy Okular's app icon from Oxygen core as "okular",
...
in the hicolor namespace. Before, the non-specified
"graphics-viewer-document" icon was used, which caused
icon loaders from other toolkits not to find this icon
as they don't consider Oxygen by default.
Also update all the references that made use of the
"graphics-viewer-document" icon in the code and
the many .desktop files.
svn path=/trunk/KDE/kdegraphics/okular/; revision=819965
2008-06-12 18:51:36 +00:00
Pino Toscano
6d68021b61
delete the annotation item when the annotation it represent was removed
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=752761
2007-12-25 14:47:53 +00:00
Pino Toscano
288fce0b82
AnnotationGuiUtils -> GuiUtils
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=752259
2007-12-24 00:54:21 +00:00
Pino Toscano
0b35107505
fix icons
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=732755
2007-11-04 17:03:47 +00:00
Pino Toscano
76008f84da
use the new icon here as well
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=720879
2007-10-03 22:51:11 +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
Tobias Koenig
e40be7a9c3
Some GUI improvements
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=710312
2007-09-09 15:58:10 +00:00
Pino Toscano
b12610e46a
when an annotation was updated, update all the annotation for its page (we can't do else, at the moment...)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=710252
2007-09-09 12:33:49 +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
928a7be1e9
properly unregister upon destruction from the document (checking if it's still alive)
...
don't attempt to rebuild the annotation tree if the document has no pages
svn path=/trunk/KDE/kdegraphics/okular/; revision=710044
2007-09-09 00:27:16 +00:00
Pino Toscano
f2f15e0918
rename AnnotationItem to AnnItem, it gave me enough troubles to be left so long...
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=710036
2007-09-08 23:46:49 +00:00
Pino Toscano
e6cc6a58c4
properly update when an annotation is added or removed (TODO: when is just changed)
...
also, return the PageRole for the page tree items
svn path=/trunk/KDE/kdegraphics/okular/; revision=710034
2007-09-08 23:39:30 +00:00
Pino Toscano
239434362e
Basic version of a tree model for the document annotations.
...
It provides the items this way:
root
+ page 1
| + annotations for page 1
+ page 2
| + annotations for page 2
.. and so on
It does not return subtrees for pages without annotations.
svn path=/trunk/KDE/kdegraphics/okular/; revision=709946
2007-09-08 17:10:35 +00:00