┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinview.cpp
AgeCommit message (Collapse)Author
2007-10-01Port dolphin to the KFileItemDelegate API changes.Fredrik Höglund
svn path=/trunk/KDE/kdebase/apps/; revision=719796
2007-10-01Code adaptation because of changes on libraries related to revision 719630Rafael Fernández López
svn path=/trunk/KDE/kdebase/apps/; revision=719642
2007-10-01Making KFileItemList value based.Tobias Koenig
svn path=/trunk/KDE/kdebase/apps/; revision=719514
2007-09-27use the proxy model categorization state to check whether it has changed, ↵Peter Penz
not the stored categorization state... svn path=/trunk/KDE/kdebase/apps/; revision=717555
2007-09-27Use case: categorized sorting is enabled, the current view mode is ↵Peter Penz
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: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=717548
2007-09-26Assure that the categorized sorting is applied correctly to the proxy model ↵Peter Penz
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: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=717300
2007-09-26* Fix memory leak (DolphinCategoryDrawer is leaking...)Peter Penz
* 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: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=717245
2007-09-25Fix the reproducible problem after the fix:Rafael Fernández López
- 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: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=717051
2007-09-25When the view is the Details or Columns one do not have in count ↵Rafael Fernández López
lessThanGeneralPurpose. For that we need to force the proxy model to not to be categorized. CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=717040
2007-09-25Revert as it doesn't fix the problem completely... diving into this... sorryRafael Fernández López
CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=717031
2007-09-25Whenever we are trying to sort, bypass lessThanGeneralPurpose when is not ↵Rafael Fernández López
allowed to sort by categories. This will result as bad sortings on Detailed and in Column views. CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=717022
2007-09-25assure that "Select All" and "Invert Selection" only operate on the active ↵Peter Penz
column of the column-view instead of selecting the whole hierarchy of the model svn path=/trunk/KDE/kdebase/apps/; revision=716885
2007-09-25restoring of the column view must also be done if the column view is activePeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=716850
2007-09-25further root URL handling cleanupsPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=716789
2007-09-25assure that the restoring the column view cannot fail and replace the ↵Peter Penz
temporary 'if (...)-fix' by a Q_ASSERT again svn path=/trunk/KDE/kdebase/apps/; revision=716711
2007-09-24temporary fix: prevent crash due to a wrong root URL; TODO: fix the real ↵Peter Penz
root cause of this crash svn path=/trunk/KDE/kdebase/apps/; revision=716416
2007-09-24Restore the root URL when navigating through the history (this is important ↵Peter Penz
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-21Don't invoke KDirLister::openUrl(url, true, false) in combination with the ↵Peter Penz
column view, otherwise an assertion in KDirModel is triggered which indicates that KDirModel::expandToUrl() should be used. But in this case invoking expandToUrl() is not needed at all... svn path=/trunk/KDE/kdebase/apps/; revision=715298
2007-09-21implemented reloading of all columns of the column view (just updating the ↵Peter Penz
directory lister is not enough in this case...) svn path=/trunk/KDE/kdebase/apps/; revision=715294
2007-09-19Fix crash in dolphinpart when doing RMB on viewport.David Faure
Clean up unnecessary use of Q3ValueList. svn path=/trunk/KDE/kdebase/apps/; revision=714532
2007-09-17drag and drop fixes for the column view (implied a signal changed which ↵Peter Penz
affected other views too) svn path=/trunk/KDE/kdebase/apps/; revision=713430
2007-09-17Create the new architecture for KCategorizedView. Now DolphinModel is ↵Rafael Fernández López
created, inheriting KDirModel for returning valid data for the role of the category of an item. DolphinSortFilterProxyModel implements now methods lessThanCategoryMethod and lessThanGeneralMethod from KCategorizedSortFilterProxyModel. The only thing that needs to be adapted is the keyboard navigation on the KCategorizedView. CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=713319
2007-09-14refactoring of column view, which fixes:Peter Penz
* selection issues * unwanted loading of sub directories * wrong horizontal scroll position svn path=/trunk/KDE/kdebase/apps/; revision=712590
2007-09-09Reactivate keyboard navigation again. Previously the Return key did not ↵Peter Penz
work, as the 'activated()' signal cannot be used (it ignores KDEs single vs. doubleclick setting). svn path=/trunk/KDE/kdebase/apps/; revision=710356
2007-09-07deprecated-- KColorScheme __comp_ctor fixesArto Hytönen
svn path=/trunk/KDE/kdebase/apps/; revision=709395
2007-09-02minor simplificationPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=707771
2007-08-28dolphinview fix: don't emit urlChanged twice in DolphinView::setUrl (it's ↵David Faure
already emitted by the controller, and we forward that) dolphinpart fix: don't let the konq wheel spin forever when clicking on the Home button and we're already viewing $HOME. svn path=/trunk/KDE/kdebase/apps/; revision=705916
2007-08-28Clicking on items in dolphin part finally implemented.David Faure
Fixed connect() error in dolphinstatusbar [unrelated]. svn path=/trunk/KDE/kdebase/apps/; revision=705835
2007-08-25don't use the term "Bookmarks" anymore, use "Places" instead (includes ↵Peter Penz
devices etc.) svn path=/trunk/KDE/kdebase/apps/; revision=704553
2007-08-17use adjusted signals from KDirListerPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=701057
2007-08-16preview did not work anymore (KDirLister emits the signal newItems(const ↵Peter Penz
KFileItemList&) -> generatePreviews() from Dolphin must have the same signature) svn path=/trunk/KDE/kdebase/apps/; revision=700834
2007-08-13Use KFileItem by value rather than by pointerDavid Faure
- in KDirModel::itemForIndex, as noted there as a TODO - in dolphin, everywhere. svn path=/trunk/KDE/kdebase/apps/; revision=699691
2007-08-12* fixed issue that when having a split view, that both views get the same ↵Peter Penz
color after OK or Apply has been pressed inside the Dolphin settings dialog * prepare for toggling the view icon depending from the activation state svn path=/trunk/KDE/kdebase/apps/; revision=699311
2007-08-06Fixed 'Select All' and 'Invert Selection' for the column view (only the ↵Peter Penz
items of the currently active column will be selected, not the whole tree). The current implementation is quite slow, but this will be fixed later. svn path=/trunk/KDE/kdebase/apps/; revision=696893
2007-07-29Assure that the view properties of a column view are always stored in the ↵Peter Penz
folder represented by the first column. It is assured now, that all columns use the same view properties. Although one reason is because of technical 'restrictions' (KDirLister properties like 'show dot files' are applied to all sub directories too), I personally think it also makes sense from a usability point of view. svn path=/trunk/KDE/kdebase/apps/; revision=693944
2007-07-29when activating the columns inside a column view, the current view ↵Peter Penz
properties must get synchronized svn path=/trunk/KDE/kdebase/apps/; revision=693930
2007-07-08KUIT adaptionsPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=685432
2007-07-06simplify + add todo (early commit to make room for the next kdebase-wide commit)David Faure
svn path=/trunk/KDE/kdebase/apps/; revision=684300
2007-07-02Change signature of requestItemInfo signal, to avoid fileitem -> url -> ↵David Faure
index -> fileitem roundtrip in dolphin, and to match the BrowserExtension mouseOverInfo() signal. Started to implement more of the part (e.g. spinning wheel in konq). svn path=/trunk/KDE/kdebase/apps/; revision=682440
2007-06-28Improve handling of column view:Peter Penz
* Activate column on a mouse press event * Always synchronize the active column with the URL navigator and vice versa svn path=/trunk/KDE/kdebase/apps/; revision=681369
2007-06-20don't pass a custom viewport URL to the context menu anymore, as this cannot ↵Peter Penz
work together with the menu actions svn path=/trunk/KDE/kdebase/apps/; revision=678175
2007-06-20don't forget applying the view properties when refreshing the viewPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=678067
2007-06-19when requesting a context menu provide a URL for the viewport, because in ↵Peter Penz
the column view this URL can differ from the navigator URL svn path=/trunk/KDE/kdebase/apps/; revision=677704
2007-06-19don't use deprecated KGlobalSettings::xxxColor() methods anymorePeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=677660
2007-06-19* fixed issue that some view properties like "show in groups" are ignored ↵Peter Penz
when a new DolphinViewContainer has been created (happens on startup or when a view is split) * get rid of redundant parameter in constructors of DolphinView and DolphinViewContainer svn path=/trunk/KDE/kdebase/apps/; revision=677654
2007-06-12assure that when switching the view mode from a column view to another view, ↵Peter Penz
that the URL from the dir lister is used instead of the URL from the navigator (has been temporary deactivated because of the DolphinView/DolphinViewContainer split) svn path=/trunk/KDE/kdebase/apps/; revision=674652
2007-06-10don't reset the x-position to 0 in the Column View, if a new directory is loadedPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=673500
2007-06-10Remember and restore position of viewport when reloading or going back in ↵Peter Penz
history (worked already before the DolphinView/DolphinViewContainer split). Minor open issue: the x-position of the Column View is reset to 0... svn path=/trunk/KDE/kdebase/apps/; revision=673498
2007-06-08added signals errorMessage(const QString&) and infoMessage(const QString&) ↵Peter Penz
for the DolphinView svn path=/trunk/KDE/kdebase/apps/; revision=672944
2007-06-08enable progress information in statusbar again (has been disabled temporary ↵Peter Penz
because of the DolphinView/DolphinViewContainer split) svn path=/trunk/KDE/kdebase/apps/; revision=672937