Commit graph

7622 commits

Author SHA1 Message Date
Peter Penz 572a5722b0 performance optimization: don't retrieve the meta information immediately when changing the item selection, wait 300 ms until no selection change has been done
svn path=/trunk/KDE/kdebase/apps/; revision=666342
2007-05-19 14:42:11 +00:00
Peter Penz 50a7b6fd45 include cleanup
svn path=/trunk/KDE/kdebase/apps/; revision=666303
2007-05-19 12:25:31 +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 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 dbb240ff7c although not required at the moment, this alignment makes sense with the improved KFileItemDelegate implementation from Fredrik (hope Fredrik commits on Monday :-))
svn path=/trunk/KDE/kdebase/apps/; revision=666163
2007-05-18 23:42:17 +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
Peter Penz 16e809f9fa grmpf - forgot to remove the kDebug() statement in my previous commit...
svn path=/trunk/KDE/kdebase/apps/; revision=666125
2007-05-18 20:57:35 +00:00
Peter Penz d8d894d4d8 When renaming items in Dolphin, only the name should be selected, not the extensions like ".gif", ".txt" etc. The inconvenient part is if the item name is something like "cmake-2.4.5", where the version number does not count as extension (-> the whole string should be selected in this case).
This patch should fix the problem...

Examples (name -> selected string):
"Image.gif" -> "Image"
"package.tar.gz" -> "package"
"cmake-2.4.5" -> "cmake-2.4.5"
"Image.1.12.gif" -> "Image.1.12"
"Image.tar.1.12.gz" -> "Image"

svn path=/trunk/KDE/kdebase/apps/; revision=666118
2007-05-18 20:52:48 +00:00
Peter Penz c66891ce79 Allow to configure whether an asking for confirmation should be done for the 'Move To Trash' and 'Delete' actions. This setting is used by konq_operations.cc and shared with Konqueror.
svn path=/trunk/KDE/kdebase/apps/; revision=666103
2007-05-18 19:39:08 +00:00
Peter Penz ec4c6d07ad - assure that when hovering the viewport that an empty request for item information is send
- remove unused method

svn path=/trunk/KDE/kdebase/apps/; revision=665973
2007-05-18 13:06:41 +00:00
Peter Penz 5e7bae10b0 - allow to configure that the filter bar should be shown after starting Dolphin (is off per default)
- some minor naming cleanups

BUG: 145168

svn path=/trunk/KDE/kdebase/apps/; revision=665964
2007-05-18 12:44:52 +00:00
Peter Penz b10326777f ignore spontaneous show events (thanks to Dominik Haumann for pointing this out)
svn path=/trunk/KDE/kdebase/apps/; revision=665855
2007-05-18 08:42:45 +00:00
Stephan Kulow 8c2d98fca5 fix possible crash (CID 3607)
svn path=/trunk/KDE/kdebase/apps/; revision=665696
2007-05-17 17:40:51 +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
Peter Penz 6d88d801ba improve drag & drop support for treeview sidebar:
- allow to drag items within the tree
- expand nodes automatically during a drag & drop operation

svn path=/trunk/KDE/kdebase/apps/; revision=665588
2007-05-17 10:06:37 +00:00
Peter Penz fb37c0fb53 don't increase the decoration size if the icons are aligned from left to right
svn path=/trunk/KDE/kdebase/apps/; revision=665573
2007-05-17 08:42:07 +00:00
Peter Penz e122a02684 reload items when the view is refreshed by changing the global settings
svn path=/trunk/KDE/kdebase/apps/; revision=665571
2007-05-17 08:16:56 +00:00
Peter Penz dec19c1e77 fix for the fix for the fix [1]: assure that invoking Dolphin with remote URLs like "dolphin ftp://ftp.kde.org/" works too (thanks to David Faure)
[1] I hope this does not get a neverending story ;-)

svn path=/trunk/KDE/kdebase/apps/; revision=665393
2007-05-16 19:37:31 +00:00
Peter Penz d78f3bcbc8 revert last patch ("fix issue that invoking 'dolphin .' does not work") and replace it by a more generic approach
svn path=/trunk/KDE/kdebase/apps/; revision=665386
2007-05-16 19:21:06 +00:00
Peter Penz aca3c707df allow that Dolphin can be started like 'dolphin .' for showing the current directory (patch submitted by Max Blazejak)
svn path=/trunk/KDE/kdebase/apps/; revision=665320
2007-05-16 15:10:37 +00:00
Peter Penz 3da73183f8 using KShell::quoteArg() "might be" helpful ;-)
svn path=/trunk/KDE/kdebase/apps/; revision=665316
2007-05-16 15:01:41 +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
Script Kiddy cec6726731 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=665169
2007-05-16 04:59:20 +00:00
Peter Penz 016a3f9101 use the terminal interface correctly -> the path of the embedded konsole is synchronized with the current directory
svn path=/trunk/KDE/kdebase/apps/; revision=665104
2007-05-15 21:03:35 +00:00
Peter Penz 91f03ab07b some finetuning for the icons view:
- rename gridWidth() and gridHeight() settings property to itemWidth() and itemHeight() to avoid confusion with the grid size property of QListView
- assure that the grid spacing is respected
- decrease default text width
- allow having more than 1 text line doing a proper wrapping

svn path=/trunk/KDE/kdebase/apps/; revision=665097
2007-05-15 20:24:56 +00:00
Peter Penz c5f8d7ca78 The wrapping flag of QStyleOptionViewItemV2 gets lost, as the instance is assigned to a QStyleOptionViewItem object later on (QStyleOptionViewItem AbstractItemView::viewOptions() const) -> enable the wrapping in the QListView itself.
svn path=/trunk/KDE/kdebase/apps/; revision=664830
2007-05-14 22:46:01 +00:00
Peter Penz 10ebd5818b although the wrapping is enabled, eliding the text might be required -> don't specify Qt::ElideNone
svn path=/trunk/KDE/kdebase/apps/; revision=664803
2007-05-14 21:33:49 +00:00
Sebastian Trueg 2abfe6b692 Try not to set properties unless changed.
svn path=/trunk/KDE/kdebase/apps/; revision=664542
2007-05-14 09:21:58 +00:00
Thorsten Roeder 19744a5ee1 some krazy fixes
svn path=/trunk/KDE/kdebase/apps/; revision=664331
2007-05-13 17:47:20 +00:00
Script Kiddy a94627b1e5 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=664086
2007-05-13 06:01:08 +00:00
Peter Penz d524b384c3 hover fix for the details mode: hovering should only be done on the name column, all other columns behave as viewport area
svn path=/trunk/KDE/kdebase/apps/; revision=663861
2007-05-12 13:41:31 +00:00
Peter Penz 794911106c provide a hover information in the statusbar if the mouse cursor enters an item
svn path=/trunk/KDE/kdebase/apps/; revision=663779
2007-05-12 10:22:01 +00:00
Peter Penz d03b27f288 layout improvements in the icons view:
* do a text wrapping if the number of lines is > 1 (TODO: bugfix of KFileItemDelegate necessary, currently the text might overlap with the icon)
* increase the height for the text area if an additional information like type, date, ... is shown

svn path=/trunk/KDE/kdebase/apps/; revision=663320
2007-05-10 20:29:10 +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
Peter Penz 1d3ccf2ada Postpone the creating of the dir lister to the first show event. This assures that no performance and memory overhead is given when the TreeView is not used at all.
svn path=/trunk/KDE/kdebase/apps/; revision=662771
2007-05-09 05:59:25 +00:00
Thorsten Roeder d49c258910 SVN_SILENT: some krazy spelling fixes mainly in comments
svn path=/trunk/KDE/kdebase/apps/; revision=662694
2007-05-08 22:05:30 +00:00
Peter Penz 53dcdd804a prevent loading items twice in the tree view
svn path=/trunk/KDE/kdebase/apps/; revision=662690
2007-05-08 21:52:09 +00:00
Peter Penz 13b3676857 fix issue in column view that the wrong root directory is taken because of keeping old directories in KDirLister
svn path=/trunk/KDE/kdebase/apps/; revision=662658
2007-05-08 20:40:46 +00:00
Luboš Luňák dfe4a7598a Compile.
svn path=/trunk/KDE/kdebase/libkonq/; revision=662159
2007-05-07 15:10:51 +00:00
Sebastian Trueg c6e1b83251 Use NFO to set file urls.
svn path=/trunk/KDE/kdebase/apps/; revision=662129
2007-05-07 14:32:54 +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 ca0a0438ea synchronize embedded terminal with the current directory
svn path=/trunk/KDE/kdebase/apps/; revision=661960
2007-05-07 05:33:49 +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 3535ec7f7e minor adjustments for working together with Max after the BIC Monday...
svn path=/trunk/KDE/kdebase/apps/; revision=661899
2007-05-06 22:09:04 +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 aad46935fa optimization: don't load the directory tree if the widget is invisible
svn path=/trunk/KDE/kdebase/apps/; revision=661865
2007-05-06 20:47:15 +00:00