┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphincolumnview.cpp
AgeCommit message (Collapse)Author
2010-07-24Sourcecode hierarchy cleanup: Create folder "views" and move view related ↵Peter Penz
sources to it svn path=/trunk/KDE/kdebase/apps/; revision=1154146
2010-06-12Fix issue, that changing the zoom level has not been applied to the columns ↵Peter Penz
of the column view svn path=/trunk/KDE/kdebase/apps/; revision=1137344
2010-05-29Fix keyboard navigation issues in the column viewPeter Penz
BUG: 236039 svn path=/trunk/KDE/kdebase/apps/; revision=1132120
2010-03-30Split the class DolphinController into the two classes DolphinViewController ↵Peter Penz
and ViewModeController. The ViewModeController offers a defined interface to control view mode implementations like icons view, details view and column view. The DolphinViewController allows those view mode implementations to control the parent DolphinView in a limited way. svn path=/trunk/KDE/kdebase/apps/; revision=1109228
2010-02-25Request the activation of the view, even if the column is marked as active ↵Peter Penz
already: The activation state of a column is independent from from the activation state of the view. This fixes the regression that items for inactive views containing columns get triggered. BUG: 227472 svn path=/trunk/KDE/kdebase/apps/; revision=1096114
2010-02-25Forward port of SVN commit 1096089: Fix regression that columns stay empty ↵Peter Penz
when switching between URLs that differ by more than one sub directory. Thanks to Frank Reininghaus for the analysis. CCBUG: 227785 CCBUG: 227748 svn path=/trunk/KDE/kdebase/apps/; revision=1096093
2010-02-03Respect floating point font sizesChristoph Feck
BUG: 220632 svn path=/trunk/KDE/kdebase/apps/; revision=1084629
2010-01-26* Assure that the URL navigator is synchronized with the active column.Peter Penz
* Removed obsolete triggerUrlChangeRequest() method + signal in the DolphinController. This is not needed anymore because of the refactored column view. svn path=/trunk/KDE/kdebase/apps/; revision=1080351
2010-01-25fixed regression: don't open files twice in the column-viewPeter Penz
BUG: 223799 svn path=/trunk/KDE/kdebase/apps/; revision=1080102
2010-01-07allow filtering for filenames having a +Peter Penz
BUG: 202002 svn path=/trunk/KDE/kdebase/apps/; revision=1071258
2010-01-06It is possible that the selection of an inactive column gets changed (e. g. ↵Peter Penz
by the selection markers). In this case the column should get active. BUG: 188979 svn path=/trunk/KDE/kdebase/apps/; revision=1070789
2010-01-06SVN_SILENT: removed commented codephin with the column view a wrong layout ↵Peter Penz
has been shown. BUG: 211149 BUG: 214515 svn path=/trunk/KDE/kdebase/apps/; revision=1070709
2010-01-05- Details view and column view: Just use the height as indicator for the ↵Peter Penz
scrolling steps when using the wheel. Don't decrease the steps for larger icon sizes. - Icons view: Use slightly larger scrolling steps. BUG: 191418 BUG: 192958 svn path=/trunk/KDE/kdebase/apps/; revision=1070438
2009-12-30Fix wrong fontMetrics when using custom fontsChristoph Feck
svn path=/trunk/KDE/kdebase/apps/; revision=1067898
2009-11-06Fixed issues when several LoadItemStatesThreads access one plugin or when ↵Peter Penz
the VersionControlObserver is deleted during thread execution. svn path=/trunk/KDE/kdebase/apps/; revision=1045694
2009-11-06* enable the loading of version control plugins (thanks to Aaron for the hint)Peter Penz
* Don't terminate the thread that receives the item states when changing a view. Instead let the thread get finished and ignore the result. svn path=/trunk/KDE/kdebase/apps/; revision=1045674
2009-10-25Do not zoom the icons if the user presses Control and the left mouseFrank Reininghaus
button while using the mouse wheel. The user is probably trying to scroll the view during a rubberband selection in that case. Also simplify the code a bit by handling the icon zooming in DolphinView::eventFilter(). BUG: 190703 svn path=/trunk/KDE/kdebase/apps/; revision=1040021
2009-09-11Fixed minor regression introduced with the column view refactoring: When ↵Peter Penz
switching the view mode in a folder showing previews, the previews get lost after switching. The KFilePreviewGenerator initialized in the ViewExtensionsFactory wants a valid icon size to accept previews. Fixed + Q_ASSERT added to prevent such a mistake in future. svn path=/trunk/KDE/kdebase/apps/; revision=1022453
2009-08-30fix the context menu of the column viewPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1017450
2009-08-29centralize namefilter handlingPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1017117
2009-08-29restore sorting functionality in a generic way which also works for the ↵Peter Penz
column view svn path=/trunk/KDE/kdebase/apps/; revision=1017106
2009-08-29As KFilePreviewGenerator takes care for refreshing the directory lister ↵Peter Penz
automatically now, there is no need to reload the directory in Dolphin. svn path=/trunk/KDE/kdebase/apps/; revision=1016976
2009-08-29move the DolphinFileItemDelegate creation into ViewExtensionsFactoryPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1016949
2009-08-29move handling of SelectionManager and AutoScroller to ViewExtensionsFactoryPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1016927
2009-08-29- The view implementations don't need to keep the Extensions Factory as member.Peter Penz
- Created basic documentation for Extensions Factory. svn path=/trunk/KDE/kdebase/apps/; revision=1016898
2009-08-29Move code for initializing and handling view extensions to the new class ↵Peter Penz
ViewExtensionsFactory. Beside making DolphinView less complex this will allow the column view to share the view extension code instead of (partly) duplicating it as it has been done before. Currently only the tooltips- and filepreview-handling have been moved into ViewExtensionsFactory, a further cleanup will be done later. svn path=/trunk/KDE/kdebase/apps/; revision=1016893
2009-08-28Restore filtering of items. The DolphinView just tells the controller about ↵Peter Penz
the filter, the views (1:1 iconView + detailView, 1:n columnView) connect to the filter-changed signal and apply it to their proxy model. svn path=/trunk/KDE/kdebase/apps/; revision=1016782
2009-08-28restore zooming functionalityPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1016779
2009-08-28I wanted to this for KDE 4.1 already, but well...Peter Penz
Columview refactoring: Get rid of "isColumnView()" special cases in DolphinView and the interface code duplications due to delegating non-QAbstractItemView interfaces to the column view. This reduces the code size + complexity a lot and will make future maintainance of the columnview and DolphinView a lot easier. Currently there are some regressions in the column view, but this will be fixed during the next 14 days. svn path=/trunk/KDE/kdebase/apps/; revision=1016776
2009-04-20Let the user choose if folders are always shown first in the views ofFrank Reininghaus
Dolphin and Konqueror (the default) or not. This setting can be changed in the View menu: "View->Sort By->Folders First". FEATURE: 62007 svn path=/trunk/KDE/kdebase/apps/; revision=956820
2009-03-17SVN_SILENT: removed tab and don't add another exit point in a 3-liner methodPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=940621
2009-02-24Stupid me: The inconsistent behavior between QListView::scrollTo() and ↵Peter Penz
QTreeView::scrollTo() has been fixed in Qt 4.5 :-) I should have tested this _before_ committing the huge patch for bug 185191... So: * Remove the workaround in DolphinIconsView::scrollTo() to bypass an issue in Qt 4.4 (-> fixed in Qt 4.5) * Revert the "use the DolphinController"-parts of commit 930754 and just use QAbstractItemView::scrollTo() instead. CCBUG: 185191 svn path=/trunk/KDE/kdebase/apps/; revision=930777
2009-02-24After renaming an item the view should be scrolled in a way to still have a ↵Peter Penz
fully visible renamed item. The implementation required a lot of more code changes as such a fix should require: QAbstractItemView::scrollTo() cannot be used directly (inconsistent default behavior in QListView and QTreeView, a special case for the column view), so the communication has to be done with the DolphinController... BUG: 185191 svn path=/trunk/KDE/kdebase/apps/; revision=930754
2009-02-22SVN_SILENT: removed spaces from end of linePeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=929981
2009-01-25Refactor the folder expansion system. Main effect: instead of having a list ↵Simon Paul St James
of m_expandedViews which cannot yet be deleted, we more accurately identify the current source of the drag operation if any and store only this for later deletion. This also fixes folder-expansion not working in Column view. svn path=/trunk/KDE/kdebase/apps/; revision=916701
2009-01-14Group classes into folders, Dolphin is too big in the meantime for having a ↵Peter Penz
flat directory hierarchy. dolphin/src/CMakeLists.txt will be cleaned up later. svn path=/trunk/KDE/kdebase/apps/; revision=911065
2008-12-12SVN_SILENT: removed trailing spacesPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=895978
2008-12-03use KDirModel::mimeData() for cut/copy operations as suggested by David FaurePeter Penz
CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=891865
2008-08-26Provide a common iconsize-widget for the settings dialog of the icons-, ↵Peter Penz
details- and column-view. The current version still requires some improvements (Labels on the left + right, preview, ...). svn path=/trunk/KDE/kdebase/apps/; revision=852961
2008-08-18Column view + detail view: use different settings for preview and icon size ↵Peter Penz
like in the icon view for consistency. The setting dialogs will be adjusted later. svn path=/trunk/KDE/kdebase/apps/; revision=848955
2008-08-15For the URL control of Dolphin and Konqueror to be LTR on RTL desktops ↵Diego Iastrubni
(those are URLs, and are not affected by the direction of the desktop). Force the filterbar of Dolphin to be LTR as well, as again it deals with files/directories which are english/latin letters most of the time. svn path=/trunk/KDE/kdebase/apps/; revision=847671
2008-08-05First step of refactoring to improve the zooming capabilities of views:Peter Penz
* Let classes that use DolphinView know about the currently used zoom level. * Provide more zoom levels for all views (the settings dialogs have not been adjusted yet). * Fixed issue that when using the wheel that the enabled state of the zoom actions has not been updated. svn path=/trunk/KDE/kdebase/apps/; revision=842715
2008-07-24fix crash when opening a lot of columns and going back very fast by clicking ↵Peter Penz
on each breadcrumb of the URL navigator BUG: 164304 svn path=/trunk/KDE/kdebase/apps/; revision=837486
2008-06-18Assure that when requesting the context menu for the column-view, that the ↵Peter Penz
correct items are used. TODO for 4.2: get rid of those 'if (isColumnViewActive())' special cases and provide a generic model which also works with the way the column view is implemented BUG: 164146 svn path=/trunk/KDE/kdebase/apps/; revision=821903
2008-03-23provide an option to rename files inlinePeter Penz
CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=789208
2008-02-21Let the DolphinController be aware on which QAbstractItemView instance he is ↵Peter Penz
working. This allows to connect signals from the view implementations (icons view, details view, column view) directly to the slots of the DolphinController without a helper slot. svn path=/trunk/KDE/kdebase/apps/; revision=777737
2008-02-12Move the Ctrl-wheel zoom handling to dolphinview.Luciano Montanaro
The specialized views still need to ignore the Ctrl-qualified wheel events, though. svn path=/trunk/KDE/kdebase/apps/; revision=773976
2008-02-11apply sorting + sort order to the column viewPeter Penz
BUG: 157343 svn path=/trunk/KDE/kdebase/apps/; revision=773766
2008-01-26* increase the performance of item previews: each item view provides an icon ↵Peter Penz
size hint -> the preview and item effects are only applied to the current size, not to the maximum of 128 x 128 pixels * make the icons of hidden files semitransparent like in KDE3 svn path=/trunk/KDE/kdebase/apps/; revision=766659
2008-01-10fixed HIG color violationsPeter Penz
BUG: 153363 svn path=/trunk/KDE/kdebase/apps/; revision=759482