Commit graph

244 commits

Author SHA1 Message Date
Peter Penz
d13a840148 provide backspace as alternative shortcut for "go back"
svn path=/trunk/KDE/kdebase/apps/; revision=710364
2007-09-09 19:02:22 +00:00
Peter Penz
31e0dfb6fe change shortcut from the information sidebar to F11 for having a common setting like in the file dialog
svn path=/trunk/KDE/kdebase/apps/; revision=710257
2007-09-09 12:54:24 +00:00
Peter Penz
f470de267c F9 opens the places panel (-> consistent with file-dialog), F7 the folders panel ("tree-view")
svn path=/trunk/KDE/kdebase/apps/; revision=706369
2007-08-30 06:20:24 +00:00
Peter Penz
33f7cf63cb use new icons for closing the inactive view
svn path=/trunk/KDE/kdebase/apps/; revision=704543
2007-08-25 09:54:31 +00:00
Peter Penz
ce35ec9f3d The inactive view gets closed, no joining is done -> fix text
svn path=/trunk/KDE/kdebase/apps/; revision=700674
2007-08-16 06:59:36 +00:00
David Faure
81fcd720a2 Use KFileItem by value rather than by pointer
- in KDirModel::itemForIndex, as noted there as a TODO
 - in dolphin, everywhere.

svn path=/trunk/KDE/kdebase/apps/; revision=699691
2007-08-13 21:57:20 +00:00
Peter Penz
c349180c08 * fixed issue that when having a split view, that both views get the same color after OK or Apply has been pressed inside the Dolphin settings dialog
* prepare for toggling the view icon depending from the activation state

svn path=/trunk/KDE/kdebase/apps/; revision=699311
2007-08-12 17:48:29 +00:00
Peter Penz
e12944d443 Don't add the terminal to the right docking area, if it may only get aligned on the top and bottom.
svn path=/trunk/KDE/kdebase/apps/; revision=692484
2007-07-25 17:32:37 +00:00
Peter Penz
d5b2e29be3 apply shortcuts for docks
svn path=/trunk/KDE/kdebase/apps/; revision=687484
2007-07-13 18:25:36 +00:00
Peter Penz
09860f7cf4 instead of "Sort" -> "By Name", "By Date", "By Size", ...
use "Sort By" -> "Name", Date", "Size", ...

svn path=/trunk/KDE/kdebase/apps/; revision=687480
2007-07-13 18:14:41 +00:00
Peter Penz
ea3e000501 KUIT adaptions
svn path=/trunk/KDE/kdebase/apps/; revision=685432
2007-07-08 21:09:48 +00:00
David Faure
d89f43f66b Change signature of requestItemInfo signal, to avoid fileitem -> url -> index -> fileitem roundtrip in dolphin,
and to match the BrowserExtension mouseOverInfo() signal.
Started to implement more of the part (e.g. spinning wheel in konq).

svn path=/trunk/KDE/kdebase/apps/; revision=682440
2007-07-02 17:24:54 +00:00
Peter Penz
6b42e7ba3b KUIT adaptions
svn path=/trunk/KDE/kdebase/apps/; revision=681920
2007-06-30 20:10:50 +00:00
Peter Penz
afc732d220 Fix the following reproducible crash in a slightly different way (reported + initial fix done by Rafael):
* Open Dolphin. Enable categorization.
* Split the view. Disable categorization on the right one.
* Join the views.

CCMAIL: ereslibre@gmail.com

svn path=/trunk/KDE/kdebase/apps/; revision=680956
2007-06-27 15:15:29 +00:00
Rafael Fernández López
14a666ce8d Fix crash. Steps to reproduce:
* Open Dolphin. Enable categorization.
* Split the view. Disable categorization on the right one.
* Join the views.

I am not sure if this is the best way to proceed for this small bug. Please Peter, take a look.

CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=680499
2007-06-26 11:50:54 +00:00
Rafael Fernández López
66f4c8b3c8 Fix compile problems on systems that don't want nepomuk. eeek !
svn path=/trunk/KDE/kdebase/apps/; revision=679265
2007-06-23 13:12: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
Peter Penz
9f81672476 split view on startup if it is defined by the settings
svn path=/trunk/KDE/kdebase/apps/; revision=678063
2007-06-20 15:46:57 +00:00
Rafael Fernández López
7cd33328af EBN fixes
svn path=/trunk/KDE/kdebase/apps/; revision=677715
2007-06-19 19:17:32 +00:00
Peter Penz
5926d0fddd * fixed issue that some view properties like "show in groups" are ignored when a new DolphinViewContainer has been created (happens on startup or when a view is split)
* get rid of redundant parameter in constructors of DolphinView and DolphinViewContainer

svn path=/trunk/KDE/kdebase/apps/; revision=677654
2007-06-19 16:35:52 +00:00
Peter Penz
d79282c14c * move the "[ ] Show in Groups" checkbox from "View->Sort By" directly to "View"
* same for the viewproperties dialog: don't hide "Show in Groups" under "Sorting"

svn path=/trunk/KDE/kdebase/apps/; revision=677641
2007-06-19 16:00:21 +00:00
Kevin Ottens
2b8e67d7f2 Make use of the error messages coming from the places model.
svn path=/trunk/KDE/kdebase/apps/; revision=675760
2007-06-15 00:52:25 +00:00
Peter Penz
862ceee323 fixed some activation issues in combination with split views
svn path=/trunk/KDE/kdebase/apps/; revision=674980
2007-06-13 17:08:39 +00:00
Peter Penz
6f5f07d391 * allow to toggle the content of split views by the context menu
* minor cleanups in DolphinMainWindow

svn path=/trunk/KDE/kdebase/apps/; revision=674713
2007-06-12 21:45:22 +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
ce4dd84c27 assure that the view actions are updated when the split view is activated
svn path=/trunk/KDE/kdebase/apps/; revision=672702
2007-06-07 21:41:22 +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
Peter Penz
e4dddba6b6 Don't use a toggle action for "Split/Join" if the text and icon is changed dynamically.
svn path=/trunk/KDE/kdebase/apps/; revision=671043
2007-06-03 15:50:52 +00:00
Peter Penz
be17fe5a35 David Vignoni recommended to exchange the icon for "Preview"... Fixed now :-)
svn path=/trunk/KDE/kdebase/apps/; revision=671034
2007-06-03 15:19:52 +00:00
Peter Penz
19dadee2cf also toggle the text between "Split" and "Join" for the split action
svn path=/trunk/KDE/kdebase/apps/; revision=671018
2007-06-03 14:07:45 +00:00
Peter Penz
2d8209f072 update to David's suggestion for split view (http://davigno.oxygen-icons.org/?p=43)
svn path=/trunk/KDE/kdebase/apps/; revision=671011
2007-06-03 13:56:06 +00:00
Peter Penz
144c3d0f7c use "fileview-icon" instead of "view-icon" (thanks to David Vignoni for the update!)
svn path=/trunk/KDE/kdebase/apps/; revision=671004
2007-06-03 13:31:16 +00:00
Peter Penz
da795d20e2 create modal dialogs on stack as David suggested
svn path=/trunk/KDE/kdebase/apps/; revision=668900
2007-05-28 04:32:57 +00:00
Peter Penz
9801eddcdc reanimate properties dialog (thanks to Laurent Montel for fixing it in the tree view!)
svn path=/trunk/KDE/kdebase/apps/; revision=668453
2007-05-26 13:33:36 +00:00
Peter Penz
5c1e93481a EBN fixes + minor coding guideline fixes (thanks to Max Blazejak!).
svn path=/trunk/KDE/kdebase/apps/; revision=666164
2007-05-18 23:51:03 +00:00
Peter Penz
2ed4d8dcc4 information sidebar fixes:
- provide meta information when hovering items
- don't increase the sidebar width, if the item name is longer than the available width

svn path=/trunk/KDE/kdebase/apps/; revision=665646
2007-05-17 14:51:54 +00:00
Peter Penz
c35843f38c when the column view is used, then 'Split view' should take the root URL of the column view as new base for the secondary view
svn path=/trunk/KDE/kdebase/apps/; revision=665630
2007-05-17 13:29:13 +00:00
Peter Penz
8e4e7ce5b2 when having split views: darken the background color of the inactive view
svn path=/trunk/KDE/kdebase/apps/; revision=665612
2007-05-17 12:00:50 +00:00
Robert Knight
09224b911a Better choice of phrase: 'Categorized' -> 'Show in Groups'
svn path=/trunk/KDE/kdebase/apps/; revision=665189
2007-05-16 05:52:03 +00:00
Peter Penz
6ab84fbd61 don't lose the history of the URL navigator if the settings of the Icons View, Details View or Columns View have been changed
svn path=/trunk/KDE/kdebase/apps/; revision=663282
2007-05-10 18:27:32 +00:00
Dirk Mueller
a333c0d744 include cleanup
svn path=/trunk/KDE/kdebase/apps/; revision=663054
2007-05-09 22:23:52 +00:00
Luboš Luňák
dfe4a7598a Compile.
svn path=/trunk/KDE/kdebase/libkonq/; revision=662159
2007-05-07 15:10:51 +00:00
Peter Penz
87d2df39b5 don't use '/' as shortcut for filtering, this conflicts with the usage of the embedded terminal
svn path=/trunk/KDE/kdebase/apps/; revision=661959
2007-05-07 05:33:20 +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
Peter Penz
cdcb4b0166 coding style cleanup: fix wrong indenting of members in constructor
svn path=/trunk/KDE/kdebase/apps/; revision=661819
2007-05-06 17:41:49 +00:00
Peter Penz
5f87a8130e revert last commit, it leads to the uncommon behavior that the last state of the settings dialog is remembered (grmpf - I should do more testing... ;-))
svn path=/trunk/KDE/kdebase/apps/; revision=661511
2007-05-05 21:02:04 +00:00
Peter Penz
d00a895131 let the settings dialog be a singleton (thanks to Max Blazejak for the patch!)
svn path=/trunk/KDE/kdebase/apps/; revision=661508
2007-05-05 20:53:14 +00:00
Peter Penz
7b286a5463 let the information sidebar react on selection changes
svn path=/trunk/KDE/kdebase/apps/; revision=660580
2007-05-03 05:52:54 +00:00
Peter Penz
11c836057b don't connect each sidebar page with all available signals per default
svn path=/trunk/KDE/kdebase/apps/; revision=660258
2007-05-02 05:15:03 +00:00
Peter Penz
0c05681708 reactivated info sidebar again and temporary removed the code which resets the URL after starting Dolphin
svn path=/trunk/KDE/kdebase/apps/; revision=656979
2007-04-22 21:27:40 +00:00
Peter Penz
a195131147 allow sorting by type
svn path=/trunk/KDE/kdebase/apps/; revision=656971
2007-04-22 21:04:46 +00:00
Simon Hausmann
931d9cc75a Merging branches/work/kmainwindow-decoupling-branch from Kevin and me which
separates the xmlgui stuff from KMainWindow

svn path=/trunk/KDE/kdebase/apps/; revision=654728
2007-04-16 20:44:36 +00:00
Peter Penz
c0ec582ae7 use new "column view" icon (thanks to David Vignoni)
svn path=/trunk/KDE/kdebase/apps/; revision=654713
2007-04-16 20:08:09 +00:00
Peter Penz
c927a2a290 fixed shortcut for "Find"
svn path=/trunk/KDE/kdebase/apps/; revision=653948
2007-04-14 17:21:53 +00:00
Peter Penz
b72bd12276 allow to turn on/off the places panel by the menu
svn path=/trunk/KDE/kdebase/apps/; revision=653936
2007-04-14 16:50:51 +00:00
Kevin Ottens
4216e814d4 Those hacks are not needed anymore for autosaving.
svn path=/trunk/KDE/kdebase/apps/; revision=653522
2007-04-13 14:44:18 +00:00
Peter Penz
b42bd8c69d minor coding style cleanups
svn path=/trunk/KDE/kdebase/apps/; revision=653127
2007-04-12 17:37:53 +00:00
Peter Penz
a2ad1ba4cc use "folder" instead of "directory" for all visible strings
svn path=/trunk/KDE/kdebase/apps/; revision=652471
2007-04-11 05:42:11 +00:00
Peter Penz
6422ae393e allow to enable the categorization feature for sorting
svn path=/trunk/KDE/kdebase/apps/; revision=652200
2007-04-10 11:22:56 +00:00
Peter Penz
c8a4f1fd8d adapt Dolphin to kdelibs coding style (http://techbase.kde.org/Policies/Kdelibs_Coding_Style) by using:
astyle --indent=spaces=4 --brackets=linux \
       --indent-labels --pad=oper --unpad=paren \
       --one-line=keep-statements --convert-tabs \
       --indent-preprocessor \
       `find -type f -name '*.cpp'` `find -type f -name '*.h'`

svn path=/trunk/KDE/kdebase/apps/; revision=651981
2007-04-09 19:12:54 +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
Peter Penz
714d08f17c adaptions to the cleaned up interface of KUrlNavigator
svn path=/trunk/KDE/kdebase/apps/; revision=651675
2007-04-08 21:07:41 +00:00
Stephan Binner
c209c33cdd i18n style guide fixes
svn path=/trunk/KDE/kdebase/apps/; revision=650575
2007-04-04 21:11:21 +00:00
Pino Toscano
0c0f0d8f72 Qt::Ascending -> Qt::AscendingOrder
Qt::Descending -> Qt::DescendingOrder

svn path=/trunk/KDE/kdebase/apps/; revision=650398
2007-04-04 13:02:52 +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
Peter Penz
55f6f1d411 don't force a confirmation for deleting in Dolphin if the user has turned it off globally for KDE
svn path=/trunk/KDE/kdebase/apps/; revision=649112
2007-04-02 05:26:01 +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
9d0718ad39 use default 'do you really want to delete...' dialog from libkonq
svn path=/trunk/KDE/kdebase/apps/; revision=648962
2007-04-01 19:08:49 +00:00
Peter Penz
4908c5e60c changed EOL from windows to unix
svn path=/trunk/KDE/kdebase/apps/; revision=648942
2007-04-01 18:36:23 +00:00
Peter Penz
05fe35c4e8 reload view when the settings are applied
svn path=/trunk/KDE/kdebase/apps/; revision=648929
2007-04-01 18:08:24 +00:00
David Faure
623c19e042 Added setters in urlnavigator to remove dependency on dolphinsettings.
Removed old unused kfileiconview.h header, fixed some unrelated missing includes due to that one being removed.

svn path=/trunk/KDE/kdebase/apps/; revision=647244
2007-03-27 19:38:32 +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
David Faure
85bc196887 Ported to KBookmarkManager::closestBookmark - which even solves another TODO about code duplication.
Improved urlnavigator API to avoid exposing the full QList (api independent from implementation now).

svn path=/trunk/KDE/kdebase/apps/; revision=646954
2007-03-26 23:04:43 +00:00
David Faure
ad6c01d200 Using a QLinkedList mostly for "accessing element at index i" is not the best solution performance-wise... use a QList instead.
svn path=/trunk/KDE/kdebase/apps/; revision=646813
2007-03-26 18:34:52 +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
Peter Penz
ae338af474 improve the handling when applying item effects to cut items
svn path=/trunk/KDE/kdebase/apps/; revision=645516
2007-03-22 19:25:44 +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
242bda1ead let the context menu be aware about the trash
svn path=/trunk/KDE/kdebase/apps/; revision=642935
2007-03-15 21:24:41 +00:00
Peter Penz
d9ac44e08f Allow renaming of items (note that currently the "rename multiple files" dialog is temporary used for this until KFileItemDelegate offers editing functionality).
svn path=/trunk/KDE/kdebase/apps/; revision=642219
2007-03-13 17:31:54 +00:00
Peter Penz
a6d59a1381 replaced string "MIME Type" by "Type"
svn path=/trunk/KDE/kdebase/apps/; revision=641540
2007-03-11 18:28:59 +00:00
Peter Penz
f768cbd235 disable the 'Additional information' menu for other views then the 'Icons View'
svn path=/trunk/KDE/kdebase/apps/; revision=641532
2007-03-11 17:51:37 +00:00
Peter Penz
25349096ae Allow to set the 'AdditionalInformation' property from KFileItemDelegate for each folder. Use case:
- Icons view for images: set 'Size' as additional property
- Icons view for media: show 'MIME type' as additional property
- Default Icons view: don't show any addtional property for a clean layout.

TODO: KFileItemDelagate::AdditionalInformation intersects with KDirModel::Columns when used in combination with the details view. Assure that the user does not get confronted with such implementation details in the user interface.

svn path=/trunk/KDE/kdebase/apps/; revision=641525
2007-03-11 16:47:12 +00:00
Peter Penz
fca6867fea Apply an item effect to all cut items. As discussed with Fredrik this should be done in the application itself and not inside KDirModel to be able to do some optimizations.
svn path=/trunk/KDE/kdebase/apps/; revision=641317
2007-03-10 21:58:55 +00:00
Peter Penz
175f629b69 fix internationalization issue
svn path=/trunk/KDE/kdebase/apps/; revision=641301
2007-03-10 20:45:07 +00:00
Peter Penz
bfcf764b69 Fixed icon-names so that they match to the new Oxygen naming scheme (erase all Dolphin config files to see the effect). Although Oxygen is not finished yet, it looks very beautiful already, kudos to the Oxygen team :-)
svn path=/trunk/KDE/kdebase/apps/; revision=641285
2007-03-10 19:41:49 +00:00
Aaron J. Seigo
3759f51a13 oxygen icon naming fixes from Luca Gugelmann
svn path=/trunk/KDE/kdebase/libkonq/; revision=640669
2007-03-08 19:32:19 +00:00
Peter Penz
9470a816eb Per default turn off the information panel and the tree view panel for the first start of Dolphin, only show the bookmarks panel.
svn path=/trunk/KDE/kdebase/apps/; revision=639007
2007-03-04 00:39:21 +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
Peter Penz
802a2572b3 Use the home URL from the settings instead of the "first bookmark" when starting Dolphin. The "first bookmark" is not automatically the home URL like in older Dolphin releases...
svn path=/trunk/KDE/kdebase/apps/; revision=638406
2007-03-01 20:59:24 +00:00
Peter Penz
a0cf8456fe Allow zooming in and zooming out in the icons view.
svn path=/trunk/KDE/kdebase/apps/; revision=638386
2007-03-01 19:36:37 +00:00
Peter Penz
a46551d63e Jippie: file previews are generated again! Thanks to Fredrik for giving me a hint how to do it (if I would have known that it is so easy, I'd have implemented it already some weeks ago...). It's very nice that the details view now also is able to show previews (Kudos to Interview & KDirModel).
svn path=/trunk/KDE/kdebase/apps/; revision=638081
2007-02-28 19:17:26 +00:00
Peter Penz
d9c3648d5a Implemented one of the most often requested features for Dolphin: allow that the command 'Delete' is shown in the context menu to bypass the trash. Like in Konqueror the default setting is that the 'Delete' command is not shown. TODO: currently this is a custom setting of Dolphin. Konqueror uses the global settings from KDE for this -> should this be changed to use the global setting instead?
svn path=/trunk/KDE/kdebase/apps/; revision=637232
2007-02-25 20:51:05 +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
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
Alexander Wiedenbruch
bf50ced734 Fixing autogenerated headers includes
svn path=/trunk/KDE/kdebase/apps/; revision=635892
2007-02-21 10:43:59 +00:00
Chusslove Illich
1a81483d2e i18n fixes. Note: %n is no longer used in plural strings.
svn path=/trunk/KDE/kdebase/apps/; revision=635655
2007-02-20 15:03:09 +00:00
David Faure
76ba5d5a09 setGroup -> KConfigGroup
svn path=/trunk/KDE/kdebase/apps/; revision=635597
2007-02-20 11:55:38 +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
3316903fe8 View properties dialog: Allow to reset all view properties (the timestamp is used for this). Additionally it is possible for the user to specify whether the current view properties should be the default for new directories.
svn path=/trunk/KDE/kdebase/apps/; revision=634789
2007-02-18 11:20:32 +00:00
Peter Penz
0368591365 Fixed shortcuts, removed warnings.
svn path=/trunk/KDE/kdebase/apps/; revision=634634
2007-02-17 21:47:45 +00:00
Peter Penz
ace4095c98 don't perform a copy operation, if the user clicked outside the popup menu
svn path=/trunk/KDE/kdebase/apps/; revision=634547
2007-02-17 14:57:05 +00:00
Peter Penz
175fe7ff47 Cleanup of the URL navigator, so that the DolphinMainWindow and the DolphinView are not used anymore. This will make it easier for us later on when moving the URL navigator outside Dolphin to make it accessable for other parts. Currently the bookmarks are still accessed by DolphinSettings, but this will be cleaned up later...
svn path=/trunk/KDE/kdebase/apps/; revision=634432
2007-02-17 10:31:52 +00:00
Peter Penz
abf8f1917d Additionally to sorting by name, size and date it is now possible to sort by permissions, owner and group.
svn path=/trunk/playground/utils/dolphin/; revision=631058
2007-02-07 06:19:06 +00:00
David Faure
d674eda218 Fix compilation
svn path=/trunk/playground/utils/dolphin/; revision=630669
2007-02-05 23:12:51 +00:00
Peter Penz
c8b837a47b clear the status bar when doing an undo operation
svn path=/trunk/playground/utils/dolphin/; revision=628910
2007-01-31 22:14:46 +00:00
Peter Penz
e181654494 update to changes in class KGlobal (kdelibs)
svn path=/trunk/playground/utils/dolphin/; revision=628641
2007-01-30 19:31:37 +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
d52282f8a2 First step for making the details view usable again:
- accept drops
- Automatically resize the columns in a way that the whole available width is used by stretching the width of the 'Name' column. Qt4's QTreeView really rocks, only a few lines of code had been necessary to get this behavior :-)

svn path=/trunk/playground/utils/dolphin/; revision=627189
2007-01-25 22:28:04 +00:00
Peter Penz
5e22e4efba David's patches come in faster than light: removed code duplication, as a proper default implementation is now available in KonqUndoManager::UiInterface::copiedFileWasModified().
svn path=/trunk/playground/utils/dolphin/; revision=627164
2007-01-25 21:06:59 +00:00
Peter Penz
fb0b2a777b Use custom implementation of KonqUndoManager::UiInterface for Dolphin. This allows that error messages are shown inside the status bar of Dolphin (otherwise a modal error dialog containing an "OK" button would be opened).
svn path=/trunk/playground/utils/dolphin/; revision=627130
2007-01-25 19:37:19 +00:00
Peter Penz
33fab30e57 Cleanup of URL drop handling (simplified code, modifier keys work again). After further minor cleanups it looks like KonqOperations::doDrop() can be used later on :-)
svn path=/trunk/playground/utils/dolphin/; revision=627105
2007-01-25 17:56:29 +00:00
Peter Penz
214ee5de3f Use KNewMenu instead of custom implementation of Dolphin. TODO: currently errors are indicated automatically in a message box KNewMenu. In Dolphin modal dialogs having only an "OK" button are not used -> it would be nice if Dolphin could handle the errors in a custom way.
svn path=/trunk/playground/utils/dolphin/; revision=627085
2007-01-25 16:56:52 +00:00
Peter Penz
78d1167c38 Get rid of some KDE 3 relicts.
svn path=/trunk/playground/utils/dolphin/; revision=626610
2007-01-23 21:44:52 +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
d8ab89171d Applied some patches found by EBN (thanks to Nicolas Lécureuil for the patches!).
svn path=/trunk/playground/utils/dolphin/; revision=621872
2007-01-10 00:04:16 +00:00
Kevin Ottens
8046908e5b Port to new KAction, KActionCollection API.
svn path=/trunk/playground/utils/dolphin/; revision=621553
2007-01-09 00:45:31 +00:00
Peter Penz
b4543ce170 Remember the position and size of the docks by using QMainWindow::saveState() and QMainWindow::restoreState(). I assume that in KDE 4 there will be a generic mechanism to store the position and size of docks like done for toolbars -> this is only a temporary solution to have a usable version of Dolphin in the meantime.
svn path=/trunk/playground/utils/dolphin/; revision=620954
2007-01-07 21:10:52 +00:00
Peter Penz
4a0a832ddb Minor adjustments for the panels:
- only let them align on the left and the right side
- summarize the panels inside a sub menu entry

svn path=/trunk/playground/utils/dolphin/; revision=620656
2007-01-06 21:46:38 +00:00
Peter Penz
86ad5d0a63 Reanimate drag and drop support for the URL navigator.
svn path=/trunk/playground/utils/dolphin/; revision=620633
2007-01-06 19:51:48 +00:00
Holger Freyther
f28181d833 SVN_SILENT make it compile (Dlg->Dialog)
svn path=/trunk/playground/utils/dolphin/; revision=618826
2007-01-02 09:16:36 +00:00
Kevin Ottens
8812b5da0a Compile++
svn path=/trunk/playground/utils/dolphin/; revision=616917
2006-12-27 11:19:39 +00:00
Peter Penz
b0b162135d - Performance optimization in DolphinView::loadDirectory() (don't store the view properties for each property individually)
- Get rid of methods which are not used anymore due to moving to KDirModel.
- Respect GeneralSettings::globalViewProps() setting when storing view properties.

svn path=/trunk/playground/utils/dolphin/; revision=615255
2006-12-20 20:50:32 +00:00
Aaron J. Seigo
934ba42b09 KStdAction -> KStandardAction
svn path=/trunk/playground/utils/dolphin/; revision=614825
2006-12-19 02:26:06 +00:00
Holger Freyther
ba6f7b0232 make it compile
svn path=/trunk/playground/utils/dolphin/; revision=614752
2006-12-18 20:38:23 +00:00
Simon Hausmann
548169f004 - don't use deprecated KAction constructors
svn path=/trunk/playground/utils/dolphin/; revision=614376
2006-12-17 14:14:52 +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
c28c72619c Reanimated cut-, copy- and paste- functionality as preparation for moving to KonqUndoManager.
svn path=/trunk/playground/utils/dolphin/; revision=614325
2006-12-17 11:52:26 +00:00
Peter Penz
dd8158e707 Don't show the 'Show Preview' property inside the toolbar per default.
svn path=/trunk/playground/utils/dolphin/; revision=613031
2006-12-13 08:03:38 +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
Holger Freyther
6cb02408e4 Use a QLinkedList instead of Q3PtrList
svn path=/trunk/playground/utils/dolphin/; revision=612313
2006-12-10 21:01:38 +00:00
Holger Freyther
328de20871 --deprecation
svn path=/trunk/playground/utils/dolphin/; revision=612307
2006-12-10 20:34:43 +00:00
Peter Penz
d8669c68e4 Cleanup of signal/slot handling between the dolphin view and the main window: now the main window listens to the signals from the dolphin view and connects to private slots (previously the dolphin view connected to public slots of the main window). Also prevent naming all slots by the prefix 'slot', describe instead what the method does.
svn path=/trunk/playground/utils/dolphin/; revision=611617
2006-12-08 23:41:08 +00:00
Holger Freyther
d7d4fb9d26 Update the FSF address to 51 Franklin Street (hopefully it is the right one)
gnused rocks!

svn path=/trunk/playground/utils/dolphin/; revision=611576
2006-12-08 21:24:08 +00:00
Peter Penz
cbe7e3a832 Patch from Dominik Hauman: Assure that when splitting a view both views take 50 % of the width. Also the flickering has been eliminated.
svn path=/trunk/playground/utils/dolphin/; revision=611081
2006-12-06 16:50:13 +00:00
Kevin Ottens
197f9a4280 Finally! Dock widgets can be hidden from the view menu since
KActionCollection now can take QAction*.

svn path=/trunk/playground/utils/dolphin/; revision=611064
2006-12-06 15:37:51 +00:00
Simon Hausmann
d567bc3aea - compile with trunk kdelibs
svn path=/trunk/playground/utils/dolphin/; revision=610667
2006-12-04 21:51:17 +00:00
Zack Rusin
d27b30a66a fixing more warnings
svn path=/trunk/playground/utils/dolphin/; revision=610636
2006-12-04 19:51:53 +00:00
Peter Penz
c94276725b reanimated the context menu
svn path=/trunk/playground/utils/dolphin/; revision=609962
2006-12-02 21:51:36 +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
91c5f52d87 Add a "New Window" option to Dolphin
svn path=/trunk/playground/utils/dolphin/; revision=609048
2006-11-29 12:31:16 +00:00
Holger Freyther
9a4a17dd4d Changes to Undo/Redo in regard to ProgressIndicator
It was not important to know where the operation was
    executed, it is important where undo/redo was clicked
    and this solely indicates where the progress should be
    shown.
    Now undo/redo get the MainWindow and can pass that to
    ProgressIndicator.
    I'm about to revive m_progressIndicator again

svn path=/trunk/playground/utils/dolphin/; revision=609020
2006-11-29 09:30:41 +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
Renamed from src/dolphin.cpp (Browse further)