Commit graph

4942 commits

Author SHA1 Message Date
Peter Penz
eda07dc986 * Fix triggering an assertion when the elastic band is already hidden.
* Assure that the selection gets cleared if a click on the viewport is done.

svn path=/trunk/KDE/kdebase/apps/; revision=670759
2007-06-02 15:03:03 +00:00
Robert Knight
d20078be2e Slightly clearer checkbox names.
svn path=/trunk/KDE/kdebase/apps/; revision=670495
2007-06-01 18:43:04 +00:00
Peter Penz
f8944288f4 pass alpha value in ctor
svn path=/trunk/KDE/kdebase/apps/; revision=670248
2007-05-31 20:58:39 +00:00
Peter Penz
f577c2a222 reimplemented rubberband handling in Details View without using the (quite slow) QRubberBand widget
svn path=/trunk/KDE/kdebase/apps/; revision=670234
2007-05-31 20:08:06 +00:00
Peter Penz
8d0e873f67 Provide a rubberband for the Details View when selecting items. This assures a consistent behavior with the Icons View and the selection style of other file managers (in opposite to QListView it is not possible in QTreeView to show a rubberband automatically within Qt 4.3 :-().
svn path=/trunk/KDE/kdebase/apps/; revision=670181
2007-05-31 16:14:47 +00:00
Script Kiddy
83cda27db7 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=669344
2007-05-29 05:15:16 +00:00
Sebastian Trueg
cd2d8cab43 * Adapt KMetaData changes.
* Dolphin now handles multiple file selections properly in case of metadata.

svn path=/trunk/KDE/kdebase/apps/; revision=668954
2007-05-28 07:55:07 +00:00
Peter Penz
ee667484ca use KGraphicsUtils::blendColor() instead of custom mixColors() method
svn path=/trunk/KDE/kdebase/apps/; revision=668924
2007-05-28 05:38:13 +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
Script Kiddy
b93168a6d8 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=668646
2007-05-27 05:03:47 +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
Laurent Montel
3ac27c04e7 display properties dialogbox
svn path=/trunk/KDE/kdebase/apps/; revision=668442
2007-05-26 12:58:12 +00:00
Laurent Montel
5de115bcc5 Fix signal/slot
svn path=/trunk/KDE/kdebase/apps/; revision=668440
2007-05-26 12:54:36 +00:00
Peter Penz
2f0b7cc810 allow to reset all settings to default values
svn path=/trunk/KDE/kdebase/apps/; revision=668398
2007-05-26 09:16:56 +00:00
Peter Penz
1693cc730d remember the size of dialogs
svn path=/trunk/KDE/kdebase/apps/; revision=668385
2007-05-26 07:51:43 +00:00
André Wöbbeking
ca03456bab also compile without HAVE_KMETADATA
svn path=/trunk/KDE/kdebase/apps/; revision=666761
2007-05-20 20:52:40 +00:00
Peter Penz
cc63d8eec1 EBN fixes (thanks to Max Blazejak!)
svn path=/trunk/KDE/kdebase/apps/; revision=666387
2007-05-19 18:04:31 +00:00
Peter Penz
b6bc5aba8d - rename m_name to m_nameLabel for consistency
- prevent that the m_nameLabel increases the size of the infosidebar if the text cannot get wrapped

svn path=/trunk/KDE/kdebase/apps/; revision=666383
2007-05-19 17:53:12 +00:00
Peter Penz
b4c2bc9e06 internal cleanup; additional meta information can be shown now, although this code path is deactivated currently because the system hangs when retreiving the meta information of a zip-file
svn path=/trunk/KDE/kdebase/apps/; revision=666379
2007-05-19 17:23:35 +00:00
Peter Penz
a97895441c minor coding guideline fixes
svn path=/trunk/KDE/kdebase/apps/; revision=666375
2007-05-19 17:22:20 +00:00
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