┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinview.h
AgeCommit message (Collapse)Author
2007-04-12fix issue that the view properties are not read out correctly for first ↵Peter Penz
directory after starting Dolphin svn path=/trunk/KDE/kdebase/apps/; revision=653129
2007-04-10allow to enable the categorization feature for sortingPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=652200
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-04-02Rename all the URL navigator related classes to prepare their migration Kevin Ottens
in kdelibs. svn path=/trunk/KDE/kdebase/apps/; revision=649514
2007-04-01reload view when the settings are appliedPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=648929
2007-03-27Added setters in urlnavigator to remove dependency on dolphinsettings.David Faure
Removed old unused kfileiconview.h header, fixed some unrelated missing includes due to that one being removed. svn path=/trunk/KDE/kdebase/apps/; revision=647244
2007-03-27Initial version for a column view support (thanks a lot to Benjamin Meyer ↵Peter Penz
for QColumnView in Qt4.3!). Currently there is a problem when using the DolphinSortFilterProxyModel: some items get duplicated, but I doubt it's an issue in QColumnView (the same issue occurs when using QTreeView) -> further investigations necessary... svn path=/trunk/KDE/kdebase/apps/; revision=647234
2007-03-26Ported to KBookmarkManager::closestBookmark - which even solves another TODO ↵David Faure
about code duplication. Improved urlnavigator API to avoid exposing the full QList (api independent from implementation now). svn path=/trunk/KDE/kdebase/apps/; revision=646954
2007-03-26Using a QLinkedList mostly for "accessing element at index i" is not the ↵David Faure
best solution performance-wise... use a QList instead. svn path=/trunk/KDE/kdebase/apps/; revision=646813
2007-03-25Patch by Luca Gugelmann: get rid of any mainwindow dependency from the sidebars.Peter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=646256
2007-03-22improve the handling when applying item effects to cut itemsPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=645516
2007-03-19Step 1 of 2 to fix the issue that reloading of a directory resets the ↵Peter Penz
contents position to 0/0 (step 2 will be committed after the BIC Monday...). svn path=/trunk/KDE/kdebase/apps/; revision=644237
2007-03-17Allow to cut, copy, paste, ... the currently selected item from a sidebar by ↵Peter Penz
the DolphinContextMenu (currently only used by the tree view). svn path=/trunk/KDE/kdebase/apps/; revision=643572
2007-03-11disable the 'Additional information' menu for other views then the 'Icons View'Peter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=641532
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-10Apply an item effect to all cut items. As discussed with Fredrik this should ↵Peter Penz
be done in the application itself and not inside KDirModel to be able to do some optimizations. svn path=/trunk/KDE/kdebase/apps/; revision=641317
2007-03-08Use hover effect from KFileItemDelegate also for the details view and assure ↵Peter Penz
that only the column KDirModel::Name can be selected and edited. svn path=/trunk/KDE/kdebase/apps/; revision=640453
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-17Cleanup of the URL navigator, so that the DolphinMainWindow and the ↵Peter Penz
DolphinView are not used anymore. This will make it easier for us later on when moving the URL navigator outside Dolphin to make it accessable for other parts. Currently the bookmarks are still accessed by DolphinSettings, but this will be cleaned up later... svn path=/trunk/KDE/kdebase/apps/; revision=634432
2007-02-17Assure that the horizontal and vertical slider position don't reset if an ↵Peter Penz
item is deleted or added. svn path=/trunk/KDE/kdebase/apps/; revision=634399
2007-02-17Removed method 'int columnIndex(Sorting sorting) const'. The mapping is done ↵Peter Penz
outside the class DolphinView already. svn path=/trunk/KDE/kdebase/apps/; revision=634392
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-14minor documentation fixesPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=633708
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-10restore the x- and y-position of the view if the current view is part of the ↵Peter Penz
history svn path=/trunk/playground/utils/dolphin/; revision=632370
2007-02-07Additionally to sorting by name, size and date it is now possible to sort by ↵Peter Penz
permissions, owner and group. svn path=/trunk/playground/utils/dolphin/; revision=631058
2007-01-25Use KNewMenu instead of custom implementation of Dolphin. TODO: currently ↵Peter Penz
errors are indicated automatically in a message box KNewMenu. In Dolphin modal dialogs having only an "OK" button are not used -> it would be nice if Dolphin could handle the errors in a custom way. svn path=/trunk/playground/utils/dolphin/; revision=627085
2007-01-23Get rid of some KDE 3 relicts.Peter Penz
svn path=/trunk/playground/utils/dolphin/; revision=626610
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-15The KMimeTypeResolver instance is owned by the item view and may not be ↵Peter Penz
deleted manually. svn path=/trunk/playground/utils/dolphin/; revision=623875
2007-01-15Use a QTreeView for the representation of the details view (previously a ↵Peter Penz
QListView has been used). svn path=/trunk/playground/utils/dolphin/; revision=623643
2006-12-20- Performance optimization in DolphinView::loadDirectory() (don't store the ↵Peter Penz
view properties for each property individually) - Get rid of methods which are not used anymore due to moving to KDirModel. - Respect GeneralSettings::globalViewProps() setting when storing view properties. svn path=/trunk/playground/utils/dolphin/; revision=615255
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-14Use QSortFilterProxyModel for sorting KFileItems (thanks to Fredrik for this ↵Peter Penz
hint!). TODO: the implementation does not work yet, as QSortFilerProxyModel::lessThan() is not invoked; I'm too tired currently for finding the root of this ;-) svn path=/trunk/playground/utils/dolphin/; revision=613747
2006-12-14Support 'select all' and 'invert selection' again.Peter Penz
svn path=/trunk/playground/utils/dolphin/; revision=613698
2006-12-14Support changing the sorting type and sort order (TODO: does not work yet as ↵Peter Penz
the implementation in KDirModel is empty yet). svn path=/trunk/playground/utils/dolphin/; revision=613696
2006-12-13Instead of having a the 3 view modes "icons", "details" and "previews" only ↵Peter Penz
2 view modes are used now: "icons" and "details". Whether a preview is shown or not is part of the directory view properties. This also means that it will be possible to show previews in the "details" view in future releases. svn path=/trunk/playground/utils/dolphin/; revision=613029
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-04reducing a little bit the number of deprecation warningsZack Rusin
svn path=/trunk/playground/utils/dolphin/; revision=610300
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-24Assure that the grid size for Icons View, Details View and Previews View has ↵Peter Penz
some proper default values. svn path=/trunk/playground/utils/dolphin/; revision=607518
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-21commited initial version of DolphinPeter Penz
svn path=/trunk/playground/utils/dolphin/; revision=606622