Commit graph

1105 commits

Author SHA1 Message Date
Albert Astals Cid 007de723db Forwardport aacid * r1157336 okular/branches/KDE/4.5/kdegraphics/okular/ui/pageview.cpp:
make the action name unique
Fixes bug 246228

svn path=/trunk/KDE/kdegraphics/okular/; revision=1157337
2010-07-30 18:22:37 +00:00
Albert Astals Cid 47801bc4ab forwardport aacid * r1156334 okular/branches/KDE/4.5/kdegraphics/okular/ui/pageview.cpp:
Fix mouse scrolling when wrapping sometimes sending you where you did not want
Patch by Mathieu Lornac

svn path=/trunk/KDE/kdegraphics/okular/; revision=1156337
2010-07-28 22:33:42 +00:00
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
2010-07-28 21:44:44 +00:00
Albert Astals Cid 3ec94ee81a Forwardport aacid * r1155099 okular/branches/KDE/4.5/kdegraphics/okular/ui/pageview.cpp:
Fix inconsistent behavior w.r.t. zoom combobox
Patch by Mathieu Lornac
Fixes bug 234655

svn path=/trunk/KDE/kdegraphics/okular/; revision=1155101
2010-07-26 22:22:59 +00:00
Albert Astals Cid 06a8da7bb9 There was a change of behaviour somewhere and my infinite scrollbar bug prevention code got outdated, fix it
Patch by mathieu lornac
BUGS: 227153

svn path=/trunk/KDE/kdegraphics/okular/; revision=1152393
2010-07-20 22:24:57 +00:00
Luigi Toscano b3eda791f4 Document properties: remove toggle button
Simply shows the full path, file name can be extracted from it.
The button did not toggle between title and file path, also 
because title is always shown if found.

svn path=/trunk/KDE/kdegraphics/okular/; revision=1152390
2010-07-20 22:19:41 +00:00
Albert Astals Cid 89968298a5 forwardport SVN commit 1152384 by aacid:
Make sure that setting the toc to be the current index does not break sidebar
visibility
Make Sidebar::isSidebarVisible symmetric with Sidebar::setSidebarVisibility
If showing the container make sure the list is also shown

svn path=/trunk/KDE/kdegraphics/okular/; revision=1152385
2010-07-20 22:09:33 +00:00
Albert Astals Cid 0c52e164e0 forwardport r1146788 | aacid | 2010-07-06 18:18:21 +0100 (dt, 06 jul 2010) | 2 lines
Fix the same bug with adding 1 or viewColumns as fixed in r1146302

svn path=/trunk/KDE/kdegraphics/okular/; revision=1146806
2010-07-06 17:23:44 +00:00
Alex Fiestas 0552077c42 Forward of r1146302 which fix 240446
svn path=/trunk/KDE/kdegraphics/okular/; revision=1146305
2010-07-05 17:15:26 +00:00
Jeremy Paul Whiting 022ff70197 revert last commit, fixed the wrong way
svn path=/trunk/KDE/kdegraphics/okular/; revision=1138358
2010-06-15 20:22:28 +00:00
Jeremy Paul Whiting 7698d0db23 Fixed okular's speech to look for renamed kde speech application Jovie
Fixed okular's speech class to connect to org.kde.KSpeech endpoint


svn path=/trunk/KDE/kdegraphics/okular/; revision=1138355
2010-06-15 20:16:59 +00:00
Albert Astals Cid 6f0fec062e properly initialize m_vectorIndex
BUGS: 202213

svn path=/trunk/KDE/kdegraphics/okular/; revision=1138341
2010-06-15 18:27:44 +00:00
Pino Toscano 1de3285d37 maintain the bookmark view sorted when adding new elements in the "selective" tree update
CCBUG: 205952

svn path=/trunk/KDE/kdegraphics/okular/; revision=1129505
2010-05-22 17:19:36 +00:00
Sascha Peilicke 56163dd1aa Set the 'close' toolbutton in the findbar to default size (review request 3589).
svn path=/trunk/KDE/kdegraphics/okular/; revision=1114746
2010-04-14 11:46:36 +00:00
Glen Kaukola b72c292f1a Okular: in presentation mode, disable mouse clicks on the overlay if mouse cursor is hidden.
svn path=/trunk/KDE/kdegraphics/okular/; revision=1110337
2010-04-02 19:20:54 +00:00
Glen Kaukola 122fab0eee Krazy: Check single-char QString operations for efficiency.
svn path=/trunk/KDE/kdegraphics/okular/; revision=1110335
2010-04-02 19:07:36 +00:00
Glen Kaukola 824a620d7a Krazy: Check for C++ ctors that should be declared 'explicit'.
svn path=/trunk/KDE/kdegraphics/okular/; revision=1110334
2010-04-02 19:03:57 +00:00
Glen Kaukola 45c82f8636 Krazy: Check for spelling errors
svn path=/trunk/KDE/kdegraphics/okular/; revision=1110329
2010-04-02 18:49:13 +00:00
Albert Astals Cid 9771a06f0d bring back the leaveEvent as as pino noted its is needed for multimonitor setups
svn path=/trunk/KDE/kdegraphics/okular/; revision=1109218
2010-03-30 19:59:59 +00:00
Glen Kaukola fd4d90173b Okular: presentationwidget.cpp, added the "// </widget events>" comment back that was accidentally removed.
svn path=/trunk/KDE/kdegraphics/okular/; revision=1109212
2010-03-30 19:45:48 +00:00
Glen Kaukola 185f4f2a58 Okular: when in presentation mode, prevent hovering over a tooltip from hiding the top toolbar.
svn path=/trunk/KDE/kdegraphics/okular/; revision=1109210
2010-03-30 19:40:00 +00:00
Glen Kaukola f675421c89 Okular presentation mode pencil cursor fix: when in drawing mode a left mouse button release over a link shouldn't change the mouse cursor.
svn path=/trunk/KDE/kdegraphics/okular/; revision=1108918
2010-03-30 05:14:21 +00:00
Glen Kaukola 270d9c6cce Show mouse cursor if it's over the top toolbar, even if the hidden mouse cursor option is enabled.
Also makes sure the pencil mouse cursor stays on if drawing mode is on and hidden mouse is enabled.

svn path=/trunk/KDE/kdegraphics/okular/; revision=1108916
2010-03-30 04:47:29 +00:00
Glen Kaukola 337def100c Disable mouse cursor autohide when the cursor is over the top toolbar.
BUG: 229433

svn path=/trunk/KDE/kdegraphics/okular/; revision=1108908
2010-03-30 04:03:00 +00:00
Glen Kaukola f9353fd482 Fix so that the okular presentation window grabs the focus right away when it's created so that mouse auto-hide works if enabled.
svn path=/trunk/KDE/kdegraphics/okular/; revision=1108269
2010-03-28 12:25:35 +00:00
Albert Astals Cid d3c8411482 Nicer way to handle setting of the drag cursor now that we have some actions that trigger on double click
Patch by Glen Kaukola

svn path=/trunk/KDE/kdegraphics/okular/; revision=1107507
2010-03-25 20:59:16 +00:00
Albert Astals Cid 24b20c5521 do not trust kdelibs to give a pixmap even if we ask for it since sometimes it fails
BUGS: 230282

svn path=/trunk/KDE/kdegraphics/okular/; revision=1106763
2010-03-23 21:50:13 +00:00
Albert Astals Cid 97b3d4d478 Open annotations on double click
Patch by Glen Kaukola
BUGS: 224805

svn path=/trunk/KDE/kdegraphics/okular/; revision=1106737
2010-03-23 20:21:42 +00:00
Pino Toscano e273cfe15f port SearchLineWidget to KPixmapSequence* and remove own AnimatedWidget
svn path=/trunk/KDE/kdegraphics/okular/; revision=1105224
2010-03-19 15:24:07 +00:00
Albert Astals Cid e90fa31bf9 make the iconloader in GuiUtils a stack
Fixes problems when the same program uses more than one okular part at once
BUGS: 231123

svn path=/trunk/KDE/kdegraphics/okular/; revision=1104494
2010-03-17 19:37:52 +00:00
Harsh Chouraria J a212da143a Fix the embedded files dialog's save button, so that it enables/disables as per selection.
BUG:229064

svn path=/trunk/KDE/kdegraphics/okular/; revision=1098392
2010-03-03 16:46:29 +00:00
Albert Astals Cid ad4a193e29 Close annotation windows on document change/reload
BUGS: 224191

svn path=/trunk/KDE/kdegraphics/okular/; revision=1093331
2010-02-20 17:08:13 +00:00
Pascal Létourneau afb7b7f462 Send point in content area coordinates
svn path=/trunk/KDE/kdegraphics/okular/; revision=1086264
2010-02-06 18:50:58 +00:00
Albert Astals Cid ce5993f614 proxyWidget just died
svn path=/trunk/KDE/kdegraphics/okular/; revision=1079309
2010-01-24 02:17:11 +00:00
Christoph Feck 8112b22ed6 SVN_SILENT compile
svn path=/trunk/KDE/kdegraphics/okular/; revision=1079295
2010-01-24 00:51:37 +00:00
Albert Astals Cid dfac3d0236 use the new proxyWidget member if you are on the edge
svn path=/trunk/KDE/kdegraphics/okular/; revision=1079219
2010-01-23 21:32:34 +00:00
Albert Astals Cid 24b1b33906 remove the ViewRows config entry as it was unused
Change the ViewMode to be an Enum instead of an ugly int and fix the ugly code accordingly. This will break your ViewMode config, i'm sorry for that
Move the setting for centered pages to the view mode as people seems to be having a lot of difficulties of finding it in the old location

svn path=/trunk/KDE/kdegraphics/okular/; revision=1072353
2010-01-10 01:19:16 +00:00
Albert Astals Cid 790efdba28 rename delayResizeTimer to delayRelayoutTimer and always create it, not on first resizeEvent
Use the timer for the delayed slotRelayoutPages call in notifySetup instead of a QueuedConnection
Also set the dirtyFlag in notifySetup, that way if we get a set viewport very soon we still end up in the correct place
Stop the timer if we get to slotRelayoutPages so we never relayout twice without a need to
This should fix bug 205084
BUGS: 205084

svn path=/trunk/KDE/kdegraphics/okular/; revision=1072187
2010-01-09 15:37:38 +00:00
Pino Toscano ea7480e2a5 SVN_SILENT unused parameters
svn path=/trunk/KDE/kdegraphics/okular/; revision=1072155
2010-01-09 13:57:09 +00:00
Pino Toscano 32ccf8593b add a context menu for the top-level items (representing the files), to allow to:
- open that documen (if it is not the current document already)
- remove all of its bookmarks

svn path=/trunk/KDE/kdegraphics/okular/; revision=1072135
2010-01-09 13:15:33 +00:00
Pino Toscano 4ee7112fe7 create a FileItem type of QTreeWidgetItem to handle better items representing the files
this should:
- reduce a bit the code duplication
- make the tooltip updated automatically on the number of items

svn path=/trunk/KDE/kdegraphics/okular/; revision=1072090
2010-01-09 12:06:44 +00:00
Pino Toscano d607996bce isolate the context menu for BookmarkItem in an own method
svn path=/trunk/KDE/kdegraphics/okular/; revision=1072058
2010-01-09 11:10:08 +00:00
Christian Ehrlicher 9e2f6edcf5 KUrl::path() -> KUrl::toLocalFile()
svn path=/trunk/KDE/kdegraphics/okular/; revision=1071713
2010-01-08 15:29:38 +00:00
Pino Toscano f31db87a63 add a ExternallyDrawn flag to mark annotations which are drawn elsewhere (eg by the generator)
mostly useful with External annotations, it is not applied yet

svn path=/trunk/KDE/kdegraphics/okular/; revision=1068014
2009-12-31 09:56:31 +00:00
Pino Toscano b025b4113a activate the overwriting confirmation in all the other file save dialogs
svn path=/trunk/KDE/kdegraphics/okular/; revision=1066352
2009-12-26 20:47:58 +00:00
Pino Toscano c7b7ce7b08 fix selectiveUrlUpdate()
- create new branches for documents different than the current one
- give the Url data role, so they can be identified again later
this makes it possible use it for any situation, even for updating non-existing branches for non-current documents

svn path=/trunk/KDE/kdegraphics/okular/; revision=1066321
2009-12-26 18:19:07 +00:00
Pino Toscano 52ce4cc095 disable the (already unused) knewstuff2 stuff from compilation and installation
svn path=/trunk/KDE/kdegraphics/okular/; revision=1066279
2009-12-26 16:23:36 +00:00
Luigi Toscano 4fbb5676c1 Add support for DVI fonts (TeX font type) to FontInfo, as they can not mapped
to the existing ones.

Remove human-readable descriptions of fonts from TeXFontDefinition, this is 
something that belongs to the PropertiesDialog.

svn path=/trunk/KDE/kdegraphics/okular/; revision=1052191
2009-11-21 00:50:13 +00:00
Albert Astals Cid e05f0fb861 Get the viewport before resizing the canvas otherwise the canvas resizal makes the viewport change and later we end up with an incorrect viewport
BUGS: 215463

svn path=/trunk/KDE/kdegraphics/okular/; revision=1052137
2009-11-20 20:52:51 +00:00
Elvis Stansvik 820a667190 Save case sensitivity and regular expression search options for the Contents
and Reviews side panels to okularpartrc.

If these options are turned on they are now saved as:

[Contents]
ContentsSearchCaseSensitive=true
ContentsSearchRegularExpression=true

and

[Reviews]
ReviewsSearchCaseSensitive=true
ReviewsSearchRegularExpression=true

respectively.


svn path=/trunk/KDE/kdegraphics/okular/; revision=1051497
2009-11-19 17:26:41 +00:00