Fabio D'Urso
e130068726
Show latex button when the annotation popup window is opened
...
Check for latex contents after creating the MovableTitle, bacause it's in
MovableTitle ctor where the containsLatex signal is connected.
14 years ago
Fabio D'Urso
f6fa2a5614
Disable GUI operations on certain types of annotations
...
Modification and removal of *external* annotations are disabled by this
patch. Note that this change doesn't remove any functionality, because they
have never been implemented (AnnotationProxy is defined by the previous
patch).
The #if0'd blocks will be enabled by a future patch that provides fallback
behavior for generators that don't support saving changes.
14 years ago
Fabio D'Urso
ec9f068d77
Added AnnotationProxy to SaveInterface
...
Based on Pino Toscano's earlier work
14 years ago
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
14 years ago
Yuri Chornoivan
9dab469366
Fix typos: occured -> occurred.
15 years ago
Frederik Schwarzer
40ac3d889b
Make strings more user friendly.
15 years ago
Albert Astals Cid
62bea46f5e
Do not need QMessageBox include
15 years ago
Niels Ole Salscheider
65153935d9
add LaTeX support to annotation window
15 years ago
Montel Laurent
f9f65979f5
Normalize signals/slots
15 years ago
Albert Astals Cid
0a514d630b
Close the annot window on Esc keypress
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1202702
16 years ago
Pino Toscano
4b50e543d6
focus the text when showing an annotation popup
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=935096
17 years ago
Pino Toscano
969abdeec0
make the tooltip for the close button of the annotation window a bit more clear
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=789534
18 years ago
Pino Toscano
8df0b87e18
set & reload the author as well
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=789353
18 years ago
Pino Toscano
961b27e99c
Properly apply, and reload when changed, the annotation info in the annotation window (color, modication date, etc).
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=789344
18 years ago
Pino Toscano
6511086ffc
Annotation window:
...
- explicitely deny rich text
- set the plain text w/o an implicit html conversion
BUG: 159641
svn path=/trunk/KDE/kdegraphics/okular/; revision=789331
18 years ago
Pino Toscano
3c8f77a3ae
In the annotation window, get the right anotation text using the cool function we already have;
...
to save it back, use a similar approach.
svn path=/trunk/KDE/kdegraphics/okular/; revision=784138
18 years ago
Albert Astals Cid
2f61e6545b
use kclasses
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=760478
18 years ago
Pino Toscano
aa9181b3a1
disable the option button for now
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=746110
19 years ago
Pino Toscano
5556af3210
get rid of the hand made resize grip and use QSizeGrip - the trick about it was making the widget to be resized a Qt::SubWindow
...
this makes the annotation window working in RtL mode as well
svn path=/trunk/KDE/kdegraphics/okular/; revision=691341
19 years ago
Albert Astals Cid
0d47b62715
krazy include order issues
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=655893
19 years ago
David Jarvie
6ccde0505c
Add fancy date option to KLocale::formatDate(), KLocale::formatDateTime()
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=652038
19 years ago
Tobias Koenig
a9f58440df
First large commit for the Annotation API cleanup
...
* Moved all public member variables of Annotation to private
and add accessors
* Renamed RevScope and RevType to RevisionScope and RevisionType
* Add API documentation (@pino , please review)
svn path=/trunk/playground/graphics/okular/; revision=610749
20 years ago
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
20 years ago
Pino Toscano
4d0d19be83
- reduce a bit the font used for the date label
...
- shrink the option button as much as we can
svn path=/trunk/playground/graphics/okular/; revision=586288
20 years ago
Pino Toscano
27dc15c960
use a standard color (yellow) when the annotation color is not defined
...
svn path=/trunk/playground/graphics/okular/; revision=585682
20 years ago
Pino Toscano
dc2c0bef27
Rewrite almost completely the AnnotWindow so it uses less hacks and more Qt stuff; now it's a bit more clean
...
svn path=/trunk/playground/graphics/okular/; revision=585647
20 years ago
Pino Toscano
6c2ea7b63d
replace the hard-coded close button with a standard one.
...
the whole widget needs more loving, though.
svn path=/trunk/playground/graphics/okular/; revision=585241
20 years ago
Pino Toscano
7ee4cbcae9
format a datetime in the kde's way
...
svn path=/trunk/playground/graphics/okular/; revision=585234
20 years ago
Tobias Koenig
90140c1479
warnings--
...
svn path=/trunk/playground/graphics/okular/; revision=578892
20 years ago
Chu Xiaodong
9c575a91d3
replace embedded annotation dialog with annot window, child of PageView
...
svn path=/trunk/playground/graphics/okular/; revision=572243
20 years ago