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
Pino Toscano
b4b3ebdded
Okular::Settings::writeConfig() -> Okular::Settings::self()->writeConfig()
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=667772
19 years ago
Pino Toscano
56a44d8e25
fix off-by-one error in the rect of a thumbnail
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=656829
19 years ago
Albert Astals Cid
0d47b62715
krazy include order issues
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=655893
19 years ago
Christian Ehrlicher
c5c2da7c89
fix win32 compilation
...
warnings--
svn path=/trunk/playground/graphics/okular/; revision=643874
19 years ago
Albert Astals Cid
1587b9605a
unnecessary but fun small optimizations, basically avoid unnecessary detach() calls by ensuring the const method is called
...
also remove a double search on a qmap
svn path=/trunk/playground/graphics/okular/; revision=629869
19 years ago
Pino Toscano
539921bdf6
Improving the bookmark capabilities of okular.
...
Adding a BookmarkManager class that takes care of handling them in a proper way.
Adding a new tab in the sidebar to manage them:
- shows all the bookmarks in all the documents, or just in the current document
- cliking on a bookmark will bring to that bookmark, loading the document if necessary
- editing a bookmark title is possible either using F2 or right click -> Rename
- right click -> Remove to remove a bookmark
The only way to add new bookmark for the moment is the "old" way, ie right click -> Add bookmark, and it's not possible add more than one bookmark per page (but the system does not limit that).
The whole system should not be too difficult to understand, I will check with our usability master Florian next days.
svn path=/trunk/playground/graphics/okular/; revision=616979
19 years ago
Tobias Koenig
81fb3a383b
Further cleanup of Page API:
...
* getAnnotations() -> annotations()
* setBookmark()/hasBookmark() -> setBookmarked()/isBookmarked()
* moved as much private API of Page as possible to private class
svn path=/trunk/playground/graphics/okular/; revision=607233
20 years ago
Albert Astals Cid
ac1c0b75bc
const_iterator is your friend :-)
...
svn path=/trunk/playground/graphics/okular/; revision=606558
20 years ago
Tobias Koenig
a490cc0cd7
Add the following functionality:
...
* Bring QPixmap* back to make Albert happy ;)
* Store only one QPixmap per page/size and rotate it directly
* Rotate ObjectRects (boundary)
* Rotate Annotations (point coordinates)
* Don't reload pixmaps, ObjectRects and annotations on rotation
svn path=/trunk/playground/graphics/okular/; revision=606371
20 years ago
Aaron J. Seigo
77932c92dd
two small changes, passed by pintoree on irc:
...
- render the viewed rect area in the thumbnail a bit more elegantly
- Render Mode -> View Mode ... "render" is geekanese, "view" is proper luserian
svn path=/trunk/playground/graphics/okular/; revision=604731
20 years ago
Tobias Koenig
bea71df6e0
* Made image rotation asynchronous
...
* Changed Page API and PagePainter to work only with QImage
svn path=/trunk/playground/graphics/okular/; revision=601581
20 years ago
Albert Astals Cid
d212d60a99
correct indentign, that happens because i use vim instead of kate :-/
...
svn path=/trunk/playground/graphics/okular/; revision=593716
20 years ago
Albert Astals Cid
a5b9f5bff9
since QVBoxLayout seems to have changed its behaviour we do the relayouting at hand since it's easy enough
...
svn path=/trunk/playground/graphics/okular/; revision=593714
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
Tobias Koenig
69a72ebbe8
We have to use setFixedSize() here, otherwise the layout will set a height
...
of 0 for the ThumbnailWidget => ThumbnailWidget::region() is empty => QWidget::repaint
won't paint the content of the widget.
Now the thumbnails are showed on startup again and when the orientation is
changed the layout of the thumbnails is adapted as well...
svn path=/trunk/playground/graphics/okular/; revision=578852
20 years ago
Laurent Montel
ead282936e
Compile++
...
svn path=/trunk/playground/graphics/okular/; revision=569954
20 years ago
Pino Toscano
e5b044eb3c
SVN_SILENT reindent to four-spaces
...
svn path=/trunk/playground/graphics/okular/; revision=562589
20 years ago
Pino Toscano
bfc6133c9c
update a thumbnail only if its visible area rect is changed
...
svn path=/trunk/playground/graphics/okular/; revision=561676
20 years ago
Pino Toscano
e8312ef996
SVN_SILENT
...
KPDF -> okular
indent
svn path=/trunk/playground/graphics/okular/; revision=554817
20 years ago
Pino Toscano
cd81b54d63
Show the current viewport in the thumbnail view, with a read contour.
...
svn path=/trunk/playground/graphics/okular/; revision=554363
20 years ago
Pino Toscano
d8b4dc78ad
when the layout seems to fail, we have to provide a manual calculation of the height of the thumbnail scrollview
...
svn path=/branches/work/kde4/playground/graphics/okular/; revision=548566
20 years ago
Albert Astals Cid
cb7ca95e94
pages have orientation
...
document has a rotation to apply over the page's own orientation
text search really works now when rotating (at least all my tests here worked)
svn path=/branches/work/kde4/playground/graphics/okular/; revision=547644
20 years ago
Pino Toscano
91dc3ef06c
move the searchIDs in document.h, like it's done for the observerIDs
...
svn path=/branches/work/kde4/playground/graphics/okular/; revision=545944
20 years ago
Pino Toscano
b91fb33d4f
Keep (if possible) the selected page really selected in the thumbnail view when toggling a search.
...
svn path=/branches/work/kde4/playground/graphics/okular/; revision=545859
20 years ago
Pino Toscano
728a2c09d1
less deprecated (QPalette and QTimer)
...
svn path=/branches/work/kde4/playground/graphics/okular/; revision=545534
20 years ago
Pino Toscano
1e76f54012
shrink less vertically
...
svn path=/branches/work/kde4/playground/graphics/okular/; revision=542633
20 years ago
Pino Toscano
4ea42ab691
isShown -> !isHidden
...
svn path=/branches/work/kde4/playground/graphics/okular/; revision=542471
20 years ago
Pino Toscano
729499904c
make the thumbscrollview work correctly as it used to do in kde 3.x
...
svn path=/branches/work/kde4/playground/graphics/okular/; revision=542300
20 years ago
Pino Toscano
cb56631674
first attempt to convert the thumbnail scrollview to the qscrollarea of qt4
...
svn path=/branches/work/kde4/playground/graphics/okular/; revision=537803
20 years ago
Pino Toscano
8d25788703
less qt3_support
...
svn path=/branches/work/kde4/playground/graphics/okular/; revision=525545
20 years ago
Pino Toscano
383c18eaef
Some graphical improvements, most in the sidebar.
...
Ported the ThumbnailController to QAction.
svn path=/branches/work/kde4/playground/graphics/okular/; revision=525158
20 years ago
Pino Toscano
4bd3b60d6c
less qt3_support
...
svn path=/branches/work/kde4/playground/graphics/okular/; revision=524083
20 years ago
Pino Toscano
63c18ab06e
Make the oKular part and its shell compile and link.
...
Created a oKularcore lib, so the generators ca link to it, and made the oKularpart link to it too, of course.
Adapted the sources of the Okularpart to the new location for the generated settings.h.
svn path=/branches/work/kde4/playground/graphics/okular/; revision=523729
20 years ago
Albert Astals Cid
2ac0ac6300
some more files that compile
...
svn path=/branches/work/kde4/playground/graphics/okular/; revision=522229
20 years ago
Albert Astals Cid
6c6a1ac522
branchport r510876
...
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=510882
20 years ago
Albert Astals Cid
022dd597dc
fordwardport r510876
...
svn path=/trunk/KDE/kdegraphics/kpdf/; revision=510880
20 years ago
Laurent Montel
9c3f1dca9c
KURL->KUrl
...
svn path=/trunk/KDE/kdegraphics/kpdf/; revision=502560
20 years ago