Commit graph

1912 commits

Author SHA1 Message Date
Peter Penz 0190459ebd KBallonTipDelegate is not used at all in Dolphin.
svn path=/trunk/KDE/kdebase/apps/; revision=874947
2008-10-22 21:02:55 +00:00
Peter Penz c916e5ff27 Don't draw a frame for previews in tooltips by code duplication: Now we had 3 different frame types in Dolphin (frames from KFilePreviewGenerator, no frame in the Information Panel and an outdated frame by code duplication from the old file preview generator).
Until we find a nice way to make the code for drawing frames in KFilePreviewGenerator public, better don't draw any frame at all.

svn path=/trunk/KDE/kdebase/apps/; revision=874942
2008-10-22 20:52:45 +00:00
Peter Penz cb928888f7 * don't show a tooltip if a rubberband selection is done
* hide a tooltip if a drag operation has been started

BUG: 173148
CCMAIL: simon@etotheipiplusone.com

svn path=/trunk/KDE/kdebase/apps/; revision=874641
2008-10-22 06:11:59 +00:00
Frederik Schwarzer 4516323b9b global typo
more then -> more than
other then -> other than

svn path=/trunk/KDE/kdebase/apps/; revision=872169
2008-10-16 13:59:07 +00:00
Peter Penz 0a15626099 fixed regression: don't change the state, otherwise when having a split view it is not possible dragging an item from the inactive to the active view (only the rubberband gets active in this case)
CCMAIL:  simon@etotheipiplusone.com

svn path=/trunk/KDE/kdebase/apps/; revision=871928
2008-10-16 06:00:07 +00:00
Peter Penz 49fd5b1c4b assure that the minimized width can never get larger than the default width
svn path=/trunk/KDE/kdebase/apps/; revision=871881
2008-10-15 21:41:59 +00:00
Peter Penz d39451d6d1 SVN_SILENT: coding style fix
svn path=/trunk/KDE/kdebase/apps/; revision=871877
2008-10-15 21:36:16 +00:00
Peter Penz 994095076c Assure that the item delegate draws the hover effect and the selection for the details view only above the icon + name. Open issue: The performance when selecting files by the rubberband is too slow (will be fixed before KDE 4.2).
CCBUG: 165999
CCMAIL: simon@etotheipiplusone.com

svn path=/trunk/KDE/kdebase/apps/; revision=871874
2008-10-15 21:23:42 +00:00
Peter Penz d6a2d5594f First step for having a details view, where only the icon + name act as selectable area (not the whole width of the name column - similar to KDE3). Thanks to Simon St. James for the original patch!
Currently it is very confusing that although only the icon + name is selectable, still the selection and hovering is drawn above the whole column width. This will be fixed before KDE 4.2.

CCBUG: 165999
CCMAIL: simon@etotheipiplusone.com

svn path=/trunk/KDE/kdebase/apps/; revision=871834
2008-10-15 19:23:09 +00:00
Simon Paul St James 20587e7f14 - Fix crash found while investigating https://bugs.kde.org/show_bug.cgi?id=170927
svn path=/trunk/KDE/kdebase/apps/; revision=871808
2008-10-15 17:47:27 +00:00
Peter Penz e0bef260da Assure that the docks get informed about an URL change before the GUI is setup (thanks to Frank Reininghaus for the patch!). This prevents that slots from the docks are called with invalid URLs.
BUG: 169103
CCMAIL: frankreininghaus@web.de>

svn path=/trunk/KDE/kdebase/apps/; revision=871525
2008-10-15 06:03:41 +00:00
David Faure 256f361e40 Don't show an empty error dlg box when aborting deletion.
svn path=/trunk/KDE/kdebase/apps/; revision=871137
2008-10-14 00:24:54 +00:00
David Faure 76fa5aec6b Konq popupmenu fix: we don't show the "Create new" submenu over subdirs in an iconview because you wouldn't see the just-created file/dir,
but let's show it in the case of the hiearchical details view ("folders expandable" option), since you can indeed see the new file/dir in that case. Peter: problem solved with itemsExpandable().
CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=871109
2008-10-13 21:54:03 +00:00
Peter Penz 3b77f108ae Simplify the treeview panel implementation (thanks to David Faure for pimping KDirModel::expandToUrl() :-)).
svn path=/trunk/KDE/kdebase/apps/; revision=869982
2008-10-11 14:13:14 +00:00
Peter Penz 5ab9dca1f9 make it compile if no nepomuk is available
svn path=/trunk/KDE/kdebase/apps/; revision=869739
2008-10-09 22:09:14 +00:00
Peter Penz 9e42591422 assure that the zoom slider/capacity bar gets hidden correctly if the width is too small for having a fitting text
svn path=/trunk/KDE/kdebase/apps/; revision=869727
2008-10-09 21:32:06 +00:00
Peter Penz a6754078cc Improve performance of information panel. Depending on the used backend reading the meta information like rating, tags and comments can be slow (especially when e. g. selecting 1000 files at once having items that are not cached yet). The reading of the meta information is now forwarded to a separate thread, so that Dolphin never gets blocked.
CCMAIL: sebastian@trueg.de
BUG: 170017
BUG: 164309
BUG: 166057

svn path=/trunk/KDE/kdebase/apps/; revision=869401
2008-10-08 21:46:25 +00:00
Peter Penz 37481ae3de clear the shown URL property when a selection is done
svn path=/trunk/KDE/kdebase/apps/; revision=869386
2008-10-08 21:16:41 +00:00
Peter Penz 7de3ccbf54 Don't request any meta data, if the requested URL is equal to the currently shown URL. This is especially important when opening a directory, where the meta info has been requested twice (the first time on hovering a directory, the second time when opening - now when opening the directory no meta data is requested at all). Further performance improvements will follow...
svn path=/trunk/KDE/kdebase/apps/; revision=869328
2008-10-08 19:10:00 +00:00
Sebastian Trueg 73a8d074c1 Also use the Nepomuk MassUpdateJob for tagging
svn path=/trunk/KDE/kdebase/apps/; revision=869130
2008-10-08 08:15:06 +00:00
Peter Penz c617050efb improvement to previous commit: check whether the URL can be listed by asking the protocol manager (thanks to David Faure for the hint)
svn path=/trunk/KDE/kdebase/apps/; revision=869022
2008-10-07 22:05:55 +00:00
Peter Penz 0ee9ee0ea8 If an URL cannot be listed, just let the view and the panels show the last listable URL. This prevents having an empty view and empty panels when typing a wrong URL.
BUG: 170695

svn path=/trunk/KDE/kdebase/apps/; revision=868984
2008-10-07 20:29:18 +00:00
Peter Penz f0b8e65185 provide zoom-out and zoom-in buttons beside the zoom slider
svn path=/trunk/KDE/kdebase/apps/; revision=868953
2008-10-07 18:38:53 +00:00
Peter Penz 84f25c4503 when changing the settings it is necessary to refresh all tabs, not only the active tab
svn path=/trunk/KDE/kdebase/apps/; revision=868952
2008-10-07 18:37:59 +00:00
Sascha Peilicke 5a4749d962 Small fix to the zoom slider bar, the old sliderMoved(int) signal is just fired when the user pressed a mouse button and drags the slider. It is however possible to change the slider position by clicking into it or (when focus follows mouse is enabled) by hovering on top of the slider and scrolling the mouse wheel. The zoom state was currently not updated in the latter 2 cases.
svn path=/trunk/KDE/kdebase/apps/; revision=868815
2008-10-07 08:26:07 +00:00
Peter Penz d89548a828 allow to configure whether the zoom slider and/or the space information should be shown in the statusbar
svn path=/trunk/KDE/kdebase/apps/; revision=868596
2008-10-06 18:15:53 +00:00
Peter Penz 92500f9125 SVN_SILENT: coding style cleanup
svn path=/trunk/KDE/kdebase/apps/; revision=868595
2008-10-06 18:14:08 +00:00
Peter Penz a124f2ada3 remove the asynchronous update of the zooming again, it decreases the "feeled" performance
svn path=/trunk/KDE/kdebase/apps/; revision=868575
2008-10-06 16:56:39 +00:00
Peter Penz c076e1a0ec Provide more zoom levels. When zooming icons > KIconLoader::SizeHuge with sizes that are not available, the quality is still good in opposite to scaling smaller icons.
svn path=/trunk/KDE/kdebase/apps/; revision=868565
2008-10-06 16:39:13 +00:00
Peter Penz 2a1c78d3da Provide a zoom slider in the status bar. It is configurable whether the zoom slider and/or the space information is shown in the statusbar (the GUI in the settings dialog will be provided during the next week).
svn path=/trunk/KDE/kdebase/apps/; revision=868272
2008-10-05 21:17:06 +00:00
Peter Penz 2efa5667f6 do only a polling of the available space when the widget is visible
svn path=/trunk/KDE/kdebase/apps/; revision=868270
2008-10-05 21:13:50 +00:00
Peter Penz f47df895c4 the model from the KFilePreviewGenerator constructor has been removed
svn path=/trunk/KDE/kdebase/apps/; revision=868269
2008-10-05 21:12:26 +00:00
Peter Penz 224f471a9f update the statusbar and provide a progress information within the Dolphin KPart, so that Konqueror shows the same information as Dolphin (thanks to Simon St James for the patch!)
CCMAIL: faure@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=868210
2008-10-05 18:11:46 +00:00
Peter Penz 3b8df56650 SVN_SILENT: coding style cleanups (no change of behavior has been done)
svn path=/trunk/KDE/kdebase/apps/; revision=866787
2008-10-01 21:57:10 +00:00
Peter Penz aa0b09dac4 * adjusted Dolphin to use KonqOperations::doDrop() instead of using a custom 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-10-01 21:39:35 +00:00
Marijn Kruisselbrink db2013a2fd make dolphin link correctly on mac osx
svn path=/trunk/KDE/kdebase/apps/; revision=866393
2008-09-30 19:05:26 +00:00
David Faure 62afe1570e Fix connect.
But the one in dolphinviewcontainer (connecting to the kurlnavigator slot urlsDropped) still fails,
since it has no QDropEvent. Not sure what's the plan there.
CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=866046
2008-09-29 21:00:34 +00:00
Michael Jansen f9f6718694 Don't call setShortcut for a KAction over a QAction Pointer.
svn path=/trunk/KDE/kdebase/apps/; revision=865998
2008-09-29 18:43:19 +00:00
David Faure 8c61da9c82 Need to provide menu names, in case the hosting application doesn't (e.g. kpartloader ;)
svn path=/trunk/KDE/kdebase/apps/; revision=865979
2008-09-29 17:20:59 +00:00
Script Kiddy 0541122822 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=865874
2008-09-29 11:19:40 +00:00
Peter Penz 0382f24544 Use KonqOperations::doDrop() instead of a custom dropping code. Still some 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-09-28 18:38:00 +00:00
Peter Penz f8a973dc4a KFilePreviewGenerator has been moved to kdelibs
svn path=/trunk/KDE/kdebase/apps/; revision=865707
2008-09-28 18:34:05 +00:00
Frederik Schwarzer d3f278419c let me introduce: typo of the year "the the"
mostly seen as
"the the" -> "the"
"the the" -> "to the"
and in its best case
"a the the" -> "" :)

svn path=/trunk/KDE/kdebase/apps/; revision=864814
2008-09-25 15:05:22 +00:00
Peter Penz 42bd32dbda use better terms for the grid alignment
BUG: 169606

svn path=/trunk/KDE/kdebase/apps/; revision=864320
2008-09-24 13:27:37 +00:00
Peter Penz d752f3e695 rename setter/getter for showing previews to be naming guidelines conform
svn path=/trunk/KDE/kdebase/apps/; revision=864303
2008-09-24 12:32:55 +00:00
Peter Penz 73f095cc5e * renamed AbstractViewAdapter to KAbstractViewAdapter
* added virtual destructor to KAbstractViewAdapter

svn path=/trunk/KDE/kdebase/apps/; revision=864301
2008-09-24 12:18:52 +00:00
Peter Penz 41dfbdf3d9 Fixed issue that the "Show Menu Bar" state is not updated correctly (workaround for bug #171080). Patch has been provided by Laurens Vanhove.
svn path=/trunk/KDE/kdebase/apps/; revision=863909
2008-09-23 13:04:46 +00:00
Script Kiddy 947054c3fb SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=863855
2008-09-23 11:24:55 +00:00
Peter Penz 28d6ea26e6 SVN_SILENT: fixed some typos
svn path=/trunk/KDE/kdebase/apps/; revision=863852
2008-09-23 11:19:12 +00:00
Peter Penz 74cee13a8e Make KFilePreviewGenerator independent from the view implementation, so that it is no requirement that a QAbstractItemView is used -> the view implementation can also be based on QGraphicsView like done in the FolderView Plasmoid.
Patch provided by Fredrik Höglund.

CCMAIL: fredrik@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=863845
2008-09-23 10:54:55 +00:00