┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/treeviewsidebarpage.cpp
AgeCommit message (Collapse)Author
2008-05-08clear the selection when loading the sub treePeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=805603
2008-05-08* If one item is selected and the item is (at least partly) visible, assure ↵Peter Penz
that an automatic horizontal scrolling is done so that the item gets fully visible. * Use QTimeLine instead of QTimer + value CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=805596
2008-03-23allow to show hidden files in the Folders panel (treeview)Peter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=789206
2008-03-20use QDir::rootPath() to make the folders panel functional on WindowsPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=788155
2008-02-18No longer use Obsolete Member for QWidget:Bill Egert
topLevelWidget() => window() svn path=/trunk/KDE/kdebase/apps/; revision=776408
2008-02-15Fix flicker when resizing the central view area in Dolphin. Only applicable ↵Robert Knight
with Qt 4.4 with alien widgets enabled. Any widgets passed to KDirLister::setMainWindow() become native widgets because of a call to QWidget::winId() inside KIO. This fix passes the top level Dolphin window to setMainWindow() (which is already a native window) instead of the item view widget. svn path=/trunk/KDE/kdebase/apps/; revision=775396
2008-01-19treeview: prevent that when expanding a subtree that the selected item gets ↵Peter Penz
hidden by the (maybe) appearing horizontal scrollbar svn path=/trunk/KDE/kdebase/apps/; revision=763543
2008-01-18* Always take the root of an URL as root for the treeview (using a matching ↵Peter Penz
Places-URL leads to serious usability issues - see bug #150941 for details). * Don't reset the horizontal scrollbar position when expanding/reloading the tree. BUG: 150941 svn path=/trunk/KDE/kdebase/apps/; revision=763171
2008-01-17Treeview fixes:Peter Penz
* don't jump to the selected folder when expanding a sub tree within the treeview widget * don't reset the root of non-local URLs when there is no Places-URL available BUG: 155996 BUG: 156008 svn path=/trunk/KDE/kdebase/apps/; revision=762704
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-16Missing callRafael Fernández López
svn path=/trunk/KDE/kdebase/apps/; revision=749041
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-12-14Moving code around in dolphin fixes DnD support in konqueror :)David Faure
svn path=/trunk/KDE/kdebase/apps/; revision=748476
2007-12-08Follow David's advice and use 'delete' instead of 'deleteLater()'. ↵Peter Penz
Disconnecting the signals from KDirLister solves a previous crash. CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=746428
2007-12-08don't forget to delete the proxy modelPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=746418
2007-12-08fixed memory leaks (thanks to David for fixing this in KDirOperator)Peter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=746294
2007-11-15provide a better size hint for the default configurationPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=737202
2007-10-24removed obsolete code: don't connect to nonexisting slots (thanks to Albert ↵Peter Penz
for pointing this out) CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=728741
2007-10-04KDirLister openUrl parameters are now flagsRafael Fernández López
svn path=/trunk/KDE/kdebase/apps/; revision=721256
2007-10-03there is no need anymore to check whether the KDirLister is currently ↵Peter Penz
loading before invoking KDirModel::expandToUrl() svn path=/trunk/KDE/kdebase/apps/; revision=720870
2007-10-02replace QList<KFileItem> by KFileItemList, as KFileItemList is not ↵Peter Penz
QList<KFileItem*> anymore since todays update of kfileitem.* in kdelibs svn path=/trunk/KDE/kdebase/apps/; revision=720234
2007-09-28removed unused method expandSelectionParent (it is not invoked anymore since ↵Peter Penz
KDirLister::expandToUrl() is available) svn path=/trunk/KDE/kdebase/apps/; revision=718182
2007-09-26assure that the directory gets reloaded when the base URL has been changedPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=717365
2007-09-26code simplifications like done in the column viewPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=717229
2007-09-26lessons learned from the column view: never invoke KDirModel::expandToUrl() ↵Peter Penz
when the directory lister has not finished its loading... svn path=/trunk/KDE/kdebase/apps/; revision=717203
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-08-31as David pointed out: Qt4 has a nicer approach for asynchronous events than ↵Peter Penz
using QTimer svn path=/trunk/KDE/kdebase/apps/; revision=706669
2007-08-30Use the new method KDirModel::expandToUrl() from David for expanding the ↵Peter Penz
treeview -> no more crashes anymore for long URLs :-) svn path=/trunk/KDE/kdebase/apps/; revision=706516
2007-08-25don't use the term "Bookmarks" anymore, use "Places" instead (includes ↵Peter Penz
devices etc.) svn path=/trunk/KDE/kdebase/apps/; revision=704553
2007-08-13Use KFileItem by value rather than by pointerDavid Faure
- in KDirModel::itemForIndex, as noted there as a TODO - in dolphin, everywhere. svn path=/trunk/KDE/kdebase/apps/; revision=699691
2007-07-25provide a useful default width for the Folders dock (treeview)Peter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=692544
2007-07-01Here comes dolphinpart, to use dolphin as the file management view in konqueror.David Faure
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: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=682079
2007-05-18ignore spontaneous show events (thanks to Dominik Haumann for pointing this out)Peter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=665855
2007-05-09include cleanupDirk Mueller
svn path=/trunk/KDE/kdebase/apps/; revision=663054
2007-05-09Postpone the creating of the dir lister to the first show event. This ↵Peter Penz
assures that no performance and memory overhead is given when the TreeView is not used at all. svn path=/trunk/KDE/kdebase/apps/; revision=662771
2007-05-08prevent loading items twice in the tree viewPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=662690
2007-05-06optimization: don't load the directory tree if the widget is invisiblePeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=661865
2007-05-06coding style cleanup: fix wrong indenting of members in constructorPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=661819
2007-05-06some cleanups for the sidebar pages (move protected members to private ↵Peter Penz
section etc.) svn path=/trunk/KDE/kdebase/apps/; revision=661815
2007-04-14ups - did not want to commit the kDebug() line...Peter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=654002
2007-04-14fix possible crash if the base URL is emptyPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=653996
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-04-09Dolphin is now KBookmark* free.Kevin Ottens
svn path=/trunk/KDE/kdebase/apps/; revision=651766
2007-04-04Qt::Ascending -> Qt::AscendingOrderPino Toscano
Qt::Descending -> Qt::DescendingOrder svn path=/trunk/KDE/kdebase/apps/; revision=650398
2007-03-27use sort proxy modelPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=647265
2007-03-26Ported to KBookmarkManager::closestBookmark - which even solves another TODO ↵David Faure
about code duplication. Improved urlnavigator API to avoid exposing the full QList (api independent from implementation now). svn path=/trunk/KDE/kdebase/apps/; revision=646954
2007-03-26A small step in trying to make urlnavigator useable in kdelibs for the file ↵David Faure
dialog: remove dependency on DolphinSettings::bookmarkManager(). svn path=/trunk/KDE/kdebase/apps/; revision=646880
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-20Fixed crash on startup, when the treeview has been activated. Thanks to ↵Peter Penz
David Faure for the faster-than-light-adding of the helper method KDirModel::itemForUrl() and the good hints about the root of the issue! svn path=/trunk/KDE/kdebase/apps/; revision=644775
2007-03-17Allow to cut, copy, paste, ... the currently selected item from a sidebar by ↵Peter Penz
the DolphinContextMenu (currently only used by the tree view). svn path=/trunk/KDE/kdebase/apps/; revision=643572