Commit graph

2159 commits

Author SHA1 Message Date
David Faure 72f99574b4 don't complain about
KDirModel::indexForUrl: KUrl("") not found
every time the selection changes

svn path=/trunk/KDE/kdebase/apps/; revision=907756
2009-01-08 18:00:56 +00:00
Laurent Montel 054a5eca04 Fix compile with enable final
svn path=/trunk/KDE/kdebase/apps/; revision=907022
2009-01-07 12:27:38 +00:00
Laurent Montel c907d6cd6b Not necessary
svn path=/trunk/KDE/kdebase/apps/; revision=907018
2009-01-07 12:22:36 +00:00
Script Kiddy 580da51e01 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=906580
2009-01-06 12:52:00 +00:00
Peter Penz c11baf1ad5 fixed issue that the zoom slider tooltip showed the previous size when changing the slider with the mouse
svn path=/trunk/KDE/kdebase/apps/; revision=906188
2009-01-05 18:41:06 +00:00
Peter Penz b2db9bd9ed QAbstractItemView::scrollTo() may get called by QListView::keyPressEvent(), so m_enableScrollTo (which is checked in DolphinIconsView::scrollTo()) must be enabled before. This fixes the issue that the autoscrolling does not work if exactly one item is selected and an invisible item should get focused because of a key press.
BUG: 179049

svn path=/trunk/KDE/kdebase/apps/; revision=906179
2009-01-05 18:21:34 +00:00
Peter Penz 59ac1d10ae Only expand the tree view if it has an enabled 'itemsExpandable' property. If this is not the case, the folder will get opened like in the icon view by exchanging the whole content.
CCBUG: 178630

svn path=/trunk/KDE/kdebase/apps/; revision=905632
2009-01-04 18:35:32 +00:00
Peter Penz 291c9219a2 SVN_SILENT: minor coding style cleanups
svn path=/trunk/KDE/kdebase/apps/; revision=905631
2009-01-04 18:31:59 +00:00
Peter Penz 2872b35f4b Fixed issue that in combination with the "automatically open folders during drag operations" the details view is not drawn correctly in the following case: Drag an item in the icons view to a folder which uses the details view.
Thanks to Simon St. James for the patch!

CCBUG: 178630

svn path=/trunk/KDE/kdebase/apps/; revision=905627
2009-01-04 18:26:43 +00:00
Peter Penz 6f38e24dbb Don't set the mouse button state to NoButton, this is invalid e. g. during a drag operation. The mouse button state will be updated anyhow on each item-click. This fixes the regression that the feature "automatically open folders during drag operations" did not work anymore after one level.
Thanks to Simon St. James for the good analyzes!

BUG: 178630

svn path=/trunk/KDE/kdebase/apps/; revision=905622
2009-01-04 18:19:48 +00:00
Peter Penz 74f73dd2af SVN_SILENT: minor coding style cleanups
svn path=/trunk/KDE/kdebase/apps/; revision=905620
2009-01-04 18:14:26 +00:00
Script Kiddy fbd7cb02a5 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=905486
2009-01-04 13:22:16 +00:00
Simon Paul St James e896fc8e11 contentsPos turned out to be a little broken - it would always return (0,0), except in a very unusual set of circumstances where it returned ... "different" values, causing very odd behaviour with the elastic band :) Remove it.
svn path=/trunk/KDE/kdebase/apps/; revision=904995
2009-01-03 16:00:21 +00:00
Peter Penz 64059e5083 don't cache the preview of the information sidebar, as this restricts the maximum size to 256 x 256 pixels
svn path=/trunk/KDE/kdebase/apps/; revision=904639
2009-01-02 17:26:12 +00:00
Script Kiddy c6dbe9a31d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=904551
2009-01-02 13:30:12 +00:00
Peter Penz bac6ebe5d3 Instead of increasing the grid spacing, increase the item size, so that there is more space for the text.
svn path=/trunk/KDE/kdebase/apps/; revision=904408
2009-01-02 09:04:16 +00:00
Laurent Montel da089e957c not necessary
svn path=/trunk/KDE/kdebase/apps/; revision=904391
2009-01-02 08:00:53 +00:00
Peter Penz 3fc700f042 fixed crash when enabling grouping by date and having dates like
30 December 2008 (is "Week 1" (of 2009 , but for 2008 too))
28 December 2008 (is "Week 52" (of 2008) )

Thanks to Darío Andrés for the patch!

BUG: 179019

svn path=/trunk/KDE/kdebase/apps/; revision=903432
2008-12-30 14:48:18 +00:00
Peter Penz 5194a032ac optimize the grid size of the icons view to prevent having gaps on the right border (= row arrangement) or on the bottom border (= column arrangement)
svn path=/trunk/KDE/kdebase/apps/; revision=903417
2008-12-30 14:32:45 +00:00
Peter Penz 46483d7c08 SVN_SILENT: minor coding style cleanups
svn path=/trunk/KDE/kdebase/apps/; revision=903414
2008-12-30 14:29:58 +00:00
Script Kiddy 8536030ea5 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=902470
2008-12-28 13:25:02 +00:00
Script Kiddy 649668d845 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=902162
2008-12-27 16:16:25 +00:00
Nuno Fernades Pinheiro 170ae64f6a fix bug Bug 177446 icons now in Oxygen
svn path=/trunk/KDE/kdebase/apps/; revision=902064
2008-12-27 15:07:16 +00:00
Script Kiddy 1123841d73 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=901727
2008-12-26 13:31:59 +00:00
Leonardo Finetti efbce1059c Patch by Drew Fisher: enable keypad enter in dolphin.
Tested by me and approved by Peter Penz.

BUG: 178735


svn path=/trunk/KDE/kdebase/apps/; revision=901630
2008-12-26 11:34:09 +00:00
Script Kiddy bba48e459d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=901125
2008-12-24 13:32:45 +00:00
David Faure 818864ec48 Open the sidebar on applications:/, not on applications:, that URL makes no sense [and crashes kdirmodel...].
BUG: 178416

svn path=/trunk/KDE/kdebase/apps/; revision=901012
2008-12-24 11:45:09 +00:00
Peter Penz 86ee6dbd07 assure that the zoom slider tooltip is always updated when changing a value
svn path=/trunk/KDE/kdebase/apps/; revision=900577
2008-12-23 10:54:56 +00:00
Peter Penz e1ca3fc1ee revert SVN commit 899245: The patch does not work as expected.
CCMAIL: ereslibre@kde.org
CCBUG: 173027

svn path=/trunk/KDE/kdebase/apps/; revision=900071
2008-12-22 07:18:18 +00:00
Peter Penz 9f87bf8d88 minor coding style fixes:
* let the global variable 'others' be a static member 'm_others'
* constify

svn path=/trunk/KDE/kdebase/apps/; revision=900070
2008-12-22 07:17:06 +00:00
Peter Penz 49ec13f58e fixed ARK drop handling as suggested by Harald Hvaal
svn path=/trunk/KDE/kdebase/apps/; revision=899770
2008-12-21 15:14:03 +00:00
Script Kiddy 833ab70add SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=899710
2008-12-21 12:59:15 +00:00
Peter Penz 17033c5da6 When common view properties are used for all folders, the internal properties should not be changed during the lifetime of a DolphinView instance. This allows to e. g. split a view and work with different view modes on each view.
BUG: 174102

svn path=/trunk/KDE/kdebase/apps/; revision=899571
2008-12-21 10:15:19 +00:00
Script Kiddy 88ae4d94bc SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=899357
2008-12-20 14:39:35 +00:00
Peter Penz f2d61b242d Assure that the items within the "Others" group are sorted too, when sorting by name and using categorization.
@Rafael: Could you please have a look whether this patch is OK? It fixes bug 173027 but it is unclear for me why the deleted lines had been added at all. Thanks :-)

CCMAIL: ereslibre@kde.org
BUG: 173027

svn path=/trunk/KDE/kdebase/apps/; revision=899245
2008-12-20 12:54:46 +00:00
Peter Penz de2d93b068 minor improvement to last commit: only request the focus if we have a listable protocol; otherwise leave the focus where it was (e. g. so that the user can enter another URL)
svn path=/trunk/KDE/kdebase/apps/; revision=898822
2008-12-19 06:48:57 +00:00
Peter Penz 426a57997b Don't request the focus for the view because of a completed directory lister, instead directly request it when we know that the user has entered a new URL. This prevents that the focus gets stolen from the Terminal when somebody types "touch foo".
BUG: 178070

svn path=/trunk/KDE/kdebase/apps/; revision=898819
2008-12-19 06:41:26 +00:00
Peter Penz d05c4ba829 turn off the filter when closing the filterbar by CTRL+I
BUG: 177948

svn path=/trunk/KDE/kdebase/apps/; revision=897988
2008-12-17 10:35:02 +00:00
Peter Penz f9beadde75 assure that a column of the column view acts as focus proxy when being active
svn path=/trunk/KDE/kdebase/apps/; revision=897744
2008-12-16 18:52:26 +00:00
Peter Penz 94ef8919bf Assure that the view gets focused when:
* Enter or Ctrl+Enter is pressed in the URL navigator
* when the filter bar gets closed

BUG: 158232

svn path=/trunk/KDE/kdebase/apps/; revision=897739
2008-12-16 18:37:02 +00:00
David Faure 04f6e7b374 Ctrl+F when in trash:/ (or any other remote protocol) said "malformed url" because KRun tried to download to a temp file via kioexec. %u tells it not to do that.
Alternatively we could look up kfind.desktop and use KRun::run(KService).

svn path=/trunk/KDE/kdebase/apps/; revision=897114
2008-12-15 11:53:29 +00:00
Peter Penz d2fbbd44b4 * Don't ignore the maximum file size for previews in the information panel. Corresponding to bug 177740 creating a thumbnail for a 200 MB PNG consumes 700 MB temporary memory...
* Remember the created thumbnail for later reuse.

BUG: 177740

svn path=/trunk/KDE/kdebase/apps/; revision=896725
2008-12-14 11:25:44 +00:00
Peter Penz 44d2f43a40 When dropping an Amarok file into Dolphin, mimeData->hasUrls() returns true although the number of URLs is 0. I'll have to do further investigations to fix this in a clean way, but in the meantime this patch prevents opening an error dialog box.
CCBUG: 176580

svn path=/trunk/KDE/kdebase/apps/; revision=896517
2008-12-13 17:32:12 +00:00
Peter Penz 7fbc814147 only jump automatically to the current index, if the autoscrolling is not active
svn path=/trunk/KDE/kdebase/apps/; revision=896481
2008-12-13 15:39:09 +00:00
Peter Penz c91c770ef1 provide separate scroll increments for the horizontal and vertical scrolling
svn path=/trunk/KDE/kdebase/apps/; revision=896466
2008-12-13 15:29:42 +00:00
Peter Penz d0c97573d4 Especially when using the details view in combination with the split functionality, the size of the name column can get too small. Do an optimized resizing in this case (at least for up to 200 items, otherwise the performance penalty is too big).
svn path=/trunk/KDE/kdebase/apps/; revision=896446
2008-12-13 15:15:04 +00:00
Peter Penz 99271699f3 Handling the key events for autoscrolling in DolphinViewAutoscroller does not work good enough (e. g. when letters are pressed, the current index might change too). Revert to Frank Reininhaus' original patch to fix this issue :-)
CCMAIL: frank78ac@googlemail.com

svn path=/trunk/KDE/kdebase/apps/; revision=896362
2008-12-13 14:08:07 +00:00
Peter Penz a86985b0b4 The nasty "100 ms" delay is not necessary anymore, doing a queued call works perfectly to restore the contents position of a view.
CCMAIL: kdedevel@etotheipiplusone.com

svn path=/trunk/KDE/kdebase/apps/; revision=896237
2008-12-12 22:33:14 +00:00
Peter Penz 3b4e44d6da if "split view" is used as startup setting, also open new tabs in the split view mode
BUG: 176980

svn path=/trunk/KDE/kdebase/apps/; revision=896206
2008-12-12 20:30:23 +00:00
Peter Penz 37c5fc0813 If the users enters an URL that represents a file, open the file by the corresponding application instead of showing an error message.
BUG: 165877

svn path=/trunk/KDE/kdebase/apps/; revision=896189
2008-12-12 19:44:28 +00:00
Peter Penz 03407356ca don't disable the "Create New" menu entry, when switching between columns of the column view
BUG: 173153

svn path=/trunk/KDE/kdebase/apps/; revision=896156
2008-12-12 18:20:01 +00:00
Peter Penz 85aec92f81 SVN_SILENT: removed trailing spaces
svn path=/trunk/KDE/kdebase/apps/; revision=895978
2008-12-12 06:55:26 +00:00
Peter Penz abce76721d Exchange the order of the zoom slider and the capacity bar. Thanks to Frederik Schwarzer for the patch!
BUG: 177563

svn path=/trunk/KDE/kdebase/apps/; revision=895974
2008-12-12 06:39:23 +00:00
Peter Penz b60da9b67a as the detailsview and columnview can also have icon sizes up to 256 x 256 pixels, the steps when using the scrollwheel must be adjusted dynamically
svn path=/trunk/KDE/kdebase/apps/; revision=895825
2008-12-11 20:27:05 +00:00
Peter Penz aa5ffc8d89 Include page-up, page-down, home + end as keys that need autoscrolling. Thanks to Frank Reininghaus for the patch!
CCBUG: 165531

svn path=/trunk/KDE/kdebase/apps/; revision=895788
2008-12-11 19:24:49 +00:00
Script Kiddy a98a8127cc SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=895683
2008-12-11 13:05:27 +00:00
Peter Penz 4e82b35989 assure that the current index stays visible, when the user explicitly changed it by using the arrow keys
BUG: 165531

svn path=/trunk/KDE/kdebase/apps/; revision=895599
2008-12-11 07:15:59 +00:00
Peter Penz 148282e2d8 use a smaller step size when using the scroll wheel
BUG: 177238

svn path=/trunk/KDE/kdebase/apps/; revision=894987
2008-12-09 18:44:42 +00:00
Peter Penz 4e1c5471ef a rubberband selection is only possible when using the left mouse button
svn path=/trunk/KDE/kdebase/apps/; revision=894969
2008-12-09 17:49:09 +00:00
Rick Xing 2817e4a2ad Just EBN fixes
svn path=/trunk/KDE/kdebase/apps/; revision=894687
2008-12-09 06:59:31 +00:00
David Faure e58aadd3e5 Port to KDirModel::simplifiedUrlList
svn path=/trunk/KDE/kdebase/apps/; revision=894264
2008-12-08 11:20:08 +00:00
Peter Penz 4241557e7a stop the autoscrolling when receiving a drop event
svn path=/trunk/KDE/kdebase/apps/; revision=893896
2008-12-07 14:11:48 +00:00
Peter Penz a44f22a63d also implement autoscrolling for horizontally aligned views (e. g. icons view in the column mode)
svn path=/trunk/KDE/kdebase/apps/; revision=893894
2008-12-07 14:08:34 +00:00
Peter Penz 3c4c6319cf SVN_SILENT: remove unnecessary include
svn path=/trunk/KDE/kdebase/apps/; revision=893856
2008-12-07 13:40:13 +00:00
Peter Penz 35f762cf28 during drag operations no rubberband selection can be active
svn path=/trunk/KDE/kdebase/apps/; revision=893762
2008-12-07 12:53:36 +00:00
Peter Penz 53bdec9b58 Fixed serious usability issue: QAbstractItemView::setAutoScroll() is not usable when trying to select items outside the visible view area (reported to Qt Software with bug ID #214542) -> implemented custom auto scrolling algorithm.
BUG: 165531

svn path=/trunk/KDE/kdebase/apps/; revision=893546
2008-12-06 20:06:04 +00:00
Peter Penz d2e8f27200 SVN_SILENT: removed debugging output
svn path=/trunk/KDE/kdebase/apps/; revision=893545
2008-12-06 20:01:58 +00:00
Peter Penz 05cc6c2f4d show a "Copy Here" and "Link Here" action, when a file is dragged within the same folder
BUG: 164314

svn path=/trunk/KDE/kdebase/apps/; revision=893493
2008-12-06 17:47:35 +00:00
Script Kiddy 1fe9858983 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=893407
2008-12-06 15:26:49 +00:00
James Richard Tyrer a3e5c4c39e adding toolbar icon for Create Folder
svn path=/trunk/KDE/kdebase/apps/; revision=892989
2008-12-05 17:15:31 +00:00
Peter Penz 8bf42539f9 assure that the column gets resized when expanding directories
svn path=/trunk/KDE/kdebase/apps/; revision=892373
2008-12-04 09:49:59 +00:00
Peter Penz b91b63bc42 hide tooltips when the mousewheel is used
BUG: 176817

svn path=/trunk/KDE/kdebase/apps/; revision=892339
2008-12-04 06:42:41 +00:00
Script Kiddy 22adc717ea SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=892099
2008-12-03 14:37:06 +00:00
David Faure 18f34db9bd Add addIsCutSelection, and port as much code as possible to KDirModel::mimeData.
svn path=/trunk/KDE/kdebase/apps/; revision=891905
2008-12-03 09:19:16 +00:00
Peter Penz d5da272b00 SVN_SILENT: assure that the order of the methods match in the h + cpp file
svn path=/trunk/KDE/kdebase/apps/; revision=891866
2008-12-03 07:21:58 +00:00
Peter Penz add0f6db79 use KDirModel::mimeData() for cut/copy operations as suggested by David Faure
CCMAIL: faure@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=891865
2008-12-03 07:14:37 +00:00
Peter Penz fe06efe734 open the tab in the background when "Open in new tab" is selected with the context menu (-> consistent behavior with middle click)
svn path=/trunk/KDE/kdebase/apps/; revision=891716
2008-12-02 18:36:42 +00:00
David Faure 0577164fbd interop fix: don't give an empty mostLocalUrls list
svn path=/trunk/KDE/kdebase/apps/; revision=891613
2008-12-02 13:31:55 +00:00
Peter Penz da5f59b3bb * assure that the keyboard focus is in the view when switching between tabs
* assure that the URL navigator gets the focus when it is editable and a new tab is opened by File -> New Tab 

BUG: 174594

svn path=/trunk/KDE/kdebase/apps/; revision=891367
2008-12-01 20:56:00 +00:00
Peter Penz eb6febc75f Fixed regression that triggering of items with the keyboard did not work anymore. This regression has been introduced because of checking the mouse buttons in DolphinController::triggerItem()...
CCBUG: 176621

svn path=/trunk/KDE/kdebase/apps/; revision=891341
2008-12-01 19:42:51 +00:00
Peter Penz a3624874d9 revert last patch: KFileItem::getTooltipText() has been patched to provide already a correct font color
svn path=/trunk/KDE/kdebase/apps/; revision=890972
2008-11-30 18:47:51 +00:00
Peter Penz 971d65338f use the defined tooltip text color
BUG: 170753

svn path=/trunk/KDE/kdebase/apps/; revision=890967
2008-11-30 18:23:05 +00:00
Peter Penz 8dc7983f8a fixed issue that the text width gets very small when turning on previews in the columns arrangement
BUG: 174801

svn path=/trunk/KDE/kdebase/apps/; revision=890925
2008-11-30 17:13:16 +00:00
Urs Wolfer 3866dec5c5 krazy fixes:
* use Q_OBJECT macro
* fix includes
* use explicit constructor

svn path=/trunk/KDE/kdebase/apps/; revision=890820
2008-11-30 12:42:17 +00:00
Script Kiddy 3d3581057c SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=888401
2008-11-24 12:48:17 +00:00
Christian Ehrlicher ae45bc9e18 win32 link++
svn path=/trunk/KDE/kdebase/apps/; revision=888070
2008-11-23 17:36:48 +00:00
Peter Penz 8af3cf7a0c SVN_SILENT: doku fix
svn path=/trunk/KDE/kdebase/apps/; revision=888008
2008-11-23 12:31:29 +00:00
Peter Penz dcbf1a1178 Opening a tab with the middle mouse button should always be done with one click, even if double click has been activated.
BUG: 162986

svn path=/trunk/KDE/kdebase/apps/; revision=888007
2008-11-23 12:28:10 +00:00
Peter Penz d5c0a60505 Fixes MS Windows related issue that when opening a context menu above an item, that the item itself gets triggered too when the single click is used.
BUG: 168940

svn path=/trunk/KDE/kdebase/apps/; revision=887975
2008-11-23 11:54:24 +00:00
Peter Penz 98d3d74790 Activate the column when a drag enter event has been received. This assures a consistent behavior in comparison when working with split views.
svn path=/trunk/KDE/kdebase/apps/; revision=887919
2008-11-23 11:32:25 +00:00
Peter Penz 55ec5ac2ad The opening/closing animation of subtrees flickers in combination with the sidebar when using the Oxygen style. As workaround the animation is turned off.
svn path=/trunk/KDE/kdebase/apps/; revision=887781
2008-11-22 21:07:20 +00:00
André Wöbbeking 02ea8b08a4 We require Qt 4.4.0
svn path=/trunk/KDE/kdebase/apps/; revision=887688
2008-11-22 15:21:15 +00:00
Peter Penz 2b187ed1ab assure that the meta information labels get not clipped vertically when using larger fonts
BUG: 168505

svn path=/trunk/KDE/kdebase/apps/; revision=887030
2008-11-20 21:50:17 +00:00
Peter Penz ab9fed9618 fixed wrapping of the name label (QLabel only supports wrapping on words)
CCBUG: 168505

svn path=/trunk/KDE/kdebase/apps/; revision=886979
2008-11-20 19:57:56 +00:00
Script Kiddy b4bb979702 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=886894
2008-11-20 13:51:52 +00:00
Peter Penz e54e382a89 * fixed issue that the autoresizing of columns is applied when adding/removing columns
* assure that QTreeView::resizeEvent() is called before applying the autoresizing for having an updated state

BUG: 175603

svn path=/trunk/KDE/kdebase/apps/; revision=886690
2008-11-19 20:52:30 +00:00
Peter Penz f542da84a2 Disable the "quick view" feature: I like the Previewer plasmoid, but I think after a few months of trying to use it there is no need for having a separate menu entry (shortcut: CTRL+Return) in Dolphin: Doing a drag & drop operation to the previewer plasmoid is faster than selecting a file and pressing CTRL+Return (or selecting the menu entry). Using "Space" as shortcut conflicts with the Terminal and is still slower than simply just opening the file...
The i18n() string is still part of the code, so that it could be reactivated during the 4.2 cycle.

svn path=/trunk/KDE/kdebase/apps/; revision=886672
2008-11-19 20:09:51 +00:00
Peter Penz 11289b4fc3 assure that no expensive operations are done when the Information Panel has been opened at least once and closed again
CCBUG: 151496

svn path=/trunk/KDE/kdebase/apps/; revision=886642
2008-11-19 19:02:04 +00:00
Peter Penz b9c2791314 don't request a tooltip during a selection
CCBUG: 151496

svn path=/trunk/KDE/kdebase/apps/; revision=886635
2008-11-19 18:43:57 +00:00
Peter Penz 679de1856e removed unnecessary line
svn path=/trunk/KDE/kdebase/apps/; revision=886627
2008-11-19 18:08:01 +00:00
Peter Penz fd45d587b9 fixed issue that the zoom slider might not have enough vertical space when having small fonts
svn path=/trunk/KDE/kdebase/apps/; revision=886624
2008-11-19 18:03:15 +00:00
Albert Astals Cid 87bc6f51e9 makeItCompile, sorry and thanks to Tm_T
svn path=/trunk/KDE/kdebase/apps/; revision=886290
2008-11-18 22:38:07 +00:00
Albert Astals Cid a6f43a9e3b more correct english
svn path=/trunk/KDE/kdebase/apps/; revision=886283
2008-11-18 22:29:17 +00:00
Albert Astals Cid a17e45df6a Use i18ncp for proper plural handling
svn path=/trunk/KDE/kdebase/apps/; revision=886278
2008-11-18 22:23:28 +00:00
Stephan Binner 916218269b i18n style guide fixes
svn path=/trunk/KDE/kdebase/apps/; revision=885752
2008-11-17 21:03:31 +00:00
Script Kiddy 194f19531f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=885550
2008-11-17 13:18:40 +00:00
Peter Penz 32d1b3743c replace "Show selection toggle" by "Show selection marker"
BUG: 175341

svn path=/trunk/KDE/kdebase/apps/; revision=885347
2008-11-17 06:58:09 +00:00
Peter Penz 7de79d6aa3 added metainfo-support for album, artist, genre, width, height, lines, title, type and tracknumber
BUG: 163066
BUG: 164695

svn path=/trunk/KDE/kdebase/apps/; revision=884782
2008-11-15 19:57:29 +00:00
Peter Penz 2554385bbc disable the 'Create New' entry in the context menu, if the directory does not support writing
svn path=/trunk/KDE/kdebase/apps/; revision=884396
2008-11-14 20:49:58 +00:00
Peter Penz 1743e4b1fa provide a 'Create New' entry for a context menu above a directory
BUG: 169880

svn path=/trunk/KDE/kdebase/apps/; revision=884373
2008-11-14 19:51:13 +00:00
Peter Penz 718df1363d when renaming a variable number of items, it is important that the selection order does not define the new sort order -> the sort order with the renamed files should stay similar with the old sort order
svn path=/trunk/KDE/kdebase/apps/; revision=884344
2008-11-14 17:49:30 +00:00
Peter Penz 3cd004e748 used 18ncp() in a wrong manner: for a single selection a different number of parameters should be shown
svn path=/trunk/KDE/kdebase/apps/; revision=883998
2008-11-13 23:05:43 +00:00
Peter Penz 06ccaaa844 we can rely on having Qt 4.4 with KDE 4.2
svn path=/trunk/KDE/kdebase/apps/; revision=883983
2008-11-13 22:45:09 +00:00
Peter Penz 2bd97cd745 * get rid of magic values like QSize(20 + 5, 5)
* coding style cleanups

svn path=/trunk/KDE/kdebase/apps/; revision=883974
2008-11-13 22:37:02 +00:00
Peter Penz d37f396368 minor fix when no desktop effects are enabled
svn path=/trunk/KDE/kdebase/apps/; revision=883941
2008-11-13 21:48:32 +00:00
Peter Penz aece194dbb improved look of tooltips
svn path=/trunk/KDE/kdebase/apps/; revision=883932
2008-11-13 21:31:03 +00:00
Peter Penz f5dafdc48a When only one item is selected, show the item name in the statusbar instead of "1 Folder selected" or "1 File selected". This is useful in combination with the keyboard navigation.
BUG: 172564

svn path=/trunk/KDE/kdebase/apps/; revision=883928
2008-11-13 21:01:24 +00:00
Peter Penz 040bdcea23 when changing the view mode if the preview is turned on, the directory must get reloaded so that the KFilePreviewGenerator can update the previews
svn path=/trunk/KDE/kdebase/apps/; revision=883921
2008-11-13 20:39:53 +00:00
Peter Penz 4e8e54e6db fixed issue that the preview size might get applied to the previous view when switching to a new view
svn path=/trunk/KDE/kdebase/apps/; revision=883912
2008-11-13 20:23:45 +00:00
Peter Penz b0e2579178 * don't launch Konqueror when the protocol is invalid
* launch default browser when the protocol is http

CCMAIL: faure@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=883858
2008-11-13 18:15:12 +00:00
Peter Penz c0fd7f2a19 * show an error message instead of an information message when an invalid dragging is done
* show an error message if a folder is dropped on to itself

svn path=/trunk/KDE/kdebase/apps/; revision=883836
2008-11-13 17:22:35 +00:00
Jordi Polo a49fe38e3e typo
svn path=/trunk/KDE/kdebase/apps/; revision=883287
2008-11-12 15:22:25 +00:00
Jordi Polo 6705ce5381 Changed a bunch of QCombobox to KCombobox and other similar classes as
suggested by Krazy.
But I didn't see any improvement in the style or funcionality...


svn path=/trunk/KDE/kdebase/apps/; revision=883286
2008-11-12 15:15:14 +00:00
Jordi Polo 576e998dcd Launch Konqueror if the user enters an unsupported protocol
BUG:171626

svn path=/trunk/KDE/kdebase/apps/; revision=883279
2008-11-12 14:48:55 +00:00
David Faure e98e218564 Fix "two instances of the DragAndDropHelper" singleton: Vir found the reason, draganddrophelper.cpp was compiled
both into libdolphinprivate and into dolphin.
Also fix missing newline in copyright header.

svn path=/trunk/KDE/kdebase/apps/; revision=882336
2008-11-10 13:48:43 +00:00
Peter Penz a7838db28e * implement the DragAndDropHelper as singleton derived from QObject, so that 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-11-08 16:22:30 +00:00
Simon Paul St James d5bc6cfa74 If the elastic band ventures beyond the logical top-left of the view (NOTE: not the viewport), then startIndex will likely be invalid, resulting in broken selection behaviour. Prevent this.
CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=880585
2008-11-05 21:54:05 +00:00
Peter Penz 097457dd7f Allow to configure no grid spacing. This is useful if the icons view is used in the "column mode" with very small icons.
BUG: 151164

svn path=/trunk/KDE/kdebase/apps/; revision=880540
2008-11-05 19:58:37 +00:00
Peter Penz f261181120 Allow having a smaller text width for the icons view (Text size: "Small"), so that the same grid size can be achieved like in Konqueror for KDE 3. The default size for Dolphin will stay on "Medium".
CCBUG: 174342

svn path=/trunk/KDE/kdebase/apps/; revision=880533
2008-11-05 19:37:51 +00:00
Peter Penz f2aae09edd * use KIO::itemsSummaryString() again
* assure that the strings for selections can be translated in a correct manner

svn path=/trunk/KDE/kdebase/apps/; revision=880527
2008-11-05 19:15:31 +00:00
Script Kiddy d6dec597c0 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=879953
2008-11-04 12:35:00 +00:00
Peter Penz 98139616ac * Show the total size of files in the statusbar (thanks to Bram Schoenmakers for the patch).
* Changed the format of the string to be consistent with the format used when doing a selection. Maybe it would be useful adjusting KIO::itemsSummaryString() instead using a custom output format. Currently KIO::itemsSummaryString() shows "20 Items (5 Files, 15 Folders) - (200 KiB Total)", which is quite confusing IMO, as the total size is only counted for the files. Dolphin currently shows: "15 Folders, 5 Files (200 KiB)"

BUG: 161462

svn path=/trunk/KDE/kdebase/apps/; revision=879405
2008-11-03 08:20:41 +00:00
Peter Penz b08ed55218 when a drag operation is done above an inactive view, activate the view automatically
svn path=/trunk/KDE/kdebase/apps/; revision=879233
2008-11-02 19:44:19 +00:00
Peter Penz 4eaced49cd assure that the autoresizing still works in combination with the "automatically expand folders during drag operations" feature
svn path=/trunk/KDE/kdebase/apps/; revision=879152
2008-11-02 14:29:27 +00:00
Peter Penz 4469d4d5a4 Assure that automatically expanding of a folder also works when the new folder has a different view mode.
CCMAIL: simon@etotheipiplusone.com

svn path=/trunk/KDE/kdebase/apps/; revision=879143
2008-11-02 13:57:35 +00:00
Pino Toscano 651ebed54b initialise in the correct order
svn path=/trunk/KDE/kdebase/apps/; revision=878498
2008-11-01 12:47:33 +00:00
Simon Paul St James dea4444c4a Be better behaved in the presence of scroll events in the middle of an elastic band selection by storing the last selection elastic band in view (rather than viewport) coordinates.
svn path=/trunk/KDE/kdebase/apps/; revision=878316
2008-10-31 21:45:51 +00:00
Simon Paul St James 76376eb22d Yet more corner cases in commitToggleIndexRange - include them, and refactor to make things a bit more logical.
svn path=/trunk/KDE/kdebase/apps/; revision=877164
2008-10-28 19:47:31 +00:00
Simon Paul St James 6e41855512 If ignoreOldInfo, we should manually clear oldSelectionRect - an obscure bug where it is no longer possible to use rubber band selection(!) occurs otherwise!
svn path=/trunk/KDE/kdebase/apps/; revision=877160
2008-10-28 19:42:40 +00:00
Simon Paul St James 1984e18ad1 Use nameColumnRect rather than duplicating code (change the local variable of the same name to prevent clashes!)
Use KFileItem::text() instead of KFileItem::name() there, too.

svn path=/trunk/KDE/kdebase/apps/; revision=877159
2008-10-28 19:40:51 +00:00
Simon Paul St James a124b15cfe Sometimes, the penultimate item in the bounds would get deselected when it shouldn't - this is because lastIndex is always included in the toggle range, even if it needn't be toggled. Fixed now - hopefully, there are no more "elastic band selection" bugs, now :)
svn path=/trunk/KDE/kdebase/apps/; revision=876724
2008-10-27 21:49:16 +00:00
Simon Paul St James ad647bd0a0 Restore behaviour (I don't have an old version to check against, though!) - if CTRL is pressed when initiating elastic band, respect the item selection at that time while dragging the band.
CCMAIL : peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=876690
2008-10-27 20:55:54 +00:00
Simon Paul St James 75480d07cd Essential validity check that fell through the cracks when setSelectionRecursive was removed.
svn path=/trunk/KDE/kdebase/apps/; revision=876682
2008-10-27 20:32:29 +00:00
Simon Paul St James 74bb633cbd KFileItem name() and text() needn't be the same, and we should prefer text(). Testcase - very (very) recent settings:/ in Konqueror. Thanks to dfaure for clairvoyant diagnosis!
CCMAIL : peter.penz@gmx.at
CCMAIL : faure@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=876681
2008-10-27 20:29:02 +00:00
Andreas Hartmetz 1fabd1bab5 link with gold
svn path=/trunk/KDE/kdebase/apps/; revision=876282
2008-10-26 23:55:34 +00:00
Simon Paul St James accafbf95e If we commit a toggle range due to a change of parent, check to see if we should immediately form a new range with the current index. This stops child items from sometime being missed by the band.
CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=876240
2008-10-26 21:21:58 +00:00
Simon Paul St James 382ac5f01d When restoring the index, we don't necessarily want to scroll to it.
BUG:165551

svn path=/trunk/KDE/kdebase/apps/; revision=876177
2008-10-26 17:25:14 +00:00
Simon Paul St James 0d8aebb7ba Fix a very obscure previews-in-tooltip bug.
svn path=/trunk/KDE/kdebase/apps/; revision=876175
2008-10-26 17:23:24 +00:00
Simon Paul St James c1e7177075 Revert http://websvn.kde.org/?view=rev&revision=876107 - it introduced a massive performance regression and also didn't really fix the issue. Use new way that fixes the issue in a less direct but more general way.
Also - ;-- :)

svn path=/trunk/KDE/kdebase/apps/; revision=876137
2008-10-26 15:48:29 +00:00
Peter Penz 5735251bbb improved drag & drop support for Ark
CCMAIL: haraldhv@stud.ntnu.no

svn path=/trunk/KDE/kdebase/apps/; revision=876115
2008-10-26 14:39:13 +00:00
Peter Penz 883ef3c9b2 more straight forward syntax (no change of behavior is done)
svn path=/trunk/KDE/kdebase/apps/; revision=876110
2008-10-26 14:27:04 +00:00
Simon Paul St James c648d4ae96 Minor fix - ensure that the horizontal elastic band optimisation info works with filenames that are wider than the name column.
svn path=/trunk/KDE/kdebase/apps/; revision=876107
2008-10-26 14:17:34 +00:00
Peter Penz 82908b442b Improve the selection performance of the details view by factor of 5 (patch provided by Simon St. James).
CCMAIL: kdedevel@etotheipiplusone.com


svn path=/trunk/KDE/kdebase/apps/; revision=876099
2008-10-26 14:04:17 +00:00
Peter Penz 22d22a9cd7 Show the iconsize of zoom sliders as tooltip (code shamelessly stolen from Rafael's patch in kfilewidget ;-))
svn path=/trunk/KDE/kdebase/apps/; revision=876081
2008-10-26 13:04:33 +00:00
Peter Penz d133875139 assure that the zoom level is updated when refreshing the view
svn path=/trunk/KDE/kdebase/apps/; revision=876079
2008-10-26 13:02:40 +00:00
Peter Penz b1aadb8cce If the context menu is opened above a directory, add the actions "Open in New Window" and "Open in New Tab" to the context menu.
Thanks to Mathias Soeken for the patch!

CCMAIL: msoeken@tzi.de

svn path=/trunk/KDE/kdebase/apps/; revision=875711
2008-10-25 10:32:55 +00:00
Peter Penz 0ff69a11b8 use the DolphinDirLister instead of KDirLister
svn path=/trunk/KDE/kdebase/apps/; revision=875703
2008-10-25 09:49:57 +00:00
Peter Penz 5d69f066db * renamed "[x] Show Full Location" to "[x] Editable Location"
* renamed "Edit Location" to "Replace Location"

svn path=/trunk/KDE/kdebase/apps/; revision=875699
2008-10-25 09:41:39 +00:00
Peter Penz 6efdfda500 SVN_SILENT: minor coding style fixes
svn path=/trunk/KDE/kdebase/apps/; revision=875696
2008-10-25 09:21:20 +00:00
Mathias Soeken 75bf8edaeb You can now switch the tabs in dolphin via keyboard shortcuts like in konqueror
svn path=/trunk/KDE/kdebase/apps/; revision=875689
2008-10-25 09:00:28 +00:00
Peter Penz e7bd514a39 * Move code from DolphinDropController to DragAndDropHelper.
* 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: haraldhv@stud.ntnu.no

svn path=/trunk/KDE/kdebase/apps/; revision=875611
2008-10-24 22:19:23 +00:00
Peter Penz a96437d600 Provide a UI option for the "auto expand folders during drag operations" feature. The feature is not 100 % finished yet (dragging into a folder having a different view type does not work yet), but it's important to get in the UI string for the translators.
svn path=/trunk/KDE/kdebase/apps/; revision=875582
2008-10-24 21:12:11 +00:00
Peter Penz dc6bd8046f Assure that no reloading is done if KDirLister emits a redirection, only change the the URL. Thanks to David Faure and Albert Alstals Cid for the detailed analysis!
BUG: 155591

svn path=/trunk/KDE/kdebase/apps/; revision=875554
2008-10-24 19:52:28 +00:00
Peter Penz 6f49557ceb performance improvement when selecting items
svn path=/trunk/KDE/kdebase/apps/; revision=875518
2008-10-24 17:57:10 +00:00
Enrique Matías Sánchez e900b5a32e SVN_SILENT Fix typos in kdebase
svn path=/trunk/KDE/kdebase/apps/; revision=875089
2008-10-23 09:31:44 +00:00
Peter Penz e028a702ff use a smaller radius for the tooltip borders to stay consistent with the Oxygen style
svn path=/trunk/KDE/kdebase/apps/; revision=874948
2008-10-22 21:04:03 +00:00
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
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
Peter Penz ad0a321b7d tooltip improvements (patch provided by Laurens Vanhove):
* do a slightly delayed generation of previews to avoid expensive thumbnail creation when shortly hovering items

* prevent a resizing of the tooltip if the preview cannot be generated within a specific timeout

CCMAIL: laurens@nature-helps.com

svn path=/trunk/KDE/kdebase/apps/; revision=851104
2008-08-22 21:47:22 +00:00
Peter Penz aa3e271ce3 * convert the size in bytes to larger unit
* minor style fix

svn path=/trunk/KDE/kdebase/apps/; revision=851088
2008-08-22 21:14:39 +00:00
Jeff Mitchell cd3e667e9c Use KDiskFreeSpaceInfo instead of deprecated KDiskFreeSpace. This has the bonus effect of making the logic much simpler.
CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=851082
2008-08-22 20:44:42 +00:00
Peter Penz 1a5611b556 SVN_SILENT: coding style fix
svn path=/trunk/KDE/kdebase/apps/; revision=849784
2008-08-20 05:47:40 +00:00
Peter Penz ba1d46fb52 assure that the tooltip is never clipped at the screen borders and never overlaps the item area (patch provided by Simon St James)
CCMAIL:  kdedevel@etotheipiplusone.com

svn path=/trunk/KDE/kdebase/apps/; revision=849586
2008-08-19 19:42:58 +00:00
Diego Iastrubni 9b7e060700 Force the treeview to be LTR on RTL desktops
svn path=/trunk/KDE/kdebase/apps/; revision=849382
2008-08-19 12:50:09 +00:00
Peter Penz 02ad08712f Removed fix for negative x-coordinate again and added a TODO. We must provide a solution that works for x and y, as Dolphin in KDE 4.2 offers very large item sizes.
CCMAIL: kdedevel@etotheipiplusone.com

svn path=/trunk/KDE/kdebase/apps/; revision=849168
2008-08-19 06:33:28 +00:00