Commit graph

1047 commits

Author SHA1 Message Date
Peter Penz 7bbb858a04 coding style nit-picking
svn path=/trunk/KDE/kdebase/apps/; revision=720955
2007-10-04 05:59:46 +00:00
Rafael Fernández López a24c1fce82 Changes related to the smooth scrolling. We can enable it since icefox has submitted his "division by zero" to Qt, so it should be safe. If we experience any division by
zero or report, we just disable them commenting them out and with a comment to remind ourselves to uncomment them after.

The smooth scrolling is being combined with a good behavior when using the mouse wheel.

Some investigation on QListView found nice stuff for KCategorizedView.

Peter, I have the smooth scrolling for KDirOperator too, let me that one... I have binary incompatible changes merged there with this ones and I am committing everything
together on friday.

CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=720918
2007-10-04 01:35:53 +00:00
Peter Penz 7ac3ed4e74 there is no need anymore to check whether the KDirLister is currently loading before invoking KDirModel::expandToUrl()
svn path=/trunk/KDE/kdebase/apps/; revision=720870
2007-10-03 22:33:47 +00:00
Peter Penz 65853e44fa disable the moving of columns
svn path=/trunk/KDE/kdebase/apps/; revision=720855
2007-10-03 21:47:47 +00:00
Script Kiddy 41f692a647 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=720538
2007-10-03 06:39:50 +00:00
Rafael Fernández López 3ba0f41c44 Update my email address
svn path=/trunk/KDE/kdebase/apps/; revision=720339
2007-10-03 00:44:18 +00:00
Peter Penz b81177bf4b As the additional information can be shown in parallel, a combobox selection is not sufficient anymore. To prevent bug-reports for the beta 3 release, all items are explicitly marked as TODO temporary.
svn path=/trunk/KDE/kdebase/apps/; revision=720286
2007-10-02 22:11:18 +00:00
Peter Penz 3c1c185400 Allow showing additional information like type, size and date in parallel for the icons view (thanks to Fredrik for the extension of KFileItemDelegate!).
svn path=/trunk/KDE/kdebase/apps/; revision=720283
2007-10-02 22:04:36 +00:00
Peter Penz ba150e5735 replace QList<KFileItem> by KFileItemList, as KFileItemList is not QList<KFileItem*> anymore since todays update of kfileitem.* in kdelibs
svn path=/trunk/KDE/kdebase/apps/; revision=720234
2007-10-02 19:03:03 +00:00
David Faure 4a2416e4bd fix signal/slot
svn path=/trunk/KDE/kdebase/apps/; revision=720110
2007-10-02 12:22:47 +00:00
Script Kiddy cca33875bc SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=720019
2007-10-02 06:39:53 +00:00
Fredrik Höglund dbc8874c00 Port dolphin to the KFileItemDelegate API changes.
svn path=/trunk/KDE/kdebase/apps/; revision=719796
2007-10-01 22:06:49 +00:00
David Faure dd34d651b5 Ported KonqPopupMenu away from xmlgui to make things debuggable (we had code that dynamically created XML, and then passed it for gui merging with KonqPopupMenu's own generated XML, that was too much magic and headaches).
There are now unit tests for KonqPopupMenu, and its code has a bit less magic hacks than before.
There is no more KonqPopupMenuPlugin though, but I'm happy to re-create it once there's a real use case for it.

svn path=/trunk/KDE/kdebase/apps/; revision=719676
2007-10-01 17:06:34 +00:00
Rafael Fernández López a793e11321 Code adaptation because of changes on libraries related to revision 719630
svn path=/trunk/KDE/kdebase/apps/; revision=719642
2007-10-01 15:09:41 +00:00
Tobias Koenig 29a1b26421 Making KFileItemList value based.
svn path=/trunk/KDE/kdebase/apps/; revision=719514
2007-10-01 08:00:48 +00:00
Peter Penz fd805228ae coding style nitpicking: remove space
svn path=/trunk/KDE/kdebase/apps/; revision=719288
2007-09-30 20:28:10 +00:00
Script Kiddy c28d272f38 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=719026
2007-09-30 06:18:34 +00:00
Pascal Létourneau e4d60190fa Test for what the error message says
svn path=/trunk/KDE/kdebase/apps/; revision=718814
2007-09-29 19:01:43 +00:00
Pascal Létourneau dde3998b18 Init cwd with the current path (dolphin is a KUniqueApplication)
svn path=/trunk/KDE/kdebase/apps/; revision=718808
2007-09-29 18:36:36 +00:00
Script Kiddy 2c308ac7bf SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=718575
2007-09-29 06:00:08 +00:00
Rafael Fernández López 51c838dab7 Icons height is the same as the title
svn path=/trunk/KDE/kdebase/apps/; revision=718317
2007-09-28 13:12:53 +00:00
Peter Penz 1325d97bdd removed unused method expandSelectionParent (it is not invoked anymore since KDirLister::expandToUrl() is available)
svn path=/trunk/KDE/kdebase/apps/; revision=718182
2007-09-28 07:18:37 +00:00
Script Kiddy 3a56e20262 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=718158
2007-09-28 06:44:06 +00:00
Pascal Létourneau 4d015b6e22 Init the range before a value is set (via the signal valueChanged)
svn path=/trunk/KDE/kdebase/apps/; revision=717914
2007-09-27 18:16:18 +00:00
Peter Penz 39614955a4 assure that the decoration gets selected in the column-view even if the style has not enabled this per default
svn path=/trunk/KDE/kdebase/apps/; revision=717801
2007-09-27 16:12:37 +00:00
Peter Penz 7fd22d39bd assure that the decoration gets selected in the details-view even if the style has not enabled this per default
svn path=/trunk/KDE/kdebase/apps/; revision=717770
2007-09-27 14:26:08 +00:00
Peter Penz 03639796e5 temporary deactivate session restoring until it can be tested with a working desktop
svn path=/trunk/KDE/kdebase/apps/; revision=717741
2007-09-27 13:06:52 +00:00
Peter Penz f37aaf7948 use inline keyword as suggested at http://www.parashift.com/c%2B%2B-faq-lite/inline-functions.html#faq-9.9
svn path=/trunk/KDE/kdebase/apps/; revision=717738
2007-09-27 12:44:14 +00:00
Peter Penz 384ee037c2 reactivate session management
svn path=/trunk/KDE/kdebase/apps/; revision=717737
2007-09-27 12:36:40 +00:00
Peter Penz b45e2e92c5 updated version for KDE 4.0 beta 3 release
svn path=/trunk/KDE/kdebase/apps/; revision=717713
2007-09-27 10:59:30 +00:00
Peter Penz 500975f07d * right-to-left layout fixes
* fixes to assure that active column stays visible

svn path=/trunk/KDE/kdebase/apps/; revision=717684
2007-09-27 10:02:37 +00:00
Peter Penz f74e17d275 allow to show/hide the columns of the details-view by a context menu for the header (-> no need to go into the settings menu)
svn path=/trunk/KDE/kdebase/apps/; revision=717627
2007-09-27 08:56:38 +00:00
Peter Penz 40691db6e7 Remove ScrollPerPixel again. Beside a crash with a non-patched version of Qt it also decreases the usability when using the mouse wheel: one full rotation of the mouse wheel only leads to a scrolling of 1 or 2 items...
svn path=/trunk/KDE/kdebase/apps/; revision=717562
2007-09-27 07:02:35 +00:00
Peter Penz c108a62d4f use the proxy model categorization state to check whether it has changed, not the stored categorization state...
svn path=/trunk/KDE/kdebase/apps/; revision=717555
2007-09-27 06:25:10 +00:00
Peter Penz ac22d744ba * moved the loading of the settings into a separate method
* assure that the "show in groups" action gets disabled when no categorization is allowed for the current view

svn path=/trunk/KDE/kdebase/apps/; revision=717550
2007-09-27 06:20:39 +00:00
Peter Penz c152767131 Use case: categorized sorting is enabled, the current view mode is icons-view. When switching to the details-view (which does not support categorized sorting yet), the 'categorized sorting' action should get only disabled to indicate that it is not available, not get unchecked (currently it gets disabled AND unchecked). This patch assures that always the stored categorization state is returned for the menu actions, but internally the categorization is turned off for the proxy model for the details view and column view.
CCMAIL: ereslibre@gmail.com

svn path=/trunk/KDE/kdebase/apps/; revision=717548
2007-09-27 06:19:30 +00:00
Matthew Woehlke 341c16eba6 use blitz instead of deprecated kdefx, remove kdefx headers where unused
svn path=/trunk/KDE/kdebase/apps/; revision=717537
2007-09-27 04:11:28 +00:00
Peter Penz 093efca22d reactivate ScrollPerPixel again, as the Qt-patch for "divide by zero" has been applied to qt-copy now
svn path=/trunk/KDE/kdebase/apps/; revision=717366
2007-09-26 18:53:34 +00:00
Peter Penz d4a9bc6a3f assure that the directory gets reloaded when the base URL has been changed
svn path=/trunk/KDE/kdebase/apps/; revision=717365
2007-09-26 18:52:19 +00:00
Peter Penz 34a19e156e Assure that the categorized sorting is applied correctly to the proxy model if the view does not support the categorization feature (currently only the icons view supports this). Take care that switching between e. g. the icons-view and the details-view does not change the stored categorized sorting. Thanks to Rafael for the initial patch!
CCMAIL: ereslibre@gmail.com

svn path=/trunk/KDE/kdebase/apps/; revision=717300
2007-09-26 15:26:30 +00:00
Peter Penz 3713f1991a use the fixed resizing mode (it is assured that each column stays readable)
svn path=/trunk/KDE/kdebase/apps/; revision=717263
2007-09-26 13:34:28 +00:00
Peter Penz 89a12482f7 assure that the width of the name-column cannot get too small when decreasing the width of the viewport
CCMAIL: ereslibre@gmail.com

svn path=/trunk/KDE/kdebase/apps/; revision=717258
2007-09-26 13:15:16 +00:00
Peter Penz 8df41dd006 * Fix memory leak (DolphinCategoryDrawer is leaking...)
* There is no need to explicitly turning on the category, as this is done automatically when reading out the view properties. @Rafael: I tested your error description and could not reproduce the problem anymore. If I miss something, please let me know, so that we can work together to fix this :-)

CCMAIL: ereslibre@gmail.com

svn path=/trunk/KDE/kdebase/apps/; revision=717245
2007-09-26 11:46:49 +00:00
Peter Penz 1c819fb0ed code simplifications like done in the column view
svn path=/trunk/KDE/kdebase/apps/; revision=717229
2007-09-26 10:46:25 +00:00
Peter Penz 28372c1724 internal cleanup
svn path=/trunk/KDE/kdebase/apps/; revision=717223
2007-09-26 10:36:32 +00:00
Peter Penz 7bd8a826f4 lessons learned from the column view: never invoke KDirModel::expandToUrl() when the directory lister has not finished its loading...
svn path=/trunk/KDE/kdebase/apps/; revision=717203
2007-09-26 09:11:40 +00:00
Peter Penz 8c9c081ead Listen to the directory lister signals to know whether the directory lister is still working. This information is needed as KDirModel::expandToUrl() may never get invoked if the directory lister is still busy...
svn path=/trunk/KDE/kdebase/apps/; revision=717188
2007-09-26 08:39:58 +00:00
David Faure 13ef27496e associate dolphin with inode/directory; give it a higher initial preference than konq for directories.
svn path=/trunk/KDE/kdebase/apps/; revision=717185
2007-09-26 08:33:02 +00:00
Peter Penz f15e4914a0 prevent crash in model when invoking KDirModel::expandToUrl() before the directory lister has been initialized
svn path=/trunk/KDE/kdebase/apps/; revision=717158
2007-09-26 07:23:09 +00:00
Peter Penz 96d892bc47 Revert last patch which should fix the "name column can get too small issue" - turning off the automatical resizing is no good solution. I'll submit another fix during this week...
CCMAIL: ereslibre@gmail.com

svn path=/trunk/KDE/kdebase/apps/; revision=717133
2007-09-26 06:12:44 +00:00