┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinview.cpp
AgeCommit message (Collapse)Author
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-10Update of the patch from Filip Brcic for browsing through ZIP and TAR files. ↵Peter Penz
One part of the patch for the URL navigator has not been committed yet (see notes in URL navigator::setUrl() for details). svn path=/trunk/KDE/kdebase/apps/; revision=641297
2007-03-10allow to browse through ZIP files (thanks to Filip Brcic for the patch!)Peter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=641276
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-03-03respect the show hidden files settingin the url nav barAaron J. Seigo
svn path=/trunk/KDE/kdebase/apps/; revision=638732
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-28Don't use assertions here. The result of the preview might have been done ↵Peter Penz
although the model has changed (e. g. by changed the folder during a preview job is working) -> it's possible to get an invalid model index. svn path=/trunk/KDE/kdebase/apps/; revision=638086
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-22Add libkmetadata detection and minor fixesOscar Blumberg
SVN_SILENT svn path=/trunk/KDE/kdebase/apps/; revision=636328
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-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-13update to i18n change: no more %n in plural callsPeter Penz
svn path=/trunk/playground/utils/dolphin/; revision=633273
2007-02-12use KIO::itemsSummaryString() instead of reinventing the wheelPeter Penz
svn path=/trunk/playground/utils/dolphin/; revision=632870
2007-02-11fixed internationalization issue for languages with more complex plural ↵Peter Penz
forms (thanks to David for the hint) svn path=/trunk/playground/utils/dolphin/; revision=632674
2007-02-11fixed i18n issue when showing how many files are selectedPeter Penz
svn path=/trunk/playground/utils/dolphin/; revision=632641
2007-02-11don't trigger an item if the user does a selection by using the control- or ↵Peter Penz
shift-modifier svn path=/trunk/playground/utils/dolphin/; revision=632633
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-08Fixed issue that the filterbar and the menu state have not been synchronized ↵Peter Penz
(a not existing signal name has been used) svn path=/trunk/playground/utils/dolphin/; revision=631709
2007-01-30Improvements for error messages:Peter Penz
- increase/decrease size on demand and hide progress bar or space information if required - provide close button TODO: the code is far from being finished (e. g. no queueing of pending error messages, close button looks fugly, ...), but I decided to commit the changes to prevent getting an inconsistent state in combination with other commits... svn path=/trunk/playground/utils/dolphin/; revision=628642
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-21- Fixed crash when showing "Open With..." items of the context menu: the ↵Peter Penz
model index from the proxy model was used instead of the model index from the KDirModel. - Use QMenu::addSeparator() instead of QMenu::insertSeparator(). svn path=/trunk/playground/utils/dolphin/; revision=626040
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-20Removed helper class ProgressIndicator (not needed anymore because of the ↵Peter Penz
use of KonqUndoManager). svn path=/trunk/playground/utils/dolphin/; revision=625608
2007-01-18Replaced Dolphins UndoManager and DolphinCommand by KonqUndoManager and ↵Peter Penz
KonqOperations. There are still some minor open issues left (renaming of multiple selected files, no undo support for KonqOperations::mkdir(), redo, ...), but all in all it absolutely makes sense to use a shared code for those operations. svn path=/trunk/playground/utils/dolphin/; revision=624760
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
2007-01-07Fixed issue that the view properties have not been used for the home ↵Peter Penz
directory when starting Dolphin. Also some (very minor) updates have been done regarding the coding guidelines (I'm a nasty nitpicker ;-)). svn path=/trunk/playground/utils/dolphin/; revision=620962
2007-01-06Reanimated drag & drop support for the icons view.Peter Penz
svn path=/trunk/playground/utils/dolphin/; revision=620649
2007-01-02SVN_SILENT make it compile (Dlg->Dialog)Holger Freyther
svn path=/trunk/playground/utils/dolphin/; revision=618826
2006-12-24-Use QSortFilterProxyModel for filtering instead of KDirList::setFilterNameHolger Freyther
-Map DolphinView::Sorting to a column of the KDirModel and sort this column -Reimplement QAbstractItemModel::sort(int,SortOrder) to keep track of the sorted column and order as dolphin uses this in the config dialogs. We will now work correctly if a view changes sorting. svn path=/trunk/playground/utils/dolphin/; revision=616170
2006-12-23Make the View operate on the QSortFilterProxyModelHolger Freyther
Fix the crashes by using mapToSource and mapSelectionToSource to map the QModelIndex svn path=/trunk/playground/utils/dolphin/; revision=616118
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-20Let the user chose whether view properties should be remembered for each ↵Peter Penz
directory or whether they should be valid globally. Per default the view properties are remembered for each directory. For testing purposes the MIME type information is shown per default in the icons mode (thanks to Fredrik for the cool implementation in KFileItemDelegate!). svn path=/trunk/playground/utils/dolphin/; revision=615232
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-06Patch from Dominik Hauman: Assure that when splitting a view both views take ↵Peter Penz
50 % of the width. Also the flickering has been eliminated. svn path=/trunk/playground/utils/dolphin/; revision=611081
2006-12-04set {spacing, margin} = 0 againDominik Haumann
svn path=/trunk/playground/utils/dolphin/; revision=610440
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-29Changes to Undo/Redo in regard to ProgressIndicatorHolger Freyther
It was not important to know where the operation was executed, it is important where undo/redo was clicked and this solely indicates where the progress should be shown. Now undo/redo get the MainWindow and can pass that to ProgressIndicator. I'm about to revive m_progressIndicator again svn path=/trunk/playground/utils/dolphin/; revision=609020