Kevin Funk
a53a2402ca
clang-tidy: modernize-use-nullptr run
...
Semi-ACK'd by Albert :)
9 years ago
Albert Vaca
3c93b2523e
Added missing overrides found by clang-tidy
10 years ago
Martin T. H. Sandsmark
09a99ba96b
Port away from obsolete Qt functions
10 years ago
Martin T. H. Sandsmark
ba4b9eb1a6
ui: Fix build without implicit cast to/from ascii
...
See previous commits for details.
10 years ago
Montel Laurent
466eb79615
Use QStringLiteral
11 years ago
Montel Laurent
d3a3b2df25
Fix includes
12 years ago
Montel Laurent
26fc592e7d
Fix includes
12 years ago
Vishesh Handa
e038950f50
KIcon -> QIcon
12 years ago
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.
12 years ago
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
13 years ago
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.
13 years ago
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
18 years ago
Pino Toscano
6d68021b61
delete the annotation item when the annotation it represent was removed
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=752761
18 years ago
Pino Toscano
288fce0b82
AnnotationGuiUtils -> GuiUtils
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=752259
18 years ago
Pino Toscano
0b35107505
fix icons
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=732755
19 years ago
Pino Toscano
76008f84da
use the new icon here as well
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=720879
19 years ago
Tobias Koenig
c70cb99bdc
Add proxy model for grouping by author
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=710548
19 years ago
Tobias Koenig
e40be7a9c3
Some GUI improvements
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=710312
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago