Commit graph

1985 commits

Author SHA1 Message Date
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