┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/search/dolphinsearchbox.cpp
AgeCommit message (Collapse)Author
2014-06-27Fix build.Christophe Giboudeaux
2014-06-20kde-baseapps frameworks dolphin with snapshot frameworks branch ↵Scarlett Clark
baloo/baloo-widgets path fixes.
2014-05-14Fix build when baloo is foundHrvoje Senjan
2014-05-13Merge remote-tracking branch 'origin/master' into frameworksFrank Reininghaus
Since the master branch had never been merged into frameworks since the creation of the frameworks branch, I had to fix a couple of merge conflicts and make another change in order to make it build - I hope I did not get anything wrong. We should probably merge master into frameworks on a regular basis from now on. CCMAIL:[email protected] Conflicts: dolphin/src/dolphinmainwindow.cpp dolphin/src/search/dolphinfacetswidget.cpp dolphin/src/statusbar/dolphinstatusbar.cpp dolphin/src/views/dolphinview.cpp
2014-05-05dolphin: convert statusbar, settings and search to qt5 signals/slot syntaxAlex Richardson
2014-05-05Allow compiling Dolphin with KF5Alex Richardson
This does not work properly yet, there are probably quite a few bad signal/ slot connections due to KUrl -> QUrl. However dolphin starts without crashing. Accessibility is not ported since that changed quite a lot from Qt4 -> Qt5 and I have no idea how it is supposed to be used. This is the first commit for review 117395
2014-03-28When you open a new tab while the search mode is enabled, theEmmanuel Pescosta
newly opened tab also starts the same search (Because new tab is opened with the current view url), but the search box is in read-only mode. So you cannot close the search bar nor edit the search text. This patch fixes this by parsing the search url. The value of the "search" parameter is used as search text and the value of the "url" parameter is used for the search path ("root" folder for the search when "Search from here" mode is enabled). In case of Baloo search urls, we use Baloo::Query::fromSearchUrl. Removed everything related to read only mode in DolphinSearchBox, not needed anymore. REVIEW: 111968 BUG: 311950 FIXED-IN: 4.13.0
2014-03-24Dolphin Facet Widget: Convert type selection into radio buttonsVishesh Handa
They were previously checkboxes. Most files cannot have more than 1 type considering that the exposed types were "Document", "Image", "Video" and "Audio". Also, it is not very simple in baloo to search through ORs for types. Not through the exposed API anyway. REVIEW: 117015
2014-03-24DolphinSearchBox: Only search through filename is search text is not emptyVishesh Handa
2014-03-19Dolphin Facet Widgets: Implement date based filteringVishesh Handa
This required changes in Baloo which require reindexing. Since the storage location has changed for Beta 3 everyone should be re-indexing everything, so it won't be a problem.
2014-03-17Add the Baloo::Term to the Baloo:Query in ↵Emmanuel Pescosta
DolphinSearchBox::balooUrlForSearching(). REVIEW: 116837 FIXED-IN: 4.13.0
2014-02-07Fix build if Baloo is not installedFrank Reininghaus
2014-02-06Port Dolphin to BalooVishesh Handa
Nepomuk is being replaced with Baloo
2013-09-05Fix Bug 296970 - split view wrong behavior with search tabEmmanuel Pescosta
Implemented setActive(bool active), isActive() and activated() signal for DolphinSearchBox - similar to the KUrlNavigator implementation. BUG: 296970 FIXED-IN: 4.11.2 REVIEW: 112534
2013-05-14Merge remote-tracking branch 'origin/KDE/4.10'Dawit Alemayehu
2013-05-13DolphinSearchBox setReadOnly: Update if either of the parameters changeVishesh Handa
This way when another read only query is added, the internal state is changed and the search label gets updated. REVIEW: 110324 BUG: 315796 FIXED-IN: 4.10.4
2013-04-27Replace the button label "Less Options" by "Fewer Options"Frank Reininghaus
BUG: 318937 FIXED-IN: 4.11.0
2012-10-15Port Dolphin from Nepomuk to Nepomuk2 according to the Nepomuk2Port mini ↵Emmanuel Pescosta
guide on techbase - http://techbase.kde.org/Projects/Nepomuk/Nepomuk2Port REVIEW: 106825
2012-09-11Simplify boolean expressionFrank Reininghaus
Thanks to André Wöbbeking for noticing that this was unnecessarily complex!
2012-09-06Make the button that enables additional search options more obviousFrank Reininghaus
This is achieved by adding some descriptive text and by using a more appropriate icon. Thanks to Panos Kanavos for the patch! BUG: 300248 FIXED-IN: 4.10.0 REVIEW: 106325
2012-05-12Remove obsolete signal/slot connectionPeter Penz
2012-05-10Reimplement search-filtersPeter Penz
BUG: 270721 BUG: 280377 FIXED-IN: 4.9.0
2012-04-25Fix search-UI issues in combination with the new places entriesPeter Penz
The places-entries for searching revealed some serious issues in combination with the search-panel. Move the filtering away from QDockWidget and bring it back below the search-bar.
2011-10-06Use QFontMetrics::height() instead of averageCharWidth()Peter Penz
QFontMetrics::averageCharWidth() is quite slow and does not work well on fonts with broken characters. In the usecases required by Dolphin QFontMetrics::height() is a better and faster alternative to get a font-dependent minimum width. Thanks go to Christoph Feck for this hint!
2011-08-13Fixes for "krazy"Peter Penz
2011-07-07Use QToolButtons instead of QPushButtons for the searchbarPeter Penz
Thanks to Hugo Pereira Da Costa for the patch. BUG: 277227 FIXED-IN: 4.7.0
2011-05-29Improved query creation. There is absolutely no point in using aSebastian Trueg
regular expression in addition to the query created by the query parser. All it does is majorly slowing down the query execution. REVIEW: 101462
2011-05-11Fix build: Only compile code using Nepomuk #ifdef HAVE_NEPOMUK.Andreas Hartmetz
Actually HAVE_NEPOMUK should be defined here, but it isn't. This seems to be some bug in the buildsystem. CCMAIL: [email protected]
2011-04-20Search improvementsPeter Penz
Use Query::titleFromQueryUrl() to give a hint what kind of information is shown to the user.
2011-04-20Improve usability of Search PanelPeter Penz
If the Search Panel is shown outside the context of the "Find" mode it will be always enabled and does a global search. Only if the user is in the "Find" mode and the searching is restricted to the current directory the Search Panel might get disabled if the current directory is not indexed. This solves the major usability issue that it was not clear for the users whether a global or restricted search is done.
2011-03-10Hide search-mode buttons in the read-only modePeter Penz
When a searching has been triggered externally (e.g. by clicking on a tag) the search-mode settings like "From here"... are ignored and should not be shown at all. The current patch is only a quick workaround until a clean layout will be provided for this case.
2011-03-10Add search modes for the Search PanelPeter Penz
The search panel must get a hint whether clicking on the facets should result in searching everywhere or from the current folder. It is not sufficient to check the search-settings of the "Find:"-box, as when the "Find:"-box is invisible there is no hint for the user what kind of searching is done and the setting must be ignored.
2011-03-10Fix some search issuesPeter Penz
- Always merge the query from the "Find:"-field with the current facet-query. This assures that the facet-query never gets overwritten if the user changes the "Find:"-field. - Always trigger a searching if the text of the "Find:"-field has been cleared. Still a lot of usability issues are left, but this is at least a first step...
2011-02-09Use capitalized includes of recently committed kdelibs headersPeter Penz
2011-02-06Fix issue that filenamesearch: is used instead of nepmuksearch:Peter Penz
2011-02-05Provide a hook for externally triggered search queriesPeter Penz
In this case the "From Here"/"Everywhere" buttons and the "Filename"/"Content" buttons are useless. Currently they just get disabled but the plan is to provide a better visual indication of the current query and to remove them completely.
2011-02-04Add unittest for DolphinSearchBoxPeter Penz
A minor API cleanup in DolphinSearchBox has been done related to the test.
2011-02-04Don't clear the search-text when switching between tabsPeter Penz
The clearing of the search-text should only be done when opening the search-box.
2011-02-04Use capitalized KDE includesPeter Penz
2011-02-02Fix visibility- and enabled-issues for the filter-panelPeter Penz
The filter-panel should be disabled if the current folder is not indexed at all. Also when triggering a "Find" the filter-panel should stay invisible per default when the current folder is not indexed. CCBUG: 264969
2011-01-23Prevent that the view is forced to increase its width when the searching is ↵Peter Penz
enabled and not enough width is available for all options. svn path=/trunk/KDE/kdebase/apps/; revision=1216467
2011-01-22SVN_SILENT: Coding style updatesPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1216293
2011-01-20Stay consistent with the non-indexed searching and also return folders as ↵Peter Penz
search-result when searching in indexed folders. CCBUG: 263724 svn path=/trunk/KDE/kdebase/apps/; revision=1215987
2011-01-18Fix issue that the "From Here" search restriction does not work on ↵Peter Penz
subfolders when Nepomuk/Strigi has been activated. CCBUG: 262274 svn path=/trunk/KDE/kdebase/apps/; revision=1215428
2010-12-19Select the whole text in the filterbar and searchbox if the widget has lost ↵Peter Penz
the focus and gets focused again by the shortcut (this behavior is consistent to e.g. the behavior in Kate). CCBUG: 256160 svn path=/trunk/KDE/kdebase/apps/; revision=1207719
2010-11-25Don't offer the "Search everywhere" option for non-local URLs.Peter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1200741
2010-11-24Assure that the "From Here (...)" button contains always a useful content ↵Peter Penz
also for non-local URLs svn path=/trunk/KDE/kdebase/apps/; revision=1200307
2010-11-24Allow to search for filenames + textcontent also for non-local files.Peter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1200303
2010-11-23Honor the from here/everywhere settingSebastian Trueg
svn path=/trunk/KDE/kdebase/apps/; revision=1199915
2010-11-11Provide a parent for the "From Here" buttonPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1195688