┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinview.cpp
AgeCommit message (Collapse)Author
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
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-27Enabled delayed mimetypesDavid Faure
svn path=/trunk/playground/utils/dolphin/; revision=608300
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-23Fix i18n Laurent Montel
svn path=/trunk/playground/utils/dolphin/; revision=607156
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-22Hmm, same mistakes... looks like a conversion script gone mad.Kevin Ottens
svn path=/trunk/playground/utils/dolphin/; revision=606929
2006-11-22Ah, now it runs.Kevin Ottens
svn path=/trunk/playground/utils/dolphin/; revision=606922
2006-11-22Some portLaurent Montel
Remove not necessary file svn path=/trunk/playground/utils/dolphin/; revision=606884
2006-11-21commited initial version of DolphinPeter Penz
svn path=/trunk/playground/utils/dolphin/; revision=606622