Peter Penz
e100378437
Hide columns of the details view if this is indicated by the settings.
...
svn path=/trunk/KDE/kdebase/apps/; revision=637904
2007-02-28 06:00:58 +00:00
Peter Penz
f8dd060cad
The icons view and details view don't use hardcoded (test-) values anymore, instead the settings for fonts, grid size, ... are read out. The settings dialogs itself will be reworked later if it is clear what should be configurable in which manner. At least the current settings dialog allows to play with the new capabilities we got by KFileItemDelegate, just lets see what we can improve later on...
...
svn path=/trunk/KDE/kdebase/apps/; revision=637792
2007-02-27 20:46:21 +00:00
Peter Penz
6c4e3aee2a
As Aaron suggested: use the global setting for "Show Delete command" instead of using a custom Dolphin setting. I hope I used the reworked KConfig classes in a correct manner (setGroup() has been marked as deprecated, Konqueror still uses those deprecated methods).
...
svn path=/trunk/KDE/kdebase/apps/; revision=637272
2007-02-25 22:42:47 +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
7a34c3321d
Change the behavior of the info sidebar to show the preview of the current selection.
...
svn path=/trunk/KDE/kdebase/apps/; revision=636423
2007-02-23 02:28:27 +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
Alexander Wiedenbruch
bf50ced734
Fixing autogenerated headers includes
...
svn path=/trunk/KDE/kdebase/apps/; revision=635892
2007-02-21 10:43:59 +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
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
Stephan Kulow
3ebd1027a2
porting
...
svn path=/trunk/KDE/kdebase/apps/; revision=635532
2007-02-20 09:04:52 +00:00
Stephan Kulow
1bed1753d2
I hope this compiles better
...
svn path=/trunk/KDE/kdebase/apps/; revision=635522
2007-02-20 08:28:31 +00:00
Stephan Kulow
9189303656
compile some more
...
svn path=/trunk/KDE/kdebase/apps/; revision=635518
2007-02-20 08:18:28 +00:00
Peter Penz
bd8b41a135
Don't use a hardcoded path in the view properties dialog for the mirrored directory, ask the class ViewProperties for the location instead.
...
svn path=/trunk/KDE/kdebase/apps/; revision=634899
2007-02-18 18:54:22 +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
fd43139134
minor cosmetic fix: don't use a group box if the global view properties are set (less clutter)
...
svn path=/trunk/KDE/kdebase/apps/; revision=634819
2007-02-18 12:29:25 +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
13f0a26ccd
Improve usability of the viewproperties dialog: use 2 radiobuttons instead of one checkbox to make clear where the view properties are applied. Separate the apply-to-group visually from the 'Use as default for new folders' checkbox.
...
svn path=/trunk/KDE/kdebase/apps/; revision=634606
2007-02-17 20:04:06 +00:00
Peter Penz
e4dbe5626b
Some minor polishing: use a grid for the icons view, give the toggle button of the URL navigator an icon
...
svn path=/trunk/KDE/kdebase/apps/; revision=634601
2007-02-17 19:24:48 +00:00
Peter Penz
383aab8c13
Hide the filler widget when showing the traditional view. Fixed issue when toggling between breadcrumb and traditional view.
...
svn path=/trunk/KDE/kdebase/apps/; revision=634598
2007-02-17 18:47:19 +00:00
Peter Penz
4bf793794f
Allow the pasting of a text clipboard content to the URL navigator by pressing the middle mouse button. Although this is quite a hidden feature, I think it makes happy a lot of people who just want to paste a URL available as text to the URL navigator without switching from the breadcrump view to the traditional view.
...
Very nice "side effect": the URL navigator is now completely flicker free when changing URLs because of using the whole available width :-)
TODO: I'm not 100 % sure whether checking the middle mousebutton by 'if (event->button() == Qt::MidButton) { ... }' is the right approach (maybe there is a more generic way to check the 'paste button').
svn path=/trunk/KDE/kdebase/apps/; revision=634595
2007-02-17 18:25:46 +00:00
Peter Penz
00b23eaa52
Prevent that the popup of the URL navigator is opened if the button has already been clicked within the 300 ms timeout.
...
svn path=/trunk/KDE/kdebase/apps/; revision=634549
2007-02-17 15:13:23 +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
e11f9af605
Prevent a flickering of the URL navigator buttons by reusing existing buttons (before all items have been deleted and recreated). The flickering is still not solved to 100 %, but a lot better than before. @Aaron: I did not change anything inside the logic of the code -> the net protocol code works the same as in our internal KDE3 working prototype of Dolphin
...
svn path=/trunk/KDE/kdebase/apps/; revision=634543
2007-02-17 14:46:54 +00:00
Peter Penz
7cbd7aafd6
Cleanup: don't use deprecated Qt3 classes or methods, removed unnecessary includes
...
svn path=/trunk/KDE/kdebase/apps/; revision=634516
2007-02-17 13:43:47 +00:00
Peter Penz
dcb427c82f
Don't use any deprecated classes or methods from Qt3 anymore.
...
svn path=/trunk/KDE/kdebase/apps/; revision=634445
2007-02-17 10:58:09 +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
86110e2778
Assure that the horizontal and vertical slider position don't reset if an item is deleted or added.
...
svn path=/trunk/KDE/kdebase/apps/; revision=634399
2007-02-17 07:16:59 +00:00
Peter Penz
73a9e20701
Removed method 'int columnIndex(Sorting sorting) const'. The mapping is done outside the class DolphinView already.
...
svn path=/trunk/KDE/kdebase/apps/; revision=634392
2007-02-17 06:29:17 +00:00
Peter Penz
546384562a
Reanimated drag & drop support again after introducing the DolphinController. It is now also possible to move the items inside an icon view like discussed on kde-devel/kde-usability.
...
svn path=/trunk/KDE/kdebase/apps/; revision=634228
2007-02-16 17:03:02 +00:00
Script Kiddy
cf8f099bd5
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/apps/; revision=633755
2007-02-15 09:05:07 +00:00
Peter Penz
f42d1d2c02
minor documentation fixes
...
svn path=/trunk/KDE/kdebase/apps/; revision=633708
2007-02-14 22:27:47 +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
2463621457
update to i18n change: no more %n in plural calls
...
svn path=/trunk/playground/utils/dolphin/; revision=633273
2007-02-13 17:35:17 +00:00
Peter Penz
67e47827f6
use KIO::itemsSummaryString() instead of reinventing the wheel
...
svn path=/trunk/playground/utils/dolphin/; revision=632870
2007-02-12 15:32:28 +00:00
Peter Penz
0a963931d3
fixed internationalization issue for languages with more complex plural forms (thanks to David for the hint)
...
svn path=/trunk/playground/utils/dolphin/; revision=632674
2007-02-11 21:39:01 +00:00
Peter Penz
7e61bb47d7
don't accept drops into the same view if it is not done above a directory
...
svn path=/trunk/playground/utils/dolphin/; revision=632656
2007-02-11 20:54:07 +00:00
Peter Penz
814a7c7f77
fixed i18n issue when showing how many files are selected
...
svn path=/trunk/playground/utils/dolphin/; revision=632641
2007-02-11 20:23:50 +00:00
Peter Penz
dc3e19744d
don't trigger an item if the user does a selection by using the control- or shift-modifier
...
svn path=/trunk/playground/utils/dolphin/; revision=632633
2007-02-11 20:04:18 +00:00
Peter Penz
64ef4394f9
restore the x- and y-position of the view if the current view is part of the history
...
svn path=/trunk/playground/utils/dolphin/; revision=632370
2007-02-10 21:29:29 +00:00
Peter Penz
fcf8436737
just a coding guideline style fix: assure that a consistent coding style is used within Dolphin
...
svn path=/trunk/playground/utils/dolphin/; revision=631710
2007-02-08 20:46:49 +00:00
Peter Penz
ee4e21530b
Fixed issue that the filterbar and the menu state have not been synchronized (a not existing signal name has been used)
...
svn path=/trunk/playground/utils/dolphin/; revision=631709
2007-02-08 20:33:49 +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
Peter Penz
ac62df5672
If the user changes the sorting by clicking on a header section, the resulting sorting state must be synchronized with the Dolphin menu.
...
svn path=/trunk/playground/utils/dolphin/; revision=630740
2007-02-06 06:43:34 +00:00
Peter Penz
9eb1cac4b7
update the header indicators corresponding to the current sort column and sort order
...
svn path=/trunk/playground/utils/dolphin/; revision=630675
2007-02-05 23:18:22 +00:00
Peter Penz
fe1cb386e4
Only group the directories before items if the KDirModel::Name column is sorted. If the sorting is done e. g. by the date column, it is confusing when still directories are seperated from items.
...
svn path=/trunk/playground/utils/dolphin/; revision=630674
2007-02-05 23:17:15 +00:00
Peter Penz
3f53b0f32d
updated the documentation
...
svn path=/trunk/playground/utils/dolphin/; revision=630673
2007-02-05 23:15:09 +00:00
David Faure
d674eda218
Fix compilation
...
svn path=/trunk/playground/utils/dolphin/; revision=630669
2007-02-05 23:12:51 +00:00
Stefan Gehn
17e8c553de
Fix compile
...
deprecated--
svn path=/trunk/playground/utils/dolphin/; revision=629105
2007-02-01 12:05:20 +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
cd3df82730
Queue error messages so that a currently shown error message is not replaced until the user confirmed the reading. If there are no pending error messages and a timeout has been exceeded, the currently shown error messages automatically fades out as soon as the user triggered another action. This behavior should correspond to Ellens suggestions (I hope :-)).
...
svn path=/trunk/playground/utils/dolphin/; revision=628905
2007-01-31 22:03:35 +00:00
Dirk Mueller
5a0b3330d6
remove include
...
svn path=/trunk/playground/utils/dolphin/; revision=628892
2007-01-31 20:58:34 +00:00
Peter Penz
7495dabc15
Improvements for error messages:
...
- increase/decrease size on demand and hide progress bar or space information if required
- provide close button
TODO: the code is far from being finished (e. g. no queueing of pending error messages, close button looks fugly, ...), but I decided to commit the changes to prevent getting an inconsistent state in combination with other commits...
svn path=/trunk/playground/utils/dolphin/; revision=628642
2007-01-30 19:38:44 +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
d71de955f4
Further optimizations: do a delayed update of the geometry. This leads to a reduced flickering/resizing when e. g. the view is split or the window is resized.
...
svn path=/trunk/playground/utils/dolphin/; revision=627494
2007-01-26 19:58:41 +00:00
Peter Penz
9877bef7c5
Further optimizations for the status bar: hide the space information if the status bar text does not fit into the remaining width.
...
svn path=/trunk/playground/utils/dolphin/; revision=627486
2007-01-26 19:38:32 +00:00
Script Kiddy
dcc41b4ad4
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/playground/utils/dolphin/; revision=627378
2007-01-26 11:01:46 +00:00
David Faure
f25a5f90f5
fixed
...
svn path=/trunk/playground/utils/dolphin/; revision=627345
2007-01-26 09:09:44 +00:00
Peter Penz
db8090b4de
upsi... forgot to uncomment the temporary workaround until the forward declaration in knewmenu.h is added :-(
...
svn path=/trunk/playground/utils/dolphin/; revision=627221
2007-01-26 00:57:52 +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
50676d8d25
Minor adjustments and cleanups in the statusbar:
...
- prevent a flickering of the space information if a folder has been changed
- assure that no progress bar and space information is shown if an error is displayed currently
svn path=/trunk/playground/utils/dolphin/; revision=626571
2007-01-23 18:33:43 +00:00
Script Kiddy
fe34b6b551
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/playground/utils/dolphin/; revision=626448
2007-01-23 11:10:33 +00:00
Peter Penz
ccb06e68ac
- Fixed crash when showing "Open With..." items of the context menu: the model index from the proxy model was used instead of the model index from the KDirModel.
...
- Use QMenu::addSeparator() instead of QMenu::insertSeparator().
svn path=/trunk/playground/utils/dolphin/; revision=626040
2007-01-21 22:12:49 +00:00
Peter Penz
70999c96a2
Cleanup of DolphinContextMenu:
...
- don't use any deprecated methods anymore
- temporary deactivated the "Open With..." submenu. There's a crash in KDirModel when invoking KFileItem::mimetype(); although the same code worked with an older version of kdelibs, I assume this is a Dolphin issue -> I'll do some further analyses...
svn path=/trunk/playground/utils/dolphin/; revision=626023
2007-01-21 21:20:37 +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
Script Kiddy
a376e4d43e
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/playground/utils/dolphin/; revision=624903
2007-01-18 11:01:54 +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
Laurent Montel
4db903c670
Fix signal/slot
...
svn path=/trunk/playground/utils/dolphin/; revision=624604
2007-01-17 13:03:29 +00:00
Script Kiddy
04a0cad4c8
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/playground/utils/dolphin/; revision=624571
2007-01-17 10:59:03 +00:00
Peter Penz
d7b618e4bb
Minor performance improvement. As Dominic Battre pointed out correctly, it is not necessary to calculate the value of both numbers, it is enough to compare the weight.
...
svn path=/trunk/playground/utils/dolphin/; revision=623878
2007-01-15 18:28:19 +00:00
Peter Penz
e28a32728b
The KMimeTypeResolver instance is owned by the item view and may not be deleted manually.
...
svn path=/trunk/playground/utils/dolphin/; revision=623875
2007-01-15 18:18:09 +00:00
Peter Penz
a58ce6d0b7
Use a QTreeView for the representation of the details view (previously a QListView has been used).
...
svn path=/trunk/playground/utils/dolphin/; revision=623643
2007-01-15 06:43:17 +00:00
Peter Penz
de4ffa3322
Fixed issue in method naturalCompare: strings having numbers with the same amount of digits got the same weight. E. g. naturalCompare("Item 10", "Item 11") returned 0 instead of a value < 0.
...
svn path=/trunk/playground/utils/dolphin/; revision=622757
2007-01-12 21:21:06 +00:00
Peter Penz
71c0a43490
Natural sorting fix: assure that directories are sorted always before files as Ellen has recommended. One minor issue is left: when the sort order is descending, the natural sorting result is:
...
item 10.jpg
item 11.jpg
item 2.jpg
item 1.jpg
instead of
item 11.jpg
item 10.jpg
item 2.jpg
item 1.jpg
svn path=/trunk/playground/utils/dolphin/; revision=622751
2007-01-12 20:24:23 +00:00
Script Kiddy
2d89b70bdf
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/playground/utils/dolphin/; revision=622304
2007-01-11 13:47:56 +00:00
Peter Penz
7954282089
Do a natural sorting of items (thanks to Dominic Battre and Martin Pool for the patch!). This means that items like:
...
item_10.png
item_1.png
item_2.png
are sorted like
item_1.png
item_2.png
item_10.png
TODO: corresponding to Ellen directory items should always be ordered as first items (have to go work now -> weekend task :-))
svn path=/trunk/playground/utils/dolphin/; revision=622241
2007-01-11 06:44:46 +00:00
David Faure
b8572433e2
Doesn't need a config.h
...
Reduce kapplication.h usage to the minimum
svn path=/trunk/playground/utils/dolphin/; revision=622088
2007-01-10 17:31:00 +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
fededebd08
Fixed issue that the view properties have not been used for the home directory when starting Dolphin. Also some (very minor) updates have been done regarding the coding guidelines (I'm a nasty nitpicker ;-)).
...
svn path=/trunk/playground/utils/dolphin/; revision=620962
2007-01-07 21:28:41 +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
445f0b64bd
Allow that Dolphin can also be used with global view properties. Per default Dolphin remembers the view properties for each directory, but from the feedback I've got there is a not ignorable amount of people who prefer having global view properties instead.
...
svn path=/trunk/playground/utils/dolphin/; revision=620774
2007-01-07 09:47:05 +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
8fb8b7d711
Reanimated drag & drop support for the icons view.
...
svn path=/trunk/playground/utils/dolphin/; revision=620649
2007-01-06 21:11:04 +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
Peter Penz
ddc11d9a26
fixed compile issues resulted by kdelibs cleanup
...
svn path=/trunk/playground/utils/dolphin/; revision=619596
2007-01-03 20:24:55 +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
André Wöbbeking
b03d4cfc5d
-pedantic
...
svn path=/trunk/playground/utils/dolphin/; revision=617550
2006-12-29 14:28:16 +00:00
Kevin Ottens
8812b5da0a
Compile++
...
svn path=/trunk/playground/utils/dolphin/; revision=616917
2006-12-27 11:19:39 +00:00
Holger Freyther
f7e58e0966
-Use QSortFilterProxyModel for filtering instead of KDirList::setFilterName
...
-Map DolphinView::Sorting to a column of the KDirModel and sort this column
-Reimplement QAbstractItemModel::sort(int,SortOrder) to keep track of the
sorted column and order as dolphin uses this in the config dialogs. We will
now work correctly if a view changes sorting.
svn path=/trunk/playground/utils/dolphin/; revision=616170
2006-12-24 00:03:40 +00:00
Holger Freyther
da88d22283
Make the View operate on the QSortFilterProxyModel
...
Fix the crashes by using mapToSource and mapSelectionToSource
to map the QModelIndex
svn path=/trunk/playground/utils/dolphin/; revision=616118
2006-12-23 18:00:25 +00:00
Holger Freyther
834b145d21
Fix the filterbar
...
svn path=/trunk/playground/utils/dolphin/; revision=616113
2006-12-23 17:23:01 +00:00
Holger Freyther
e3b47dc731
The answer is either clear() or filterChanged(). Anyone knows this better?
...
I have decided to use clar as this is the most conservative choiche I could
make. Actually I would love to call QSortFilterProxyModelPrivate::sort as
the mapping does not change, as we do not filter rows ATM...
svn path=/trunk/playground/utils/dolphin/; revision=615959
2006-12-23 12:52:53 +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
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
Aaron J. Seigo
3396d0dbee
build
...
svn path=/trunk/playground/utils/dolphin/; revision=614828
2006-12-19 02:56:16 +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
Script Kiddy
cb4aa16629
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/playground/utils/dolphin/; revision=614370
2006-12-17 14:05:45 +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
3b4dfa2040
Update for using a proxy model: prevent accessing the model by model() and doing a cast do KDirModel afterwards. Instead the access to the KDirModel is done by a member variable. Still the proxy model does not seem to work and leads to a crash as soon as the QListView should work with the proxy model -> in the meantime in line 112 from DolphinView.cpp the KDirModel is used instead of the proxy model.
...
svn path=/trunk/playground/utils/dolphin/; revision=613768
2006-12-15 01:56:57 +00:00
Dominik Haumann
3bd97ea34c
fix signal names
...
svn path=/trunk/playground/utils/dolphin/; revision=613749
2006-12-15 00:04:41 +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
418cfc1d74
Support 'select all' and 'invert selection' again.
...
svn path=/trunk/playground/utils/dolphin/; revision=613698
2006-12-14 19:54:59 +00:00
Peter Penz
70782d6bb4
Support changing the sorting type and sort order (TODO: does not work yet as the implementation in KDirModel is empty yet).
...
svn path=/trunk/playground/utils/dolphin/; revision=613696
2006-12-14 19:12:05 +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
cb2b58535b
Do not abort/exit when accessing the string out of bounds
...
svn path=/trunk/playground/utils/dolphin/; revision=612585
2006-12-11 21:52:04 +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
4b0293e22e
connect to the 'urlChanged' signal (the signal 'signalUrlChanged' is not available anymore)
...
svn path=/trunk/playground/utils/dolphin/; revision=611620
2006-12-08 23:52:00 +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
7fecd3b82b
show busy indicator inside the progress bar when counting the directories
...
svn path=/trunk/playground/utils/dolphin/; revision=611372
2006-12-07 21:01:44 +00:00
Peter Penz
31d1457195
Apply the view properties to sub directories without using a modal window. This allows the user to proceed with the work during the view properties are applied.
...
svn path=/trunk/playground/utils/dolphin/; revision=611369
2006-12-07 20:51:05 +00:00
Peter Penz
904168ad2a
fixed layout issues
...
svn path=/trunk/playground/utils/dolphin/; revision=611357
2006-12-07 19:44:20 +00:00
Peter Penz
352dd42ccb
minor cosmetic update of the progress indication
...
svn path=/trunk/playground/utils/dolphin/; revision=611347
2006-12-07 19:11:21 +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
Script Kiddy
d3611c41f4
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/playground/utils/dolphin/; revision=611273
2006-12-07 13:40:45 +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
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
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
Dominik Haumann
93129f9d2e
set {spacing, margin} = 0 again
...
svn path=/trunk/playground/utils/dolphin/; revision=610440
2006-12-04 10:59:53 +00:00
Peter Penz
dde6f0a077
First step of cleaning up the view properties: inheriting of viewproperties does not work with the current approach of directoryviewpropertysettings.kcfg (2 nodes would be required for each directory, only one is used at the moment). Therefor the valid_for_subdirs property has been removed and the implementation model will be adjusted to match 1:1 to the users model. TODO: improve the viewpropertiesdialog be able to apply viewproperties recursively to sub directories.
...
svn path=/trunk/playground/utils/dolphin/; revision=610383
2006-12-04 06:37:20 +00:00
Zack Rusin
45d82b3041
the widget is double-buffered by default so don't triple-buffer
...
plus removing another depdecation warning
svn path=/trunk/playground/utils/dolphin/; revision=610303
2006-12-04 06:00:07 +00:00
Peter Penz
65c0544a2a
Use QWidget::contextMenuEvent() instead of directly listening to the right mouse button.
...
svn path=/trunk/playground/utils/dolphin/; revision=610302
2006-12-04 05:48:57 +00:00
Zack Rusin
01f577fda1
reducing a little bit the number of deprecation warnings
...
svn path=/trunk/playground/utils/dolphin/; revision=610300
2006-12-04 05:46:34 +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
Peter Penz
4f951f75e2
use flat buttons for the information sidebar page (TODO: this code has been duplicated from URLNavigatorButton)
...
svn path=/trunk/playground/utils/dolphin/; revision=609309
2006-11-30 05:39:24 +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
9b9bad8abe
Do not crash with the null pointer, this is a hack/workaround as we
...
will switch to KonqUndoManager anyway. The difficulty is we would
need one UndoManager for DolphinMainWindow which we won't do/have with
KonqUndoManager so I avoid wasting my time cleaning up this bit, so
progress information might be a bit wrong in regards to the amount of
total steps...
svn path=/trunk/playground/utils/dolphin/; revision=608947
2006-11-29 00:20:32 +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
Dominik Haumann
68e81f7280
port to Qt4
...
svn path=/trunk/playground/utils/dolphin/; revision=608861
2006-11-28 17:49:49 +00:00
Dominik Haumann
c86d00c8be
port to Qt4
...
svn path=/trunk/playground/utils/dolphin/; revision=608854
2006-11-28 17:22:02 +00:00
Script Kiddy
d3648471e0
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/playground/utils/dolphin/; revision=608802
2006-11-28 13:47:39 +00:00
Laurent Montel
46762a81b9
Compile++
...
svn path=/trunk/playground/utils/dolphin/; revision=608457
2006-11-27 16:12:01 +00:00
Script Kiddy
6839b99e1c
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/playground/utils/dolphin/; revision=608402
2006-11-27 14:14:12 +00:00
David Faure
5f1b6f8994
Enabled delayed mimetypes
...
svn path=/trunk/playground/utils/dolphin/; revision=608300
2006-11-27 12:27:25 +00:00
Script Kiddy
f6cabec7a7
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/playground/utils/dolphin/; revision=608066
2006-11-26 16:09:01 +00:00
Holger Freyther
1d03eac7fc
Update the ActiveView in DolphinIconsView similiar to DolphinView::mouseReleaseEvent
...
svn path=/trunk/playground/utils/dolphin/; revision=607853
2006-11-25 23:23:08 +00:00
Holger Freyther
8fa346cd4b
Automatically relayout the items on window resizing
...
svn path=/trunk/playground/utils/dolphin/; revision=607845
2006-11-25 22:44:05 +00:00
Kevin Ottens
09c69ff811
Setting the right parent definitely helps. :-)
...
svn path=/trunk/playground/utils/dolphin/; revision=607770
2006-11-25 17:46:22 +00:00
Kevin Ottens
c1af91aab1
Let's remove the connect errors because of the KJob/KIO::Job split.
...
svn path=/trunk/playground/utils/dolphin/; revision=607764
2006-11-25 17:30:07 +00:00
Kevin Ottens
92d346ae78
AFAIK the last character is at length()-1.
...
svn path=/trunk/playground/utils/dolphin/; revision=607758
2006-11-25 17:18:38 +00:00
Script Kiddy
95febf9b0f
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/playground/utils/dolphin/; revision=607707
2006-11-25 13:33:52 +00:00
Peter Penz
f271d952ec
Assure that the grid size for Icons View, Details View and Previews View has some proper default values.
...
svn path=/trunk/playground/utils/dolphin/; revision=607518
2006-11-24 22:28:49 +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
Peter Penz
c2c719839c
Migrated the ViewPropertiesDialog to Qt4.
...
svn path=/trunk/playground/utils/dolphin/; revision=607475
2006-11-24 19:43:24 +00:00
Peter Penz
4ff8dbf5e9
Get rid of using deprecated Q3Button::drawButton() interface. Now the URL navigator looks nearly as nice as within the Qt3version again :-)
...
svn path=/trunk/playground/utils/dolphin/; revision=607457
2006-11-24 18:34:52 +00:00
David Faure
47fa21aff1
Some suggestions in comments to avoid porting code when we can share existing ported code instead.
...
svn path=/trunk/playground/utils/dolphin/; revision=607265
2006-11-23 21:50:16 +00:00
Laurent Montel
7fbae44527
Fix i18n
...
svn path=/trunk/playground/utils/dolphin/; revision=607156
2006-11-23 13:10:00 +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
9f3b083b3a
Byebye q3frame
...
svn path=/trunk/playground/utils/dolphin/; revision=607129
2006-11-23 09:51:15 +00:00
Laurent Montel
edb2c4ad62
Byebye Q3H(V)Box
...
svn path=/trunk/playground/utils/dolphin/; revision=607111
2006-11-23 07:54:24 +00:00
Peter Penz
7fec7ff9a0
As KURL has been renamed to KUrl all classes and methods, which use the term 'URL', have been converted to use 'Url' instead (e. g. the class URLNavigator is called UrlNavigator now).
...
svn path=/trunk/playground/utils/dolphin/; revision=606991
2006-11-22 17:13:11 +00:00
Peter Penz
9075797f9b
fixed initialization of actions
...
svn path=/trunk/playground/utils/dolphin/; revision=606983
2006-11-22 16:06:47 +00:00
Script Kiddy
369dd3e58f
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/playground/utils/dolphin/; revision=606956
2006-11-22 13:24:27 +00:00
Kevin Ottens
a08b5f8357
Avoid triggering the bookmark action when it's not appropriate.
...
svn path=/trunk/playground/utils/dolphin/; revision=606934
2006-11-22 12:22:41 +00:00
Kevin Ottens
63f6ef7656
Hmm, same mistakes... looks like a conversion script gone mad.
...
svn path=/trunk/playground/utils/dolphin/; revision=606929
2006-11-22 12:12:27 +00:00
Kevin Ottens
5d1f8dc517
Ah, now it runs.
...
svn path=/trunk/playground/utils/dolphin/; revision=606922
2006-11-22 11:42:15 +00:00
Kevin Ottens
9a5f54d83d
compile++
...
But crashes while listing folder...
svn path=/trunk/playground/utils/dolphin/; revision=606919
2006-11-22 11:34:19 +00:00
Laurent Montel
2aac5c21bd
Remove execute attribute
...
svn path=/trunk/playground/utils/dolphin/; revision=606908
2006-11-22 10:47:07 +00:00
Laurent Montel
48159508cc
Clean up
...
svn path=/trunk/playground/utils/dolphin/; revision=606906
2006-11-22 10:46:01 +00:00
Laurent Montel
20b58b6c03
Some port
...
Remove not necessary file
svn path=/trunk/playground/utils/dolphin/; revision=606884
2006-11-22 08:22:45 +00:00
Laurent Montel
6987f297e6
Port++
...
svn path=/trunk/playground/utils/dolphin/; revision=606882
2006-11-22 08:12:45 +00:00
Laurent Montel
c94162b9bf
Not necessary
...
svn path=/trunk/playground/utils/dolphin/; revision=606878
2006-11-22 07:54:13 +00:00
Kevin Ottens
c20f14478a
compile++
...
Welcome to Dolphin! Trying to help a bit with the porting. If I did
something wrong, feel free to blame me. :-)
CCMAIL: peter.penz@gmx.at
svn path=/trunk/playground/utils/dolphin/; revision=606802
2006-11-21 21:10:33 +00:00
Script Kiddy
e907cf38f2
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/playground/utils/dolphin/; revision=606712
2006-11-21 13:23:18 +00:00
Peter Penz
5252c12db4
commited initial version of Dolphin
...
svn path=/trunk/playground/utils/dolphin/; revision=606622
2006-11-21 06:02:05 +00:00