┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphincolumnwidget.cpp
AgeCommit message (Collapse)Author
2008-03-12* the WA_Hover flag is set by KFileItemDelegate automatically nowPeter Penz
* mouse tracking must stay enabled svn path=/trunk/KDE/kdebase/apps/; revision=784871
2008-03-12As the Qt-issue 160611 is solved in Qt4.4 and Fredrik has improved ↵Peter Penz
KFileItemDelegate, it is not necessary anymore drawing a custom drag & drop indication. svn path=/trunk/KDE/kdebase/apps/; revision=784851
2008-03-06update the previews of columns when the decoration size has been changedPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=782828
2008-03-06fixed wrong ASSERT in column-view (the usecase is valid)Peter Penz
BUG: 158615 svn path=/trunk/KDE/kdebase/apps/; revision=782789
2008-02-22KDE 4.1 requires Qt4.4 -> remove the #ifdefs...Peter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=778095
2008-02-21Fixed wrong comments. Discussed with David Faure: installing an event filter ↵Peter Penz
works for the icons-view and details-view, but not for the column-view which uses QListView child widgets internally... We decided to leave it as it is. svn path=/trunk/KDE/kdebase/apps/; revision=777838
2008-02-21* Install an event-filter for the view implementations. Whenever a view ↵Peter Penz
implementation gets the focus, it should request it's activation. * Let the metadata widget only get the focus by clicking. * Tried to install a similar filter for the wheel-event code duplication in the view-implementations, but the event filter is invoked _after_ the view implementation gets the wheel event... -> added a note the the 3 implementations as hint. svn path=/trunk/KDE/kdebase/apps/; revision=777757
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-21Prevent code duplication by moving the duplications into the DolphinController.Peter Penz
Maybe it might be a good idea to let the DolphinController be aware also about his QAbstractItemView -> it might be possible to directly connect signals of the dolphin view implementations with the controller. I'll check this... (I did not backport this cleanup as I think it has too many changes to be handled as bugfix) CCMAIL: [email protected] CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=777719
2008-02-21Bugfix: Currently, if you open dolphin, select a bunch of files, and right ↵Eduardo Robles Elvira
click and select Open With > whatever, all the files are opened. Which is the right thing. However, if you hit enter to open those selected files, no file is opened. Currently, the file is only opened if there's only *one* file selected. The attached patch fixes this problem. svn path=/trunk/KDE/kdebase/apps/; revision=777695
2008-02-18No longer use Obsolete Member for QWidget:Bill Egert
topLevelWidget() => window() svn path=/trunk/KDE/kdebase/apps/; revision=776408
2008-02-17* if the system font is changed during Dolphin is open, take care to update ↵Peter Penz
the used font of all views too (assuming that the user selected "system font" as font) * store the font weight instead of a bool property "isBold" Thanks to Rafael for the patch! CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=776188
2008-02-15Fix flicker when resizing the central view area in Dolphin. Only applicable ↵Robert Knight
with Qt 4.4 with alien widgets enabled. Any widgets passed to KDirLister::setMainWindow() become native widgets because of a call to QWidget::winId() inside KIO. This fix passes the top level Dolphin window to setMainWindow() (which is already a native window) instead of the item view widget. svn path=/trunk/KDE/kdebase/apps/; revision=775396
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-02-01Show the vertical scroll bar only when necessaryRafael Fernández López
svn path=/trunk/KDE/kdebase/apps/; revision=769332
2008-01-26reset the selection manager when the URL has been changed (otherwise the ↵Peter Penz
selection toggle button would stay visible) svn path=/trunk/KDE/kdebase/apps/; revision=766918
2008-01-26Blend in a toggle button when hovering items. This allows selecting items ↵Peter Penz
without using the rubberband or Ctrl/Shift-keys in the single-click mode. Any feedback from users is highly welcome (I think people will either love or hate this feature, I'm really not sure -> it can be turned off too). svn path=/trunk/KDE/kdebase/apps/; revision=766901
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-17When moving left/right by pressing left/right arrows on keyboard, the ↵Rafael Fernández López
previous current index becomes selected to see which item was the last one selected on that column. CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=762777
2008-01-17SVN_SILENT: remove debugging outputPeter Penz
(damn, I've lost the coding race with Rafael by a few minutes, so this line is the only thing I can commit now ;-)) CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=762763
2008-01-17Who said there aren't coding races ? haha. Fix the keyboard navigation Rafael Fernández López
in the special case of moving left to the previous column and going upwards or downwards. CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=762760
2008-01-17Fix for the scroll+click column bugRafael Fernández López
CCBUG: 155751 svn path=/trunk/KDE/kdebase/apps/; revision=762539
2008-01-13Improve the feeled preview performance by assuring that the preview is ↵Peter Penz
generated first for the visible items. svn path=/trunk/KDE/kdebase/apps/; revision=760897
2008-01-11Up to now DolphinView and ColumnWidget contained a lot of code duplication ↵Peter Penz
regarding generating previews and the dimming of cut items. This has been refactored by introducing an IconManager which takes care itself about generating a preview and dimming cut items. This also allows improving the speed of previews in (near) future (at the moment showing previews from the cache is a lot slower than in KDE 3...). svn path=/trunk/KDE/kdebase/apps/; revision=759864
2008-01-10fixed HIG color violationsPeter Penz
BUG: 153363 svn path=/trunk/KDE/kdebase/apps/; revision=759482
2008-01-02do a case insensitive filtering of filenamesPeter Penz
CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=756066
2007-12-18Show elastic band on the column widgetRafael Fernández López
CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=750207
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-14Moving code around in dolphin fixes DnD support in konqueror :)David Faure
svn path=/trunk/KDE/kdebase/apps/; revision=748476
2007-12-11fixed issue that turning off the preview during the preview job still was ↵Peter Penz
active did not work as expected TODO for 4.1: provide a preview helper class which can be shared between DolphinView and the special use case of DolphinColumnViewWidget BUG: 153816 svn path=/trunk/KDE/kdebase/apps/; revision=747348
2007-12-08Follow David's advice and use 'delete' instead of 'deleteLater()'. ↵Peter Penz
Disconnecting the signals from KDirLister solves a previous crash. CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=746428
2007-12-08don't forget to delete the proxy modelPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=746418
2007-12-08fixed memory leaks (thanks to David for fixing this in KDirOperator)Peter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=746294
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-03Revert my last commit, it's not quite workingJohn Tapsell
svn path=/trunk/KDE/kdebase/apps/; revision=744406
2007-12-03The first columns model and selection model should be the same as the view's ↵John Tapsell
model and selection model. This means 1) We don't leak memory switching to and from column view 2) Selection is preserved when switching views 3) We don't have 2 models running for the root directory CCMAIL:[email protected] svn path=/trunk/KDE/kdebase/apps/; revision=744386
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-07SVN_SILENT: add line breakPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=733999
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