┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphindetailsview.cpp
AgeCommit message (Collapse)Author
2008-01-16don't resize the columns automatically, as soon as the user has modified the ↵Peter Penz
column widths himself (e. g. by a double-click on the header or by moving the header handle) BUG: 155760 svn path=/trunk/KDE/kdebase/apps/; revision=762385
2008-01-05Remember the additional-info property (size, date, type, ...) for each view ↵Peter Penz
mode (icons view, details view, column view) individually. BUG: 154434 CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=757791
2007-12-18So I guess that is the behaviour that we really want :)Rafael Fernández López
CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=750173
2007-12-18Revert the whole code regarding the discussed issue. Columns view still show ↵Rafael Fernández López
the "forbidden" cursor, so nothing is fixed while reverted. The drop-indicator is shown on files too... so something needs a fix here. Shouldn't be hard anyway CCMAIL: [email protected] CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=750168
2007-12-18Keep consistent all views. Peter, if you decide to revert the change that ↵Rafael Fernández López
David did on dolphiniconsview, do the revert here too. It really makes things very clear this way. Anyway, detailed and columns view were buggy since it did never accept the dragging events, so you were never able to drop on the detailed or column view. CCMAIL: [email protected] CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=750155
2007-12-16The drag&drop helper did not make the difference between the different kind ↵Rafael Fernández López
of views. The only view that draws the hover indicator with rounded corners is the icon view mode. For that reason, the drop marker with the detailed view was drawn with rounded corners. For making it consistent, we draw the drop indicator as the hover effect indicator, so the only one that draws rounded corners is the icon one. CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=749225
2007-12-16replace Q_ASSERT by 'if', otherwise each caller of updateElasticBand() must ↵Peter Penz
check the state itself svn path=/trunk/KDE/kdebase/apps/; revision=749045
2007-12-15Fixed "Eike Hein"-details-view-issue:Peter Penz
1. Open a Dolphin window 2. Switch to Details view 3. Navigate to a folder with a dozen or so items 4. Size the window so that there is an empty space below    the items 5. Move the mouse pointer below the items 6. Click and hold the mouse button, and move the pointer    upward to select all items in the list using the rect.    While selecting in this manner, move the pointer so    high that it is above the list headers in the toolbar.    Then, while still holding the mouse button and being    outside the listview's rect, move the pointer left out    of the window. Now with the pointer outside of the    window, move the pointer down into the area below the    list items, so that the selection rectangle no longer    intersects with the items. Notice they're still all    selected. CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=748830
2007-12-15fixed selection behavior in the details view (when the selection enters the ↵Peter Penz
viewport area, Qt's QTreeView does no selection at all, even if the items are still within the elastic band) svn path=/trunk/KDE/kdebase/apps/; revision=748819
2007-12-06Fixed wrong usage of QStyleOptionViewItem: caching of the file item in the ↵Peter Penz
constructor is too early (thanks to Fredrik for the hint!). This fixes 2 issues: * the selection color of the details view now uses the correct selection color * changing the colors of KDE results in updating the colors of all Dolphin views CCMAIL: [email protected] CCMAIL: [email protected] CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=745700
2007-12-01Assure that the items of the details view are not expandable. We might think ↵Peter Penz
about enabling this in 4.1 optionally, so that especially Konqi can use this feature. But for this some adjustments in the drag & drop handling of the details view must be done first -> let's postpone this to 4.1. svn path=/trunk/KDE/kdebase/apps/; revision=743539
2007-12-01allow the user resizing the columns in the details viewPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=743538
2007-11-28fix crash during drag & drop if the file item is not available (thanks to ↵Peter Penz
John Tapsell for the original fix in dolphiniconsview.cpp!) svn path=/trunk/KDE/kdebase/apps/; revision=742703
2007-11-20Drag & drop fixes for all views: assure that a consistent pixmap for the ↵Peter Penz
drag object is used throughout all views (still open yet: KCategorizedView uses its custom code yet) svn path=/trunk/KDE/kdebase/apps/; revision=739322
2007-11-18Revert last fix, otherwise context menus on viewport don't work anymore. ↵Peter Penz
I'll try to find a clean patch later... svn path=/trunk/KDE/kdebase/apps/; revision=738274
2007-11-18fix crash for the following use case:Peter Penz
- open a view with no selection - press SHIFT + right mouse-click on an item - a context menu will be opened although no item has been selected -> assertion gets triggered later svn path=/trunk/KDE/kdebase/apps/; revision=738255
2007-11-07Fixed performance issue in the details-view when showing > 10000 items:Peter Penz
* Resizing the columns takes around 250 ms instead of 2 seconds. * Opening 10000 items from the disk cache takes 3 seconds instead of 20 seconds. svn path=/trunk/KDE/kdebase/apps/; revision=734052
2007-11-06update to previous commit: reset bool member correctlyPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=733321
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-26updated documentationPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=729716
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-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-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-04Our beloved qt-copy also has the patch appliedRafael Fernández López
svn path=/trunk/KDE/kdebase/apps/; revision=721115
2007-10-04Let's do this in a safe way while we wait for the release team to reply ↵Rafael Fernández López
telling if we make Qt 4.3.2 a requirement for KDE 4.0 svn path=/trunk/KDE/kdebase/apps/; revision=721096
2007-10-04coding style nit-pickingPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=720955
2007-10-04Changes related to the smooth scrolling. We can enable it since icefox has ↵Rafael Fernández López
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: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=720918
2007-10-03disable the moving of columnsPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=720855
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-09-27assure that the decoration gets selected in the details-view even if the ↵Peter Penz
style has not enabled this per default svn path=/trunk/KDE/kdebase/apps/; revision=717770
2007-09-27allow to show/hide the columns of the details-view by a context menu for the ↵Peter Penz
header (-> no need to go into the settings menu) svn path=/trunk/KDE/kdebase/apps/; revision=717627
2007-09-27Remove ScrollPerPixel again. Beside a crash with a non-patched version of Qt ↵Peter Penz
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-26reactivate ScrollPerPixel again, as the Qt-patch for "divide by zero" has ↵Peter Penz
been applied to qt-copy now svn path=/trunk/KDE/kdebase/apps/; revision=717366
2007-09-26use the fixed resizing mode (it is assured that each column stays readable)Peter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=717263
2007-09-26assure that the width of the name-column cannot get too small when ↵Peter Penz
decreasing the width of the viewport CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=717258
2007-09-26Revert last patch which should fix the "name column can get too small issue" ↵Peter Penz
- turning off the automatical resizing is no good solution. I'll submit another fix during this week... CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=717133
2007-09-26temporary disable the ScrollPerPixel feature until a Qt-patch is supplied ↵Peter Penz
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-26This fixes the problem of the "hidden filename corner case" by setting the ↵Rafael Fernández López
column to the width of its contents. Probably is a poor solution... CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=717081
2007-09-26Hide unused and not drawn columns on the details viewRafael Fernández López
CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=717068
2007-09-25use pixel scrolling for all views (thanks to Rafael for the initial fix in ↵Peter Penz
the column view) svn path=/trunk/KDE/kdebase/apps/; revision=716868
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-09check whether the current index is valid and whether no other items are selectedPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=710361
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-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-07-28use alternating row colors for the details viewPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=693610
2007-06-27don't connect to the activated() signal, just use singleClick() and ↵Peter Penz
doubleClick() dependent from the global KDE single/double click setting svn path=/trunk/KDE/kdebase/apps/; revision=680990