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
Peter Penz
7446edabe4
simplify code + fix activation issue when reloading columns
...
svn path=/trunk/KDE/kdebase/apps/; revision=716381
2007-09-24 16:13:19 +00:00
Peter Penz
3be3f56f03
improve DolphinColumnView::showColumn() in a way that the history state won't be modified when restoring the columns
...
svn path=/trunk/KDE/kdebase/apps/; revision=716367
2007-09-24 15:54:01 +00:00
Peter Penz
772a55aafc
Restore the root URL when navigating through the history (this is important for views like the column view where the root URL might differ from the current URL).
...
svn path=/trunk/KDE/kdebase/apps/; revision=716310
2007-09-24 13:50:31 +00:00
Peter Penz
43578509d7
don't forget to create missing columns when the URL is changed from e. g. "/home/peter/Temp" to "/home/peter/Temp/a/b/c" by e. g. the back button
...
svn path=/trunk/KDE/kdebase/apps/; revision=716208
2007-09-24 08:08:56 +00:00
Peter Penz
d96a3338ba
don't delete inactive columns when reloading the column-view
...
svn path=/trunk/KDE/kdebase/apps/; revision=716190
2007-09-24 06:55:50 +00:00
Christian Ehrlicher
17c19b9475
msvc compile++
...
svn path=/trunk/KDE/kdebase/apps/; revision=716039
2007-09-23 19:46:07 +00:00
Peter Penz
18bdbb7a7e
assure that the inactive columns have the same color as the column-view viewport
...
svn path=/trunk/KDE/kdebase/apps/; revision=715308
2007-09-21 19:54:06 +00:00
Peter Penz
bcbf0b44d6
restore the focus of the active column after the reloading has been finished
...
svn path=/trunk/KDE/kdebase/apps/; revision=715305
2007-09-21 19:39:43 +00:00
Peter Penz
d24597def8
implemented reloading of all columns of the column view (just updating the directory lister is not enough in this case...)
...
svn path=/trunk/KDE/kdebase/apps/; revision=715294
2007-09-21 18:52:46 +00:00
Peter Penz
9d277154e1
* some internal cleanups
...
* assure that a column gets created if no existing column can be used for showing an URL
svn path=/trunk/KDE/kdebase/apps/; revision=714407
2007-09-19 13:34:40 +00:00
Peter Penz
539531e1df
implemented keyboard navigation for the column view
...
svn path=/trunk/KDE/kdebase/apps/; revision=714392
2007-09-19 13:00:22 +00:00