Commit graph

865 commits

Author SHA1 Message Date
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
Peter Penz c364f1b47a temporary disable the ScrollPerPixel feature until a Qt-patch is supplied which fixes a possible crash
(see http://lists.kde.org/?l=kde-core-devel&m=119077433611662&w=2)

svn path=/trunk/KDE/kdebase/apps/; revision=717132
2007-09-26 06:08:51 +00:00
Script Kiddy 7923d297f1 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=717121
2007-09-26 05:58:14 +00:00
Rafael Fernández López 1b0a498799 This fixes the problem of the "hidden filename corner case" by setting the column to the width of its contents. Probably is a poor solution...
CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=717081
2007-09-26 02:07:30 +00:00
Rafael Fernández López 1e1e1b6c86 Hide unused and not drawn columns on the details view
CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=717068
2007-09-26 00:47:33 +00:00
Rafael Fernández López 8ff20f6519 Fix the reproducible problem after the fix:
- On the icon view, enable categorization
- Switch to details view
- Go back to the icon view. The categorization has been disabled for the 
details view to sort correctly.

This fixes this problem :)

CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=717051
2007-09-25 22:56:20 +00:00
Rafael Fernández López ccea74a99a When the view is the Details or Columns one do not have in count lessThanGeneralPurpose. For that we need to force the proxy model to not to be categorized.
CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=717040
2007-09-25 21:54:26 +00:00
Rafael Fernández López ddcf546a4a Revert as it doesn't fix the problem completely... diving into this... sorry
CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=717031
2007-09-25 21:27:47 +00:00
Rafael Fernández López 2c689ca4f7 Whenever we are trying to sort, bypass lessThanGeneralPurpose when is not allowed to sort by categories. This will result as bad sortings on Detailed and in
Column views.

CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=717022
2007-09-25 21:17:18 +00:00
Peter Penz 93f8093b66 don't expand to the active URL synchronously, wait until the directory lister has completed its loading
svn path=/trunk/KDE/kdebase/apps/; revision=716899
2007-09-25 14:56:34 +00:00
Peter Penz 41f8286a56 assure that "Select All" and "Invert Selection" only operate on the active column of the column-view instead of selecting the whole hierarchy of the model
svn path=/trunk/KDE/kdebase/apps/; revision=716885
2007-09-25 13:53:08 +00:00
Peter Penz 1db9b6c3c4 fix filtering issues for views that show a directory hierarchy like a tree view or a column view: the directories should not get filtered
svn path=/trunk/KDE/kdebase/apps/; revision=716873
2007-09-25 13:16:17 +00:00
Peter Penz ffe9f62839 use pixel scrolling for all views (thanks to Rafael for the initial fix in the column view)
svn path=/trunk/KDE/kdebase/apps/; revision=716868
2007-09-25 13:03:41 +00:00
Rafael Fernández López d462712eaf Now that we talk about the column view => smooth scrolling
CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=716865
2007-09-25 12:42:41 +00:00
Peter Penz d4103e8ecb * the directory lister must be updated when reloading columns
* ignore trailing slashes when comparing URLs

svn path=/trunk/KDE/kdebase/apps/; revision=716858
2007-09-25 12:03:57 +00:00
Peter Penz e0c795a529 restoring of the column view must also be done if the column view is active
svn path=/trunk/KDE/kdebase/apps/; revision=716850
2007-09-25 11:41:06 +00:00
Peter Penz 991df9c857 clear columns if the new URL is no parent of the currently shown columns
svn path=/trunk/KDE/kdebase/apps/; revision=716840
2007-09-25 11:06:54 +00:00
Rafael Fernández López 9bbab1421c Categories imroved
svn path=/trunk/KDE/kdebase/apps/; revision=716833
2007-09-25 10:43:48 +00:00
Peter Penz 3d982c00b4 don't reset the root index, hiding the column is enough
svn path=/trunk/KDE/kdebase/apps/; revision=716829
2007-09-25 10:31:17 +00:00
Peter Penz 25f4e3efbd hide the ratings and tags column in the treeview sidebar
svn path=/trunk/KDE/kdebase/apps/; revision=716803
2007-09-25 09:34:51 +00:00
Peter Penz 9169072302 assure that the active column stays always visible
svn path=/trunk/KDE/kdebase/apps/; revision=716798
2007-09-25 09:17:53 +00:00
Peter Penz 3bf8fa5901 further root URL handling cleanups
svn path=/trunk/KDE/kdebase/apps/; revision=716789
2007-09-25 09:02:29 +00:00
Peter Penz 6fd52b51ac assure that the restoring the column view cannot fail and replace the temporary 'if (...)-fix' by a Q_ASSERT again
svn path=/trunk/KDE/kdebase/apps/; revision=716711
2007-09-25 05:59:27 +00:00
Rafael Fernández López 48c0de3483 Prettier category drawing :)
svn path=/trunk/KDE/kdebase/apps/; revision=716620
2007-09-25 02:21:15 +00:00
Peter Penz 4832bd7fbd temporary fix: prevent crash due to a wrong root URL; TODO: fix the real root cause of this crash
svn path=/trunk/KDE/kdebase/apps/; revision=716416
2007-09-24 17:18:53 +00:00
Peter Penz 4a50a536b6 prevent that a column with an invalid root index shows the root column temporary while reloading the columns
svn path=/trunk/KDE/kdebase/apps/; revision=716387
2007-09-24 16:29:03 +00:00
Peter Penz 4616d291ca prevent an invalid active column index if columns have been deleted
svn path=/trunk/KDE/kdebase/apps/; revision=716384
2007-09-24 16:18:29 +00:00
Peter Penz 7446edabe4 simplify code + fix activation issue when reloading columns
svn path=/trunk/KDE/kdebase/apps/; revision=716381
2007-09-24 16:13:19 +00:00
Peter Penz 3be3f56f03 improve DolphinColumnView::showColumn() in a way that the history state won't be modified when restoring the columns
svn path=/trunk/KDE/kdebase/apps/; revision=716367
2007-09-24 15:54:01 +00:00
Peter Penz 772a55aafc Restore the root URL when navigating through the history (this is important for views like the column view where the root URL might differ from the current URL).
svn path=/trunk/KDE/kdebase/apps/; revision=716310
2007-09-24 13:50:31 +00:00
David Faure f78bac9909 Pass ref instead of pointer in mouseOverInfo signal
svn path=/trunk/KDE/kdebase/apps/; revision=716256
2007-09-24 10:55:55 +00:00
Peter Penz 43578509d7 don't forget to create missing columns when the URL is changed from e. g. "/home/peter/Temp" to "/home/peter/Temp/a/b/c" by e. g. the back button
svn path=/trunk/KDE/kdebase/apps/; revision=716208
2007-09-24 08:08:56 +00:00
Peter Penz d96a3338ba don't delete inactive columns when reloading the column-view
svn path=/trunk/KDE/kdebase/apps/; revision=716190
2007-09-24 06:55:50 +00:00