Commit graph

1985 commits

Author SHA1 Message Date
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
Rafael Fernández López
43cd05dc37 We have our own tooltip implementation in Dolphin. We don't want to use this KFileItemDelegate capability
svn path=/trunk/KDE/kdebase/apps/; revision=863740
2008-09-23 02:31:30 +00:00
Peter Penz
b5432d6037 The else path is never reached -> removed it (thanks to Simon St James for the hint)
CCMAIL: kdedevel@etotheipiplusone.com

svn path=/trunk/KDE/kdebase/apps/; revision=863623
2008-09-22 18:00:41 +00:00
Peter Penz
17bb43dea4 try to align the x-position of the tooltip to the mouse-cursor if the tooltip can be shown below or above the item (thanks to Simon St James for the patch)
CCMAIL: kdedevel@etotheipiplusone.com

svn path=/trunk/KDE/kdebase/apps/; revision=863586
2008-09-22 15:33:04 +00:00
Peter Penz
a55558a4fe don't modify the background color to transparent, just don't draw the background if no warning is shown
CCMAIL: thomas.luebking@web.de

svn path=/trunk/KDE/kdebase/apps/; revision=863585
2008-09-22 15:12:57 +00:00
Peter Penz
b3fa99a39c make the background transparent and apply the window-text color to the text color, so that enough contrast is given for all color schemes
CCMAIL: thomas.luebking@web.de

svn path=/trunk/KDE/kdebase/apps/; revision=863584
2008-09-22 15:11:50 +00:00
Peter Penz
a2e045a567 cleanup of includes
svn path=/trunk/KDE/kdebase/apps/; revision=863354
2008-09-21 21:41:42 +00:00
Peter Penz
f2c47d1238 Experimental patch provided by Fredrik Höglund: Use Xrender to scale the preview pixmaps in the X server. This is accelerated in HW by the latest version of the NVidia driver and by the open source ATI, Intel and Nouveau drivers when they're using the EXA acceleration architecture. EXA will be the default in the upcoming 1.6 release of the server, which is scheduled for December.
CCMAIL: fredrik@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=863342
2008-09-21 21:24:54 +00:00
Peter Penz
5edaa4b299 prepare class to simplify keeping binary compatibility
svn path=/trunk/KDE/kdebase/apps/; revision=863339
2008-09-21 21:17:00 +00:00
Peter Penz
5fe847f614 * documentation updates
* don't trigger an assertion if no icon size is spezified by the view, just don't generate a preview in this case

svn path=/trunk/KDE/kdebase/apps/; revision=863328
2008-09-21 20:19:31 +00:00
Peter Penz
4d886d083c renamed IconManager to KFilePreviewGenerator
svn path=/trunk/KDE/kdebase/apps/; revision=863324
2008-09-21 19:57:37 +00:00
Script Kiddy
711d1c0f0d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=863150
2008-09-21 10:57:59 +00:00
Script Kiddy
24f6632dad SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=858087
2008-09-07 10:56:32 +00:00
Albert Astals Cid
a4274374cb this code can be called quite a lot so call the non-detaching at() instead of the detaching []
svn path=/trunk/KDE/kdebase/apps/; revision=857914
2008-09-06 22:52:30 +00:00
Peter Penz
5babb62366 don't use SPACE as shortcut for Quick View, as this conflicts with the Terminal Panel
svn path=/trunk/KDE/kdebase/apps/; revision=857151
2008-09-04 20:11:14 +00:00
Peter Penz
7a00899760 put the close button of the filter bar on the left like in other applications (Kate, KWrite, Firefox, ...)
svn path=/trunk/KDE/kdebase/apps/; revision=856445
2008-09-02 21:07:52 +00:00
Peter Penz
cb5a134080 don't clear the filterbar when switching between tabs
BUG: 169878

svn path=/trunk/KDE/kdebase/apps/; revision=856411
2008-09-02 20:01:50 +00:00
Leonardo Finetti
d919499909 Fixed details settings views for UI consistency with other tabs.
svn path=/trunk/KDE/kdebase/apps/; revision=855435
2008-08-31 19:34:20 +00:00
Peter Penz
f385b7c674 don't use the expensive QPixmap::setAlphaChannel() (see http://techbase.kde.org/Development/Tutorials/Graphics/Performance)
svn path=/trunk/KDE/kdebase/apps/; revision=854487
2008-08-29 16:12:56 +00:00
Peter Penz
70bd78c829 fixed crash when a tooltip-preview for a large file is generated and the mouse leaves the item before the preview has been applied (patch provided by Laurens Vanhove)
CCMAIL: laurens@nature-helps.com

svn path=/trunk/KDE/kdebase/apps/; revision=854466
2008-08-29 14:50:44 +00:00
Rafael Fernández López
0bca190b0e Booo... false alarm. After going to the XMLGUI code this is perfect. I also wonder why call to setAutoSaveSettings when using Save flag, and why createGUI when using Create flag, is what setupGUI
internally is doing indeed. So nah, going back and removing those unnecessary calls. Now user preferences on toolbar places and sizes of icons are obeyed.

CCMAIL: peter.penz@gmx.at
CCMAIL: faure@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=853002
2008-08-26 23:51:05 +00:00
Rafael Fernández López
78b45e3d6a Do not create with Save flag. OMG, this is a very bad problem of XMLGUI... if you set that flag (which needs to be done
before createGUI, it will go to setAutoSaveSettings from KMainWindow, which will apply the personal preferences of
toolbars etc... of a NON EXISTANT GUI !. So take out this parameter from here... since we are calling anyway
setAutoSaveSettings couple lines after. I wonder if we should encourage people to not use Save flag, or we should fix
this into XMLGUI.

CCMAIL: peter.penz@gmx.at
CCMAIL: faure@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=852998
2008-08-26 23:42:53 +00:00
Peter Penz
ae5b5eb9dc * align labels on the right like suggested in the KDE 4 HIG
* minor changes in detailsview settings and columnview settings

svn path=/trunk/KDE/kdebase/apps/; revision=852982
2008-08-26 23:01:56 +00:00
Peter Penz
ca7aaecbdb Provide a common iconsize-widget for the settings dialog of the icons-, details- and column-view. The current version still requires some improvements (Labels on the left + right, preview, ...).
svn path=/trunk/KDE/kdebase/apps/; revision=852961
2008-08-26 22:21:50 +00:00
Peter Penz
71819c80bb warning--
svn path=/trunk/KDE/kdebase/apps/; revision=852894
2008-08-26 20:22:20 +00:00
Albert Astals Cid
c58b72e7a0 the kcm needs the dolphin catalog, otherwise konqueror shows it untranslated, kudos to Marta Rybczynska for discovering and reporting
CCMAIL: kde-i18n@rybczynska.net

svn path=/trunk/KDE/kdebase/apps/; revision=852429
2008-08-25 20:59:50 +00:00
Peter Penz
629046b0a1 * initialize members as early as possible
* reset m_generatingPreview if the received preview does not fit to the current URL

CCMAIL: laurens@nature-helps.com

svn path=/trunk/KDE/kdebase/apps/; revision=851469
2008-08-23 18:16:39 +00:00
Peter Penz
0c4b6be6d6 * coding style fixes
* added TODO comment (the drawing of the picture frame has been adapted from IconManager -> should be unified later)

svn path=/trunk/KDE/kdebase/apps/; revision=851105
2008-08-22 22:00:39 +00:00