Commit graph

1126 commits

Author SHA1 Message Date
Peter Penz 6fd52b51ac assure that the restoring the column view cannot fail and replace the temporary 'if (...)-fix' by a Q_ASSERT again
svn path=/trunk/KDE/kdebase/apps/; revision=716711
2007-09-25 05:59:27 +00:00
Rafael Fernández López 48c0de3483 Prettier category drawing :)
svn path=/trunk/KDE/kdebase/apps/; revision=716620
2007-09-25 02:21:15 +00:00
Peter Penz 4832bd7fbd temporary fix: prevent crash due to a wrong root URL; TODO: fix the real root cause of this crash
svn path=/trunk/KDE/kdebase/apps/; revision=716416
2007-09-24 17:18:53 +00:00
Peter Penz 4a50a536b6 prevent that a column with an invalid root index shows the root column temporary while reloading the columns
svn path=/trunk/KDE/kdebase/apps/; revision=716387
2007-09-24 16:29:03 +00:00
Peter Penz 4616d291ca prevent an invalid active column index if columns have been deleted
svn path=/trunk/KDE/kdebase/apps/; revision=716384
2007-09-24 16:18:29 +00:00
Peter Penz 7446edabe4 simplify code + fix activation issue when reloading columns
svn path=/trunk/KDE/kdebase/apps/; revision=716381
2007-09-24 16:13:19 +00:00
Peter Penz 3be3f56f03 improve DolphinColumnView::showColumn() in a way that the history state won't be modified when restoring the columns
svn path=/trunk/KDE/kdebase/apps/; revision=716367
2007-09-24 15:54:01 +00:00
Peter Penz 772a55aafc Restore the root URL when navigating through the history (this is important for views like the column view where the root URL might differ from the current URL).
svn path=/trunk/KDE/kdebase/apps/; revision=716310
2007-09-24 13:50:31 +00:00
David Faure f78bac9909 Pass ref instead of pointer in mouseOverInfo signal
svn path=/trunk/KDE/kdebase/apps/; revision=716256
2007-09-24 10:55:55 +00:00
Peter Penz 43578509d7 don't forget to create missing columns when the URL is changed from e. g. "/home/peter/Temp" to "/home/peter/Temp/a/b/c" by e. g. the back button
svn path=/trunk/KDE/kdebase/apps/; revision=716208
2007-09-24 08:08:56 +00:00
Peter Penz d96a3338ba don't delete inactive columns when reloading the column-view
svn path=/trunk/KDE/kdebase/apps/; revision=716190
2007-09-24 06:55:50 +00:00
Laurent Montel 3b73c9c865 Adapt CMakeLists.txt as discussed with Alex.
KDE4_ADD_TEST_EXECUTABLE is deprecated now use KDE4_ADD_EXECUTABLE(<target> TEST <files>) instead
QT4_ADD_DBUS_INTERFACE_NO_NAMESPACE and QT4_ADD_DBUS_INTERFACES_NO_NAMESPACE are deprecated too
used SET_SOURCE_FILES_PROPERTIES(<files> PROPERTIES NO_NAMESPACE TRUE) QT4_ADD_DBUS_INTERFACES(<srcList> <files>)
set( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} ) is put in each CMakeLists.txt where
KDE4_ADD_EXECUTABLE(<target> TEST <files>) and KDE4_ADD_UNIT_TEST were used.

svn path=/trunk/KDE/kdebase/apps/; revision=716149
2007-09-24 06:25:59 +00:00
Christian Ehrlicher 17c19b9475 msvc compile++
svn path=/trunk/KDE/kdebase/apps/; revision=716039
2007-09-23 19:46:07 +00:00
Rafael Fernández López 1b4cb414f5 Show more useful information when sorting by date (in all folders, not
only on those with pictures).

With the current architecture it is impossible to create different rules 
depending on the items that each category contains. All categories are 
similar to the rest. That also helps to quickly find what you are 
looking for.

BUG: 149655

svn path=/trunk/KDE/kdebase/apps/; revision=715740
2007-09-23 04:30:42 +00:00
Rafael Fernández López 5098937b73 Oops, Qt already had a class that does this in a cross-platform way :)
svn path=/trunk/KDE/kdebase/apps/; revision=715737
2007-09-23 04:25:28 +00:00
Peter Penz 18bdbb7a7e assure that the inactive columns have the same color as the column-view viewport
svn path=/trunk/KDE/kdebase/apps/; revision=715308
2007-09-21 19:54:06 +00:00
Peter Penz bcbf0b44d6 restore the focus of the active column after the reloading has been finished
svn path=/trunk/KDE/kdebase/apps/; revision=715305
2007-09-21 19:39:43 +00:00
Peter Penz 717823ffef Don't invoke KDirLister::openUrl(url, true, false) in combination with the column view, otherwise an assertion in KDirModel is triggered which indicates that KDirModel::expandToUrl() should be used. But in this case invoking expandToUrl() is not needed at all...
svn path=/trunk/KDE/kdebase/apps/; revision=715298
2007-09-21 19:21:24 +00:00
Peter Penz d24597def8 implemented reloading of all columns of the column view (just updating the directory lister is not enough in this case...)
svn path=/trunk/KDE/kdebase/apps/; revision=715294
2007-09-21 18:52:46 +00:00
Script Kiddy 18cc252f7c SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=715040
2007-09-21 06:26:08 +00:00
Script Kiddy 4f5c4bf9b5 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=714633
2007-09-20 05:45:22 +00:00
Urs Wolfer 3c20dcd163 Dolphin is now QT3_SUPPORT free
svn path=/trunk/KDE/kdebase/apps/; revision=714564
2007-09-19 21:57:01 +00:00
David Faure ce3ec0d0e6 Fix crash in dolphinpart when doing RMB on viewport.
Clean up unnecessary use of Q3ValueList.

svn path=/trunk/KDE/kdebase/apps/; revision=714532
2007-09-19 20:33:28 +00:00
Peter Penz 9d277154e1 * some internal cleanups
* assure that a column gets created if no existing column can be used for showing an URL

svn path=/trunk/KDE/kdebase/apps/; revision=714407
2007-09-19 13:34:40 +00:00
Peter Penz 539531e1df implemented keyboard navigation for the column view
svn path=/trunk/KDE/kdebase/apps/; revision=714392
2007-09-19 13:00:22 +00:00
Peter Penz 81dd225e69 allow to configure the column width of the columns view
svn path=/trunk/KDE/kdebase/apps/; revision=714342
2007-09-19 09:34:44 +00:00
Peter Penz bfcc34acaf don't use deprecated Qt3 constructor
svn path=/trunk/KDE/kdebase/apps/; revision=714341
2007-09-19 09:33:55 +00:00
Peter Penz a61c0b506e use a layout which requires less width for the columns settings
svn path=/trunk/KDE/kdebase/apps/; revision=714336
2007-09-19 08:49:32 +00:00
Peter Penz ad2facc493 If Nepomuk is (temporary) not available use SortByName as fallback for SortByTags/SortByRating. Thanks to Rafael for pointing this out...
svn path=/trunk/KDE/kdebase/apps/; revision=714289
2007-09-19 06:24:14 +00:00
Rafael Fernández López 9ed99a5ebb More clear categories strings when sorting by permissions
svn path=/trunk/KDE/kdebase/apps/; revision=714267
2007-09-19 04:11:03 +00:00
Rafael Fernández López d72af4d0c2 ++keyboard navigation
CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=714261
2007-09-19 03:38:46 +00:00
Rafael Fernández López db552079be Fix selections problems (like flickering). Click on category select/deselects all items inside it. Ctrl+Click categories lets you add categories to already
created selections, as well as inverting selections inside the same category.

CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=714051
2007-09-18 16:33:17 +00:00
Rafael Fernández López db49efe925 (Un)selections working properly
svn path=/trunk/KDE/kdebase/apps/; revision=713803
2007-09-18 05:33:34 +00:00
Peter Penz d78fe954ab drag and drop fixes for the column view (implied a signal changed which affected other views too)
svn path=/trunk/KDE/kdebase/apps/; revision=713430
2007-09-17 14:36:41 +00:00
Rafael Fernández López b3db0a708a Give feedback to user when clicking on a category and the user is not dragging from it. Beauty, come to me :)
CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=713337
2007-09-17 06:03:40 +00:00
Rafael Fernández López 3c77e0f720 Hooray for perfectionism
svn path=/trunk/KDE/kdebase/apps/; revision=713323
2007-09-17 05:17:25 +00:00
Rafael Fernández López abd0121a47 Equal drawing on every case
svn path=/trunk/KDE/kdebase/apps/; revision=713322
2007-09-17 05:00:53 +00:00
Rafael Fernández López 1b211758c7 Categories titles and icons are shown at the same distance between them on LTR and RTL languages
svn path=/trunk/KDE/kdebase/apps/; revision=713321
2007-09-17 04:50:47 +00:00
Rafael Fernández López b7e3077a9d Forgot to adapt to RTL the default category drawer (KCategoryDrawer), since right now it is fully overriden by dolphincategorydrawer. Unneeded commented code
removed from the latter

svn path=/trunk/KDE/kdebase/apps/; revision=713320
2007-09-17 04:16:29 +00:00
Rafael Fernández López c8072005fa Create the new architecture for KCategorizedView. Now DolphinModel is created, inheriting KDirModel for returning valid data for the role of the category of
an item. DolphinSortFilterProxyModel implements now methods lessThanCategoryMethod and lessThanGeneralMethod from KCategorizedSortFilterProxyModel.

The only thing that needs to be adapted is the keyboard navigation on the KCategorizedView.

CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=713319
2007-09-17 04:02:17 +00:00
Peter Penz 231436769d fix: forgot to invoke base implementation
svn path=/trunk/KDE/kdebase/apps/; revision=712616
2007-09-14 22:18:02 +00:00
Peter Penz c1ad266e93 selection model fixes
svn path=/trunk/KDE/kdebase/apps/; revision=712610
2007-09-14 22:08:34 +00:00
Peter Penz 26b2ce327f refactoring of column view, which fixes:
* selection issues
* unwanted loading of sub directories
* wrong horizontal scroll position

svn path=/trunk/KDE/kdebase/apps/; revision=712590
2007-09-14 20:50:08 +00:00
Script Kiddy 0ba0441fc8 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=712396
2007-09-14 10:18:47 +00:00
Peter Penz 906b80ae0a update the URL candidate if only one file is selected, so that Nepomuk tags get updated (thanks to Rajeev J Sebastian for the patch!)
svn path=/trunk/KDE/kdebase/apps/; revision=712054
2007-09-13 12:18:30 +00:00
Script Kiddy 177ddea853 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=711906
2007-09-13 05:55:01 +00:00
Allen Winter da041005b7 desktop-file-validate says not to end a MimeType with a semicolon.
svn path=/trunk/KDE/kdebase/apps/; revision=710731
2007-09-10 18:44:07 +00:00
Script Kiddy 2622a65e5b SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=710483
2007-09-10 05:48:06 +00:00
Peter Penz d13a840148 provide backspace as alternative shortcut for "go back"
svn path=/trunk/KDE/kdebase/apps/; revision=710364
2007-09-09 19:02:22 +00:00
Peter Penz ea270709c1 check whether the current index is valid and whether no other items are selected
svn path=/trunk/KDE/kdebase/apps/; revision=710361
2007-09-09 18:54:32 +00:00