Commit graph

51 commits

Author SHA1 Message Date
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
David Faure 6ea851f030 Don't rely on konsole sources.
If compilation fails, update and install kdelibs/interfaces/terminal

svn path=/trunk/KDE/kdebase/apps/; revision=662060
2007-05-07 12:01:37 +00:00
Laurent Montel a4713e9ea4 Adapt to new konsole api
svn path=/trunk/KDE/kdebase/apps/; revision=661990
2007-05-07 07:27:26 +00:00
Peter Penz 35ee348c45 Initial step for showing the terminal embedded inside Dolphin instead of opening a separate window. This allows to synchronize the current directory of the terminal with the shown directory in Dolphin.
svn path=/trunk/KDE/kdebase/apps/; revision=661890
2007-05-06 21:50:24 +00:00
David Faure 919071ae88 If it's not always compiled, then we need to check it before we add it to the link line...
svn path=/trunk/KDE/kdebase/apps/; revision=660323
2007-05-02 10:02:19 +00:00
David Faure 5aa8b5ca97 Oh. It's in kdelibs, but it's not always compiled. Revert.
(and moved checks to the right place)

svn path=/trunk/KDE/kdebase/apps/; revision=660320
2007-05-02 10:00:16 +00:00
David Faure 3cf6c8590f kmetadata is in kdelibs now
svn path=/trunk/KDE/kdebase/apps/; revision=660318
2007-05-02 09:52:26 +00:00
Sebastian Trueg f867a1a3a7 * Added KMetaData cmake check
* Fixed Dolphin+KMetaData compilation
* Moved knepomuk tests into kdebase

svn path=/trunk/KDE/kdebase/apps/; revision=660109
2007-05-01 15:18:07 +00:00
Pino Toscano 28a08b940c headers of a private library should not be installed
svn path=/trunk/KDE/kdebase/apps/; revision=656882
2007-04-22 16:01:07 +00:00
Peter Penz 5b5a7b8da8 Added Rafael López's item categorizer into Dolphin (it's currently deactivated in dolphiniconsview.cpp until it's in shape for the public).
svn path=/trunk/KDE/kdebase/apps/; revision=652156
2007-04-10 08:46:21 +00:00
Kevin Ottens 30161a7b3f Dolphin is now KBookmark* free.
svn path=/trunk/KDE/kdebase/apps/; revision=651766
2007-04-09 09:16:39 +00:00
Pino Toscano 52c3d5a222 move the QT3_SUPPORT definition only where it's needed
svn path=/trunk/KDE/kdebase/apps/; revision=650430
2007-04-04 14:47:36 +00:00
Kevin Ottens b94f306f56 Places and url navigator are now provided by kfile. Port Dolphin to this
change.

svn path=/trunk/KDE/kdebase/apps/; revision=649541
2007-04-02 20:08:14 +00:00
Kevin Ottens 03713b0ab4 Rename all the URL navigator related classes to prepare their migration
in kdelibs.

svn path=/trunk/KDE/kdebase/apps/; revision=649514
2007-04-02 19:20:07 +00:00
Kevin Ottens c6d0d2b92d Introduce KFilePlacesView which is a list view adding the navigation
logic. Suitable to interface it in Dolphin or the KFileDialog.


svn path=/trunk/KDE/kdebase/apps/; revision=649204
2007-04-02 08:51:57 +00:00
Kevin Ottens 056ac9a271 Add the KFilePlacesModel class. It allows to list user's "places" (a mix
of bookmarks and volume devices). Still incomplete, for now it simply 
list the places (drag and drop, and more interaction needs to be 
implemented). It's supposed to move into kdelibs/kio soon.

svn path=/trunk/KDE/kdebase/apps/; revision=649038
2007-04-01 22:28:03 +00:00
Peter Penz f57f351cce integrate column view into settings
svn path=/trunk/KDE/kdebase/apps/; revision=648926
2007-04-01 17:57:53 +00:00
Peter Penz fd060ce7f6 Initial version for a column view support (thanks a lot to Benjamin Meyer for QColumnView in Qt4.3!). Currently there is a problem when using the DolphinSortFilterProxyModel: some items get duplicated, but I doubt it's an issue in QColumnView (the same issue occurs when using QTreeView) -> further investigations necessary...
svn path=/trunk/KDE/kdebase/apps/; revision=647234
2007-03-27 19:08:44 +00:00
Peter Penz 8f9baef848 Patch by Luca Gugelmann: get rid of any mainwindow dependency from the sidebars.
svn path=/trunk/KDE/kdebase/apps/; revision=646256
2007-03-25 06:44:28 +00:00
Laurent Montel 84ea1693da Create shared lib as discussed with David and Peter
It will used to create kparts which will use theses class

svn path=/trunk/KDE/kdebase/apps/; revision=645768
2007-03-23 15:32:28 +00:00
Sebastian Trueg 4af3a2dcb4 Improved KMetaData integration. The Dolphin info sidebar now uses KMetaData to allow file rating, commenting, and tagging.
This commit is indended to show what can be done with KMetaData in an easy way. The GUI is not perfect yet.

svn path=/trunk/KDE/kdebase/apps/; revision=644510
2007-03-20 09:01:22 +00:00
Peter Penz 57e6749927 assure that the iconsview settings-dialog fits on a 800 x 600 screen
svn path=/trunk/KDE/kdebase/apps/; revision=641493
2007-03-11 14:41:09 +00:00
Peter Penz b5cc2a6924 Create a SidebarTreeView which will include support for drag & drop in later releases and encapsulates sidebar specific behavior. TODO: using a sort proxy model results in duplicated elements when the dir lister reloads items.
svn path=/trunk/KDE/kdebase/apps/; revision=641359
2007-03-11 00:56:43 +00:00
Peter Penz fe8b349bce It seems some people cannot live without a tree view ;-) So Dolphin will provide a dock which contains the directory hierarchy, which will be synchronized with the active view. It does not clutter the UI (the dock can be turned off), but makes happy a lot of users -> kind of win-win-situation. This commit provides only a rough initial version, which shows the current URL as tree. I'll work on the interaction during the next week(s)...
svn path=/trunk/KDE/kdebase/apps/; revision=638628
2007-03-02 18:59:09 +00:00
Oscar Blumberg 9c8e7f4e43 Add libkmetadata detection and minor fixes
SVN_SILENT

svn path=/trunk/KDE/kdebase/apps/; revision=636328
2007-02-22 20:15:20 +00:00
Aaron J. Seigo 571e40b057 make nepomuk support optional, mostly through a bunch of non-existent ifdef's =)
svn path=/trunk/KDE/kdebase/apps/; revision=636289
2007-02-22 18:49:26 +00:00
Oscar Blumberg cefcbf0ef0 * Starts to add Nepomuk supports to dolphin (currently, only annotations are supported)
* Little changes in InfoSidebarPage (no more multiple label for infos & Q3Layout>QLayout)
* Support infos for multiple files (only total size, what else ?)

svn path=/trunk/KDE/kdebase/apps/; revision=636272
2007-02-22 16:45:53 +00:00
Stephan Kulow 20195315bb installing a file called generalsettings.kcfgc just asks
for trouble - always prefix installed files 

svn path=/trunk/KDE/kdebase/apps/; revision=635877
2007-02-21 09:31:52 +00:00
Peter Penz abf17941f7 Dolphin is now a KUniqueApplication. A lot of thanks go to Oscar Blumberg, who submitted this patch.
svn path=/trunk/KDE/kdebase/apps/; revision=634862
2007-02-18 17:01:36 +00:00
Peter Penz c91365ab8d Step one for having DolphinParts for the icons and details view, which can be used by Konqueror. TODO: currently dropping of items is deactivated, as I want to wait for Davids feedback whether the direction is ok.
svn path=/trunk/KDE/kdebase/apps/; revision=633703
2007-02-14 21:54:24 +00:00
David Faure 8134fd34d5 get libkonq from kdebase
svn path=/trunk/KDE/kdebase/apps/; revision=633693
2007-02-14 21:17:05 +00:00
Peter Penz 5840fcede7 Do a custom error handling in for the 'Create New...' submenu. Thanks to David for adjusting KNewMenu :-)
svn path=/trunk/playground/utils/dolphin/; revision=627220
2007-01-26 00:55:49 +00:00
Peter Penz 07e07fd522 Removed helper class ProgressIndicator (not needed anymore because of the use of KonqUndoManager).
svn path=/trunk/playground/utils/dolphin/; revision=625608
2007-01-20 15:03:14 +00:00
Peter Penz 76866f783c Replaced Dolphins UndoManager and DolphinCommand by KonqUndoManager and KonqOperations. There are still some minor open issues left (renaming of multiple selected files, no undo support for KonqOperations::mkdir(), redo, ...), but all in all it absolutely makes sense to use a shared code for those operations.
svn path=/trunk/playground/utils/dolphin/; revision=624760
2007-01-18 06:32:21 +00:00
Peter Penz 642110309a Let the user chose whether view properties should be remembered for each directory or whether they should be valid globally. Per default the view properties are remembered for each directory. For testing purposes the MIME type information is shown per default in the icons mode (thanks to Fredrik for the cool implementation in KFileItemDelegate!).
svn path=/trunk/playground/utils/dolphin/; revision=615232
2006-12-20 19:10:39 +00:00
Peter Penz 8b240249db Use KonqMimeData for the cut- and copy-operation instead of using bool property inside DolphinMainWindow. This assures that cut- and copy-operations also work within multiple Dolphin main windows.
svn path=/trunk/playground/utils/dolphin/; revision=614351
2006-12-17 13:47:45 +00:00
Peter Penz 1547891be2 Use QSortFilterProxyModel for sorting KFileItems (thanks to Fredrik for this hint!). TODO: the implementation does not work yet, as QSortFilerProxyModel::lessThan() is not invoked; I'm too tired currently for finding the root of this ;-)
svn path=/trunk/playground/utils/dolphin/; revision=613747
2006-12-14 23:49:30 +00:00
Peter Penz 163fa7ce30 Instead of having a the 3 view modes "icons", "details" and "previews" only 2 view modes are used now: "icons" and "details". Whether a preview is shown or not is part of the directory view properties. This also means that it will be possible to show previews in the "details" view in future releases.
svn path=/trunk/playground/utils/dolphin/; revision=613029
2006-12-13 07:41:11 +00:00
Peter Penz ced7cbd022 Use a KIO Job for applying the view properties recursively to sub directories.
svn path=/trunk/playground/utils/dolphin/; revision=611325
2006-12-07 17:22:51 +00:00
Peter Penz 8c7e12b1f7 Applying view properties recursively to sub directories works again (TODO: rewrite ViewPropsApplier completely as KJob implementation).
svn path=/trunk/playground/utils/dolphin/; revision=610887
2006-12-05 22:48:35 +00:00
Kevin Ottens b1d5b6b746 Get ride of the sidebar and use dockwidgets instead.
Default is now three panes, but the dockwidgets can be stacked, etc. to 
the user convenience.

There's a slight loss in feature since I disabled dockwidgets hiding, 
it's simply because some rework is still needed in kdelibs and Qt to 
make them work correctly.


svn path=/trunk/playground/utils/dolphin/; revision=609186
2006-11-29 18:09:26 +00:00
Holger Freyther f31a541925 Make it (almost) possible to have more than one Dolphin KMainWindow
Create a DolphinApplication, holding DolphinMainWindows and update
    the code to use the DolphinView to get the MainWindow, or get a ptr
    to the MainWindow directly. Or if all windows are effected go through
    the DolphinApplication to update every mainwindow.
    The UndowManager and ProgressIndicator have a rather strange relationship
    and will need some more attention but as UndoManager will be killed
    anyway I have skipped this.
    More cleanup, debugging and thinking is needed.

svn path=/trunk/playground/utils/dolphin/; revision=608945
2006-11-29 00:02:19 +00:00
Peter Penz 0e3d1576d5 Initial step for moving to KDirModel. Large code parts have been deleted, as a step by step migration makes no sense. Check KDE3 version of Dolphin as reference how things have been done before.
svn path=/trunk/playground/utils/dolphin/; revision=607513
2006-11-24 22:10:33 +00:00
Laurent Montel 9d26e139f8 Clean up
Add Message.sh to generate translation

svn path=/trunk/playground/utils/dolphin/; revision=607130
2006-11-23 09:54:10 +00:00
Laurent Montel c94162b9bf Not necessary
svn path=/trunk/playground/utils/dolphin/; revision=606878
2006-11-22 07:54:13 +00:00