┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphiniconsview.cpp
AgeCommit message (Collapse)Author
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
2007-05-14The wrapping flag of QStyleOptionViewItemV2 gets lost, as the instance is ↵Peter Penz
assigned to a QStyleOptionViewItem object later on (QStyleOptionViewItem AbstractItemView::viewOptions() const) -> enable the wrapping in the QListView itself. svn path=/trunk/KDE/kdebase/apps/; revision=664830
2007-05-14although the wrapping is enabled, eliding the text might be required -> ↵Peter Penz
don't specify Qt::ElideNone svn path=/trunk/KDE/kdebase/apps/; revision=664803
2007-05-12provide a hover information in the statusbar if the mouse cursor enters an itemPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=663779
2007-05-10layout improvements in the icons view:Peter Penz
* do a text wrapping if the number of lines is > 1 (TODO: bugfix of KFileItemDelegate necessary, currently the text might overlap with the icon) * increase the height for the text area if an additional information like type, date, ... is shown svn path=/trunk/KDE/kdebase/apps/; revision=663320
2007-05-09include cleanupDirk Mueller
svn path=/trunk/KDE/kdebase/apps/; revision=663054
2007-05-01Respect global single/double click setting for the icons- and details view ↵Peter Penz
(thanks to Sam Abed for the patch!). PS: I did not introduce an executed()-signal in KListView, as: * In general we want to avoid having Kxxx-view classes for existing Qxxx-view classes like this was the case in KDE3. Qt4 allows us to use custom models + delegates and hence there should be no need to introduce KListView, KTreeView or KColumnView. * It looks like KListView will be renamed to KCategoryView and it's open yet whether it it will be available outside the scope of a file manager for KDE 4.0. * The details view is derived from QTreeView and the columns view is derived from QColumnView -> adjusting KListView won't help here :-) svn path=/trunk/KDE/kdebase/apps/; revision=659994
2007-04-14select the decoration per defaultPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=654034
2007-04-10allow to enable the categorization feature for sortingPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=652200
2007-04-10Added Rafael López's item categorizer into Dolphin (it's currently ↵Peter Penz
deactivated in dolphiniconsview.cpp until it's in shape for the public). svn path=/trunk/KDE/kdebase/apps/; revision=652156
2007-04-09adapt Dolphin to kdelibs coding style ↵Peter Penz
(http://techbase.kde.org/Policies/Kdelibs_Coding_Style) by using: astyle --indent=spaces=4 --brackets=linux \ --indent-labels --pad=oper --unpad=paren \ --one-line=keep-statements --convert-tabs \ --indent-preprocessor \ `find -type f -name '*.cpp'` `find -type f -name '*.h'` svn path=/trunk/KDE/kdebase/apps/; revision=651981
2007-03-14Cleanup of iconview-settings dialog (no obsolete Q3 classes, ...) and fix ↵Peter Penz
broken zooming in icons view. svn path=/trunk/KDE/kdebase/apps/; revision=642610
2007-03-13Use KFontRequester for dialogs as suggested by Ellen at ↵Peter Penz
http://wiki.openusability.org/guidelines/index.php/Practical_Examples:Configuration_Dialogs. TODO: get rid of Qt3 classes in these dialogs and use a more sensible spacing/margin svn path=/trunk/KDE/kdebase/apps/; revision=642269
2007-03-11Allow to set the 'AdditionalInformation' property from KFileItemDelegate for ↵Peter Penz
each folder. Use case: - Icons view for images: set 'Size' as additional property - Icons view for media: show 'MIME type' as additional property - Default Icons view: don't show any addtional property for a clean layout. TODO: KFileItemDelagate::AdditionalInformation intersects with KDirModel::Columns when used in combination with the details view. Assure that the user does not get confronted with such implementation details in the user interface. svn path=/trunk/KDE/kdebase/apps/; revision=641525
2007-03-11Fixed some drag & drop issues:Peter Penz
- allow drag & drop inside the view - prevent a dragging from a directory into itself - use QModelIndex instead of the position svn path=/trunk/KDE/kdebase/apps/; revision=641451
2007-03-10support return key for navigation (thanks to Luca Gugelmann for the patch!)Peter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=641273
2007-03-02Enable hover effects in the icon view.Fredrik Höglund
svn path=/trunk/KDE/kdebase/apps/; revision=638644
2007-03-01assure that the icon size is always <= the preview sizePeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=638387
2007-03-01Allow zooming in and zooming out in the icons view.Peter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=638386
2007-02-28Allow to configure which additional information ↵Peter Penz
(KFileItemDelegate::AdditionalInformation) should be shown for the icons view. svn path=/trunk/KDE/kdebase/apps/; revision=638135
2007-02-28Jippie: file previews are generated again! Thanks to Fredrik for giving me a ↵Peter Penz
hint how to do it (if I would have known that it is so easy, I'd have implemented it already some weeks ago...). It's very nice that the details view now also is able to show previews (Kudos to Interview & KDirModel). svn path=/trunk/KDE/kdebase/apps/; revision=638081
2007-02-28Fix: a logical arrangement from top to bottom means having a flow from left ↵Peter Penz
to right and vice versa svn path=/trunk/KDE/kdebase/apps/; revision=638047
2007-02-28Instead of using the ListMode of the icon view for the left to right ↵Peter Penz
alignment, still use the IconMode and adjust the alignment properties. Minor issue open: it seems that KFileItemDelegate currently does not care about the alignment properties of QStyleOptionViewItem, it always centers the the icons + text; I'll have a look on this... svn path=/trunk/KDE/kdebase/apps/; revision=637907
2007-02-27The icons view and details view don't use hardcoded (test-) values anymore, ↵Peter Penz
instead the settings for fonts, grid size, ... are read out. The settings dialogs itself will be reworked later if it is clear what should be configurable in which manner. At least the current settings dialog allows to play with the new capabilities we got by KFileItemDelegate, just lets see what we can improve later on... svn path=/trunk/KDE/kdebase/apps/; revision=637792