┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/kcategorizedview_p.h
AgeCommit message (Collapse)Author
2008-01-13Move KCategorizedView to kdelibs. Use that one.Rafael Fernández López
svn path=/trunk/KDE/kdebase/apps/; revision=760873
2007-12-15This fixes the selection problem with the mouse _only_ for the categorized ↵Rafael Fernández López
view. QListView has a bug that will toggle the last selection done, have to report it to TT. BUG: 154028 CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=748822
2007-12-13Fix the bug reported by Will. Now this code is also more polite. This was a ↵Rafael Fernández López
TODO and now is fixed :) Still a bug somewhere on Qt... when you ctrl+selection rect (with mouse), it is lost the last selection done if they were done by groups. Going to dive more into this problem, but it lives on Qt. BUG: 153876 CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=748258
2007-10-14Take also in count if the rowcount was changed. Then everything needs to be ↵Rafael Fernández López
recached again svn path=/trunk/KDE/kdebase/apps/; revision=725218
2007-10-13If grid size is changed, update correctly items positionRafael Fernández López
svn path=/trunk/KDE/kdebase/apps/; revision=724802
2007-10-13If the categorizing has been enabled/disabled we need to update the ↵Rafael Fernández López
scrollbar in certain conditions svn path=/trunk/KDE/kdebase/apps/; revision=724701
2007-10-12This makes the categorized view amazingly fast in directories with a huge ↵Rafael Fernández López
number of files (tested with a folder with 10000 files here) CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=724536
2007-10-03Update my email addressRafael Fernández López
svn path=/trunk/KDE/kdebase/apps/; revision=720339
2007-09-17Create the new architecture for KCategorizedView. Now DolphinModel is ↵Rafael Fernández López
created, inheriting KDirModel for returning valid data for the role of the category of an item. DolphinSortFilterProxyModel implements now methods lessThanCategoryMethod and lessThanGeneralMethod from KCategorizedSortFilterProxyModel. The only thing that needs to be adapted is the keyboard navigation on the KCategorizedView. CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=713319
2007-07-25ok, second try: make use of KDirSortFilterProxyModel. 'Show in Groups' still ↵Nick Shaforostoff
works, haven't tested nepomuk part though. NOTE to dolphin devs: please, consider using 'left.column()' instead of 'sortRole()' in lessThan methods, and 'sorting()' instead of 'sortRole()' in other places. Didn't make switch by myself because it needs nepomk testing (shouldn't be too hard though). svn path=/trunk/KDE/kdebase/apps/; revision=692517
2007-07-23Fix a couple of crashes. First was to avoid problem caused by ↵Robert Knight
KIconLoader::global()->theme() returning 0 (which according to the API, it can do). Second was to fix the 'lastIndex' member of KCategorizedView::Private being out of date when used. According to the comments this member existed as an optimization. However in the only function where it is used, scrollbar updates are also performed. This will be several orders of magnitude more expensive than the 3 constant-time operations on Qt containers (QHash,QList) which the optimization avoided. So I removed the 'lastIndex' member and moved the calculation to where the data is needed. svn path=/trunk/KDE/kdebase/apps/; revision=691574
2007-07-21ok, reverting as requested by Peter Penz.Nick Shaforostoff
svn path=/trunk/KDE/kdebase/apps/; revision=690417
2007-07-20Make use of the newly added KDirSortFilterProxyModel class -- that is, ↵Nick Shaforostoff
essentially, remove all the code being duplicated :) Make manpart use KEncodingDetector capabilities along the way (it was <meta ... charset="System"> before) svn path=/trunk/KDE/kdebase/apps/; revision=690382
2007-07-13Take in count item sizes. As we want all elements of the same size we check ↵Rafael Fernández López
for the biggest one. This way we have visible columns too, what makes everything more ordered, and to the user eye as well. svn path=/trunk/KDE/kdebase/apps/; revision=687387
2007-07-09Rename KListView to KCategorizedView as decidedRafael Fernández López
svn path=/trunk/KDE/kdebase/apps/; revision=685767