Commit graph

1615 commits

Author SHA1 Message Date
Peter Penz 32f446e6de * Prevent that the QTreeView::scrollTo() method adjusts the position of the horizontal scrollbar. This is done manually inside KTreeView if automatic scrolling is enabled.
* increased the delay until the auto scrolling starts from 50 to 300

CCMAIL: haraldhv@stud.ntnu.no

svn path=/trunk/KDE/kdebase/apps/; revision=805605
2008-05-08 21:16:57 +00:00
Peter Penz 9d596ce883 clear the selection when loading the sub tree
svn path=/trunk/KDE/kdebase/apps/; revision=805603
2008-05-08 21:12:38 +00:00
Peter Penz fc97fa250d * If one item is selected and the item is (at least partly) visible, assure that an automatic horizontal scrolling is done so that the item gets fully visible.
* Use QTimeLine instead of QTimer + value

CCMAIL: haraldhv@stud.ntnu.no

svn path=/trunk/KDE/kdebase/apps/; revision=805596
2008-05-08 20:44:26 +00:00
Script Kiddy a9b2910125 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=805551
2008-05-08 18:07:26 +00:00
Peter Penz edabe0a7c8 don't disable the scrollTo() functionality if a QAbstractItemView state is set (e. g. DragSelectingState requires the scrollTo() functionality)
svn path=/trunk/KDE/kdebase/apps/; revision=805216
2008-05-07 21:11:49 +00:00
Peter Penz 197abb4be8 Update selection toggle icon when the icon theme has been changed. Thanks to David Benjamin for the patch!
BUG: 161316

svn path=/trunk/KDE/kdebase/apps/; revision=805209
2008-05-07 20:55:51 +00:00
Peter Penz 63be8bc9a1 Fixed issue the the current view does not get the focus after opening Dolphin. Although this fixes #161590, further improvements have to be done to minimize the number of necessary tab presses...
BUG: 161590

svn path=/trunk/KDE/kdebase/apps/; revision=805206
2008-05-07 20:50:27 +00:00
Peter Penz 75f55c070f SVN_SILENT: updated comments
svn path=/trunk/KDE/kdebase/apps/; revision=805188
2008-05-07 20:10:16 +00:00
Peter Penz d4287eb8e3 allow Konqueror to open also files inside a new tab, not only directories
CCMAIL: faure@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=805184
2008-05-07 20:02:37 +00:00
Peter Penz 9f60cbdb63 SVN_SILENT: minor coding style fixes
svn path=/trunk/KDE/kdebase/apps/; revision=804938
2008-05-07 06:58:16 +00:00
Peter Penz f2873a9738 enable the scrollTo() functionality if it has been triggered by a key-press
svn path=/trunk/KDE/kdebase/apps/; revision=804928
2008-05-07 06:11:54 +00:00
Script Kiddy aa8948e491 SVN_SILENT made messages (.desktop file, second try)
svn path=/trunk/KDE/kdebase/apps/; revision=804910
2008-05-07 04:35:50 +00:00
Peter Penz 90e8b435e7 Fixed issue that the vertical scrollbar jumps back to the initial state during previews are loaded in the icons view.
BUG: 161086
BUG: 160513

svn path=/trunk/KDE/kdebase/apps/; revision=804790
2008-05-06 22:25:15 +00:00
Peter Penz c5727efd24 * prevent that cut icons are shift left in the icons view by using the correct size
* apply cut item effect before generating previews

BUG: 161707

svn path=/trunk/KDE/kdebase/apps/; revision=804768
2008-05-06 21:46:30 +00:00
Peter Penz 0de9ce9985 prevent a possible crash if an item is deleted during previews are generated
svn path=/trunk/KDE/kdebase/apps/; revision=804457
2008-05-06 05:47:11 +00:00
David Faure 7059f31bc8 Use FindQImageBlitz.cmake instead of deprecated FindBlitz.cmake
svn path=/trunk/KDE/kdebase/apps/; revision=804272
2008-05-05 14:21:55 +00:00
David Faure ba509a3be3 Re-enable name filtering (e.g. /home/dfaure/*.txt) in konqueror
svn path=/trunk/KDE/kdebase/apps/; revision=804094
2008-05-05 00:42:33 +00:00
David Faure fd98230020 Move "Adjust view properties" to dolphinviewactionhandler so that it's available in dolphinpart (konqueror) too.
Bug reported by kde-bug-hunter "lemma".

svn path=/trunk/KDE/kdebase/apps/; revision=804037
2008-05-04 21:16:30 +00:00
David Faure 5ad129ac78 Ooops, fix name of componentdata so that the dolphinpart GUI is found again.
svn path=/trunk/KDE/kdebase/apps/; revision=804036
2008-05-04 21:15:14 +00:00
Peter Penz 5e36288789 Assure that after "Split View" has been executed, that the second view gets the focus instead of the first view.
BUG: 161365

svn path=/trunk/KDE/kdebase/apps/; revision=803984
2008-05-04 18:40:06 +00:00
Peter Penz 03aa2029d7 Fixed issue that sometimes the dragging from an inactive view to an active view does not work. Note that this is just a workaround, QAbstractItemView should take care about this itself. I tried to provide a Qt-only example for this, but it is more tricky than I thought: it seems some expensive operations are required, so that the position of the second mouse-move event is outside the item area... I'll retest this issue without workaround if Qt 4.4 final is out.
BUG: 154619

svn path=/trunk/KDE/kdebase/apps/; revision=803980
2008-05-04 18:24:28 +00:00
Script Kiddy a2683d9874 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=803885
2008-05-04 12:26:15 +00:00
Rafael Fernández López f2ddae8666 Fix CPU 100% bug. This hack couldn't live much more. Peter, about the "we get to an unusabla tree view", I've worked on a patch for QTreeView. Let's see if TT like it :)
BUG: 160826

svn path=/trunk/KDE/kdebase/apps/; revision=803361
2008-05-02 17:19:06 +00:00
David Faure 06e9ece821 KonqFileUndoManager moved to kdelibs, as KIO::FileUndoManager. Ported the code in libkonq+dolphin+konqueror.
svn path=/trunk/KDE/kdebase/apps/; revision=802881
2008-04-30 23:32:33 +00:00
Script Kiddy fd46bdb301 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=802307
2008-04-29 05:57:03 +00:00
Peter Penz c78477af3b Desaturate the preview when a new preview will be generated. This is useful when previews are done for large images, so that an indication is given that the current preview gets replaced.
svn path=/trunk/KDE/kdebase/apps/; revision=802233
2008-04-28 21:26:52 +00:00
David Faure 439fa3c474 don't allow to trash files which are inside trash:/ already
svn path=/trunk/KDE/kdebase/apps/; revision=801853
2008-04-27 22:35:49 +00:00
Script Kiddy 3467159a73 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=801563
2008-04-26 20:50:45 +00:00
Allen Winter 08fbcf8c30 link in XRender, if found.
svn path=/trunk/KDE/kdebase/apps/; revision=801388
2008-04-26 13:45:18 +00:00
Albert Astals Cid f32987d719 avoid unnecessary copies by using const & in foreach
svn path=/trunk/KDE/kdebase/apps/; revision=800783
2008-04-24 20:41:04 +00:00
Peter Penz 2a4f4c4b9c provide middle-mouse-button support for Konqueror (= create new window or tab)
CCMAIL: faure@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=800298
2008-04-23 20:57:58 +00:00
Peter Penz a593ad0b99 let a double-click on the empty tab-area open a new tab (-> consistent with konsole behavior)
svn path=/trunk/KDE/kdebase/apps/; revision=800241
2008-04-23 18:28:23 +00:00
Peter Penz 9e2b078d03 Provide horizontal auto scrolling for the tree view (implemented by Harald Hvaal). As soon as KTreeView is matured enough, it can be discussed whether it should be moved to kdelibs for KDE 4.2.
CCMAIL: haraldhv@stud.ntnu.no

svn path=/trunk/KDE/kdebase/apps/; revision=799723
2008-04-22 05:45:16 +00:00
Chusslove Illich ead963b8ce i18n fixes.
svn path=/trunk/KDE/kdebase/apps/; revision=799503
2008-04-21 17:41:57 +00:00
Friedrich W. H. Kossebau ab0c34359d set global program icon via KAboutData, not directly
svn path=/trunk/KDE/kdebase/apps/; revision=799282
2008-04-20 23:35:54 +00:00
David Faure d1aaeab617 Fix bug with the UndoUiInterface usage: if more than one mainwindow was used, the statusbar of the wrong window could be used for displaying error messages from the undo manager.
svn path=/trunk/KDE/kdebase/apps/; revision=799250
2008-04-20 22:07:44 +00:00
Robert Knight e8b4072c34 Initialize m_delegate field.
svn path=/trunk/KDE/kdebase/apps/; revision=798775
2008-04-19 12:48:52 +00:00
Peter Penz 4e58afa1fd fixed some stupid bugs I did not see in the previous commit -> after 9 hours in the office and 3 hours Dolphin it seems I'm too tired :-(
svn path=/trunk/KDE/kdebase/apps/; revision=798677
2008-04-18 20:31:31 +00:00
Peter Penz 6ba12bacc7 consider the protocol and directory capabilities for file actions like Rename, Delete and Move To Trash
svn path=/trunk/KDE/kdebase/apps/; revision=798674
2008-04-18 20:21:21 +00:00
Peter Penz 7d0080868b Consider the protocol and directory capabilities for file actions like Move To/Copy To (note that this is just an initial version; adjustments must also be done for the global actions like Delete, Rename etc.)
svn path=/trunk/KDE/kdebase/apps/; revision=798658
2008-04-18 19:43:16 +00:00
Peter Penz 01f53f01b4 don't use deprecated methods
svn path=/trunk/KDE/kdebase/apps/; revision=798611
2008-04-18 17:11:43 +00:00
Peter Penz 049f2d4556 Temporary remove the fix from 798078, as it has a minor sideeffect. We'll try to find a proper solution during the next days...
CCMAIL: sebastian@trueg.de

svn path=/trunk/KDE/kdebase/apps/; revision=798608
2008-04-18 16:56:02 +00:00
Script Kiddy b6ca206636 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=798572
2008-04-18 15:51:48 +00:00
David Faure fcafd387f7 Ported dolphinpart to K_PLUGIN_FACTORY
Ported konqueror's part loading to KPluginLoader. Factorized some code into a tryLoadingService.
If you miss some khtml actions, update kdelibs/kdecore/util.

svn path=/trunk/KDE/kdebase/apps/; revision=798291
2008-04-17 21:49:53 +00:00
Sebastian Trueg 16b9d9bc19 Fallback to filename after all if no proper fileitem is available. Sorry, the code is a bit confusing
svn path=/trunk/KDE/kdebase/apps/; revision=798078
2008-04-17 12:03:10 +00:00
Sebastian Trueg e90541c1af Use the display text for the info sidebar title instead of the filename.
svn path=/trunk/KDE/kdebase/apps/; revision=798076
2008-04-17 11:58:08 +00:00
Script Kiddy fae6d10e7e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=797851
2008-04-16 21:40:56 +00:00
Peter Penz 50acc2d6ec fix possible crash when selecting "New Tab" from the tab context menu of an inactive tab
svn path=/trunk/KDE/kdebase/apps/; revision=797843
2008-04-16 21:27:39 +00:00
Peter Penz 3a27f30799 * clear the selection toggle when zooming in or out
* clear the selection toggle when using the scroll wheel (this is only a temporary workaround until Qt-issue #200665 has been fixed)

BUG: 159737

svn path=/trunk/KDE/kdebase/apps/; revision=797808
2008-04-16 21:08:09 +00:00
Peter Penz eb36093c2c if the mouse is above an item and moved very fast outside the widget, no viewportEntered() signal might be emitted although the mouse has been moved above the viewport
svn path=/trunk/KDE/kdebase/apps/; revision=797742
2008-04-16 20:26:21 +00:00