Albert Astals Cid
19b7e3c112
The work in this branch was sponsored by LiMux
...
give them some credit in the headers
8 years ago
Albert Astals Cid
3435eb6df8
Convert m_formWidgets from hash to set
...
We don't use the key for anything
9 years ago
Kevin Funk
a53a2402ca
clang-tidy: modernize-use-nullptr run
...
Semi-ACK'd by Albert :)
9 years ago
Albert Vaca
c71f308252
Fixes suggested by Clazy
10 years ago
Montel Laurent
466eb79615
Use QStringLiteral
11 years ago
Albert Astals Cid
1cd101b480
Small cleanup of the layer support feature
...
Tab replacing, function naming, include removal, @since addition, etc
11 years ago
Saheb Preet Singh
d891436231
reloading form widgets with layer show and hide
11 years ago
Montel Laurent
ae30a7fc51
USe new connect api
11 years ago
Montel Laurent
8e7429ddcc
kdelibs4support--
12 years ago
Montel Laurent
2eacdea022
Port to new connect api
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
Luigi Toscano
56c101833f
Remove PageViewTopMessage, use KMessageWidget instead
...
Acked by Albert Astal Cid
12 years ago
Luigi Toscano
480df58d68
Few fixes to PageViewMessage
...
- support for multiline/long messages (properly wrapped)
- react (resize) on parent resize
- code refactoring (common code in private methods)
REVIEW: 115596
12 years ago
Fabio D'Urso
ad589985e1
Remove some unused #includes
13 years ago
Fabio D'Urso
5860fc89c5
Added shortcut to annotation config panel as review toolbar's context menu
13 years ago
Fabio D'Urso
aebf585464
Don't hardcode pixmap name in annotation tools' XML description
...
First step towards dynamically-generated tool icons
13 years ago
Fabio D'Urso
9f19fc3daa
PDF documents: Tell the user that XFA forms are not supported yet
14 years ago
Tobias Koenig
486df96203
Make video player behave similar to Adobe Acroread
...
Hide the video player initially until the user has clicked on
the annotation area. This ensures that an available 'first-frame' image
is always visible. Also change the appearance of the mouse cursor when
the annotation area is entered.
REVIEW:104159
14 years ago
Montel Laurent
f9f65979f5
Normalize signals/slots
15 years ago
Albert Astals Cid
439e7b9799
remove unused variables
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1230896
15 years ago
Albert Astals Cid
72e616551b
Allow the "continuous" selection of a tool by double clicking on it
...
Patch by Raffaele Mancuso cleaned up by me
This will be in KDE 4.7.0
This fixes the original report of bug 161020 so i'm closing it
If there were any other different wish report in that bug, do the proper thing an open a new one
BUGS: 161020
svn path=/trunk/KDE/kdegraphics/okular/; revision=1218185
15 years ago
Laurent Montel
a86bbe9053
Use QLatin1String
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1178207
16 years ago
Pino Toscano
3c25f99a7c
take into account also the width of the details text
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1166348
16 years ago
Pino Toscano
b7e955e2c3
add the possibility to show a "details text" in PageViewMessage
...
in case it is not empty, show such details text with a 60% line spacing wrt the "main text";
also add an inline version of display() using the previous api, so we can port the usages of it to the new display()
svn path=/trunk/KDE/kdegraphics/okular/; revision=1166254
16 years ago
Pino Toscano
6993fda364
Load video widgets for the video annotations of the document in the main page view.
...
Add them as part of the page items, so they can be resized, moved and shown/hidden automatically according to the related pages.
svn path=/trunk/KDE/kdegraphics/okular/; revision=851960
18 years ago
Pino Toscano
2329f93b84
more qreal/double mismatches
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=839972
18 years ago
Pino Toscano
94a4d5086a
do not leave painters open more than necessary
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=817890
18 years ago
Pino Toscano
2b971b07b2
Make it possible to draw just sections (crops within bounding boxes) of pages.
...
Separated normal & cropped geometries in page items;
made the page painter able to draw based on a crop section;
add a config + menu option for turning the white borders removal.
Based on a patch by the Mr. anonymous kde2eran@tromer.org, thanks.
BUG: 161599
svn path=/trunk/KDE/kdegraphics/okular/; revision=809496
18 years ago
Pino Toscano
7eac68815b
Use the id of the form fields as id, not the name!
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=773440
18 years ago
Pino Toscano
e26ce5255b
the text color needs to be adapted to the color scheme as well
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=765271
18 years ago
Pino Toscano
a3e0474e35
Use the standard KDE color for the content area messages.
...
Patch by Robert Knight, thanks!
BUG: 156457
svn path=/trunk/KDE/kdegraphics/okular/; revision=765205
18 years ago
Pino Toscano
26b02fe068
vertically center the icon in the message
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=756265
18 years ago
Eike Hein
a56276f00d
Review toolbar tweaks.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=756192
18 years ago
Eike Hein
93fdfab88c
person("pinotree")->happiness++
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=756180
18 years ago
Eike Hein
2ab6d6f842
On second thought, keep the mask - less work for Qt.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=756115
18 years ago
Eike Hein
3af668a384
Draw the review toolbar borders anti-aliased.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=756114
18 years ago
Eike Hein
cb4367608b
Draw the page view message popup borders anti-aliased. Gets
...
rid of my #1 Okular annoyance (yes, I'm petty like that).
svn path=/trunk/KDE/kdegraphics/okular/; revision=756098
18 years ago
Pino Toscano
39fb1ef5b6
correctly show/hide the form widgets in each page correctly even when not in Continuous mode
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=755275
18 years ago
Pino Toscano
8761aa5f12
add possibility to for an item to be "set visible" or not
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=755208
18 years ago
Jure Repinc
e60c1ec1cf
The background is always yellow, the text can be hard to read with a dark
...
color scheme with white text. So now the text is always set to black.
svn path=/trunk/KDE/kdegraphics/okular/; revision=755179
18 years ago
Pino Toscano
44aa2d7088
Globally store an icon loader different that the global one (eg the KPart one);
...
this way we can load our custom icons when embedded in other shells than ours.
svn path=/trunk/KDE/kdegraphics/okular/; revision=752473
18 years ago
Pino Toscano
98ed679e0e
Do not change the offset of the shadow, as it does not change in themes, says Diego.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=748590
19 years ago
Pino Toscano
704a53bb12
get correctly the layout direction of the widget, thanks Diego
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=748587
19 years ago
Pino Toscano
1bf39cf98a
In the message widget, draw the icon on the right when the layout is RightToLeft.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=748578
19 years ago
Pino Toscano
5a06b9d911
improve getInnetPoint() and getOuterPoint() so that
...
- they use a nice switch
- the real anchor widget position is taken into account (no more magic constant, and the position is correct even in RtL configurations)
svn path=/trunk/KDE/kdegraphics/okular/; revision=748015
19 years ago
Pino Toscano
1022878a5a
icon renaming:
...
- pencil -> draw-freehand
svn path=/trunk/KDE/kdegraphics/okular/; revision=746342
19 years ago
Pino Toscano
995972052d
Review toolbar:
...
- enable/disable (instead of hide/show) the tools that cannot be constructed (eg due to the document not extracting text)
- disable the tools when there is no document open
svn path=/trunk/KDE/kdegraphics/okular/; revision=746293
19 years ago
Pino Toscano
537b828e50
for now, disable the animation of the review toolbar, as it seems to be slow sometimes
...
#define OKULAR_ANIMATE_REVIEW_TOOBAR to re-eanble it
svn path=/trunk/KDE/kdegraphics/okular/; revision=736304
19 years ago
Pino Toscano
7f44aafa94
correctly hide the form widgets when a widget is focused
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=726769
19 years ago
Pino Toscano
a580378469
no need for the PageViewToolBar to have the mouse tracking enabled
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=722555
19 years ago