Commit graph

640 commits

Author SHA1 Message Date
Peter Penz 6730806715 fix documentation
svn path=/trunk/KDE/kdebase/apps/; revision=685419
2007-07-08 20:31:36 +00:00
Script Kiddy 5b3d8af721 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=684722
2007-07-07 04:51:22 +00:00
Rafael Fernández López 98d01c5e23 Make KListView capable of drawing categories on our own way. This make things easier
when we are trying to customize it. We can also benefit from KStyle if some day it 
supports category drawing.

KListView keyboard navigation. Tricier than I thought.

Pending renaming to KCategorizedView. Seems a good name.

svn path=/trunk/KDE/kdebase/apps/; revision=684478
2007-07-06 17:41:04 +00:00
David Faure 0661c42dd9 simplify + add todo (early commit to make room for the next kdebase-wide commit)
svn path=/trunk/KDE/kdebase/apps/; revision=684300
2007-07-06 13:36:04 +00:00
Laurent Montel 67563a41a1 Remove not necessary cmake variable
svn path=/trunk/KDE/kdebase/apps/; revision=683756
2007-07-05 09:02:54 +00:00
David Faure 089f474513 Don't crash (in PreviewJob) when m_shownUrl is empty for some reason.
svn path=/trunk/KDE/kdebase/apps/; revision=683539
2007-07-04 21:25:56 +00:00
Dirk Mueller 72109bb106 remove redundant project declarations
svn path=/trunk/KDE/kdebase/apps/; revision=683437
2007-07-04 18:20:57 +00:00
Script Kiddy 278838f8ce SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=683071
2007-07-04 05:30:03 +00:00
Script Kiddy a8d8dda370 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=682629
2007-07-03 06:59:16 +00:00
David Faure d89f43f66b Change signature of requestItemInfo signal, to avoid fileitem -> url -> index -> fileitem roundtrip in dolphin,
and to match the BrowserExtension mouseOverInfo() signal.
Started to implement more of the part (e.g. spinning wheel in konq).

svn path=/trunk/KDE/kdebase/apps/; revision=682440
2007-07-02 17:24:54 +00:00
Laurent Montel 398005a991 Remove not necessary variable already
add by other kde cmake variable

svn path=/trunk/KDE/kdebase/apps/; revision=682363
2007-07-02 14:04:12 +00:00
Laurent Montel b5ada3a879 not necessary to duplicate it
svn path=/trunk/KDE/kdebase/apps/; revision=682359
2007-07-02 13:49:52 +00:00
Chusslove Illich 2a86e0bf84 Interface modifications to KCmdLineArgs, KAboutData and KComponentData; BIC, SIC. Most of the depending code has been auto-converted to new API.
svn path=/trunk/KDE/kdebase/apps/; revision=682259
2007-07-02 08:49:20 +00:00
Rafael Fernández López 94cfa325ca Improve speed when we have lots of selections that are partially outside the viewport.
svn path=/trunk/KDE/kdebase/apps/; revision=682114
2007-07-01 17:09:47 +00:00
Rafael Fernández López 2578bea1d8 Define variables in their context
svn path=/trunk/KDE/kdebase/apps/; revision=682100
2007-07-01 15:45:55 +00:00
David Faure ab3d8b1003 Here comes dolphinpart, to use dolphin as the file management view in konqueror.
Embeds nicely, now all the integration needs to be done.
Thanks to Peter for the nice DolphinView/DolphinViewContainer separation which made writing the part very very easy!

CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=682079
2007-07-01 14:25:21 +00:00
Peter Penz 6b42e7ba3b KUIT adaptions
svn path=/trunk/KDE/kdebase/apps/; revision=681920
2007-06-30 20:10:50 +00:00
Peter Penz 08fc0833aa KUIT adapations for labels
svn path=/trunk/KDE/kdebase/apps/; revision=681915
2007-06-30 19:40:15 +00:00
Peter Penz 553c85e336 KUIT adaptions for groups, checkboxes and radiobuttons
svn path=/trunk/KDE/kdebase/apps/; revision=681910
2007-06-30 19:20:49 +00:00
Script Kiddy dd6b533602 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=681732
2007-06-30 04:34:16 +00:00
Peter Penz 54fb5d0d5b declare scalar types as late as possible (putting them outside the loop does not increase the performance)
svn path=/trunk/KDE/kdebase/apps/; revision=681622
2007-06-29 16:09:54 +00:00
Script Kiddy d13740a367 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=681471
2007-06-29 04:24:44 +00:00
Rafael Fernández López fc49fd7b09 Better drawing when big selection rect is drawn.
svn path=/trunk/KDE/kdebase/apps/; revision=681460
2007-06-29 01:19:56 +00:00
Rafael Fernández López 71680def7f ++optimization
svn path=/trunk/KDE/kdebase/apps/; revision=681449
2007-06-28 23:29:47 +00:00
Rafael Fernández López 123e5008ae What is faster ? the eye or the brain ?
svn path=/trunk/KDE/kdebase/apps/; revision=681443
2007-06-28 23:03:00 +00:00
Peter Penz 8c32c621ad don't request the activation of the active URL on the mouse press event, as the sub folder will be opened on the release event...
svn path=/trunk/KDE/kdebase/apps/; revision=681376
2007-06-28 19:01:12 +00:00
Peter Penz 34ff90696f Improve handling of column view:
* Activate column on a mouse press event
* Always synchronize the active column with the URL navigator and vice versa

svn path=/trunk/KDE/kdebase/apps/; revision=681369
2007-06-28 18:52:54 +00:00
Rafael Fernández López ba6c853219 Add needed method for keyboard navigation
svn path=/trunk/KDE/kdebase/apps/; revision=681118
2007-06-27 23:23:41 +00:00
Peter Penz c05153ac9b don't connect to the activated() signal, just use singleClick() and doubleClick() dependent from the global KDE single/double click setting
svn path=/trunk/KDE/kdebase/apps/; revision=680990
2007-06-27 17:03:51 +00:00
Peter Penz 3e5f57127d connecting the the activated() signal does not work when using the double click setting within KDE
svn path=/trunk/KDE/kdebase/apps/; revision=680989
2007-06-27 17:02:55 +00:00
Rafael Fernández López b5f2d46ef9 activated signal actually does that :)
CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=680979
2007-06-27 16:28:39 +00:00
Peter Penz afc732d220 Fix the following reproducible crash in a slightly different way (reported + initial fix done by Rafael):
* Open Dolphin. Enable categorization.
* Split the view. Disable categorization on the right one.
* Join the views.

CCMAIL: ereslibre@gmail.com

svn path=/trunk/KDE/kdebase/apps/; revision=680956
2007-06-27 15:15:29 +00:00
Script Kiddy 4ad537ce4f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=680810
2007-06-27 05:24:25 +00:00
Rafael Fernández López 8cc6f7c0c7 Boost group selections and remove unnecessary stuff.
svn path=/trunk/KDE/kdebase/apps/; revision=680656
2007-06-26 20:33:21 +00:00
Rafael Fernández López a6132b67fd Improve behavior when changes are detected on the model.
svn path=/trunk/KDE/kdebase/apps/; revision=680643
2007-06-26 19:52:45 +00:00
Rafael Fernández López d1aa2eb180 Fancy dragged items. There are two bad parts of this story: the hardcoded value of
the opacity and the break-of-unification between QListView and KListView. This 
will be removed for sure, just for testing reasons.

CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=680555
2007-06-26 14:32:42 +00:00
Rafael Fernández López 964d7125b2 Faster selections
svn path=/trunk/KDE/kdebase/apps/; revision=680550
2007-06-26 14:23:44 +00:00
Rafael Fernández López 14a666ce8d Fix crash. Steps to reproduce:
* Open Dolphin. Enable categorization.
* Split the view. Disable categorization on the right one.
* Join the views.

I am not sure if this is the best way to proceed for this small bug. Please Peter, take a look.

CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=680499
2007-06-26 11:50:54 +00:00
Rafael Fernández López d57134a033 Let deselect items individually using Ctrl+Click
svn path=/trunk/KDE/kdebase/apps/; revision=680368
2007-06-26 00:31:30 +00:00
Rafael Fernández López 289d854969 Take offsets in count
svn path=/trunk/KDE/kdebase/apps/; revision=680285
2007-06-25 20:25:07 +00:00
Rafael Fernández López 0abbaf9e11 Draw dragged items. Better conditions (more accurate to our behavior, hey ! we have columnview too...)
CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=680283
2007-06-25 20:21:35 +00:00
Rafael Fernández López ad3beec4b2 Fix the small issue when you select by categories and then you
Ctrl+Click a subset, and those items selected were deselected

svn path=/trunk/KDE/kdebase/apps/; revision=679315
2007-06-23 15:47:20 +00:00
Rafael Fernández López 78195dd8fe Improve selection speed. I think we can still improve this a little bit, but I think we can live with this speed for now
svn path=/trunk/KDE/kdebase/apps/; revision=679308
2007-06-23 15:39:21 +00:00
Rafael Fernández López 66f4c8b3c8 Fix compile problems on systems that don't want nepomuk. eeek !
svn path=/trunk/KDE/kdebase/apps/; revision=679265
2007-06-23 13:12:21 +00:00
Rafael Fernández López 126c14b3ba Small fixes, but that have an impact of how things are visualized.
* Move "not tagged" elements to the end. We sort the rest (when they have tags), but keep untagged elements (the category) at the end of the view, since the user had
"less" interest on them.

* Break the law again of "dirs first". If we have on a folder only a tagged file (and is a file) and the rest are folders, that file goes first, since it was tagged.

* If we are on the same category, dirs go first. Here we make them citizens of first class.

* Commas instead of spaces when building categories for tags, they make it more readable and less error-prone (we can have tags "a", "dog" and "a dog" as tags, right?, 
so spaces here make the thing a bit hard to distinguish, I have two tags "a", "dog", or the tag "a dog") ;)

* Return an empty string when the item is not tagged at the method tagsForIndex. This way we always show untagged items the latest ones very easily (without nasty string 
checks). We will let the categorizer put a fancy name for them, if the returned string was empty.

CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=679097
2007-06-23 00:43:20 +00:00
Peter Penz 743590a944 Implement sorting by "tags". Same performance problems occur as when using sorting by "rating", but we must get a feeling first how we use the Nepomuk API before thinking about caching...
svn path=/trunk/KDE/kdebase/apps/; revision=678957
2007-06-22 16:42:34 +00:00
Rafael Fernández López b22d9b7b9c If we are sorting by rating, we won't apply the general rule: folders before regular files. The user said that was more interesting for him/her, so we respect his/her
decision. In this case folders and files are citizens of the same class.

CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=678894
2007-06-22 13:58:21 +00:00
André Wöbbeking 1304e17f34 also compile without nepomuk
svn path=/trunk/KDE/kdebase/apps/; revision=678876
2007-06-22 13:16:39 +00:00
Rafael Fernández López 3b0b987093 More human category when items haven't been rated yet
svn path=/trunk/KDE/kdebase/apps/; revision=678853
2007-06-22 12:16:44 +00:00
Peter Penz 4062c4cf2d Allow to sort by rating, which can be quite useful in combination with the "Show in Groups" feature. Although still slow, it basically works. All the code is based on Rafael Fernández López patch available at http://media.ereslibre.es/2007/06/dolphin-21062007.diff.
svn path=/trunk/KDE/kdebase/apps/; revision=678801
2007-06-22 10:18:46 +00:00