Commit graph

17 commits

Author SHA1 Message Date
Kai Uwe Broulik 643a080410 Port SearchLineWidget to use KBusyIndicatorWidget
It's a lot nicer than manually painting a KPixmapSequence and supports high dpi out of the box.

The new code requires Frameworks >= 5.61, it is therefore only enabled
if at least that Frameworks version is available.
2020-01-15 11:48:23 +01:00
Marco Scarpetta fa315eb59c Allow to disable automatic search while typing
BUGS: 326522
REVIEW: 129956
2017-03-14 00:31:42 +01:00
Martin T. H. Sandsmark 439ced872d Port away from signal/slot keyword
When building okular without kdelibs4support it apparently builds with
-DQT_NO_SIGNALS_SLOTS_KEYWORDS.
2016-07-11 19:34:08 +02:00
Fabio D'Urso a72fbc6a8c Keep the find bar working after ESC is pressed in PageView
Instead of directly killing the search in the core, emit a signal
caught by FindBar to tell its SearchLineEdit to reset the search
operation.
In this way, SearchLineEdit can set m_changed, and next time a new
search operation will be started, instead of attempting to use the
old one.
2012-07-12 22:53:53 +02: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
Pino Toscano 1faa6e2fac Allow the Enter key for starting and continuing a search.
BUG: 194953

svn path=/trunk/KDE/kdegraphics/okular/; revision=979227
2009-06-09 10:30:13 +00:00
Pino Toscano 3a31169487 search line edit:
- save and get wether a search is running
- add a method to cancel a running one

svn path=/trunk/KDE/kdegraphics/okular/; revision=965457
2009-05-08 23:13:39 +00:00
Pino Toscano d89901852c introduce a SearchLineWidget, which is a SearchLineEdit + AnimatedWidget
this small widget is useful for providing a search line edit with an animated widget next to it, with the latter shown while the search is in progress
currently, the animation is slightly delayed, so we avoid very quick results (ie the next occurrence is on the same page) to show the animation for a very short time

svn path=/trunk/KDE/kdegraphics/okular/; revision=926299
2009-02-15 00:32:10 +00:00
Pino Toscano e7ce996372 add signals for the actual start and stop of the search of a selected lineedit
svn path=/trunk/KDE/kdegraphics/okular/; revision=926296
2009-02-15 00:25:51 +00:00
Pino Toscano 5bb000ed8b add a way to set the "from start" search option
svn path=/trunk/KDE/kdegraphics/okular/; revision=845857
2008-08-12 14:09:14 +00:00
Pino Toscano b52f2c2117 Extend the generic search line edit for finding backward.
svn path=/trunk/KDE/kdegraphics/okular/; revision=785630
2008-03-14 14:17:02 +00:00
Pino Toscano 0ecdc5b3c6 add the searchId to the searchFinished() signal of the Document, so each search line edit can ignore any search not started by itself
svn path=/trunk/KDE/kdegraphics/okular/; revision=704015
2007-08-23 22:16:37 +00:00
Albert Astals Cid 41c25cb208 Back from holiday, let's do some comitting :-)
* Update some copyright years and mail addresses
 * Search does not block the GUI anymore YUHUUUUU
   Well, it it does but it's almost unperceptible, that means the searching methods of Document no longer return a bool but a void and the Document::searchFinished signal is used to know if something was found, nothing was found or the user pressed the cancel button !YES! one can cancel search now :-)
 * TextPage no longer holds the area and the current transformed area, it took TOO MUCH memory, now we transform the area each time, it's much more CPU intensive but i could not measure a time loss while searching big documents and i could measure HUNDREDS of MB of usage less.
 * MICRO optimization: Change some code to not detach some containers
 * I still don't have ADSL so this is something like a "blind" commit, Pino will check it compiles against current KDE, not against what's on my computers

svn path=/trunk/KDE/kdegraphics/okular/; revision=699701
2007-08-13 22:25:27 +00:00
Pino Toscano 363023331d add a 'find next' button in the search bar of presentation mode
svn path=/trunk/playground/graphics/okular/; revision=645960
2007-03-23 23:28:39 +00:00
Pino Toscano d6dd0aa28c support for configuring the viewport moving; fix small issue with minimum search text length
svn path=/trunk/playground/graphics/okular/; revision=643530
2007-03-17 18:02:23 +00:00
Pino Toscano 05b00c2200 support (not so much tested) for the Next search type
svn path=/trunk/playground/graphics/okular/; revision=643515
2007-03-17 17:28:16 +00:00
Pino Toscano 0ac881f1f3 isolate the search search bar in an own class (child of KLineEdit), so it can be used with no copy-paste job
svn path=/trunk/playground/graphics/okular/; revision=643508
2007-03-17 16:58:01 +00:00