┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphiniconsview.cpp
AgeCommit message (Collapse)Author
2008-01-07Backport of bugfix 154434 (trunk revision 757791): Remember the ↵Peter Penz
additional-info property (size, date, type, ...) for each view mode (icons view, details view, column view) individually. svn path=/branches/KDE/4.0/kdebase/apps/; revision=758210
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-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-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-04Allow turning off the feature that additional information might be shown in ↵Peter Penz
the icons view. Per default the setting is still on, but for people who prefer browsing with the details view and only temporary switch to the icons view (e. g. for having a larger preview), this feature gets a showstopper (discussed with Eike Hein). Got the OK from the translator team for adding the new string. CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=744901
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-27Do not crash if the index is not valid.John Tapsell
svn path=/trunk/KDE/kdebase/apps/; revision=742329
2007-11-20Allow using a common drag and drop pixmap also for the KCategorizedView. The ↵Peter Penz
code is currently encapsulated inside a DOLPHIN_DRAGANDDROP define, we'll clean this up when Qt 4.4 is out (-> KDE 4.1?) CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=739375
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-19fix minor margin issue for the item boundariesPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=738873
2007-11-19Icons view: assure that the vertical spacing does not grow as fast as the ↵Peter Penz
horizontal spacing. For the default settings this means that the viewport can now be reached easier than before, while not wasting too much vertical space. svn path=/trunk/KDE/kdebase/apps/; revision=738783
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-15SVN_SILENT: make code more readablePeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=737279
2007-11-15Bypass a layout issue in QListView::visualRect(), where the horizontal ↵Peter Penz
position of items might get calculated in a wrong manner when the item name is too long. I'll try create a patch for Qt but as Dolphin must also work with Qt 4.3.0 this workaround must get applied at least for KDE 4.0. BUG: 152293 svn path=/trunk/KDE/kdebase/apps/; revision=737265
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-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-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-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-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-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-07-18respect the item width and item height also when the item categorization has ↵Peter Penz
been enabled svn path=/trunk/KDE/kdebase/apps/; revision=689663
2007-07-18Assure that the item size is not exceeded -> the spacing is also respected ↵Peter Penz
for texts that cannot be wrapped svn path=/trunk/KDE/kdebase/apps/; revision=689651
2007-07-09Rename KListView to KCategorizedView as decidedRafael Fernández López
svn path=/trunk/KDE/kdebase/apps/; revision=685767
2007-07-06Make KListView capable of drawing categories on our own way. This make ↵Rafael Fernández López
things easier when we are trying to customize it. We can also benefit from KStyle if some day it supports category drawing. KListView keyboard navigation. Tricier than I thought. Pending renaming to KCategorizedView. Seems a good name. svn path=/trunk/KDE/kdebase/apps/; revision=684478
2007-06-27connecting the the activated() signal does not work when using the double ↵Peter Penz
click setting within KDE svn path=/trunk/KDE/kdebase/apps/; revision=680989
2007-06-27activated signal actually does that :)Rafael Fernández López
CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=680979
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-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-17don't hardcode the spacing...Peter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=676762
2007-06-17New and powerful KListView. Still pending class renaming. There are two Rafael Fernández López
methods that I need to think about it, and boost. Small issues like reloading all data when sorting role suddenly changes. In general terms it will work nice when you sort by name or size. We have to work further when we sort by other roles. Nice times. svn path=/trunk/KDE/kdebase/apps/; revision=676732
2007-06-13provide a common drawing method for the hover indication during drag & drop ↵Peter Penz
until issue/wish #160611 is solved in Qt4.4 svn path=/trunk/KDE/kdebase/apps/; revision=675042
2007-06-07First big step to make it possible that the DolphinView can be embedded as ↵Peter Penz
KPart into Konqueror (discussed with David Faure). A lot of refactoring of the DolphinView has been done: - The DolphinView does not contain the URL navigator, the filterbar and the statusbar anymore. Those widgets have been moved to DolphinViewContainer. - The DolphinView does not contain any reference to the main window anymore. Currently there are some minor regressions (the statusbar shows less informations, renaming has been deactivated), but they will get fixed during the next days. Also still a lot of interface cleanups must be done, but let's just do it step by step... svn path=/trunk/KDE/kdebase/apps/; revision=672692
2007-06-05Removed some unnecessary includesMax Blazejak
svn path=/trunk/KDE/kdebase/apps/; revision=671563
2007-06-02don't forget to clear the hover information when a drag leave event occursPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=670856
2007-06-02Provide a hover information when dragging items above other items. TODO: ↵Peter Penz
this code can be removed again when issue #160611 is solved in Qt 4.4. svn path=/trunk/KDE/kdebase/apps/; revision=670848
2007-06-02Assure that the selection is cleared if a click on the viewport is done.Peter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=670761
2007-05-18although not required at the moment, this alignment makes sense with the ↵Peter Penz
improved KFileItemDelegate implementation from Fredrik (hope Fredrik commits on Monday :-)) svn path=/trunk/KDE/kdebase/apps/; revision=666163
2007-05-17don't increase the decoration size if the icons are aligned from left to rightPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=665573
2007-05-15some finetuning for the icons view:Peter Penz
- rename gridWidth() and gridHeight() settings property to itemWidth() and itemHeight() to avoid confusion with the grid size property of QListView - assure that the grid spacing is respected - decrease default text width - allow having more than 1 text line doing a proper wrapping svn path=/trunk/KDE/kdebase/apps/; revision=665097