Commit graph

95 commits

Author SHA1 Message Date
Sebastian Trueg d3a0432188 This is the first step towards a better looking and more usable metadata GUI.
- A nicer comment widget shows a popup to edit the comment.
- A tag cloud replaces the ugly tagwidget from libnepomuk.
The plan is to use Dolphin as a testbed to optimize the look and then 
move at least the tagcloud to libnepomuk to make it available for all apps
since this is a common feature.

So please test it and provide feedback. The layout is still cluttered. So we
also need feedback on that. And of course on the usability.

Apart from the GUI Dolphin now uses the mass metadata update job to perform
metadata updates on many files in an async KJob without blocking the GUI.
This is another candidate for public API at some point.

svn path=/trunk/KDE/kdebase/apps/; revision=788565
2008-03-21 21:05:05 +00:00
Peter Penz a8ada5e685 QListView does not support having a margin for grids. Originally it has been tried to bypass this by overwriting QListView::visualRect(), but this has some side effects (see #155378 and #155575). The clean approach is to return a proper size hint in the file item delegate.
Currently a custom item delegate has been made for Dolphin, but we'll discuss whether it makes sense providing this feature already in KFileItemDelegate...

BUG: 155378
BUG: 155575
CCMAIL: fredrik@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=788095
2008-03-20 16:58:59 +00:00
Peter Penz 2b8772807f provide a cleaner layout for the information panel; there are still some open issues, but it looks already less cluttered...
svn path=/trunk/KDE/kdebase/apps/; revision=786080
2008-03-16 02:17:16 +00:00
Jeff Mitchell e8f247159e Don't try to show the terminal in dolphin when in Windows
svn path=/trunk/KDE/kdebase/apps/; revision=784126
2008-03-10 17:33:30 +00:00
Christian Ehrlicher 652194f729 LIB_INSTALL_DIR -> INSTALL_TARGETS_DEFAULT_ARGS
svn path=/trunk/KDE/kdebase/apps/; revision=776849
2008-02-18 21:51:54 +00:00
Peter Penz d38de66f4b Currently when the general font of KDE has been changed, the used fonts for the view in Dolphin have not been changed.
This has been fixed by differing between a "Use system font" setting (= default) or a "Use custom font" setting.

TODO: if the general font of KDE is changed during Dolphin is open, no update is done yet

CCMAIL: ereslibre@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=775487
2008-02-15 22:51:23 +00:00
David Faure 846b21edf5 Forwardport 773570:
Factorize all the view-related action handling to DolphinViewActionHandler, to remove code duplication between mainwindow and part, and to remove my code-splitting with the static createFooAction methods in the view.

svn path=/trunk/KDE/kdebase/apps/; revision=773572
2008-02-11 12:44:46 +00:00
David Faure 45a1074b0a Factorize all the view-related action handling to DolphinViewActionHandler, to remove code duplication between mainwindow and part, and to remove my code-splitting with the static createFooAction methods in the view.
svn path=/branches/KDE/4.0/kdebase/apps/; revision=773570
2008-02-11 12:34:48 +00:00
Peter Penz 9a944644e9 allow dropping items above a place inside the Places panel
BUG: 154014

svn path=/trunk/KDE/kdebase/apps/; revision=768921
2008-01-30 22:22:46 +00:00
Peter Penz f6c7b90edf Blend in a toggle button when hovering items. This allows selecting items without using the rubberband or Ctrl/Shift-keys in the single-click mode. Any feedback from users is highly welcome (I think people will either love or hate this feature, I'm really not sure -> it can be turned off too).
svn path=/trunk/KDE/kdebase/apps/; revision=766901
2008-01-26 21:45:28 +00:00
Peter Penz f3c83ec89f Split the "General Settings" into "Startup Settings" and "General Settings" for having a cleaner layout. Still some fine tuning and code cleanups have to be done...
svn path=/trunk/KDE/kdebase/apps/; revision=764389
2008-01-21 16:51:31 +00:00
Rafael Fernández López f6984788a8 Move KCategorizedView to kdelibs. Use that one.
svn path=/trunk/KDE/kdebase/apps/; revision=760873
2008-01-13 15:44:04 +00:00
Peter Penz 87dc8352d4 Up to now DolphinView and ColumnWidget contained a lot of code duplication regarding generating previews and the dimming of cut items. This has been refactored by introducing an IconManager which takes care itself about generating a preview and dimming cut items. This also allows improving the speed of previews in (near) future (at the moment showing previews from the cache is a lot slower than in KDE 3...).
svn path=/trunk/KDE/kdebase/apps/; revision=759864
2008-01-11 11:37:28 +00:00
Pino Toscano c62e317ba5 dolphin can use soprano, but nowhere in apps we look for it; so search for Soprano manually
svn path=/trunk/KDE/kdebase/apps/; revision=757434
2008-01-04 22:59:55 +00:00
Jakob Petsovits eb8038e710 ARGH!
No, but really, we can't ship Dolphin with a missing
toolbar icon. And no, I have no clue why it won't use
that "pics" folder that I was generating for that icon.

Apologies?

svn path=/trunk/KDE/kdebase/apps/; revision=757082
2008-01-04 03:28:27 +00:00
Jakob Petsovits 8993bbe231 Icon theme minimality:
move actions/view-file-columns to Dolphin.

svn path=/trunk/KDE/kdebase/apps/; revision=756073
2008-01-02 17:52:08 +00:00
Luboš Luňák f00ea7fd73 Soprano is optional.
svn path=/trunk/KDE/kdebase/apps/; revision=749607
2007-12-17 12:33:50 +00:00
Sebastian Trueg 737b74aa29 Use the same codebase for rating drawing as in KRatingWidget and playground/nepomuk.
For KDE 4.1 we will export this in kdelibs/nepomuk

CCMAIL: peter.penz@gmx.at
CCMAIL: ereslibre@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=748547
2007-12-14 19:23:02 +00:00
David Faure 609ce09292 Moving code around in dolphin fixes DnD support in konqueror :)
svn path=/trunk/KDE/kdebase/apps/; revision=748476
2007-12-14 15:53:40 +00:00
Sebastian Trueg 1329ae5ba3 Added Soprano include dir
svn path=/trunk/KDE/kdebase/apps/; revision=746869
2007-12-10 13:55:05 +00:00
Sebastian Trueg 929931b060 Use Xesam ontology instead of NIE. Since Strigi uses Xesam and we have no mapping yet this does make much more sense.
svn path=/trunk/KDE/kdebase/apps/; revision=746846
2007-12-10 12:34:56 +00:00
Allen Winter 04948c542a use the ${GENERIC_LIB_VERSION} and ${GENERIC_SOLIB_VERSION} macros to help keep
with library versioning consistency into the future.
ok'd by dfaure.

svn path=/trunk/KDE/kdebase/apps/; revision=745632
2007-12-06 16:55:50 +00:00
Peter Penz e46003aca3 Drag & drop fixes for all views: assure that a consistent pixmap for the drag object is used throughout all views (still open yet: KCategorizedView uses its custom code yet)
svn path=/trunk/KDE/kdebase/apps/; revision=739322
2007-11-20 21:11:48 +00:00
Patrick Spendrin 97b77c4272 Reverted changes made earlier today - and I added the workaround in the root file as described in kde-buildsystem - please tell me again if this should go somewhere else 3/3
svn path=/trunk/KDE/kdebase/apps/; revision=734475
2007-11-08 23:47:57 +00:00
Patrick Spendrin e401160eb8 changing install locations of dll's to bin
svn path=/trunk/KDE/kdebase/apps/; revision=734310
2007-11-08 15:19:33 +00:00
Peter Penz 496872dddc allow to configure the additional information of the view inside the viewproperties dialog
svn path=/trunk/KDE/kdebase/apps/; revision=731150
2007-10-30 20:52:03 +00:00
Peter Penz becc81123d remove Dolphin specific service menus, Konqueror and Dolphin use now the same service menus (thanks to David!)
svn path=/trunk/KDE/kdebase/apps/; revision=723418
2007-10-09 16:19:12 +00:00
Peter Penz 29402a79bc Refactored DolphinColumnWidget so that it does not need a hierarchical KDirLister. This simplifies the code a lot and also bypasses the current problems with the KDirLister cache when working on hierarchical directories in parallel. There are some minor regressions which will be fixed, but all in all some improvements are visible already:
- the loading of columns is a lot faster
- preview in columns is working
- no side effects in combination with the treeview-panel because of caching

svn path=/trunk/KDE/kdebase/apps/; revision=721678
2007-10-05 21:00:44 +00:00
Laurent Montel 684678bd37 ${CMAKE_SOURCE_DIR}/libkonq doesn't exist now
svn path=/trunk/KDE/kdebase/apps/; revision=721208
2007-10-04 19:56:47 +00:00
Matthew Woehlke 341c16eba6 use blitz instead of deprecated kdefx, remove kdefx headers where unused
svn path=/trunk/KDE/kdebase/apps/; revision=717537
2007-09-27 04:11:28 +00:00
Urs Wolfer 3c20dcd163 Dolphin is now QT3_SUPPORT free
svn path=/trunk/KDE/kdebase/apps/; revision=714564
2007-09-19 21:57:01 +00:00
Rafael Fernández López c8072005fa Create the new architecture for KCategorizedView. Now DolphinModel is created, inheriting KDirModel for returning valid data for the role of the category of
an item. DolphinSortFilterProxyModel implements now methods lessThanCategoryMethod and lessThanGeneralMethod from KCategorizedSortFilterProxyModel.

The only thing that needs to be adapted is the keyboard navigation on the KCategorizedView.

CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=713319
2007-09-17 04:02:17 +00:00
Peter Penz 6bbd349a9c use system-file-manager icon instead of custom Dolphin icon
svn path=/trunk/KDE/kdebase/apps/; revision=704545
2007-08-25 10:24:30 +00:00
Nick Shaforostoff b607d3cc4b ok, second try: make use of KDirSortFilterProxyModel. 'Show in Groups' still works, haven't tested nepomuk part though.
NOTE to dolphin devs: please, consider using 'left.column()' instead of 'sortRole()' in lessThan methods, and 'sorting()' instead of 'sortRole()' in other places.
Didn't make switch by myself because it needs nepomk testing (shouldn't be too hard though).


svn path=/trunk/KDE/kdebase/apps/; revision=692517
2007-07-25 19:08:12 +00:00
Laurent Montel 117899b07c change XDG_APPS_DIR -> XDG_APPS_INSTALL_DIR, XDG_DIRECTORY_DIR->XDG_DIRECTORY_INSTALL_DIR, DBUS_INTERFACES_DIR->DBUS_INTERFACES_INSTALL_ DIR, DBUS_SERVICES_DIR->DBUS_SERVICES_INSTALL_DIR to have same naming convention as discussed with Alex.
svn path=/trunk/KDE/kdebase/apps/; revision=691218
2007-07-23 07:01:14 +00:00
Nick Shaforostoff 4c96ec2698 ok, reverting as requested by Peter Penz.
svn path=/trunk/KDE/kdebase/apps/; revision=690417
2007-07-21 00:31:26 +00:00
Nick Shaforostoff 88705d0c34 Make use of the newly added KDirSortFilterProxyModel class -- that is, essentially, remove all the code being duplicated :)
Make manpart use KEncodingDetector capabilities along the way (it was <meta ... charset="System"> before)


svn path=/trunk/KDE/kdebase/apps/; revision=690382
2007-07-20 21:16:50 +00:00
Allen Winter 62d81f9a9b remove kde4_automoc()
svn path=/trunk/KDE/kdebase/apps/; revision=685984
2007-07-10 09:14:12 +00:00
Rafael Fernández López 23b91d0c36 Rename KListView to KCategorizedView as decided
svn path=/trunk/KDE/kdebase/apps/; revision=685767
2007-07-09 18:08:20 +00:00
Rafael Fernández López 98d01c5e23 Make KListView capable of drawing categories on our own way. This make things easier
when we are trying to customize it. We can also benefit from KStyle if some day it 
supports category drawing.

KListView keyboard navigation. Tricier than I thought.

Pending renaming to KCategorizedView. Seems a good name.

svn path=/trunk/KDE/kdebase/apps/; revision=684478
2007-07-06 17:41:04 +00:00
Laurent Montel 67563a41a1 Remove not necessary cmake variable
svn path=/trunk/KDE/kdebase/apps/; revision=683756
2007-07-05 09:02:54 +00:00
Laurent Montel 398005a991 Remove not necessary variable already
add by other kde cmake variable

svn path=/trunk/KDE/kdebase/apps/; revision=682363
2007-07-02 14:04:12 +00:00
Laurent Montel b5ada3a879 not necessary to duplicate it
svn path=/trunk/KDE/kdebase/apps/; revision=682359
2007-07-02 13:49:52 +00:00
David Faure ab3d8b1003 Here comes dolphinpart, to use dolphin as the file management view in konqueror.
Embeds nicely, now all the integration needs to be done.
Thanks to Peter for the nice DolphinView/DolphinViewContainer separation which made writing the part very very easy!

CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=682079
2007-07-01 14:25:21 +00:00
Peter Penz 4062c4cf2d Allow to sort by rating, which can be quite useful in combination with the "Show in Groups" feature. Although still slow, it basically works. All the code is based on Rafael Fernández López patch available at http://media.ereslibre.es/2007/06/dolphin-21062007.diff.
svn path=/trunk/KDE/kdebase/apps/; revision=678801
2007-06-22 10:18:46 +00:00
Rafael Fernández López 11f0a8c503 New and powerful KListView. Still pending class renaming. There are two
methods that I need to think about it, and boost. Small issues like 
reloading all data when sorting role suddenly changes. In general terms 
it will work nice when you sort by name or size. We have to work further 
when we sort by other roles. Nice times.

svn path=/trunk/KDE/kdebase/apps/; revision=676732
2007-06-17 15:32:31 +00:00
Sebastian Trueg b2547cf9a4 Adapt Dolphin Nepomuk support to namespace changes.
svn path=/trunk/KDE/kdebase/apps/; revision=674158
2007-06-11 21:46:04 +00:00
Peter Penz be9746e87b First big step to make it possible that the DolphinView can be embedded as KPart into Konqueror (discussed with David Faure). A lot of refactoring of the DolphinView has been done:
- The DolphinView does not contain the URL navigator, the filterbar and the statusbar anymore. Those widgets have been moved to DolphinViewContainer.
- The DolphinView does not contain any reference to the main window anymore.

Currently there are some minor regressions (the statusbar shows less informations, renaming has been deactivated), but they will get fixed during the next days. Also still a lot of interface cleanups must be done, but let's just do it step by step...

svn path=/trunk/KDE/kdebase/apps/; revision=672692
2007-06-07 21:10:48 +00:00
David Faure 3aa47b789b Make the test link (moving renamedialog to libdolphinprivate since we'll need that feature in the part anyway)
svn path=/trunk/KDE/kdebase/apps/; revision=666229
2007-05-19 08:03:39 +00:00
Peter Penz 15b965af3a David Faure wrote:
> Sounds like the kind of method that would benefit greatly from a unit test :)

OK, committing my first unit test for KDE. Although very minimal it's at least a start ;-) (currently deactivated as I've some problem in CMakeList.txt)

svn path=/trunk/KDE/kdebase/apps/; revision=666162
2007-05-18 23:36:58 +00:00