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
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