┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/search/dolphinsearchbox.cpp
AgeCommit message (Collapse)Author
2016-03-16[CLAZY] Fixed all level 1 and level 2 warnings with small exceptionsArtur Puzio
REVIEW: 126771
2015-11-26Fix incorrect QString -> QUrl conversion.David Faure
2015-05-11Remove unneeded include to fix buildRaymond Wooninck
CCMAIL: [email protected]
2015-05-11Move away from Baloo::TermVishesh Handa
Baloo is set to become a framework and wants to only export the bare minimum number of classes as it will need to provide ABI + API guarentees forever. The Term class is now no longer exported. It can be added back again. REVIEW: 123643
2015-04-29SearchBox: Baloo now only searches through FilesVishesh Handa
We no longer need to explicitly state files
2015-02-26Port away from KDELibs4Support (we only use KDELibs4Support when baloo isn't ↵Emmanuel Pescosta
present, because KFileMetaDataWidget is in KDELibs4Support) Reviewed-By: Vishesh Handa
2015-02-26Next QUrl porting bug found: search include directoriesEmmanuel Pescosta
2015-02-26Revert "Use the Baloo Query Builder widget to add syntax-highlighting in ↵Emmanuel Pescosta
Dolphin search" The natural query parser is too unstable for the release atm, we'll readd the query parser when the code is mature enough. This reverts commit e3578ee3b770a1b8f359ed1a3cc6e3ac7f6c700e.
2014-11-10KLineEdit to QLineEditEmmanuel Pescosta
2014-10-21port Dolphin from KUrl to QUrlLukáš Tinkl
REVIEW: 120688
2014-10-18Fix includesMontel Laurent
2014-10-18Fix includesMontel Laurent
2014-10-14Port Dolphin to the new Baloo APIsVishesh Handa
REVIEW: 120582
2014-10-08Fix includes erroneously having slipped into baloo-only sectionsMarko Käning
CCMAIL: [email protected]
2014-10-07kdelibs4support--Montel Laurent
2014-09-12Ported KIcon to QIconEmmanuel Pescosta
REVIEW: 120159
2014-09-10Fix an #ifdef that referred to Nepomuk instead of BalooDenis Steckelmacher
The query builder widget is now properly disabled when the user wants to look for files by filename and not by content.
2014-09-10Use the Baloo Query Builder widget to add syntax-highlighting in Dolphin searchDenis Steckelmacher
REVIEW: 112589
2014-06-29Remove the automoc noiseChristophe Giboudeaux
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.