1
0
mirror of https://invent.kde.org/system/dolphin synced 2024-07-07 10:51:45 +00:00
Commit Graph

8046 Commits

Author SHA1 Message Date
Peter Penz
b4543ce170 Remember the position and size of the docks by using QMainWindow::saveState() and QMainWindow::restoreState(). I assume that in KDE 4 there will be a generic mechanism to store the position and size of docks like done for toolbars -> this is only a temporary solution to have a usable version of Dolphin in the meantime.
svn path=/trunk/playground/utils/dolphin/; revision=620954
2007-01-07 21:10:52 +00:00
Peter Penz
445f0b64bd Allow that Dolphin can also be used with global view properties. Per default Dolphin remembers the view properties for each directory, but from the feedback I've got there is a not ignorable amount of people who prefer having global view properties instead.
svn path=/trunk/playground/utils/dolphin/; revision=620774
2007-01-07 09:47:05 +00:00
Peter Penz
4a0a832ddb Minor adjustments for the panels:
- only let them align on the left and the right side
- summarize the panels inside a sub menu entry

svn path=/trunk/playground/utils/dolphin/; revision=620656
2007-01-06 21:46:38 +00:00
Peter Penz
8fb8b7d711 Reanimated drag & drop support for the icons view.
svn path=/trunk/playground/utils/dolphin/; revision=620649
2007-01-06 21:11:04 +00:00
Peter Penz
86ad5d0a63 Reanimate drag and drop support for the URL navigator.
svn path=/trunk/playground/utils/dolphin/; revision=620633
2007-01-06 19:51:48 +00:00
Peter Penz
ddc11d9a26 fixed compile issues resulted by kdelibs cleanup
svn path=/trunk/playground/utils/dolphin/; revision=619596
2007-01-03 20:24:55 +00:00
Holger Freyther
f28181d833 SVN_SILENT make it compile (Dlg->Dialog)
svn path=/trunk/playground/utils/dolphin/; revision=618826
2007-01-02 09:16:36 +00:00
André Wöbbeking
b03d4cfc5d -pedantic
svn path=/trunk/playground/utils/dolphin/; revision=617550
2006-12-29 14:28:16 +00:00
Kevin Ottens
8812b5da0a Compile++
svn path=/trunk/playground/utils/dolphin/; revision=616917
2006-12-27 11:19:39 +00:00
Holger Freyther
f7e58e0966 -Use QSortFilterProxyModel for filtering instead of KDirList::setFilterName
-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-24 00:03:40 +00:00
Holger Freyther
da88d22283 Make the View operate on the QSortFilterProxyModel
Fix the crashes by using mapToSource and mapSelectionToSource
to map the QModelIndex

svn path=/trunk/playground/utils/dolphin/; revision=616118
2006-12-23 18:00:25 +00:00
Holger Freyther
834b145d21 Fix the filterbar
svn path=/trunk/playground/utils/dolphin/; revision=616113
2006-12-23 17:23:01 +00:00
Holger Freyther
e3b47dc731 The answer is either clear() or filterChanged(). Anyone knows this better?
I have decided to use clar as this is the most conservative choiche I could
make. Actually I would love to call QSortFilterProxyModelPrivate::sort as
the mapping does not change, as we do not filter rows ATM...

svn path=/trunk/playground/utils/dolphin/; revision=615959
2006-12-23 12:52:53 +00:00
Peter Penz
b0b162135d - Performance optimization in DolphinView::loadDirectory() (don't store the 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-20 20:50:32 +00:00
Peter Penz
642110309a Let the user chose whether view properties should be remembered for each 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-20 19:10:39 +00:00
Aaron J. Seigo
3396d0dbee build
svn path=/trunk/playground/utils/dolphin/; revision=614828
2006-12-19 02:56:16 +00:00
Aaron J. Seigo
934ba42b09 KStdAction -> KStandardAction
svn path=/trunk/playground/utils/dolphin/; revision=614825
2006-12-19 02:26:06 +00:00
Holger Freyther
ba6f7b0232 make it compile
svn path=/trunk/playground/utils/dolphin/; revision=614752
2006-12-18 20:38:23 +00:00
Simon Hausmann
548169f004 - don't use deprecated KAction constructors
svn path=/trunk/playground/utils/dolphin/; revision=614376
2006-12-17 14:14:52 +00:00
Script Kiddy
cb4aa16629 SVN_SILENT made messages (.desktop file)
svn path=/trunk/playground/utils/dolphin/; revision=614370
2006-12-17 14:05:45 +00:00
Peter Penz
8b240249db Use KonqMimeData for the cut- and copy-operation instead of using bool property inside DolphinMainWindow. This assures that cut- and copy-operations also work within multiple Dolphin main windows.
svn path=/trunk/playground/utils/dolphin/; revision=614351
2006-12-17 13:47:45 +00:00
Peter Penz
c28c72619c Reanimated cut-, copy- and paste- functionality as preparation for moving to KonqUndoManager.
svn path=/trunk/playground/utils/dolphin/; revision=614325
2006-12-17 11:52:26 +00:00
Peter Penz
3b4dfa2040 Update for using a proxy model: prevent accessing the model by model() and 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-15 01:56:57 +00:00
Dominik Haumann
3bd97ea34c fix signal names
svn path=/trunk/playground/utils/dolphin/; revision=613749
2006-12-15 00:04:41 +00:00
Peter Penz
1547891be2 Use QSortFilterProxyModel for sorting KFileItems (thanks to Fredrik for this 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-14 23:49:30 +00:00
Peter Penz
418cfc1d74 Support 'select all' and 'invert selection' again.
svn path=/trunk/playground/utils/dolphin/; revision=613698
2006-12-14 19:54:59 +00:00
Peter Penz
70782d6bb4 Support changing the sorting type and sort order (TODO: does not work yet as the implementation in KDirModel is empty yet).
svn path=/trunk/playground/utils/dolphin/; revision=613696
2006-12-14 19:12:05 +00:00
Peter Penz
dd8158e707 Don't show the 'Show Preview' property inside the toolbar per default.
svn path=/trunk/playground/utils/dolphin/; revision=613031
2006-12-13 08:03:38 +00:00
Peter Penz
163fa7ce30 Instead of having a the 3 view modes "icons", "details" and "previews" only 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-13 07:41:11 +00:00
Holger Freyther
cb2b58535b Do not abort/exit when accessing the string out of bounds
svn path=/trunk/playground/utils/dolphin/; revision=612585
2006-12-11 21:52:04 +00:00
Holger Freyther
6cb02408e4 Use a QLinkedList instead of Q3PtrList
svn path=/trunk/playground/utils/dolphin/; revision=612313
2006-12-10 21:01:38 +00:00
Holger Freyther
328de20871 --deprecation
svn path=/trunk/playground/utils/dolphin/; revision=612307
2006-12-10 20:34:43 +00:00
Peter Penz
4b0293e22e connect to the 'urlChanged' signal (the signal 'signalUrlChanged' is not available anymore)
svn path=/trunk/playground/utils/dolphin/; revision=611620
2006-12-08 23:52:00 +00:00
Peter Penz
d8669c68e4 Cleanup of signal/slot handling between the dolphin view and the main 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-08 23:41:08 +00:00
Holger Freyther
d7d4fb9d26 Update the FSF address to 51 Franklin Street (hopefully it is the right one)
gnused rocks!

svn path=/trunk/playground/utils/dolphin/; revision=611576
2006-12-08 21:24:08 +00:00
Peter Penz
7fecd3b82b show busy indicator inside the progress bar when counting the directories
svn path=/trunk/playground/utils/dolphin/; revision=611372
2006-12-07 21:01:44 +00:00
Peter Penz
31d1457195 Apply the view properties to sub directories without using a modal window. This allows the user to proceed with the work during the view properties are applied.
svn path=/trunk/playground/utils/dolphin/; revision=611369
2006-12-07 20:51:05 +00:00
Peter Penz
904168ad2a fixed layout issues
svn path=/trunk/playground/utils/dolphin/; revision=611357
2006-12-07 19:44:20 +00:00
Peter Penz
352dd42ccb minor cosmetic update of the progress indication
svn path=/trunk/playground/utils/dolphin/; revision=611347
2006-12-07 19:11:21 +00:00
Peter Penz
ced7cbd022 Use a KIO Job for applying the view properties recursively to sub directories.
svn path=/trunk/playground/utils/dolphin/; revision=611325
2006-12-07 17:22:51 +00:00
Script Kiddy
d3611c41f4 SVN_SILENT made messages (.desktop file)
svn path=/trunk/playground/utils/dolphin/; revision=611273
2006-12-07 13:40:45 +00:00
Peter Penz
cbe7e3a832 Patch from Dominik Hauman: Assure that when splitting a view both views take 50 % of the width. Also the flickering has been eliminated.
svn path=/trunk/playground/utils/dolphin/; revision=611081
2006-12-06 16:50:13 +00:00
Kevin Ottens
197f9a4280 Finally! Dock widgets can be hidden from the view menu since
KActionCollection now can take QAction*.

svn path=/trunk/playground/utils/dolphin/; revision=611064
2006-12-06 15:37:51 +00:00
Peter Penz
8c7e12b1f7 Applying view properties recursively to sub directories works again (TODO: rewrite ViewPropsApplier completely as KJob implementation).
svn path=/trunk/playground/utils/dolphin/; revision=610887
2006-12-05 22:48:35 +00:00
Simon Hausmann
d567bc3aea - compile with trunk kdelibs
svn path=/trunk/playground/utils/dolphin/; revision=610667
2006-12-04 21:51:17 +00:00
Zack Rusin
d27b30a66a fixing more warnings
svn path=/trunk/playground/utils/dolphin/; revision=610636
2006-12-04 19:51:53 +00:00
Dominik Haumann
93129f9d2e set {spacing, margin} = 0 again
svn path=/trunk/playground/utils/dolphin/; revision=610440
2006-12-04 10:59:53 +00:00
Peter Penz
dde6f0a077 First step of cleaning up the view properties: inheriting of viewproperties does not work with the current approach of directoryviewpropertysettings.kcfg (2 nodes would be required for each directory, only one is used at the moment). Therefor the valid_for_subdirs property has been removed and the implementation model will be adjusted to match 1:1 to the users model. TODO: improve the viewpropertiesdialog be able to apply viewproperties recursively to sub directories.
svn path=/trunk/playground/utils/dolphin/; revision=610383
2006-12-04 06:37:20 +00:00
Zack Rusin
45d82b3041 the widget is double-buffered by default so don't triple-buffer
plus removing another depdecation warning

svn path=/trunk/playground/utils/dolphin/; revision=610303
2006-12-04 06:00:07 +00:00
Peter Penz
65c0544a2a Use QWidget::contextMenuEvent() instead of directly listening to the right mouse button.
svn path=/trunk/playground/utils/dolphin/; revision=610302
2006-12-04 05:48:57 +00:00