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
Olivier CHURLAUD
ef6f5ebc3b
Porting more files out of KDialog
10 years ago
Miklós Máté
c183dd8bd3
Set viewport to the position clicked on the thumbnail list
...
Also fix the mouse cursor shape
REVIEW: 127526
BUGS: 162219
10 years ago
Montel Laurent
466eb79615
Use QStringLiteral
11 years ago
Lukáš Tinkl
fd6a35486e
port KUrl -> QUrl
11 years ago
Montel Laurent
8e7429ddcc
kdelibs4support--
12 years ago
Montel Laurent
26fc592e7d
Fix includes
12 years ago
Montel Laurent
378f6847a2
Remove some deprecated kdelibs4support
12 years ago
Arnold Dumas
dc74543bac
Port away from KGlobalSettings::desktopGeometry().
12 years ago
Volker Krause
146e585f02
Make constants const, avoids a few extra symbols in the .data section.
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
Jonathan Doman
89fd56c23b
Launch documents from external sources in new tabs
...
FIXED-IN: 4.13.0
BUGS: 331872
BUGS: 332238
REVIEW: 116700
12 years ago
Albert Astals Cid
3f3f82afa1
Fix my email address
13 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
Eike Hein
db1a6e9894
Move the page numbers a little higher.
...
Make sure there's no ambiguity that the page number refers to
the preceding thumbnail. This is a bigger deal because the fix
in b0f64d2 took away a visual divider.
13 years ago
Eike Hein
b0f64d2dcf
Get rid of window background-colored bars between thumbnail containers.
...
This seems to be what the original code wanted to achieve, but failed
due to a convoluted approach of setting the color of the current back-
ground role to a default palette's Base color ... instead we just leave
the palette untouched and set the correct background role now. Visual
noise be gone, yay.
CCMAIL:wstephenson@kde.org
13 years ago
Albert Astals Cid
56e20047b8
Repaint on config change
...
Now that the pdf generator does not incorrectly delete the pixmaps
on a config change we need to repaint the viewports in case
there has been a inverted color change or something similar
13 years ago
Tobias Koenig
d3e0dadcac
Introduce notifyCurrentPageChanged callback DocumentObserver interface
14 years ago
Albert Astals Cid
a0339dec66
Fix crash when a drag contains the url format but doesn't contain any url data for that format
...
KUrl::List::canDecode( ev->mimeData() ) doesn't mean KUrl::List::fromMimeData( ev->mimeData() ) will not be empty
BUGS: 304789
FIXED-IN: 4.9.1
14 years ago
Albert Astals Cid
06ec381288
Fix crash when a drag contains the url format but doesn't contain any url data for that format
...
KUrl::List::canDecode( ev->mimeData() ) doesn't mean KUrl::List::fromMimeData( ev->mimeData() ) will not be empty
BUGS: 304789
FIXED-IN: 4.9.1
14 years ago
Albert Astals Cid
25f2776090
Make sure we enable rePos before call setViewport
...
BUGS: 298362
FIXED-IN: 4.8.3
14 years ago
Albert Astals Cid
8df96e9e64
ThumbnailListPrivate does not handle keypresses
...
So don't give it the focus while using tab to change focus
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
Laurent Montel
a86bbe9053
Use QLatin1String
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1178207
16 years ago
Albert Astals Cid
d0b9699732
Allow dragging in thumbnails view to drag from one page to other
...
Patch by Mathieu Lornac
Will *not* be in KDE 4.5.0
Might backport it to stable branch for some KDE 4.5.x if noone finds any problem
BUGS: 201669
svn path=/trunk/KDE/kdegraphics/okular/; revision=1156320
16 years ago
Albert Astals Cid
6f0fec062e
properly initialize m_vectorIndex
...
BUGS: 202213
svn path=/trunk/KDE/kdegraphics/okular/; revision=1138341
16 years ago
Pino Toscano
08b5b5fc82
Properly keep the vertical position on horizontal resize.
...
BUG: 183475
svn path=/trunk/KDE/kdegraphics/okular/; revision=922822
17 years ago
Enrico Ros
3462b4f53a
Keep the Thumbnails list to a clever position when changing the filtering
...
keyword (instead of going to the top). This way the Tl is closer and more
'in sync' with the current page.
Applied a patch by Luca Burelli.
CCBUG: 175046
svn path=/trunk/KDE/kdegraphics/okular/; revision=883890
18 years ago
Laurent Montel
c2fc9836e8
Fix iterator
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=882957
18 years ago
Pino Toscano
df7ca74b48
skip the widget mouse move event when the is no item under the mouse, or not even a previously selected one
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=850901
18 years ago
Pino Toscano
670fd6fc6e
First try at making the drag of the opaque areas working between pages.
...
Seems to be working, more or less. Feedback is appreciated!
CCBUG: 156490
svn path=/trunk/KDE/kdegraphics/okular/; revision=850830
18 years ago
Pino Toscano
be4af97c11
the "i don't care about okular's quality" removal of a different (and it seems distracting) style in the thumbnails list
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=812512
18 years ago
Pino Toscano
507511d607
Refactor a bit the thumbnails view.
...
Instead of putting in the scrollarea as many widgets as the number of pages, just paint the thumbnails on the scroll widget itself;
this should reduce a bit the memory usage due to the child widgets (especially in documents w/ many pages).
All should work as before, even the few annoyances with the visible areas drag were left (now they can be solved).
svn path=/trunk/KDE/kdegraphics/okular/; revision=765585
18 years ago
Jakob Petsovits
46eaee7f44
Icon renaming (code and icon changes - KDE/):
...
* bookmark -> bookmarks
* and finally, remove user-2 and konv-message[2] from Oxygen
svn path=/trunk/KDE/kdegraphics/okular/; revision=757019
18 years ago
Eike Hein
e1ce407bb7
Manage the enabled state of the page thumbnail list's scrollbar.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=746598
19 years ago
Eike Hein
611f2d01f1
Get rid of superfluous whitespace on the right side of thumbnails when
...
using a QStyle with SH_ScrollView_FrameOnlyAroundContents, by using the
viewport's width.
svn path=/trunk/KDE/kdegraphics/okular/; revision=746443
19 years ago
Eike Hein
317c2ebc04
Revert my last commit, as the problem it tried to fix appears to be confined to the Oxygen engine.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=746440
19 years ago
Eike Hein
15d9622755
Get rid of the superfluous whitepace to the right of the thumbnail widgets.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=746435
19 years ago
Pino Toscano
6d375af868
Move all the bookmarking stuff into the BookmarkManager, that now updates the Document observers automatically.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=730404
19 years ago
Pascal Létourneau
d0fd4b6f26
Take the margin into account in mouse{Press,Release}Event
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=718756
19 years ago
Pino Toscano
24c55e3caa
reduce the visible rect by -1,-1, so it looks symmetric (and perfect :) )
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=716582
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
cbcd969e6a
filter only the page changes interesting for the thumbnails
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=708701
19 years ago
Pino Toscano
4c80e8a8e1
properly ignore a mouse press if it's going to be context menu event
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=708268
19 years ago
Pino Toscano
8a31e6f3f0
Allow the user to change the visible part(s) of the document by dragging the visible areas in the thumbnails, and to change the zoom of the document by Ctrl+wheel on them.
...
Patch by Diego R. Brogna, thanks a lot!
BUG: 135521
svn path=/trunk/KDE/kdegraphics/okular/; revision=685273
19 years ago
Pino Toscano
80d7b04b0f
lround() -> qRound()
...
BUG: 147540
svn path=/trunk/KDE/kdegraphics/okular/; revision=683290
19 years ago
Pino Toscano
753f06e8e3
use the bookmark icon for the bookmark overlay in the thumbnail list
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=668781
19 years ago