Peter Penz
2f47863c68
- allow the view implementations to attach custom actions to the context menu
...
- let the "details view" show the "[x] Expandable Folders" action in the context menu
CCMAIL: faure@kde.org
svn path=/trunk/KDE/kdebase/apps/; revision=924867
2009-02-11 20:45:12 +00:00
Peter Penz
3cfeee94d4
Fixed issue that the 'Create New' menu might be disabled although creating of files is allowed. Thanks to Frank Reininghaus for the patch!
...
BUG: 183812
svn path=/trunk/KDE/kdebase/apps/; revision=924120
2009-02-10 07:09:49 +00:00
Peter Penz
307285e963
Group classes into folders, Dolphin is too big in the meantime for having a flat directory hierarchy. dolphin/src/CMakeLists.txt will be cleaned up later.
...
svn path=/trunk/KDE/kdebase/apps/; revision=911065
2009-01-14 19:26:23 +00:00
Peter Penz
de2d93b068
minor improvement to last commit: only request the focus if we have a listable protocol; otherwise leave the focus where it was (e. g. so that the user can enter another URL)
...
svn path=/trunk/KDE/kdebase/apps/; revision=898822
2008-12-19 06:48:57 +00:00
Peter Penz
426a57997b
Don't request the focus for the view because of a completed directory lister, instead directly request it when we know that the user has entered a new URL. This prevents that the focus gets stolen from the Terminal when somebody types "touch foo".
...
BUG: 178070
svn path=/trunk/KDE/kdebase/apps/; revision=898819
2008-12-19 06:41:26 +00:00
Peter Penz
d05c4ba829
turn off the filter when closing the filterbar by CTRL+I
...
BUG: 177948
svn path=/trunk/KDE/kdebase/apps/; revision=897988
2008-12-17 10:35:02 +00:00
Peter Penz
94ef8919bf
Assure that the view gets focused when:
...
* Enter or Ctrl+Enter is pressed in the URL navigator
* when the filter bar gets closed
BUG: 158232
svn path=/trunk/KDE/kdebase/apps/; revision=897739
2008-12-16 18:37:02 +00:00
Peter Penz
a86985b0b4
The nasty "100 ms" delay is not necessary anymore, doing a queued call works perfectly to restore the contents position of a view.
...
CCMAIL: kdedevel@etotheipiplusone.com
svn path=/trunk/KDE/kdebase/apps/; revision=896237
2008-12-12 22:33:14 +00:00
Peter Penz
37c5fc0813
If the users enters an URL that represents a file, open the file by the corresponding application instead of showing an error message.
...
BUG: 165877
svn path=/trunk/KDE/kdebase/apps/; revision=896189
2008-12-12 19:44:28 +00:00
Peter Penz
03407356ca
don't disable the "Create New" menu entry, when switching between columns of the column view
...
BUG: 173153
svn path=/trunk/KDE/kdebase/apps/; revision=896156
2008-12-12 18:20:01 +00:00
Peter Penz
85aec92f81
SVN_SILENT: removed trailing spaces
...
svn path=/trunk/KDE/kdebase/apps/; revision=895978
2008-12-12 06:55:26 +00:00
Peter Penz
b0e2579178
* don't launch Konqueror when the protocol is invalid
...
* launch default browser when the protocol is http
CCMAIL: faure@kde.org
svn path=/trunk/KDE/kdebase/apps/; revision=883858
2008-11-13 18:15:12 +00:00
Jordi Polo
576e998dcd
Launch Konqueror if the user enters an unsupported protocol
...
BUG:171626
svn path=/trunk/KDE/kdebase/apps/; revision=883279
2008-11-12 14:48:55 +00:00
Peter Penz
a7838db28e
* implement the DragAndDropHelper as singleton derived from QObject, so that emitting of signals is possible
...
* show an information message in the statusbar, if items are dragged into the same directory
TODO: although the signal seems to get connected correctly, the slot DolphinMainWindow::showInformationMessage() is not invoked when the signal is emitted -> will debug this later, it is important that the new string is added before the message freeze
svn path=/trunk/KDE/kdebase/apps/; revision=881627
2008-11-08 16:22:30 +00:00
Peter Penz
e7bd514a39
* Move code from DolphinDropController to DragAndDropHelper.
...
* Move code which checks whether the dragging of a MIME type is supported to DragAndDropHelper. This allows adding an improved support for dropping compressed files from Ark to Dolphin later...
CCMAIL: haraldhv@stud.ntnu.no
svn path=/trunk/KDE/kdebase/apps/; revision=875611
2008-10-24 22:19:23 +00:00
Peter Penz
dc6bd8046f
Assure that no reloading is done if KDirLister emits a redirection, only change the the URL. Thanks to David Faure and Albert Alstals Cid for the detailed analysis!
...
BUG: 155591
svn path=/trunk/KDE/kdebase/apps/; revision=875554
2008-10-24 19:52:28 +00:00
Peter Penz
c617050efb
improvement to previous commit: check whether the URL can be listed by asking the protocol manager (thanks to David Faure for the hint)
...
svn path=/trunk/KDE/kdebase/apps/; revision=869022
2008-10-07 22:05:55 +00:00
Peter Penz
0ee9ee0ea8
If an URL cannot be listed, just let the view and the panels show the last listable URL. This prevents having an empty view and empty panels when typing a wrong URL.
...
BUG: 170695
svn path=/trunk/KDE/kdebase/apps/; revision=868984
2008-10-07 20:29:18 +00:00
Peter Penz
d89548a828
allow to configure whether the zoom slider and/or the space information should be shown in the statusbar
...
svn path=/trunk/KDE/kdebase/apps/; revision=868596
2008-10-06 18:15:53 +00:00
Peter Penz
2a1c78d3da
Provide a zoom slider in the status bar. It is configurable whether the zoom slider and/or the space information is shown in the statusbar (the GUI in the settings dialog will be provided during the next week).
...
svn path=/trunk/KDE/kdebase/apps/; revision=868272
2008-10-05 21:17:06 +00:00
Peter Penz
224f471a9f
update the statusbar and provide a progress information within the Dolphin KPart, so that Konqueror shows the same information as Dolphin (thanks to Simon St James for the patch!)
...
CCMAIL: faure@kde.org
svn path=/trunk/KDE/kdebase/apps/; revision=868210
2008-10-05 18:11:46 +00:00
Peter Penz
aa0b09dac4
* adjusted Dolphin to use KonqOperations::doDrop() instead of using a custom implementation
...
* used new signals jobRecordingStarted() and jobRecordingFinished from FileUndoManager to inform the user in the statusbar when a recorded command has been finished
svn path=/trunk/KDE/kdebase/apps/; revision=866777
2008-10-01 21:39:35 +00:00
Peter Penz
cb5a134080
don't clear the filterbar when switching between tabs
...
BUG: 169878
svn path=/trunk/KDE/kdebase/apps/; revision=856411
2008-09-02 20:01:50 +00:00
Peter Penz
afcbe61a6c
Allow to configure in the startup configuration whether the URL Navigator should show the full path in the breadcrumb view.
...
svn path=/trunk/KDE/kdebase/apps/; revision=841571
2008-08-03 14:53:30 +00:00
Peter Penz
295ecd1ddf
Disable the menu 'File' -> 'Create New...' if no writing is supported.
...
BUG: 166592
svn path=/trunk/KDE/kdebase/apps/; revision=834845
2008-07-19 16:51:29 +00:00
Peter Penz
e54e6a9cdb
Move the code for restoring the current item from DolphinViewContainer to DolphinView, as the DolphinView must be able to do this without advice from the container.
...
Beside that this simplifies the code it also fixes a regression of having empty tabs.
svn path=/trunk/KDE/kdebase/apps/; revision=813828
2008-05-28 20:40:16 +00:00
Peter Penz
ed5b2e5473
when going back in history apply the keyboard focus to the the previously shown directory
...
BUG: 156550
BUG: 158590
svn path=/trunk/KDE/kdebase/apps/; revision=810493
2008-05-20 21:21:48 +00:00
Peter Penz
2041dcd123
remove unused method
...
svn path=/trunk/KDE/kdebase/apps/; revision=810455
2008-05-20 19:40:07 +00:00
Peter Penz
63be8bc9a1
Fixed issue the the current view does not get the focus after opening Dolphin. Although this fixes #161590 , further improvements have to be done to minimize the number of necessary tab presses...
...
BUG: 161590
svn path=/trunk/KDE/kdebase/apps/; revision=805206
2008-05-07 20:50:27 +00:00
David Faure
6d425dcc66
Use new key in .protocol files, archiveMimetype, to know which kioslave can handle which type of archive in a generic way.
...
Used that in dolphin and in konqueror (and in the filetypes config module, to show the right default value for those mimetypes).
This way Urs can extend this mechanism with the p7zip kioslave in the future.
CCMAIL: uwolfer@kde.org , peter.penz@gmx.at
svn path=/trunk/KDE/kdebase/apps/; revision=790102
2008-03-25 21:39:05 +00:00
Norbert Frese
7a1992e86b
Make Konqueror and Dolphin use the new KFileItem::targetUrl() method.
...
svn path=/trunk/KDE/kdebase/apps/; revision=782396
2008-03-05 00:17:53 +00:00
Bill Egert
ff32f4c1c4
No longer use Obsolete Member for QWidget:
...
topLevelWidget() => window()
svn path=/trunk/KDE/kdebase/apps/; revision=776408
2008-02-18 01:06:50 +00:00
Robert Knight
12c6facfce
Fix flicker when resizing the central view area in Dolphin. Only applicable with Qt 4.4 with alien widgets enabled. Any widgets passed to KDirLister::setMainWindow() become native widgets because of a call to QWidget::winId() inside KIO. This fix passes the top level Dolphin window to setMainWindow() (which is already a native window) instead of the item view widget.
...
svn path=/trunk/KDE/kdebase/apps/; revision=775396
2008-02-15 18:18:21 +00:00
David Faure
e3da86af95
forwardport 764429:
...
Revert the moving of the action to the DolphinView instance, this doesn't work with splitted views.
(Each view would need its own action collection, but then DolphinView would have to become
a KXMLGUIClient, and the GUI would flicker when switching views).
Instead, use the same solution as the other shared actions: static method in DolphinView (for now),
slot in the mainwindow (and for the more complex actions than this one, shared code in DolphinView)
svn path=/trunk/KDE/kdebase/apps/; revision=764436
2008-01-21 19:31:07 +00:00
Peter Penz
8ba61eb0c7
Make it configurable whether a browsing through archives should be done. The default setting is 'off'. TODO: cleanup the "General Settings" dialog and split it as "General" and "Startup".
...
svn path=/trunk/KDE/kdebase/apps/; revision=764378
2008-01-21 16:07:45 +00:00
Peter Penz
1daef0dc52
Cleanup: let the DolphinView be aware about the used action collection. This will allow us cleaning up some code in DolphinMainWindow and will make it easier sharing code with DolphinPart.
...
CCMAIL: faure@kde.org
svn path=/trunk/KDE/kdebase/apps/; revision=764347
2008-01-21 14:16:31 +00:00
Peter Penz
d361e8b9b4
do a case insensitive filtering of filenames
...
CCMAIL: riccardo@kde.org
svn path=/trunk/KDE/kdebase/apps/; revision=756066
2008-01-02 17:40:15 +00:00
Peter Penz
7122f99d75
Only browse through zip and tar files if they are local (otherwise a cryptic error message will occur). We really must make this behavior configurable in KDE 4.1 - I'd suggest that per default no browsing through zip and tar is done (with an option turning this on again)
...
BUG: 153985
CCMAIL: faure@kde.org
svn path=/trunk/KDE/kdebase/apps/; revision=749059
2007-12-16 12:23:49 +00:00
Peter Penz
1a7cf5427f
the signal urlsDropped is not available anymore in the DolphinView
...
svn path=/trunk/KDE/kdebase/apps/; revision=749047
2007-12-16 11:49:39 +00:00
Peter Penz
e91a20c9b8
simplified code for assuring that Open Office files won't get browsed + added comment (thanks to David for the hint)
...
svn path=/trunk/KDE/kdebase/apps/; revision=748799
2007-12-15 15:20:45 +00:00
Peter Penz
c436a142e8
Fixed issue that when clicking on Open Office files that Dolphin handles the files as zip-folder. I'm not sure whether there might be a nicer way doing this, but at least for KDE 4.0 this should be sufficient.
...
BUG: 153981
svn path=/trunk/KDE/kdebase/apps/; revision=748399
2007-12-14 11:45:11 +00:00
Peter Penz
26a15eb88e
Follow David's advice and use 'delete' instead of 'deleteLater()'. Disconnecting the signals from KDirLister solves a previous crash.
...
CCMAIL: faure@kde.org
svn path=/trunk/KDE/kdebase/apps/; revision=746428
2007-12-08 23:05:32 +00:00
Peter Penz
3a2a6011e8
don't forget to delete the proxy model
...
svn path=/trunk/KDE/kdebase/apps/; revision=746418
2007-12-08 22:42:13 +00:00
Peter Penz
54dfdc930a
fixed memory leaks (thanks to David for fixing this in KDirOperator)
...
svn path=/trunk/KDE/kdebase/apps/; revision=746294
2007-12-08 16:16:45 +00:00
David Faure
8578ad1e75
Fix "delete" and "move to trash" actions in dolphinpart; moved all logic for those out of konqueror.
...
Inside dolphin, the usual: moving code to DolphinView.
Pressing shift while clicking on "Move to Trash" in konq (dolphinpart) offers to delete, as in kde3 (this bit of logic might be good for dolphin itself too? see DolphinPart::slotTrashActivated)
CCMAIL: peter.penz@gmx.at
svn path=/trunk/KDE/kdebase/apps/; revision=737682
2007-11-17 00:08:54 +00:00
David Faure
53d65e6392
Implement renaming in dolphinpart.
...
No more rename action provided by konqueror, the part provides it now.
Had to move a bit of code around in dolphin, as discussed with Peter.
svn path=/trunk/KDE/kdebase/apps/; revision=737121
2007-11-15 14:59:02 +00:00
David Faure
205bf2035d
KonqUndoManager -> KonqFileUndoManager, to prepare for a KonqUndoManager in konqueror,
...
Taking this opportunity for filename==classname and a .cpp extension, as well.
svn path=/trunk/KDE/kdebase/apps/; revision=737032
2007-11-15 10:10:42 +00:00
Craig Drummond
ad74c99bbc
Fix parentless dialogs
...
svn path=/trunk/KDE/kdebase/apps/; revision=734288
2007-11-08 13:29:44 +00:00
Peter Penz
3b8c3c1b1e
Allow filtering of items also for the column view. A filtering of directories is not done yet, but with the latest updates of the column view this could be added now (but it's more a question whether we really want this...).
...
svn path=/trunk/KDE/kdebase/apps/; revision=723536
2007-10-09 22:32:54 +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