┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphiniconsview.cpp
AgeCommit message (Collapse)Author
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
2007-02-17Some minor polishing: use a grid for the icons view, give the toggle button ↵Peter Penz
of the URL navigator an icon svn path=/trunk/KDE/kdebase/apps/; revision=634601
2007-02-16Reanimated drag & drop support again after introducing the ↵Peter Penz
DolphinController. It is now also possible to move the items inside an icon view like discussed on kde-devel/kde-usability. svn path=/trunk/KDE/kdebase/apps/; revision=634228
2007-02-14Step one for having DolphinParts for the icons and details view, which can ↵Peter Penz
be used by Konqueror. TODO: currently dropping of items is deactivated, as I want to wait for Davids feedback whether the direction is ok. svn path=/trunk/KDE/kdebase/apps/; revision=633703
2007-02-11don't accept drops into the same view if it is not done above a directoryPeter Penz
svn path=/trunk/playground/utils/dolphin/; revision=632656
2007-01-21Cleanup of DolphinContextMenu:Peter Penz
- don't use any deprecated methods anymore - temporary deactivated the "Open With..." submenu. There's a crash in KDirModel when invoking KFileItem::mimetype(); although the same code worked with an older version of kdelibs, I assume this is a Dolphin issue -> I'll do some further analyses... svn path=/trunk/playground/utils/dolphin/; revision=626023
2007-01-06Reanimated drag & drop support for the icons view.Peter Penz
svn path=/trunk/playground/utils/dolphin/; revision=620649
2006-12-15Update for using a proxy model: prevent accessing the model by model() and ↵Peter Penz
doing a cast do KDirModel afterwards. Instead the access to the KDirModel is done by a member variable. Still the proxy model does not seem to work and leads to a crash as soon as the QListView should work with the proxy model -> in the meantime in line 112 from DolphinView.cpp the KDirModel is used instead of the proxy model. svn path=/trunk/playground/utils/dolphin/; revision=613768
2006-12-08Cleanup of signal/slot handling between the dolphin view and the main ↵Peter Penz
window: now the main window listens to the signals from the dolphin view and connects to private slots (previously the dolphin view connected to public slots of the main window). Also prevent naming all slots by the prefix 'slot', describe instead what the method does. svn path=/trunk/playground/utils/dolphin/; revision=611617
2006-12-08Update the FSF address to 51 Franklin Street (hopefully it is the right one)Holger Freyther
gnused rocks! svn path=/trunk/playground/utils/dolphin/; revision=611576
2006-12-04Use QWidget::contextMenuEvent() instead of directly listening to the right ↵Peter Penz
mouse button. svn path=/trunk/playground/utils/dolphin/; revision=610302
2006-12-02reanimated the context menuPeter Penz
svn path=/trunk/playground/utils/dolphin/; revision=609962
2006-11-29Make it (almost) possible to have more than one Dolphin KMainWindowHolger Freyther
Create a DolphinApplication, holding DolphinMainWindows and update the code to use the DolphinView to get the MainWindow, or get a ptr to the MainWindow directly. Or if all windows are effected go through the DolphinApplication to update every mainwindow. The UndowManager and ProgressIndicator have a rather strange relationship and will need some more attention but as UndoManager will be killed anyway I have skipped this. More cleanup, debugging and thinking is needed. svn path=/trunk/playground/utils/dolphin/; revision=608945
2006-11-25Update the ActiveView in DolphinIconsView similiar to ↵Holger Freyther
DolphinView::mouseReleaseEvent svn path=/trunk/playground/utils/dolphin/; revision=607853
2006-11-25Automatically relayout the items on window resizingHolger Freyther
svn path=/trunk/playground/utils/dolphin/; revision=607845
2006-11-24Initial step for moving to KDirModel. Large code parts have been deleted, as ↵Peter Penz
a step by step migration makes no sense. Check KDE3 version of Dolphin as reference how things have been done before. svn path=/trunk/playground/utils/dolphin/; revision=607513
2006-11-22As KURL has been renamed to KUrl all classes and methods, which use the term ↵Peter Penz
'URL', have been converted to use 'Url' instead (e. g. the class URLNavigator is called UrlNavigator now). svn path=/trunk/playground/utils/dolphin/; revision=606991
2006-11-22Some portLaurent Montel
Remove not necessary file svn path=/trunk/playground/utils/dolphin/; revision=606884
2006-11-21compile++Kevin Ottens
Welcome to Dolphin! Trying to help a bit with the porting. If I did something wrong, feel free to blame me. :-) CCMAIL: [email protected] svn path=/trunk/playground/utils/dolphin/; revision=606802
2006-11-21commited initial version of DolphinPeter Penz
svn path=/trunk/playground/utils/dolphin/; revision=606622