Commit graph

2026 commits

Author SHA1 Message Date
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
Zack Rusin
01f577fda1 reducing a little bit the number of deprecation warnings
svn path=/trunk/playground/utils/dolphin/; revision=610300
2006-12-04 05:46:34 +00:00
Peter Penz
c94276725b reanimated the context menu
svn path=/trunk/playground/utils/dolphin/; revision=609962
2006-12-02 21:51:36 +00:00
Peter Penz
4f951f75e2 use flat buttons for the information sidebar page (TODO: this code has been duplicated from URLNavigatorButton)
svn path=/trunk/playground/utils/dolphin/; revision=609309
2006-11-30 05:39:24 +00:00
Kevin Ottens
b1d5b6b746 Get ride of the sidebar and use dockwidgets instead.
Default is now three panes, but the dockwidgets can be stacked, etc. to 
the user convenience.

There's a slight loss in feature since I disabled dockwidgets hiding, 
it's simply because some rework is still needed in kdelibs and Qt to 
make them work correctly.


svn path=/trunk/playground/utils/dolphin/; revision=609186
2006-11-29 18:09:26 +00:00
Holger Freyther
91c5f52d87 Add a "New Window" option to Dolphin
svn path=/trunk/playground/utils/dolphin/; revision=609048
2006-11-29 12:31:16 +00:00
Holger Freyther
9a4a17dd4d Changes to Undo/Redo in regard to ProgressIndicator
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-29 09:30:41 +00:00
Holger Freyther
9b9bad8abe Do not crash with the null pointer, this is a hack/workaround as we
will switch to KonqUndoManager anyway. The difficulty is we would
need one UndoManager for DolphinMainWindow which we won't do/have with
KonqUndoManager so I avoid wasting my time cleaning up this bit, so
progress information might be a bit wrong in regards to the amount of
total steps...

svn path=/trunk/playground/utils/dolphin/; revision=608947
2006-11-29 00:20:32 +00:00
Holger Freyther
f31a541925 Make it (almost) possible to have more than one Dolphin KMainWindow
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-29 00:02:19 +00:00
Dominik Haumann
68e81f7280 port to Qt4
svn path=/trunk/playground/utils/dolphin/; revision=608861
2006-11-28 17:49:49 +00:00
Dominik Haumann
c86d00c8be port to Qt4
svn path=/trunk/playground/utils/dolphin/; revision=608854
2006-11-28 17:22:02 +00:00
Script Kiddy
d3648471e0 SVN_SILENT made messages (.desktop file)
svn path=/trunk/playground/utils/dolphin/; revision=608802
2006-11-28 13:47:39 +00:00
Laurent Montel
46762a81b9 Compile++
svn path=/trunk/playground/utils/dolphin/; revision=608457
2006-11-27 16:12:01 +00:00
Script Kiddy
6839b99e1c SVN_SILENT made messages (.desktop file)
svn path=/trunk/playground/utils/dolphin/; revision=608402
2006-11-27 14:14:12 +00:00
David Faure
5f1b6f8994 Enabled delayed mimetypes
svn path=/trunk/playground/utils/dolphin/; revision=608300
2006-11-27 12:27:25 +00:00
Script Kiddy
f6cabec7a7 SVN_SILENT made messages (.desktop file)
svn path=/trunk/playground/utils/dolphin/; revision=608066
2006-11-26 16:09:01 +00:00
Laurent Montel
a15c14e782 Clean up
svn path=/trunk/playground/utils/dolphin/; revision=607924
2006-11-26 10:50:13 +00:00
Holger Freyther
1d03eac7fc Update the ActiveView in DolphinIconsView similiar to DolphinView::mouseReleaseEvent
svn path=/trunk/playground/utils/dolphin/; revision=607853
2006-11-25 23:23:08 +00:00
Holger Freyther
8fa346cd4b Automatically relayout the items on window resizing
svn path=/trunk/playground/utils/dolphin/; revision=607845
2006-11-25 22:44:05 +00:00
Kevin Ottens
09c69ff811 Setting the right parent definitely helps. :-)
svn path=/trunk/playground/utils/dolphin/; revision=607770
2006-11-25 17:46:22 +00:00
Kevin Ottens
c1af91aab1 Let's remove the connect errors because of the KJob/KIO::Job split.
svn path=/trunk/playground/utils/dolphin/; revision=607764
2006-11-25 17:30:07 +00:00