Commit graph

106 commits

Author SHA1 Message Date
Peter Penz 8a51f70377 fix crash when opening a lot of columns and going back very fast by clicking on each breadcrumb of the URL navigator
BUG: 164304

svn path=/trunk/KDE/kdebase/apps/; revision=837486
2008-07-24 19:50:40 +00:00
Peter Penz b8a4e0fac2 Assure that when requesting the context menu for the column-view, that the correct items are used.
TODO for 4.2: get rid of those 'if (isColumnViewActive())' special cases and provide a generic model which also works with the way the column view is implemented

BUG: 164146

svn path=/trunk/KDE/kdebase/apps/; revision=821903
2008-06-18 19:34:03 +00:00
Peter Penz cfb135f24e provide an option to rename files inline
CCMAIL: fredrik@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=789208
2008-03-23 15:53:12 +00:00
Peter Penz 188754a3e5 Let the DolphinController be aware on which QAbstractItemView instance he is working. This allows to connect signals from the view implementations (icons view, details view, column view) directly to the slots of the DolphinController without a helper slot.
svn path=/trunk/KDE/kdebase/apps/; revision=777737
2008-02-21 12:49:11 +00:00
Luciano Montanaro 4caebde3cb Move the Ctrl-wheel zoom handling to dolphinview.
The specialized views still need to ignore the Ctrl-qualified wheel events, though.

svn path=/trunk/KDE/kdebase/apps/; revision=773976
2008-02-12 09:27:26 +00:00
Peter Penz d432679df0 apply sorting + sort order to the column view
BUG: 157343

svn path=/trunk/KDE/kdebase/apps/; revision=773766
2008-02-11 18:27:49 +00:00
Peter Penz 453131d6e8 * increase the performance of item previews: each item view provides an icon size hint -> the preview and item effects are only applied to the current size, not to the maximum of 128 x 128 pixels
* make the icons of hidden files semitransparent like in KDE3

svn path=/trunk/KDE/kdebase/apps/; revision=766659
2008-01-26 12:48:03 +00:00
Peter Penz fd1c05b141 fixed HIG color violations
BUG: 153363

svn path=/trunk/KDE/kdebase/apps/; revision=759482
2008-01-10 18:24:57 +00:00
Peter Penz c6992dd7f8 SVN_SILENT: minor coding style fixes
svn path=/trunk/KDE/kdebase/apps/; revision=757988
2008-01-06 18:09:54 +00:00
Laurent Montel b5c5973dad Don't start QTimeLine if QTimeLine is already started
svn path=/trunk/KDE/kdebase/apps/; revision=757960
2008-01-06 16:36:37 +00:00
David Faure 609ce09292 Moving code around in dolphin fixes DnD support in konqueror :)
svn path=/trunk/KDE/kdebase/apps/; revision=748476
2007-12-14 15:53:40 +00:00
Peter Penz b5bb77e45b don't forget to update the scrollbar size when resizing the column view
svn path=/trunk/KDE/kdebase/apps/; revision=746306
2007-12-08 17:09:56 +00:00
John Tapsell f4614fd066 Revert my last commit, it's not quite working
svn path=/trunk/KDE/kdebase/apps/; revision=744406
2007-12-03 13:10:55 +00:00
John Tapsell e80f077357 The first columns model and selection model should be the same as the view's model and selection model.
This means
1) We don't leak memory switching to and from column view
2) Selection is preserved when switching views
3) We don't have 2 models running for the root directory

CCMAIL:peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=744386
2007-12-03 10:32:27 +00:00
Peter Penz bfc1a4676c assure that the active column stays visible when the window gets resized or e. g. the information bar gets enabled
svn path=/trunk/KDE/kdebase/apps/; revision=743752
2007-12-01 20:06:26 +00:00
Peter Penz 8672851a75 fixed issue that the "empty column" is not layouted when pressing the back-button
svn path=/trunk/KDE/kdebase/apps/; revision=738822
2007-11-19 20:10:20 +00:00
Peter Penz bbf9faa053 Simplify DolphinController: don't remember the show-preview state in the controller and add an unnecessary additional signal; instead just read the state from the DolphinView
svn path=/trunk/KDE/kdebase/apps/; revision=729726
2007-10-26 19:02:33 +00:00
Peter Penz c1f27bb620 Simplify the DolphinController: The "show hidden files" state can be retrieved by the DolphinView, there is no need introducing additional signals + states. Further cleanups will follow...
svn path=/trunk/KDE/kdebase/apps/; revision=729721
2007-10-26 18:34:45 +00:00
Peter Penz f11c699fa2 due to the recent tagging freeze this commit contains several fixes in one:
* the filterbar now also filters directories (works also in the column-view :-))

* The "Additional Information" menu entry now also works for showing/hiding the columns of the details view. This also implies that the columns for the details view can now be adjusted per directory -> we have now a consistent behavior between the icons view and details view. Still open: the view properties dialog must be fixed

* Don't show a "Nepomuk not available" error message when starting Dolphin and Nepomuk is not available.

* Fix issue that the information panel blocked the application because of parsing the full meta data of a huge file.

svn path=/trunk/KDE/kdebase/apps/; revision=729704
2007-10-26 17:36:16 +00:00
Peter Penz 5c39ae2675 removed obsolete code: don't connect to nonexisting slots (thanks to Albert for pointing this out)
CCMAIL: aacid@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=728741
2007-10-24 05:35:23 +00:00
Peter Penz 88f17ca75a polish look of column view:
- don't show a focused border above all columns
- provide a small gap between the columns
- assure that the background of inactive columns works well with more complex styles like Oxygen

CCMAIL: cbr@boemann.dk

svn path=/trunk/KDE/kdebase/apps/; revision=726042
2007-10-16 22:24:52 +00:00
Peter Penz 3b8c3c1b1e Allow filtering of items also for the column view. A filtering of directories is not done yet, but with the latest updates of the column view this could be added now (but it's more a question whether we really want this...).
svn path=/trunk/KDE/kdebase/apps/; revision=723536
2007-10-09 22:32:54 +00:00
Peter Penz 1d4cfd16fd column view fixes:
* assure that the history does not get messed up when changing the focus to an existing column
* fix issue that the status bar does not get updated when the focus is changed between the columns

svn path=/trunk/KDE/kdebase/apps/; revision=723519
2007-10-09 21:10:17 +00:00
Peter Penz cf83ceb296 * assure that the columns of the colum-view get dimmed if the colum-view is inactive
* updated documentation of DolphinController + minor cleanups

svn path=/trunk/KDE/kdebase/apps/; revision=722452
2007-10-07 10:53:33 +00:00
Peter Penz 5856090871 minor simplification
svn path=/trunk/KDE/kdebase/apps/; revision=721726
2007-10-05 23:16:20 +00:00
Peter Penz 77a576335c fixed most regressions due to the previous column-view refactoring
svn path=/trunk/KDE/kdebase/apps/; revision=721706
2007-10-05 22:32:13 +00:00
Peter Penz 29402a79bc Refactored DolphinColumnWidget so that it does not need a hierarchical KDirLister. This simplifies the code a lot and also bypasses the current problems with the KDirLister cache when working on hierarchical directories in parallel. There are some minor regressions which will be fixed, but all in all some improvements are visible already:
- the loading of columns is a lot faster
- preview in columns is working
- no side effects in combination with the treeview-panel because of caching

svn path=/trunk/KDE/kdebase/apps/; revision=721678
2007-10-05 21:00:44 +00:00
Rafael Fernández López 7477310779 Oops forgot this one... thanks for reminding Peter :)
CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=721486
2007-10-05 10:39:15 +00:00
Rafael Fernández López ed6e161c09 KDirLister openUrl parameters are now flags
svn path=/trunk/KDE/kdebase/apps/; revision=721256
2007-10-04 21:12:09 +00:00
Peter Penz 7ac3ed4e74 there is no need anymore to check whether the KDirLister is currently loading before invoking KDirModel::expandToUrl()
svn path=/trunk/KDE/kdebase/apps/; revision=720870
2007-10-03 22:33:47 +00:00
Rafael Fernández López a793e11321 Code adaptation because of changes on libraries related to revision 719630
svn path=/trunk/KDE/kdebase/apps/; revision=719642
2007-10-01 15:09:41 +00:00
Tobias Koenig 29a1b26421 Making KFileItemList value based.
svn path=/trunk/KDE/kdebase/apps/; revision=719514
2007-10-01 08:00:48 +00:00
Peter Penz 39614955a4 assure that the decoration gets selected in the column-view even if the style has not enabled this per default
svn path=/trunk/KDE/kdebase/apps/; revision=717801
2007-09-27 16:12:37 +00:00
Peter Penz f37aaf7948 use inline keyword as suggested at http://www.parashift.com/c%2B%2B-faq-lite/inline-functions.html#faq-9.9
svn path=/trunk/KDE/kdebase/apps/; revision=717738
2007-09-27 12:44:14 +00:00
Peter Penz 500975f07d * right-to-left layout fixes
* fixes to assure that active column stays visible

svn path=/trunk/KDE/kdebase/apps/; revision=717684
2007-09-27 10:02:37 +00:00
Peter Penz 40691db6e7 Remove ScrollPerPixel again. Beside a crash with a non-patched version of Qt it also decreases the usability when using the mouse wheel: one full rotation of the mouse wheel only leads to a scrolling of 1 or 2 items...
svn path=/trunk/KDE/kdebase/apps/; revision=717562
2007-09-27 07:02:35 +00:00
Peter Penz 093efca22d reactivate ScrollPerPixel again, as the Qt-patch for "divide by zero" has been applied to qt-copy now
svn path=/trunk/KDE/kdebase/apps/; revision=717366
2007-09-26 18:53:34 +00:00
Peter Penz 28372c1724 internal cleanup
svn path=/trunk/KDE/kdebase/apps/; revision=717223
2007-09-26 10:36:32 +00:00
Peter Penz 8c9c081ead Listen to the directory lister signals to know whether the directory lister is still working. This information is needed as KDirModel::expandToUrl() may never get invoked if the directory lister is still busy...
svn path=/trunk/KDE/kdebase/apps/; revision=717188
2007-09-26 08:39:58 +00:00
Peter Penz f15e4914a0 prevent crash in model when invoking KDirModel::expandToUrl() before the directory lister has been initialized
svn path=/trunk/KDE/kdebase/apps/; revision=717158
2007-09-26 07:23:09 +00:00
Peter Penz 93f8093b66 don't expand to the active URL synchronously, wait until the directory lister has completed its loading
svn path=/trunk/KDE/kdebase/apps/; revision=716899
2007-09-25 14:56:34 +00:00
Peter Penz 41f8286a56 assure that "Select All" and "Invert Selection" only operate on the active column of the column-view instead of selecting the whole hierarchy of the model
svn path=/trunk/KDE/kdebase/apps/; revision=716885
2007-09-25 13:53:08 +00:00
Peter Penz ffe9f62839 use pixel scrolling for all views (thanks to Rafael for the initial fix in the column view)
svn path=/trunk/KDE/kdebase/apps/; revision=716868
2007-09-25 13:03:41 +00:00
Rafael Fernández López d462712eaf Now that we talk about the column view => smooth scrolling
CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=716865
2007-09-25 12:42:41 +00:00
Peter Penz d4103e8ecb * the directory lister must be updated when reloading columns
* ignore trailing slashes when comparing URLs

svn path=/trunk/KDE/kdebase/apps/; revision=716858
2007-09-25 12:03:57 +00:00
Peter Penz 991df9c857 clear columns if the new URL is no parent of the currently shown columns
svn path=/trunk/KDE/kdebase/apps/; revision=716840
2007-09-25 11:06:54 +00:00
Peter Penz 3d982c00b4 don't reset the root index, hiding the column is enough
svn path=/trunk/KDE/kdebase/apps/; revision=716829
2007-09-25 10:31:17 +00:00
Peter Penz 9169072302 assure that the active column stays always visible
svn path=/trunk/KDE/kdebase/apps/; revision=716798
2007-09-25 09:17:53 +00:00
Peter Penz 4a50a536b6 prevent that a column with an invalid root index shows the root column temporary while reloading the columns
svn path=/trunk/KDE/kdebase/apps/; revision=716387
2007-09-24 16:29:03 +00:00
Peter Penz 4616d291ca prevent an invalid active column index if columns have been deleted
svn path=/trunk/KDE/kdebase/apps/; revision=716384
2007-09-24 16:18:29 +00:00