┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinview.cpp
AgeCommit message (Collapse)Author
2007-11-17Fix "delete" and "move to trash" actions in dolphinpart; moved all logic for ↵David Faure
those out of konqueror. Inside dolphin, the usual: moving code to DolphinView. Pressing shift while clicking on "Move to Trash" in konq (dolphinpart) offers to delete, as in kde3 (this bit of logic might be good for dolphin itself too? see DolphinPart::slotTrashActivated) CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=737682
2007-11-15Implement cut/copy/paste in dolphinpart.David Faure
Had to move more code to DolphinView, to use it from the part. svn path=/trunk/KDE/kdebase/apps/; revision=737203
2007-11-15Implement renaming in dolphinpart.David Faure
No more rename action provided by konqueror, the part provides it now. Had to move a bit of code around in dolphin, as discussed with Peter. svn path=/trunk/KDE/kdebase/apps/; revision=737121
2007-11-06When switching from e. g. the icons view to the details view, additional ↵Peter Penz
information properties like 'Size' and 'Date' are added as default (showing a details-view without details does not make sense as default setting...). This fix assures that the additional information properties are removed again when switching back to the icons view. Only if the user modified the additional information properties by a GUI-interaction (e. g. by adding a 'Type'), this information is persistet also when switching back to the icon-view. BUG: 151891 svn path=/trunk/KDE/kdebase/apps/; revision=733313
2007-10-30* fixed drag & drop issue in column view (dropping on files was not possible ↵Peter Penz
-> handled as viewport now) * only show the hover-drop-indicator on directories (dropping on file-items is handled like dropping on the viewport) * simplified signature of drop signal (source widget not required anymore) svn path=/trunk/KDE/kdebase/apps/; revision=731129
2007-10-26Simplify DolphinController: don't remember the show-preview state in the ↵Peter Penz
controller and add an unnecessary additional signal; instead just read the state from the DolphinView svn path=/trunk/KDE/kdebase/apps/; revision=729726
2007-10-26Simplify the DolphinController: The "show hidden files" state can be ↵Peter Penz
retrieved by the DolphinView, there is no need introducing additional signals + states. Further cleanups will follow... svn path=/trunk/KDE/kdebase/apps/; revision=729721
2007-10-26due to the recent tagging freeze this commit contains several fixes in one:Peter Penz
* the filterbar now also filters directories (works also in the column-view :-)) * The "Additional Information" menu entry now also works for showing/hiding the columns of the details view. This also implies that the columns for the details view can now be adjusted per directory -> we have now a consistent behavior between the icons view and details view. Still open: the view properties dialog must be fixed * Don't show a "Nepomuk not available" error message when starting Dolphin and Nepomuk is not available. * Fix issue that the information panel blocked the application because of parsing the full meta data of a huge file. svn path=/trunk/KDE/kdebase/apps/; revision=729704
2007-10-16polish look of column view:Peter Penz
- don't show a focused border above all columns - provide a small gap between the columns - assure that the background of inactive columns works well with more complex styles like Oxygen CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=726042
2007-10-14The sorting on dolphinview is no more needed, it is done automatically by ↵Rafael Fernández López
KCategorizedSortFilterProxyModel when setCategorizedModel is changed. Bug fixed for the categorized view: Details => Icons (with no categories) => Categorized was resulting in no items in the view or all items in the same position svn path=/trunk/KDE/kdebase/apps/; revision=725212
2007-10-10DolphinPart: provide a way to switch between view modes in konqueror.David Faure
Factorized those actions between dolphinmainwindow and dolphinpart (see new methods in dolphinview), and simplified mainwindow code by using the signal from the action group and the QVariant data of the actions (standard Qt4 solution for a group of actions). svn path=/trunk/KDE/kdebase/apps/; revision=723871
2007-10-09Allow filtering of items also for the column view. A filtering of ↵Peter Penz
directories is not done yet, but with the latest updates of the column view this could be added now (but it's more a question whether we really want this...). svn path=/trunk/KDE/kdebase/apps/; revision=723536
2007-10-09column view fixes:Peter Penz
* assure that the history does not get messed up when changing the focus to an existing column * fix issue that the status bar does not get updated when the focus is changed between the columns svn path=/trunk/KDE/kdebase/apps/; revision=723519
2007-10-07* assure that the columns of the colum-view get dimmed if the colum-view is ↵Peter Penz
inactive * updated documentation of DolphinController + minor cleanups svn path=/trunk/KDE/kdebase/apps/; revision=722452
2007-10-06don't use the directory lister directlyPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=722142
2007-10-06remove unneeded codePeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=722140
2007-10-05fixed most regressions due to the previous column-view refactoringPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=721706
2007-10-05Refactored DolphinColumnWidget so that it does not need a hierarchical ↵Peter Penz
KDirLister. This simplifies the code a lot and also bypasses the current problems with the KDirLister cache when working on hierarchical directories in parallel. There are some minor regressions which will be fixed, but all in all some improvements are visible already: - the loading of columns is a lot faster - preview in columns is working - no side effects in combination with the treeview-panel because of caching svn path=/trunk/KDE/kdebase/apps/; revision=721678
2007-10-05Restoring the column view relies on the URL-history. It might be possible ↵Peter Penz
that the view properties have been changed or deleted in the meantime, so it cannot be asserted that really a column view has been created. svn path=/trunk/KDE/kdebase/apps/; revision=721374
2007-10-04KDirLister openUrl parameters are now flagsRafael Fernández López
svn path=/trunk/KDE/kdebase/apps/; revision=721256
2007-10-02Allow showing additional information like type, size and date in parallel ↵Peter Penz
for the icons view (thanks to Fredrik for the extension of KFileItemDelegate!). svn path=/trunk/KDE/kdebase/apps/; revision=720283
2007-10-02replace QList<KFileItem> by KFileItemList, as KFileItemList is not ↵Peter Penz
QList<KFileItem*> anymore since todays update of kfileitem.* in kdelibs svn path=/trunk/KDE/kdebase/apps/; revision=720234
2007-10-02fix signal/slotDavid Faure
svn path=/trunk/KDE/kdebase/apps/; revision=720110
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