┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/treeviewsidebarpage.cpp
AgeCommit message (Collapse)Author
2008-12-24Open the sidebar on applications:/, not on applications:, that URL makes no ↵David Faure
sense [and crashes kdirmodel...]. BUG: 178416 svn path=/trunk/KDE/kdebase/apps/; revision=901012
2008-12-12SVN_SILENT: removed trailing spacesPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=895978
2008-12-04assure that the column gets resized when expanding directoriesPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=892373
2008-11-08* implement the DragAndDropHelper as singleton derived from QObject, so that ↵Peter Penz
emitting of signals is possible * show an information message in the statusbar, if items are dragged into the same directory TODO: although the signal seems to get connected correctly, the slot DolphinMainWindow::showInformationMessage() is not invoked when the signal is emitted -> will debug this later, it is important that the new string is added before the message freeze svn path=/trunk/KDE/kdebase/apps/; revision=881627
2008-10-24* Move code from DolphinDropController to DragAndDropHelper.Peter Penz
* Move code which checks whether the dragging of a MIME type is supported to DragAndDropHelper. This allows adding an improved support for dropping compressed files from Ark to Dolphin later... CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=875611
2008-10-11Simplify the treeview panel implementation (thanks to David Faure for ↵Peter Penz
pimping KDirModel::expandToUrl() :-)). svn path=/trunk/KDE/kdebase/apps/; revision=869982
2008-10-01* adjusted Dolphin to use KonqOperations::doDrop() instead of using a custom ↵Peter Penz
implementation * used new signals jobRecordingStarted() and jobRecordingFinished from FileUndoManager to inform the user in the statusbar when a recorded command has been finished svn path=/trunk/KDE/kdebase/apps/; revision=866777
2008-09-28Use KonqOperations::doDrop() instead of a custom dropping code. Still some ↵Peter Penz
minor issues are open (Dolphin currently gets no feedback anymore when the operations have been finished), but they will be solved during the next week. BUG: 168154 svn path=/trunk/KDE/kdebase/apps/; revision=865708
2008-08-20SVN_SILENT: coding style fixPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=849784
2008-08-19Force the treeview to be LTR on RTL desktopsDiego Iastrubni
svn path=/trunk/KDE/kdebase/apps/; revision=849382
2008-08-12Provide functionality for auto-expanding folders (the whole patch has been ↵Peter Penz
provided by Simon St James). The setting is currently not offered in the GUI, as some minor remaining issues must be fixed. CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=845975
2008-06-26respect the inline-renaming setting also for the Folder Panel (= treeview)Peter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=824946
2008-05-11A middle click on an item of the tree view panel should open the URL inside ↵Peter Penz
a new tab. TODO: cleanup some obsolete signals/structure inside SidebarPage and TreeviewSidebarPage. svn path=/trunk/KDE/kdebase/apps/; revision=806635
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