┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/sidebartreeview.cpp
AgeCommit message (Collapse)Author
2007-12-18The order is important, also is important to accept the event on the move ↵Rafael Fernández López
event. While on the dock tree view we were always getting a forbidden cursor with no possibility to drop, now we can nicely drop :) CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=750176
2007-12-16The drag&drop helper did not make the difference between the different kind ↵Rafael Fernández López
of views. The only view that draws the hover indicator with rounded corners is the icon view mode. For that reason, the drop marker with the detailed view was drawn with rounded corners. For making it consistent, we draw the drop indicator as the hover effect indicator, so the only one that draws rounded corners is the icon one. CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=749225
2007-12-16When collapsing nodes that made the scrollbar bigger, it didnt became ↵Rafael Fernández López
smaller. I've debugged on event() method to find out which event was the one called. It seems QEvent::MetaCall is always called when we want and is not as impressive called as paintEvent(), so there we go. This will fix another problem that when a second expanded cached node should make the horizontal scrollbar bigger it didn't till the tree view lost the focus or was resized. Everything fixed :) CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=749049
2007-12-16Fix the problem of the tree view. When we are expanding too many nodes (or ↵Rafael Fernández López
very large ones) a horizontal scrollbar wasn't shown. Now it is. CCMAIL: [email protected] CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=748978
2007-11-20Drag & drop fixes for all views: assure that a consistent pixmap for the ↵Peter Penz
drag object is used throughout all views (still open yet: KCategorizedView uses its custom code yet) svn path=/trunk/KDE/kdebase/apps/; revision=739322
2007-10-04Our beloved qt-copy also has the patch appliedRafael Fernández López
svn path=/trunk/KDE/kdebase/apps/; revision=721115
2007-10-04Let's do this in a safe way while we wait for the release team to reply ↵Rafael Fernández López
telling if we make Qt 4.3.2 a requirement for KDE 4.0 svn path=/trunk/KDE/kdebase/apps/; revision=721096
2007-10-04coding style nit-pickingPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=720955
2007-10-04Changes related to the smooth scrolling. We can enable it since icefox has ↵Rafael Fernández López
submitted his "division by zero" to Qt, so it should be safe. If we experience any division by zero or report, we just disable them commenting them out and with a comment to remind ourselves to uncomment them after. The smooth scrolling is being combined with a good behavior when using the mouse wheel. Some investigation on QListView found nice stuff for KCategorizedView. Peter, I have the smooth scrolling for KDirOperator too, let me that one... I have binary incompatible changes merged there with this ones and I am committing everything together on friday. CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=720918
2007-09-27Remove ScrollPerPixel again. Beside a crash with a non-patched version of Qt ↵Peter Penz
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-26reactivate ScrollPerPixel again, as the Qt-patch for "divide by zero" has ↵Peter Penz
been applied to qt-copy now svn path=/trunk/KDE/kdebase/apps/; revision=717366
2007-09-26temporary disable the ScrollPerPixel feature until a Qt-patch is supplied ↵Peter Penz
which fixes a possible crash (see http://lists.kde.org/?l=kde-core-devel&m=119077433611662&w=2) svn path=/trunk/KDE/kdebase/apps/; revision=717132
2007-09-25use pixel scrolling for all views (thanks to Rafael for the initial fix in ↵Peter Penz
the column view) svn path=/trunk/KDE/kdebase/apps/; revision=716868
2007-09-25hide the ratings and tags column in the treeview sidebarPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=716803
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-06-16use a transparent background to let the users eye focus on the folder ↵Peter Penz
content (e. g. like in http://www.kde-look.org/content/preview.php?preview=1&id=60475&file1=60475-1.jpg&file2=&file3=&name=Crystal+Project) svn path=/trunk/KDE/kdebase/apps/; revision=676274
2007-06-13provide a common drawing method for the hover indication during drag & drop ↵Peter Penz
until issue/wish #160611 is solved in Qt4.4 svn path=/trunk/KDE/kdebase/apps/; revision=675042
2007-06-02don't forget to clear the hover information when a drag leave event occursPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=670856
2007-06-02Provide a hover information when dragging items above other items. TODO: ↵Peter Penz
this code can be removed again when issue #160611 is solved in Qt 4.4. svn path=/trunk/KDE/kdebase/apps/; revision=670851
2007-05-17improve drag & drop support for treeview sidebar:Peter Penz
- allow to drag items within the tree - expand nodes automatically during a drag & drop operation svn path=/trunk/KDE/kdebase/apps/; revision=665588
2007-05-09include cleanupDirk Mueller
svn path=/trunk/KDE/kdebase/apps/; revision=663054
2007-05-06coding style cleanup: fix wrong indenting of members in constructorPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=661819
2007-04-22allow sorting by typePeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=656971
2007-04-09adapt Dolphin to kdelibs coding style ↵Peter Penz
(http://techbase.kde.org/Policies/Kdelibs_Coding_Style) by using: astyle --indent=spaces=4 --brackets=linux \ --indent-labels --pad=oper --unpad=paren \ --one-line=keep-statements --convert-tabs \ --indent-preprocessor \ `find -type f -name '*.cpp'` `find -type f -name '*.h'` svn path=/trunk/KDE/kdebase/apps/; revision=651981
2007-03-25Patch by Luca Gugelmann: get rid of any mainwindow dependency from the sidebars.Peter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=646256
2007-03-14Remove frame and margin around tree view sidebar.Robert Knight
svn path=/trunk/KDE/kdebase/apps/; revision=642531
2007-03-11Fixed some drag & drop issues:Peter Penz
- allow drag & drop inside the view - prevent a dragging from a directory into itself - use QModelIndex instead of the position svn path=/trunk/KDE/kdebase/apps/; revision=641451
2007-03-11support drag & drop for the treeview sidebar pagePeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=641405
2007-03-11Create a SidebarTreeView which will include support for drag & drop in later ↵Peter Penz
releases and encapsulates sidebar specific behavior. TODO: using a sort proxy model results in duplicated elements when the dir lister reloads items. svn path=/trunk/KDE/kdebase/apps/; revision=641359