Commit graph

7514 commits

Author SHA1 Message Date
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 5de9950182 start to simplify the DolphinController as preparation for the kparts DolphinViewWidget (as discussed with David)
svn path=/trunk/KDE/kdebase/apps/; revision=672357
2007-06-06 20:32:03 +00:00
Peter Penz db7d239632 don't show a drop indicator if another column than the 'Name' column is hovered
svn path=/trunk/KDE/kdebase/apps/; revision=672310
2007-06-06 18:08:30 +00:00
Peter Penz e1cb019f78 Instead of darkening the background color of an inactive view, just use a transparent background. Makes no big difference for styles like Plastique, but looks better for Oxygen.
svn path=/trunk/KDE/kdebase/apps/; revision=672302
2007-06-06 17:38:22 +00:00
Peter Penz 8d06f40d82 assure that all statusbar elements use a transparent background to look nice with Oxygens gradiented background
svn path=/trunk/KDE/kdebase/apps/; revision=672293
2007-06-06 16:59:21 +00:00
Script Kiddy 2e9e908af6 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=672108
2007-06-06 04:42:35 +00:00
Dirk Mueller 681d5c2d43 cleanup
svn path=/trunk/KDE/kdebase/apps/; revision=671813
2007-06-05 15:04:56 +00:00
Max Blazejak 136fd2ec49 Removed some unnecessary includes
svn path=/trunk/KDE/kdebase/apps/; revision=671563
2007-06-05 00:57:14 +00:00
Matthew Woehlke a91482a1d2 Cleanups from KGraphicsUtils->KColorUtils (r671350)
svn path=/trunk/KDE/kdebase/apps/; revision=671357
2007-06-04 15:15:40 +00:00
Laurent Montel 4c30102662 Remove not necessary "class classname;"
svn path=/trunk/KDE/kdebase/apps/; revision=671233
2007-06-04 08:24:29 +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 1698824748 make the Viewproperties dialog less cluttered and smaller
svn path=/trunk/KDE/kdebase/apps/; revision=671030
2007-06-03 15:09:43 +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
Script Kiddy c4efe6d774 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=670948
2007-06-03 05:19:23 +00:00
Peter Penz ea54858463 don't forget to clear the hover information when a drag leave event occurs
svn path=/trunk/KDE/kdebase/apps/; revision=670856
2007-06-02 17:42:43 +00:00
Peter Penz c5a871a6a2 Provide a hover information when dragging items above other items. TODO: this code can be removed again when issue #160611 is solved in Qt 4.4.
svn path=/trunk/KDE/kdebase/apps/; revision=670851
2007-06-02 17:35:00 +00:00
Peter Penz e78615f172 Provide a hover information when dragging items above other items. TODO: this code can be removed again when issue #160611 is solved in Qt 4.4.
svn path=/trunk/KDE/kdebase/apps/; revision=670848
2007-06-02 17:28:59 +00:00
Peter Penz f7a5c62746 Fix issue that selection is not cleared when clicking on another column than the 'Name' column (occurs in combination with the Details View).
svn path=/trunk/KDE/kdebase/apps/; revision=670796
2007-06-02 15:40:38 +00:00
Peter Penz 10f131fff8 Assure that the selection is cleared if a click on the viewport is done.
svn path=/trunk/KDE/kdebase/apps/; revision=670761
2007-06-02 15:04:44 +00:00
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