Commit graph

179 commits

Author SHA1 Message Date
Helio Castro bb603e5b4d Fix trunk compilation using proper soprano Vocabulary, since moved from nie.h nepomuk.
svn path=/trunk/KDE/kdebase/apps/; revision=1053540
2009-11-24 09:58:10 +00:00
Peter Penz 7662e0e4d4 Prepare the search criterion selector to use the new Nepomuk::Query::Term instead of a QString. The implementation still needs to be adapted, but this will be straight forward.
svn path=/trunk/KDE/kdebase/apps/; revision=1053447
2009-11-24 07:15:24 +00:00
Peter Penz 35ba6eb132 * show only a minimized set of search options per default
* remember the search options when closing Dolphin, so that the user can adjust his "default search template"

svn path=/trunk/KDE/kdebase/apps/; revision=1052499
2009-11-21 22:08:59 +00:00
Frank Reininghaus 487215f0c4 When navigating back/forward in the DolphinPart inside Konqueror, remember
1. the current item,
2. the scroll position of the view, and
3. the expansion state of the details view.

Before 3. can be implemented in Dolphin itself, some changes in
KUrlNavigator are required.

This fix will be in KDE 4.4.

BUG: 193549
BUG: 198073
BUG: 213137

svn path=/trunk/KDE/kdebase/apps/; revision=1049164
2009-11-14 15:51:47 +00:00
Peter Penz f0cab33518 Don't show the search options, if no Nepomuk is available. Hopefully Nepomuk will get a hard build dependency quite soon, those #ifdef-code is really ugly and difficult to maintain...
svn path=/trunk/KDE/kdebase/apps/; revision=1048135
2009-11-12 19:45:55 +00:00
Peter Penz a317de2dc5 SVN_SILENT: stay consistent with other indentations
svn path=/trunk/KDE/kdebase/apps/; revision=1047278
2009-11-10 21:41:14 +00:00
Andreas Hartmetz bbf2836138 link with gold (knewstuff2 for dolphin) and remove a few redundant linked libraries already included by others
svn path=/trunk/KDE/kdebase/apps/; revision=1046917
2009-11-09 23:09:16 +00:00
Peter Penz 232e7eaad7 move the "Download New Services..." entry from the Settings menu to the service configuration dialog
svn path=/trunk/KDE/kdebase/apps/; revision=1046788
2009-11-09 18:13:36 +00:00
Peter Penz d009bf5eae allow to configure which meta data should be shown for tooltips
svn path=/trunk/KDE/kdebase/apps/; revision=1045705
2009-11-06 16:51:42 +00:00
Peter Penz 896ee459af * enable the loading of version control plugins (thanks to Aaron for the hint)
* Don't terminate the thread that receives the item states when changing a view. Instead let the thread get finished and ignore the result.


svn path=/trunk/KDE/kdebase/apps/; revision=1045674
2009-11-06 15:43:08 +00:00
Jonathan Schmidt-Dominé 5114ab58bc Initial ServiceMenu-KHotNewStuff-stuff
TODO: fix the existing servicemenus (some install-scripts are broken, some do not provide a simple CLI-interface)
TODO: add support for single-desktop-file-servicemenus (for example the "open as root")


svn path=/trunk/KDE/kdebase/apps/; revision=1045663
2009-11-06 14:56:35 +00:00
Peter Penz ee20ff929c Install fileviewversioncontrolplugin.desktop as servicetype, so that version control plugins can be found by Dolphin. Open issue: The instantiation fails and the following errors are returned:
dolphin(13505)/kdecore (KLibrary) kde4Factory: The library "/home/kde4peter/kde/lib/kde4/fileviewsvnplugin.so" does not offer a qt_plugin_instance function.
dolphin(13505)/kdecore (KLibrary) kde3Factory: The library "/home/kde4peter/kde/lib/kde4/fileviewsvnplugin.so" does not offer an "init_fileviewsvnplugin" function.

svn path=/trunk/KDE/kdebase/apps/; revision=1044902
2009-11-04 21:37:12 +00:00
Peter Penz 565bd3bf23 Don't call QThread::wait() in the destructor - in the worst case an issue in Nepomuk will block Dolphin for several seconds. Refactored the load-meta-data-thread in a way that the meta data widget does not require to wait for a result of the thread.
svn path=/trunk/KDE/kdebase/apps/; revision=1044848
2009-11-04 19:14:39 +00:00
Peter Penz f5f2ccf8ee Fixed link issue - I'm sorry: I had installed a temporary version of KMetaDataWidget from kdelibs and did not recognize the issue...
svn path=/trunk/KDE/kdebase/apps/; revision=1044545
2009-11-04 00:46:45 +00:00
Peter Penz 74c1d61aa3 Since Qt 4.5 it is possible to have translucient windows. The tooltip approach having a delegate and custom drawing + animation code for transparent tooltips has now been replaced by a translucient window where any kind of (animated) widget can be embedded. Still a lot of finetuning has to be done, but maybe this code can be part of kdelibs in KDE 4.5 (systemsettings currently used the Dolphin tooltips code).
Additionally the tooltip uses now KMetaDataWidget instead of using KMetaInfo. This assures that no blocking of the application will occur even if there is a buggy Strigi analyzer that ignores the maximum size-setting and might block the retrieving of the meta data.

BUG: 182941
BUG: 195878

svn path=/trunk/KDE/kdebase/apps/; revision=1044485
2009-11-03 21:48:27 +00:00
Peter Penz 73007f7d63 After some discussions at http://reviewboard.kde.org/r/1938 it turned out that moving KMetaDataWidget and KMetaDataConfigurationDialog to kdelibs should be postponed to KDE 4.5. The main reason is that adding application specific properties is not possible with the current API in a generic way. Also the topic how to hide properties application specific is an open point...
So now all adjustments from the review have been adapted to the Dolphin code. After KDE 4.4 has been released some refactoring will be done so that the open topics above are handled in a nice way.

svn path=/trunk/KDE/kdebase/apps/; revision=1041547
2009-10-28 07:18:00 +00:00
Peter Penz efecb5021c Imported Adam Kidders search configuration widgets from playground/base/nepomuk/search_widgets_test. I adjusted some names of classes and members and also changed some parts of the implementation, but conceptually the concept is 1:1 like provided by Adam in playground.
Currently the UI works quite well, but the creating of the query string has not been integrated yet.

svn path=/trunk/KDE/kdebase/apps/; revision=1039572
2009-10-23 21:06:33 +00:00
Peter Penz 884b5ad3a9 add A search options widget, which later on will include Adam Kidder's search prototype from playground
svn path=/trunk/KDE/kdebase/apps/; revision=1036776
2009-10-17 19:24:05 +00:00
Peter Penz 5e123c68d7 * move classes for searching into an own folder (new classes will be added soon)
* Postpone the creation of the searchcompleter, until the editor gets focused. This improves the startup time of Dolphin (reading all available tags is an expensive operation).

svn path=/trunk/KDE/kdebase/apps/; revision=1036658
2009-10-17 15:05:50 +00:00
Peter Penz 7d4242d2c7 Fixed compilation issue if HAVE_NEPOMUK is not set. This #ifdef HAVE_NEPOMUK stuff is really a pain :-(
svn path=/trunk/KDE/kdebase/apps/; revision=1036067
2009-10-16 13:45:47 +00:00
Peter Penz 3852f31c30 * improved interface + documentation of MetaDataWidget
* provide a configuration dialog for adjusting the visibility of the meta data

svn path=/trunk/KDE/kdebase/apps/; revision=1036058
2009-10-16 13:01:11 +00:00
Peter Penz 660c1fd767 restore functionality that ratings, comments and tags get stored after the user changed the values
svn path=/trunk/KDE/kdebase/apps/; revision=1034884
2009-10-13 20:48:38 +00:00
Peter Penz eaeee9f7d6 Start of refactoring so that the metadata widget can be moved outside of Dolphin for other applications. The temporary removed code will be integrated again within the next 10 days (-> currently no meta data is shown and cannot be updated).
svn path=/trunk/KDE/kdebase/apps/; revision=1033585
2009-10-10 14:13:50 +00:00
Matthias Fuchs ec6144e5cf Use a desktop-file for completion-items for the dolphin-search-box.
svn path=/trunk/KDE/kdebase/apps/; revision=1033040
2009-10-09 10:39:32 +00:00
Peter Penz 1a528b0cf1 Originally it was intended to move the SVN plugin from Dolphin to kdevplatform, but kdevplatform most probably won't get released with KDE 4.4. So for KDE 4.4 Dolphin will temporary contain the plugin in it's own codebase. As soon as kdevplatform will get released the SVN plugin will get moved to kdevplatform.
Still open: KServiceTypeTrader::query does not find the "FileViewVersionControlPlugin", I could not find the root cause for this yet (old cache?)

svn path=/trunk/KDE/kdebase/apps/; revision=1022921
2009-09-13 14:49:26 +00:00
Peter Penz c05395ef9a Move code for initializing and handling view extensions to the new class ViewExtensionsFactory. Beside making DolphinView less complex this will allow the column view to share the view extension code instead of (partly) duplicating it as it has been done before.
Currently only the tooltips- and filepreview-handling have been moved into ViewExtensionsFactory, a further cleanup will be done later.

svn path=/trunk/KDE/kdebase/apps/; revision=1016893
2009-08-29 09:42:21 +00:00
Peter Penz 41c14c5f8e I wanted to this for KDE 4.1 already, but well...
Columview refactoring: Get rid of "isColumnView()" special cases in DolphinView and the interface code duplications due to delegating non-QAbstractItemView interfaces to the column view. This reduces the code size + complexity a lot and will make future maintainance of the columnview and DolphinView a lot easier.

Currently there are some regressions in the column view, but this will be fixed during the next 14 days.

svn path=/trunk/KDE/kdebase/apps/; revision=1016776
2009-08-28 21:04:15 +00:00
Peter Penz d84909dc36 * Use the term "version control" instead of "revision control" to be consistent with the naming in kdevplatform.
* Renamed VersionControlPlugin to KVersionControlPlugin so that the interface can be moved out of Dolphin.

svn path=/trunk/KDE/kdebase/apps/; revision=1011058
2009-08-13 20:48:58 +00:00
Peter Penz 99eacd9f56 move statusbar code into the directory "statusbar"
svn path=/trunk/KDE/kdebase/apps/; revision=1005704
2009-08-01 20:01:51 +00:00
Peter Penz fa4680cb38 Enable Dolphin to show the revision states of files that are under revision control systems like SVN, Git, CVS, ... The current code is an early draft and it is planned that all plugins (SVN, Git, CVS, ...) are maintained outside Dolphin. If the API is stable enough, a discussion will be done at kfm-devel@kde.org regarding the location of the plugins (the current implementation of SubversionPlugin is only temporary located in Dolphin for testing purposes).
RevisionControlObserver is implemented in a way that no recognizable slowdown is given for directories that are not under revision control.

CCBUG: 192158

svn path=/trunk/KDE/kdebase/apps/; revision=995351
2009-07-12 14:00:45 +00:00
Peter Penz dc29afa688 The complexity of the class InformationPanel has grown a lot from KDE 4.0 to KDE 4.3. One main reason is that a lot of things are done now asynchronously with timers to prevent a blocking UI and unnecessary expensive operations.
To keep the Information Panel maintainable and prepared for future features a cleanup has been done. The whole user interface handling has been moved into the class InformationPanelContent that offers a straight forward interface: showItem(const KFileItem& item) and showItems(const KFileItemList& items).

The class InformationPanel is responsible for calling those methods in a way that hovering items, changing directories, doing selections, rename and delete operations, ... don't result in calling showItem() 10 times per second.

This cleanup won't be backported to KDE 4.3.x

svn path=/trunk/KDE/kdebase/apps/; revision=991902
2009-07-05 22:54:37 +00:00
Peter Penz 1e208254c5 The file ktooltip.h contained the three public classes KToolTip, KToolTipDelegate and KToolTipItem. Use one separate file for each class.
svn path=/trunk/KDE/kdebase/apps/; revision=984646
2009-06-21 10:20:28 +00:00
Peter Penz 6e3e08e33c Simplify how Nepomuk comments can be edited by the user:
- don't provide any mode for editing, just let the user directly manipulate the comment inside the text widget
- automatically save changes, no explicit confirmation required

svn path=/trunk/KDE/kdebase/apps/; revision=984592
2009-06-21 08:16:03 +00:00
Alessandro Diaferia f2d889b349 * share Context Menu page settings from dolphin with konqueror
* Make KonqPopupMenu aware of the CopyTo/MoveTo settings from konqueror and dolphin


svn path=/trunk/KDE/kdebase/apps/; revision=955015
2009-04-16 18:55:19 +00:00
Rahman Duran 897b376df2 SVN_SILENT:
Make dolphinremoteencoding included in dolphinprivate.

svn path=/trunk/KDE/kdebase/apps/; revision=944693
2009-03-25 23:02:49 +00:00
Rahman Duran bd2f7179de BUG: 175658
GUI:

The remote encoding code adapted from Konqueror to Dolphin. Now user can change
encoding for remote urls like ftp. Konqueror doesn't use
KRemoteEncodingPlugin anymore. Instead, this feature is supplied to
Konqueror via DolphinPart.

svn path=/trunk/KDE/kdebase/apps/; revision=944659
2009-03-25 22:00:50 +00:00
Peter Penz b8c2f53777 After creating an item with the "Create New..." menu, the new item should get selected and it must be assured that the item stays visible. Thanks a lot to Rahman Duran for the original patch and the good discussions :-)
Open issues:
- F10 shortcut does not work yet (interface extension might be done in KNewMenu)
- Does not work in column view yet, but this is a colum view specific issue.

CCMAIL: rahman.duran@gmail.com
CCMAIL: faure@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=940624
2009-03-17 20:47:03 +00:00
Peter Penz 27a4b76871 allow to hide the rating, comments and tags of the Information Panel
svn path=/trunk/KDE/kdebase/apps/; revision=937915
2009-03-10 19:21:21 +00:00
Peter Penz 7361b724e4 provide a context menu for the Information Panel, which allows to show/hide meta information
svn path=/trunk/KDE/kdebase/apps/; revision=937910
2009-03-10 19:04:45 +00:00
Peter Penz aed1525abc added dialog to configure which meta data should be shown in the Information Panel
svn path=/trunk/KDE/kdebase/apps/; revision=934828
2009-03-03 21:17:35 +00:00
Peter Penz de0f1d23b3 add KCM for the services settings, so that they are also accessible in Konqueror
svn path=/trunk/KDE/kdebase/apps/; revision=932520
2009-02-26 20:38:42 +00:00
Jonathan Riddell 7e644ffebc Remove preview icon, it isn't used, pollutes the hicolour namespace
and Oxygen already has a preview icon which Dolphin already uses (view-preview).

svn path=/trunk/KDE/kdebase/apps/; revision=929116
2009-02-20 17:07:59 +00:00
Shaun Reich 8ce343ba3d Added the Trash KCM to Dolphin, it's visible in the Settings Dialog, in the 'Trash" page.
Konqueror has it, we should too =)

svn path=/trunk/KDE/kdebase/apps/; revision=926571
2009-02-15 18:06:04 +00:00
Simon Paul St James 9d3ed99ab0 Initial import of Matthias's draft patch for adding video and audio previewing (similar to the file dialog) to Dolphin's metadata panel. Since Phonon is currently in-process only with the memory/ stability issues that come with this, this might have to be disabled by default - we'll see how it goes. Thanks, Matthias!
CCMAIL:kretz@kde.org
CCMAIL:peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=917389
2009-01-27 19:50:21 +00:00
Peter Penz d85a6ec6dd Use a custom SearchWidget instead directly using a KLineEdit. Currently the DolphinSearchWidget acts as "playground" to test some ideas. If it works well it might be a good idea moving this widget as KSearchBox (?) to kdelibs, so that it can be used by the file dialog or other applications.
svn path=/trunk/KDE/kdebase/apps/; revision=913572
2009-01-19 14:25:08 +00:00
Peter Penz 514fe2be7e added settings module 'General' that can be used by Konqueror
svn path=/trunk/KDE/kdebase/apps/; revision=913414
2009-01-19 11:11:11 +00:00
Peter Penz 0772ebc3aa added settings module for 'Navigation', that can be used by Konqueror
svn path=/trunk/KDE/kdebase/apps/; revision=913405
2009-01-19 10:39:11 +00:00
Peter Penz 8acb68ed28 Relayout of the settings dialog, so that all Dolphin KPart relevant settings can be made available in Konqueror's settings dialog too. Further cleanups and layout fixes are required and will be done during the next week.
svn path=/trunk/KDE/kdebase/apps/; revision=912587
2009-01-17 18:42:06 +00:00
Peter Penz 24b3fb6f6c cleanup sort order, so that it is easier later to split the files into several CMakeLists.txt
svn path=/trunk/KDE/kdebase/apps/; revision=911094
2009-01-14 20:22:17 +00:00
Peter Penz f37ecd6ecf Cleanup panel related class names: The terms "sidebar"/"sidebarpage" are relicts from the KDE 3 version of Dolphin and are called "Panels" in the KDE 4 version of Dolphin. Yes, renaming classes may take more than 1 year ;-)
svn path=/trunk/KDE/kdebase/apps/; revision=911089
2009-01-14 20:14:36 +00:00