Kevin Ottens
8046908e5b
Port to new KAction, KActionCollection API.
...
svn path=/trunk/playground/utils/dolphin/; revision=621553
2007-01-09 00:45:31 +00:00
Peter Penz
fededebd08
Fixed issue that the view properties have not been used for the home 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-07 21:28:41 +00:00
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
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
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
Kevin Ottens
92d346ae78
AFAIK the last character is at length()-1.
...
svn path=/trunk/playground/utils/dolphin/; revision=607758
2006-11-25 17:18:38 +00:00
Script Kiddy
95febf9b0f
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/playground/utils/dolphin/; revision=607707
2006-11-25 13:33:52 +00:00
Peter Penz
f271d952ec
Assure that the grid size for Icons View, Details View and Previews View has some proper default values.
...
svn path=/trunk/playground/utils/dolphin/; revision=607518
2006-11-24 22:28:49 +00:00
Peter Penz
0e3d1576d5
Initial step for moving to KDirModel. Large code parts have been deleted, as 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-24 22:10:33 +00:00
Peter Penz
c2c719839c
Migrated the ViewPropertiesDialog to Qt4.
...
svn path=/trunk/playground/utils/dolphin/; revision=607475
2006-11-24 19:43:24 +00:00
Peter Penz
4ff8dbf5e9
Get rid of using deprecated Q3Button::drawButton() interface. Now the URL navigator looks nearly as nice as within the Qt3version again :-)
...
svn path=/trunk/playground/utils/dolphin/; revision=607457
2006-11-24 18:34:52 +00:00
David Faure
47fa21aff1
Some suggestions in comments to avoid porting code when we can share existing ported code instead.
...
svn path=/trunk/playground/utils/dolphin/; revision=607265
2006-11-23 21:50:16 +00:00
Laurent Montel
7fbae44527
Fix i18n
...
svn path=/trunk/playground/utils/dolphin/; revision=607156
2006-11-23 13:10:00 +00:00
Laurent Montel
9d26e139f8
Clean up
...
Add Message.sh to generate translation
svn path=/trunk/playground/utils/dolphin/; revision=607130
2006-11-23 09:54:10 +00:00
Laurent Montel
9f3b083b3a
Byebye q3frame
...
svn path=/trunk/playground/utils/dolphin/; revision=607129
2006-11-23 09:51:15 +00:00
Laurent Montel
edb2c4ad62
Byebye Q3H(V)Box
...
svn path=/trunk/playground/utils/dolphin/; revision=607111
2006-11-23 07:54:24 +00:00
Peter Penz
7fec7ff9a0
As KURL has been renamed to KUrl all classes and methods, which use the term '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-22 17:13:11 +00:00
Peter Penz
9075797f9b
fixed initialization of actions
...
svn path=/trunk/playground/utils/dolphin/; revision=606983
2006-11-22 16:06:47 +00:00
Script Kiddy
369dd3e58f
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/playground/utils/dolphin/; revision=606956
2006-11-22 13:24:27 +00:00
Kevin Ottens
a08b5f8357
Avoid triggering the bookmark action when it's not appropriate.
...
svn path=/trunk/playground/utils/dolphin/; revision=606934
2006-11-22 12:22:41 +00:00
Kevin Ottens
63f6ef7656
Hmm, same mistakes... looks like a conversion script gone mad.
...
svn path=/trunk/playground/utils/dolphin/; revision=606929
2006-11-22 12:12:27 +00:00
Kevin Ottens
5d1f8dc517
Ah, now it runs.
...
svn path=/trunk/playground/utils/dolphin/; revision=606922
2006-11-22 11:42:15 +00:00
Kevin Ottens
9a5f54d83d
compile++
...
But crashes while listing folder...
svn path=/trunk/playground/utils/dolphin/; revision=606919
2006-11-22 11:34:19 +00:00
Laurent Montel
2aac5c21bd
Remove execute attribute
...
svn path=/trunk/playground/utils/dolphin/; revision=606908
2006-11-22 10:47:07 +00:00
Laurent Montel
48159508cc
Clean up
...
svn path=/trunk/playground/utils/dolphin/; revision=606906
2006-11-22 10:46:01 +00:00
Laurent Montel
20b58b6c03
Some port
...
Remove not necessary file
svn path=/trunk/playground/utils/dolphin/; revision=606884
2006-11-22 08:22:45 +00:00
Laurent Montel
6987f297e6
Port++
...
svn path=/trunk/playground/utils/dolphin/; revision=606882
2006-11-22 08:12:45 +00:00
Laurent Montel
c94162b9bf
Not necessary
...
svn path=/trunk/playground/utils/dolphin/; revision=606878
2006-11-22 07:54:13 +00:00
Kevin Ottens
c20f14478a
compile++
...
Welcome to Dolphin! Trying to help a bit with the porting. If I did
something wrong, feel free to blame me. :-)
CCMAIL: peter.penz@gmx.at
svn path=/trunk/playground/utils/dolphin/; revision=606802
2006-11-21 21:10:33 +00:00
Script Kiddy
e907cf38f2
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/playground/utils/dolphin/; revision=606712
2006-11-21 13:23:18 +00:00
Peter Penz
5252c12db4
commited initial version of Dolphin
...
svn path=/trunk/playground/utils/dolphin/; revision=606622
2006-11-21 06:02:05 +00:00