Commit graph

906 commits

Author SHA1 Message Date
Peter Penz 94594d2a08 request the activation of a column also on directories if not the left mouse button is pressed
svn path=/trunk/KDE/kdebase/apps/; revision=696094
2007-08-03 20:10:11 +00:00
Peter Penz b5a1200417 further selection model fixes
svn path=/trunk/KDE/kdebase/apps/; revision=696076
2007-08-03 18:46:49 +00:00
Laurent Montel c6187eb633 Adapt to new KWarning/kFatal/kDebug api
svn path=/trunk/KDE/kdebase/apps/; revision=695870
2007-08-03 06:40:12 +00:00
Script Kiddy 4e1325b19b SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=694108
2007-07-30 04:47:23 +00:00
Thiago Macieira 3e513607f0 Use the new KFileItem API
svn path=/trunk/KDE/kdebase/apps/; revision=694063
2007-07-29 23:12:57 +00:00
Peter Penz 7230f4bb55 minor fixes regarding inactive columns
svn path=/trunk/KDE/kdebase/apps/; revision=694026
2007-07-29 20:30:16 +00:00
Peter Penz 465528755c new approach: don't fight against the selection behavior of QColumnView, but improve the visual appearance be indicating the shown folder visually
svn path=/trunk/KDE/kdebase/apps/; revision=694015
2007-07-29 19:37:42 +00:00
Peter Penz 253c3c87a8 Assure that the view properties of a column view are always stored in the folder represented by the first column. It is assured now, that all columns use the same view properties. Although one reason is because of technical 'restrictions' (KDirLister properties like 'show dot files' are applied to all sub directories too), I personally think it also makes sense from a usability point of view.
svn path=/trunk/KDE/kdebase/apps/; revision=693944
2007-07-29 15:33:52 +00:00
Peter Penz 4ad6cc3e3d when activating the columns inside a column view, the current view properties must get synchronized
svn path=/trunk/KDE/kdebase/apps/; revision=693930
2007-07-29 14:44:00 +00:00
Script Kiddy 3b9570b01b SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=693808
2007-07-29 05:20:59 +00:00
Stephan Binner bfb705c5cc remove extra ";"
svn path=/trunk/KDE/kdebase/apps/; revision=693804
2007-07-29 04:49:00 +00:00
Peter Penz 83e0633d35 fix some drag & drop issues
svn path=/trunk/KDE/kdebase/apps/; revision=693766
2007-07-28 23:35:53 +00:00
Peter Penz 14783157ba don't load directories when hovering folders during moving the mouse...
svn path=/trunk/KDE/kdebase/apps/; revision=693757
2007-07-28 22:59:22 +00:00
Peter Penz dcac8012b6 temporary fixes until MultiSelection will be implemented
svn path=/trunk/KDE/kdebase/apps/; revision=693752
2007-07-28 22:27:58 +00:00
Peter Penz 2e5379158e assure that the folder which is shown in the next column is always selected
svn path=/trunk/KDE/kdebase/apps/; revision=693734
2007-07-28 20:46:34 +00:00
Peter Penz c6c51f76ec use alternating row colors for the details view
svn path=/trunk/KDE/kdebase/apps/; revision=693610
2007-07-28 14:19:38 +00:00
Script Kiddy 59819cd767 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=693473
2007-07-28 05:36:34 +00:00
Thiago Macieira cd00965aa2 Call the front-end function, not the backend virtual doKill
svn path=/trunk/KDE/kdebase/apps/; revision=693038
2007-07-26 21:32:27 +00:00
Peter Penz 28a4f8446f remove strange copy/paste issue which was responsible that Dolphin forgot the general settings (it seems those lines have been copied from GeneralViewSettingsPage::restoreDefaults() per accident)
svn path=/trunk/KDE/kdebase/apps/; revision=693009
2007-07-26 19:57:37 +00:00
Jure Repinc 2bd3a4b8c4 Compile (KDateTime simplifications)
svn path=/trunk/KDE/kdebase/apps/; revision=692606
2007-07-26 00:26:02 +00:00
Nick Shaforostoff 52b162b242 little fix that brings everything into order
svn path=/trunk/KDE/kdebase/apps/; revision=692551
2007-07-25 20:35:32 +00:00
Peter Penz 9e8f0ec1a4 provide a useful default width for the Folders dock (treeview)
svn path=/trunk/KDE/kdebase/apps/; revision=692544
2007-07-25 20:04:14 +00:00
Peter Penz 55643abf69 revert wrong sorting resulted by last commit: K comes before L... (yes, some people like me can only sort the letters A - F ;-))
svn path=/trunk/KDE/kdebase/apps/; revision=692538
2007-07-25 19:55:34 +00:00
Peter Penz be0e1f8d27 use the minimum width as default width
svn path=/trunk/KDE/kdebase/apps/; revision=692535
2007-07-25 19:51:33 +00:00
Peter Penz d1d31d8bee minor documentation and coding style fixes
svn path=/trunk/KDE/kdebase/apps/; revision=692534
2007-07-25 19:45:15 +00:00
Nick Shaforostoff b607d3cc4b ok, second try: make use of KDirSortFilterProxyModel. 'Show in Groups' still works, haven't tested nepomuk part though.
NOTE to dolphin devs: please, consider using 'left.column()' instead of 'sortRole()' in lessThan methods, and 'sorting()' instead of 'sortRole()' in other places.
Didn't make switch by myself because it needs nepomk testing (shouldn't be too hard though).


svn path=/trunk/KDE/kdebase/apps/; revision=692517
2007-07-25 19:08:12 +00:00
Peter Penz 993021a168 provide a useful default height for the Terminal dock
svn path=/trunk/KDE/kdebase/apps/; revision=692490
2007-07-25 17:43:35 +00:00
Peter Penz e12944d443 Don't add the terminal to the right docking area, if it may only get aligned on the top and bottom.
svn path=/trunk/KDE/kdebase/apps/; revision=692484
2007-07-25 17:32:37 +00:00
Peter Penz 7beab1ffb5 --deprecated
svn path=/trunk/KDE/kdebase/apps/; revision=692471
2007-07-25 17:06:03 +00:00
Robert Knight 4661ece594 Fix crash when category view is enabled if there are no categories in KCategorizedView::moveCursor()
svn path=/trunk/KDE/kdebase/apps/; revision=692073
2007-07-24 23:59:01 +00:00
Thomas Zander 7efea42cea more fixes
svn path=/trunk/KDE/kdebase/apps/; revision=691717
2007-07-24 08:53:35 +00:00
Robert Knight e678566575 Fix a couple of crashes. First was to avoid problem caused by KIconLoader::global()->theme() returning 0 (which according to the API, it can do). Second was to fix the 'lastIndex' member of KCategorizedView::Private being out of date when used. According to the comments this member existed as an optimization. However in the only function where it is used, scrollbar updates are also performed. This will be several orders of magnitude more expensive than the 3 constant-time operations on Qt containers (QHash,QList) which the optimization avoided. So I removed the 'lastIndex' member and moved the calculation to where the data is needed.
svn path=/trunk/KDE/kdebase/apps/; revision=691574
2007-07-23 23:08:47 +00:00
Laurent Montel 117899b07c change XDG_APPS_DIR -> XDG_APPS_INSTALL_DIR, XDG_DIRECTORY_DIR->XDG_DIRECTORY_INSTALL_DIR, DBUS_INTERFACES_DIR->DBUS_INTERFACES_INSTALL_ DIR, DBUS_SERVICES_DIR->DBUS_SERVICES_INSTALL_DIR to have same naming convention as discussed with Alex.
svn path=/trunk/KDE/kdebase/apps/; revision=691218
2007-07-23 07:01:14 +00:00
Peter Penz 643a7a8d19 Use KDirSortFilterProxyModel::naturalCompare() to prevent code duplication. DolphinSortFilterProxyModel::lessThan() still contains similar code like KDirSortFilterProxyModel::lessThan(), but we will discuss this with Rafael in August (it's open yet whether KSortFilterProxyModel should be derived from KDirSortFilterProxyModel or not...).
CCMAIL: ereslibre@gmail.com

svn path=/trunk/KDE/kdebase/apps/; revision=691028
2007-07-22 19:28:47 +00:00
Nick Shaforostoff 4c96ec2698 ok, reverting as requested by Peter Penz.
svn path=/trunk/KDE/kdebase/apps/; revision=690417
2007-07-21 00:31:26 +00:00
Nick Shaforostoff 88705d0c34 Make use of the newly added KDirSortFilterProxyModel class -- that is, essentially, remove all the code being duplicated :)
Make manpart use KEncodingDetector capabilities along the way (it was <meta ... charset="System"> before)


svn path=/trunk/KDE/kdebase/apps/; revision=690382
2007-07-20 21:16:50 +00:00
Peter Penz a6a454c858 QAbstractItemView::viewOptions() only returns an instance of the class QStyleOptionViewItem, so the text wrapping property of QStyleOptionViewItemV3 will never be set -> check whether wrapping has been enabled inside QListView
svn path=/trunk/KDE/kdebase/apps/; revision=689676
2007-07-18 21:05:47 +00:00
Peter Penz 71158bc65d respect the item width and item height also when the item categorization has been enabled
svn path=/trunk/KDE/kdebase/apps/; revision=689663
2007-07-18 20:36:03 +00:00
Peter Penz 381b494e6c When derived classes overwrite KCategorizedView::visualRect() to adjust the visual width or height, drawing errors occur as internally always d->visualRect() is used -> always use KCategorizedView::visualRect()...
svn path=/trunk/KDE/kdebase/apps/; revision=689662
2007-07-18 20:34:40 +00:00
Peter Penz 43b2b591ec Assure that the item size is not exceeded -> the spacing is also respected for texts that cannot be wrapped
svn path=/trunk/KDE/kdebase/apps/; revision=689651
2007-07-18 19:52:28 +00:00
Script Kiddy ee5c2c1666 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=688446
2007-07-16 05:54:55 +00:00
Script Kiddy 3d985c8ff8 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=688104
2007-07-15 05:44:15 +00:00
Chusslove Illich d511752c9d Clarify some adjectives.
svn path=/trunk/KDE/kdebase/apps/; revision=687991
2007-07-14 23:52:03 +00:00
Rafael Fernández López 8fb2f40f9c Fix small adjustments with items-categories
svn path=/trunk/KDE/kdebase/apps/; revision=687902
2007-07-14 17:45:42 +00:00
Rafael Fernández López 255f9c1c95 Better spacing for extreme cases
svn path=/trunk/KDE/kdebase/apps/; revision=687855
2007-07-14 14:38:39 +00:00
Rafael Fernández López 6d858cd70f Even better behavior when different possibilities, grid or not grid, spacing or not spacing
svn path=/trunk/KDE/kdebase/apps/; revision=687849
2007-07-14 14:20:54 +00:00
Peter Penz 194ce9fe18 Translation fix from Stefan Asserhall: e. g. "Link to Device" from libkonq has not been translated (@David: is this the right way to do it?)
CCMAIL: faure@kde.org
CCMAIL: stefan.asserhall@comhem.se

svn path=/trunk/KDE/kdebase/apps/; revision=687760
2007-07-14 09:41:25 +00:00
Rafael Fernández López 1bc9506260 If we have different heights on the same row, make it possible to update taller items correctly when the mouse is over the part that goes "out of the little one" line
svn path=/trunk/KDE/kdebase/apps/; revision=687625
2007-07-14 04:01:58 +00:00
Rafael Fernández López 6c64d1ca6b Follow QListView behavior. Each item has the exact size to fit its contents. Not bigger for little elements.
CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=687624
2007-07-14 03:45:42 +00:00
Rafael Fernández López 185d839d29 Respect grid sizes.
CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=687616
2007-07-14 03:04:24 +00:00
Peter Penz 5c36011cf1 cleanup About dialog
svn path=/trunk/KDE/kdebase/apps/; revision=687495
2007-07-13 18:56:51 +00:00
Peter Penz 6b49f86c54 improved i18ncheckarg scripts means new KUIT issues -> fixed now...
svn path=/trunk/KDE/kdebase/apps/; revision=687491
2007-07-13 18:39:57 +00:00
Peter Penz d5b2e29be3 apply shortcuts for docks
svn path=/trunk/KDE/kdebase/apps/; revision=687484
2007-07-13 18:25:36 +00:00
Peter Penz 09860f7cf4 instead of "Sort" -> "By Name", "By Date", "By Size", ...
use "Sort By" -> "Name", Date", "Size", ...

svn path=/trunk/KDE/kdebase/apps/; revision=687480
2007-07-13 18:14:41 +00:00
Peter Penz ce3f4e5d74 remove unused variables
svn path=/trunk/KDE/kdebase/apps/; revision=687466
2007-07-13 17:23:52 +00:00
Chusslove Illich b57fe4aa4c Extract messages from .kcfg too (whoops).
svn path=/trunk/KDE/kdebase/apps/; revision=687407
2007-07-13 14:36:17 +00:00
Chusslove Illich 097a1fea88 Extract messages from .kcfg too.
svn path=/trunk/KDE/kdebase/apps/; revision=687406
2007-07-13 14:34:42 +00:00
Rafael Fernández López aa69bcdc64 Update property when needed.
svn path=/trunk/KDE/kdebase/apps/; revision=687397
2007-07-13 14:06:11 +00:00
Rafael Fernández López f93cc2499d Take in count item sizes. As we want all elements of the same size we check for the biggest one. This way we have visible columns too, what makes everything more ordered,
and to the user eye as well.

svn path=/trunk/KDE/kdebase/apps/; revision=687387
2007-07-13 13:49:21 +00:00
Rafael Fernández López 5c5590846d Select elements correctly when clicking on the category for selecting.
svn path=/trunk/KDE/kdebase/apps/; revision=687361
2007-07-13 12:25:50 +00:00
Rafael Fernández López 292e732ff9 It would be nice if we fill correctly option views :)
svn path=/trunk/KDE/kdebase/apps/; revision=687151
2007-07-13 03:09:14 +00:00
Peter Penz 18beab8c6b minor layout fix in infosidebar
svn path=/trunk/KDE/kdebase/apps/; revision=686795
2007-07-12 06:30:28 +00:00
Peter Penz 7eef5ebec2 KUIT adaptions (applied i18ncheckarg - everything should be OK now)
CCMAIL: caslav.ilic@gmx.net

svn path=/trunk/KDE/kdebase/apps/; revision=686787
2007-07-12 06:10:54 +00:00
Chusslove Illich 9c9374c7da KUIT for boilerplate KAboutData/KCmdLineArgs calls.
svn path=/trunk/KDE/kdebase/apps/; revision=686429
2007-07-11 10:04:13 +00:00
Peter Penz 7243879a63 let the column-widgets of the Column View be aware about their URL, as this simplifies the activation/deactivation handling of columns
svn path=/trunk/KDE/kdebase/apps/; revision=686217
2007-07-10 20:33:17 +00:00
Allen Winter 62d81f9a9b remove kde4_automoc()
svn path=/trunk/KDE/kdebase/apps/; revision=685984
2007-07-10 09:14:12 +00:00
Script Kiddy d91197de93 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=685927
2007-07-10 04:37:45 +00:00
Rafael Fernández López 23b91d0c36 Rename KListView to KCategorizedView as decided
svn path=/trunk/KDE/kdebase/apps/; revision=685767
2007-07-09 18:08:20 +00:00
Peter Penz 50d9e030e7 KUIT adaptions
svn path=/trunk/KDE/kdebase/apps/; revision=685763
2007-07-09 17:51:39 +00:00
Peter Penz ea3e000501 KUIT adaptions
svn path=/trunk/KDE/kdebase/apps/; revision=685432
2007-07-08 21:09:48 +00:00
Rafael Fernández López 90ca3c31dc If no user icon present, show a generic one
svn path=/trunk/KDE/kdebase/apps/; revision=685426
2007-07-08 20:43:34 +00:00
Peter Penz 77d3d37246 adapt signature of requestDelayedItemInfo() slot to recent changes
svn path=/trunk/KDE/kdebase/apps/; revision=685421
2007-07-08 20:32:41 +00:00
Peter Penz 6730806715 fix documentation
svn path=/trunk/KDE/kdebase/apps/; revision=685419
2007-07-08 20:31:36 +00:00
Script Kiddy 5b3d8af721 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=684722
2007-07-07 04:51:22 +00:00
Rafael Fernández López 98d01c5e23 Make KListView capable of drawing categories on our own way. This make things easier
when we are trying to customize it. We can also benefit from KStyle if some day it 
supports category drawing.

KListView keyboard navigation. Tricier than I thought.

Pending renaming to KCategorizedView. Seems a good name.

svn path=/trunk/KDE/kdebase/apps/; revision=684478
2007-07-06 17:41:04 +00:00
David Faure 0661c42dd9 simplify + add todo (early commit to make room for the next kdebase-wide commit)
svn path=/trunk/KDE/kdebase/apps/; revision=684300
2007-07-06 13:36:04 +00:00
Laurent Montel 67563a41a1 Remove not necessary cmake variable
svn path=/trunk/KDE/kdebase/apps/; revision=683756
2007-07-05 09:02:54 +00:00
David Faure 089f474513 Don't crash (in PreviewJob) when m_shownUrl is empty for some reason.
svn path=/trunk/KDE/kdebase/apps/; revision=683539
2007-07-04 21:25:56 +00:00
Script Kiddy 278838f8ce SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=683071
2007-07-04 05:30:03 +00:00
Script Kiddy a8d8dda370 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=682629
2007-07-03 06:59:16 +00:00
David Faure d89f43f66b Change signature of requestItemInfo signal, to avoid fileitem -> url -> index -> fileitem roundtrip in dolphin,
and to match the BrowserExtension mouseOverInfo() signal.
Started to implement more of the part (e.g. spinning wheel in konq).

svn path=/trunk/KDE/kdebase/apps/; revision=682440
2007-07-02 17:24:54 +00:00
Laurent Montel 398005a991 Remove not necessary variable already
add by other kde cmake variable

svn path=/trunk/KDE/kdebase/apps/; revision=682363
2007-07-02 14:04:12 +00:00
Laurent Montel b5ada3a879 not necessary to duplicate it
svn path=/trunk/KDE/kdebase/apps/; revision=682359
2007-07-02 13:49:52 +00:00
Chusslove Illich 2a86e0bf84 Interface modifications to KCmdLineArgs, KAboutData and KComponentData; BIC, SIC. Most of the depending code has been auto-converted to new API.
svn path=/trunk/KDE/kdebase/apps/; revision=682259
2007-07-02 08:49:20 +00:00
Rafael Fernández López 94cfa325ca Improve speed when we have lots of selections that are partially outside the viewport.
svn path=/trunk/KDE/kdebase/apps/; revision=682114
2007-07-01 17:09:47 +00:00
Rafael Fernández López 2578bea1d8 Define variables in their context
svn path=/trunk/KDE/kdebase/apps/; revision=682100
2007-07-01 15:45:55 +00:00
David Faure ab3d8b1003 Here comes dolphinpart, to use dolphin as the file management view in konqueror.
Embeds nicely, now all the integration needs to be done.
Thanks to Peter for the nice DolphinView/DolphinViewContainer separation which made writing the part very very easy!

CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=682079
2007-07-01 14:25:21 +00:00
Peter Penz 6b42e7ba3b KUIT adaptions
svn path=/trunk/KDE/kdebase/apps/; revision=681920
2007-06-30 20:10:50 +00:00
Peter Penz 08fc0833aa KUIT adapations for labels
svn path=/trunk/KDE/kdebase/apps/; revision=681915
2007-06-30 19:40:15 +00:00
Peter Penz 553c85e336 KUIT adaptions for groups, checkboxes and radiobuttons
svn path=/trunk/KDE/kdebase/apps/; revision=681910
2007-06-30 19:20:49 +00:00
Script Kiddy dd6b533602 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=681732
2007-06-30 04:34:16 +00:00
Peter Penz 54fb5d0d5b declare scalar types as late as possible (putting them outside the loop does not increase the performance)
svn path=/trunk/KDE/kdebase/apps/; revision=681622
2007-06-29 16:09:54 +00:00
Script Kiddy d13740a367 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=681471
2007-06-29 04:24:44 +00:00
Rafael Fernández López fc49fd7b09 Better drawing when big selection rect is drawn.
svn path=/trunk/KDE/kdebase/apps/; revision=681460
2007-06-29 01:19:56 +00:00
Rafael Fernández López 71680def7f ++optimization
svn path=/trunk/KDE/kdebase/apps/; revision=681449
2007-06-28 23:29:47 +00:00
Rafael Fernández López 123e5008ae What is faster ? the eye or the brain ?
svn path=/trunk/KDE/kdebase/apps/; revision=681443
2007-06-28 23:03:00 +00:00
Peter Penz 8c32c621ad don't request the activation of the active URL on the mouse press event, as the sub folder will be opened on the release event...
svn path=/trunk/KDE/kdebase/apps/; revision=681376
2007-06-28 19:01:12 +00:00
Peter Penz 34ff90696f Improve handling of column view:
* Activate column on a mouse press event
* Always synchronize the active column with the URL navigator and vice versa

svn path=/trunk/KDE/kdebase/apps/; revision=681369
2007-06-28 18:52:54 +00:00
Rafael Fernández López ba6c853219 Add needed method for keyboard navigation
svn path=/trunk/KDE/kdebase/apps/; revision=681118
2007-06-27 23:23:41 +00:00
Peter Penz c05153ac9b don't connect to the activated() signal, just use singleClick() and doubleClick() dependent from the global KDE single/double click setting
svn path=/trunk/KDE/kdebase/apps/; revision=680990
2007-06-27 17:03:51 +00:00
Peter Penz 3e5f57127d connecting the the activated() signal does not work when using the double click setting within KDE
svn path=/trunk/KDE/kdebase/apps/; revision=680989
2007-06-27 17:02:55 +00:00
Rafael Fernández López b5f2d46ef9 activated signal actually does that :)
CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=680979
2007-06-27 16:28:39 +00:00
Peter Penz afc732d220 Fix the following reproducible crash in a slightly different way (reported + initial fix done by Rafael):
* Open Dolphin. Enable categorization.
* Split the view. Disable categorization on the right one.
* Join the views.

CCMAIL: ereslibre@gmail.com

svn path=/trunk/KDE/kdebase/apps/; revision=680956
2007-06-27 15:15:29 +00:00
Script Kiddy 4ad537ce4f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=680810
2007-06-27 05:24:25 +00:00
Rafael Fernández López 8cc6f7c0c7 Boost group selections and remove unnecessary stuff.
svn path=/trunk/KDE/kdebase/apps/; revision=680656
2007-06-26 20:33:21 +00:00
Rafael Fernández López a6132b67fd Improve behavior when changes are detected on the model.
svn path=/trunk/KDE/kdebase/apps/; revision=680643
2007-06-26 19:52:45 +00:00
Rafael Fernández López d1aa2eb180 Fancy dragged items. There are two bad parts of this story: the hardcoded value of
the opacity and the break-of-unification between QListView and KListView. This 
will be removed for sure, just for testing reasons.

CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=680555
2007-06-26 14:32:42 +00:00
Rafael Fernández López 964d7125b2 Faster selections
svn path=/trunk/KDE/kdebase/apps/; revision=680550
2007-06-26 14:23:44 +00:00
Rafael Fernández López 14a666ce8d Fix crash. Steps to reproduce:
* Open Dolphin. Enable categorization.
* Split the view. Disable categorization on the right one.
* Join the views.

I am not sure if this is the best way to proceed for this small bug. Please Peter, take a look.

CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=680499
2007-06-26 11:50:54 +00:00
Rafael Fernández López d57134a033 Let deselect items individually using Ctrl+Click
svn path=/trunk/KDE/kdebase/apps/; revision=680368
2007-06-26 00:31:30 +00:00
Rafael Fernández López 289d854969 Take offsets in count
svn path=/trunk/KDE/kdebase/apps/; revision=680285
2007-06-25 20:25:07 +00:00
Rafael Fernández López 0abbaf9e11 Draw dragged items. Better conditions (more accurate to our behavior, hey ! we have columnview too...)
CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=680283
2007-06-25 20:21:35 +00:00
Rafael Fernández López ad3beec4b2 Fix the small issue when you select by categories and then you
Ctrl+Click a subset, and those items selected were deselected

svn path=/trunk/KDE/kdebase/apps/; revision=679315
2007-06-23 15:47:20 +00:00
Rafael Fernández López 78195dd8fe Improve selection speed. I think we can still improve this a little bit, but I think we can live with this speed for now
svn path=/trunk/KDE/kdebase/apps/; revision=679308
2007-06-23 15:39:21 +00:00
Rafael Fernández López 66f4c8b3c8 Fix compile problems on systems that don't want nepomuk. eeek !
svn path=/trunk/KDE/kdebase/apps/; revision=679265
2007-06-23 13:12:21 +00:00
Rafael Fernández López 126c14b3ba Small fixes, but that have an impact of how things are visualized.
* Move "not tagged" elements to the end. We sort the rest (when they have tags), but keep untagged elements (the category) at the end of the view, since the user had
"less" interest on them.

* Break the law again of "dirs first". If we have on a folder only a tagged file (and is a file) and the rest are folders, that file goes first, since it was tagged.

* If we are on the same category, dirs go first. Here we make them citizens of first class.

* Commas instead of spaces when building categories for tags, they make it more readable and less error-prone (we can have tags "a", "dog" and "a dog" as tags, right?, 
so spaces here make the thing a bit hard to distinguish, I have two tags "a", "dog", or the tag "a dog") ;)

* Return an empty string when the item is not tagged at the method tagsForIndex. This way we always show untagged items the latest ones very easily (without nasty string 
checks). We will let the categorizer put a fancy name for them, if the returned string was empty.

CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=679097
2007-06-23 00:43:20 +00:00
Peter Penz 743590a944 Implement sorting by "tags". Same performance problems occur as when using sorting by "rating", but we must get a feeling first how we use the Nepomuk API before thinking about caching...
svn path=/trunk/KDE/kdebase/apps/; revision=678957
2007-06-22 16:42:34 +00:00
Rafael Fernández López b22d9b7b9c If we are sorting by rating, we won't apply the general rule: folders before regular files. The user said that was more interesting for him/her, so we respect his/her
decision. In this case folders and files are citizens of the same class.

CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=678894
2007-06-22 13:58:21 +00:00
André Wöbbeking 1304e17f34 also compile without nepomuk
svn path=/trunk/KDE/kdebase/apps/; revision=678876
2007-06-22 13:16:39 +00:00
Rafael Fernández López 3b0b987093 More human category when items haven't been rated yet
svn path=/trunk/KDE/kdebase/apps/; revision=678853
2007-06-22 12:16:44 +00:00
Peter Penz 4062c4cf2d Allow to sort by rating, which can be quite useful in combination with the "Show in Groups" feature. Although still slow, it basically works. All the code is based on Rafael Fernández López patch available at http://media.ereslibre.es/2007/06/dolphin-21062007.diff.
svn path=/trunk/KDE/kdebase/apps/; revision=678801
2007-06-22 10:18:46 +00:00
Max Blazejak aed0e93195 Enable the Code for additional metainfo again, doesn't hang on zip-files anymore
svn path=/trunk/KDE/kdebase/apps/; revision=678661
2007-06-21 22:27:16 +00:00
Rafael Fernández López 48ff18ebba Fix memory problem, thanks to Holger Freyther for pointing out
CCMAIL: zecke@selfish.org
CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=678434
2007-06-21 11:44:00 +00:00
Rafael Fernández López 689a80543f Fix the "I can't/don't want to" finish the drag event (what is called
drop :P), and the selection rect is shown.

CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=678293
2007-06-21 02:18:54 +00:00
Peter Penz c01979aff1 it's not needed anymore to remember the URL per column
svn path=/trunk/KDE/kdebase/apps/; revision=678184
2007-06-20 21:04:36 +00:00
Peter Penz 15f50df9f6 don't pass a custom viewport URL to the context menu anymore, as this cannot work together with the menu actions
svn path=/trunk/KDE/kdebase/apps/; revision=678175
2007-06-20 20:48:36 +00:00
Peter Penz cd780167c3 minor coding style cleanups
svn path=/trunk/KDE/kdebase/apps/; revision=678172
2007-06-20 20:44:18 +00:00
Peter Penz 78da52a9ad assure that the context menu for column view is applied to the correct URL (depends from the current column)
svn path=/trunk/KDE/kdebase/apps/; revision=678166
2007-06-20 20:21:48 +00:00
Peter Penz eadb9a0f45 don't forget applying the view properties when refreshing the view
svn path=/trunk/KDE/kdebase/apps/; revision=678067
2007-06-20 15:59:32 +00:00
Peter Penz 9f81672476 split view on startup if it is defined by the settings
svn path=/trunk/KDE/kdebase/apps/; revision=678063
2007-06-20 15:46:57 +00:00
Dirk Mueller 98719c18ba at least return something
svn path=/trunk/KDE/kdebase/apps/; revision=677932
2007-06-20 07:50:06 +00:00
Peter Penz 318bdfa27f * coding style update to match with http://techbase.kde.org/Policies/Kdelibs_Coding_Style
* minor speed improvements by moving QString, QVariant, KDateTime, ... declarations inside inner scopes; further speed improvements should be possible, but lets do it step by step...

svn path=/trunk/KDE/kdebase/apps/; revision=677719
2007-06-19 19:28:08 +00:00
Rafael Fernández López 7cd33328af EBN fixes
svn path=/trunk/KDE/kdebase/apps/; revision=677715
2007-06-19 19:17:32 +00:00
Peter Penz a0ed7ae53d A cleanup in KDiskFreeSpace has been done -> adjust signal/slot to the new (and nicer) method signature
svn path=/trunk/KDE/kdebase/apps/; revision=677710
2007-06-19 19:08:49 +00:00
Rafael Fernández López 051f0b975d Fix the problem "the scrollbar remains if it was shown on the
categorized view, and now it has been disabled (the categorized 
view)"

svn path=/trunk/KDE/kdebase/apps/; revision=677706
2007-06-19 18:59:13 +00:00
Peter Penz eaa0ff560b when requesting a context menu provide a URL for the viewport, because in the column view this URL can differ from the navigator URL
svn path=/trunk/KDE/kdebase/apps/; revision=677704
2007-06-19 18:58:30 +00:00
Rafael Fernández López f9f4dbf005 Fix the scrollbar issue. We can live with the setSingleStep nasty workaround for now. Anyway we can adapt it to fit better in the context.
CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=677702
2007-06-19 18:52:55 +00:00
Rafael Fernández López 41d6071059 Fix the problem of the crash related to commit 677667, taking in count we are in IconMode, not in a mode
different than ListMode. Fix some comments.

svn path=/trunk/KDE/kdebase/apps/; revision=677668
2007-06-19 17:26:09 +00:00
Peter Penz 85e0112c3d provide temporary (?) fix for a crash that occurs if the categorization is turned off and a switch is done from another view mode
CCMAIL: ereslibre@gmail.com

svn path=/trunk/KDE/kdebase/apps/; revision=677667
2007-06-19 17:23:14 +00:00
Rafael Fernández López 740b3b0ca4 Fix for not C99 compliant systems when trying to use trunc() function. I have defined this function on kdefakes library, so we have it KDE wide.
BUG: 146963

svn path=/trunk/KDE/kdebase/apps/; revision=677663
2007-06-19 17:09:27 +00:00
Peter Penz 2e6dc566dd don't use deprecated KGlobalSettings::xxxColor() methods anymore
svn path=/trunk/KDE/kdebase/apps/; revision=677660
2007-06-19 16:49:31 +00:00
Peter Penz 5926d0fddd * fixed issue that some view properties like "show in groups" are ignored when a new DolphinViewContainer has been created (happens on startup or when a view is split)
* get rid of redundant parameter in constructors of DolphinView and DolphinViewContainer

svn path=/trunk/KDE/kdebase/apps/; revision=677654
2007-06-19 16:35:52 +00:00
Peter Penz d79282c14c * move the "[ ] Show in Groups" checkbox from "View->Sort By" directly to "View"
* same for the viewproperties dialog: don't hide "Show in Groups" under "Sorting"

svn path=/trunk/KDE/kdebase/apps/; revision=677641
2007-06-19 16:00:21 +00:00
Rafael Fernández López 15d26d141e Update the view when the sorting role changes.
svn path=/trunk/KDE/kdebase/apps/; revision=677356
2007-06-19 00:24:37 +00:00
Rafael Fernández López b6aecc5b0f Simplify code. Oh, now that switch statement has been invented I can use it :)
svn path=/trunk/KDE/kdebase/apps/; revision=677336
2007-06-18 22:33:57 +00:00
Peter Penz 342749d9ac a little bit internationalization cannot hurt ;-) (thanks to Andrius Štikonas)
svn path=/trunk/KDE/kdebase/apps/; revision=677250
2007-06-18 19:06:27 +00:00
Rafael Fernández López 61583adb41 Dolphin has to react as Konqueror on KDE3. If we find files containing symbols, we wait for the first letter to categorize it. "((a.txt" goes on category "A", ")2.txt"
goes on category "Others".

svn path=/trunk/KDE/kdebase/apps/; revision=677225
2007-06-18 17:58:25 +00:00
Christian Ehrlicher e92bbbe27c SVN_SILENT: typo, small msvc warning--
svn path=/trunk/KDE/kdebase/apps/; revision=677179
2007-06-18 16:21:26 +00:00
Rafael Fernández López ec5c086bc8 Let Dolphin act as Konqueror on KDE3 does when sorting. Folders have more priority than hidden items. So now items are shown: 1. Hidden Folders 2. Visible Folders 3.
Hidden Files 4. Visible Files

CCMAIL: aseigo@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=677173
2007-06-18 16:11:11 +00:00
Rafael Fernández López 54f6ab585b Speed improvements in some places. All sortings and categories implemented.
svn path=/trunk/KDE/kdebase/apps/; revision=677156
2007-06-18 14:58:30 +00:00
Rafael Fernández López ab8abd14a4 Fix small problem when building categories and sorting by name. Better readable code.
svn path=/trunk/KDE/kdebase/apps/; revision=677087
2007-06-18 12:44:00 +00:00
Rafael Fernández López 41a8be4de4 Sort by date finished. Add speed improvement when comparing strings. enum adaptations.
CCMAIL: faure@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=677083
2007-06-18 12:36:54 +00:00
Rafael Fernández López 55a876af21 First show folders when sorting by type, then sort categories alphabetically. Yeah !
svn path=/trunk/KDE/kdebase/apps/; revision=677030
2007-06-18 10:39:02 +00:00
Rafael Fernández López 20aedc5329 Fix small problems with enums. Sort by type works like a charm :)
svn path=/trunk/KDE/kdebase/apps/; revision=677029
2007-06-18 10:33:28 +00:00
Rafael Fernández López b2117596b6 Avoid category building problems by removing the natural comparation
from here. Is not needed here. Is needed when sorting items inside 
categories.

svn path=/trunk/KDE/kdebase/apps/; revision=677022
2007-06-18 09:37:41 +00:00
Rafael Fernández López 4bf98b3386 Let Descending order work
svn path=/trunk/KDE/kdebase/apps/; revision=677018
2007-06-18 09:27:12 +00:00
Andreas Pakulat d098f9641a Port to new kde4_add_*test* macros
svn path=/trunk/KDE/kdebase/apps/; revision=676863
2007-06-17 21:14:54 +00:00
Christian Ehrlicher 462c8c65b9 fix signal foundMountPoint()
svn path=/trunk/KDE/kdebase/apps/; revision=676855
2007-06-17 21:12:39 +00:00
Rafael Fernández López 4d91d82f11 If our folders or files have the same number of items or size, sort them
CORRECTLY by their names :)

svn path=/trunk/KDE/kdebase/apps/; revision=676792
2007-06-17 18:23:53 +00:00
Peter Penz 7b6f191dc3 prevent deselection of current folder in inactive columns
svn path=/trunk/KDE/kdebase/apps/; revision=676787
2007-06-17 17:59:32 +00:00
Peter Penz df8f2e3646 internationalization fixes (patch submitted by Andrius Štikonas)
svn path=/trunk/KDE/kdebase/apps/; revision=676768
2007-06-17 16:56:37 +00:00
Peter Penz fc38ceacfb don't hardcode the spacing...
svn path=/trunk/KDE/kdebase/apps/; revision=676762
2007-06-17 16:42:04 +00:00
Rafael Fernández López 1d75a1c74a Ideal behavior when showing hidden files. Hooah !
svn path=/trunk/KDE/kdebase/apps/; revision=676752
2007-06-17 16:25:44 +00:00
Rafael Fernández López 11f0a8c503 New and powerful KListView. Still pending class renaming. There are two
methods that I need to think about it, and boost. Small issues like 
reloading all data when sorting role suddenly changes. In general terms 
it will work nice when you sort by name or size. We have to work further 
when we sort by other roles. Nice times.

svn path=/trunk/KDE/kdebase/apps/; revision=676732
2007-06-17 15:32:31 +00:00
Peter Penz 1c0341958d Improve the column view by indicating active/inactive columns visually.
svn path=/trunk/KDE/kdebase/apps/; revision=676721
2007-06-17 15:04:01 +00:00
Script Kiddy 732fc30bb5 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=676551
2007-06-17 05:52:33 +00:00
Laurent Montel 0a99a0aa78 Add missing encoding key
svn path=/trunk/KDE/kdebase/apps/; revision=676309
2007-06-16 16:11:29 +00:00
Laurent Montel a2ac0024bf Fix typo
svn path=/trunk/KDE/kdebase/apps/; revision=676307
2007-06-16 16:00:53 +00:00
Peter Penz c1aed6c033 use a transparent background to let the users eye focus on the folder content (e. g. like in http://www.kde-look.org/content/preview.php?preview=1&id=60475&file1=60475-1.jpg&file2=&file3=&name=Crystal+Project)
svn path=/trunk/KDE/kdebase/apps/; revision=676274
2007-06-16 13:55:48 +00:00
Pino Toscano 8096f7ccc0 - add the Encoding key where missing
- end the lists with the separator

svn path=/trunk/KDE/kdebase/apps/; revision=676260
2007-06-16 13:06:27 +00:00
Script Kiddy 6ba740ab34 SVN_SILENT made messages (.desktop file, second try)
svn path=/trunk/KDE/kdebase/apps/; revision=676131
2007-06-16 05:23:15 +00:00
Peter Penz 70d7b5a0cd Column view fixes:
* provide basic drag & drop (including hover information)
* respect font settings and icon size

(still very lot issues are open yet, but I'm in contact with Benjamin to assure that I don't go for a wrong approach)

svn path=/trunk/KDE/kdebase/apps/; revision=676032
2007-06-15 18:52:06 +00:00
Peter Penz cf60f28778 provide "hovering" for the items of a column view
svn path=/trunk/KDE/kdebase/apps/; revision=676005
2007-06-15 17:39:46 +00:00
Kevin Ottens 2b8e67d7f2 Make use of the error messages coming from the places model.
svn path=/trunk/KDE/kdebase/apps/; revision=675760
2007-06-15 00:52:25 +00:00
Peter Penz 65e8bdc4bc take care for const-correctness
svn path=/trunk/KDE/kdebase/apps/; revision=675680
2007-06-14 17:46:12 +00:00
Script Kiddy 934325affb SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=675673
2007-06-14 17:32:01 +00:00
Peter Penz 9966f3789c internationalization fix (thanks to Andrius Štikonas)
svn path=/trunk/KDE/kdebase/apps/; revision=675221
2007-06-13 20:41:06 +00:00
Laurent Montel 51007a5968 Remove not necessary 'class classname;'
svn path=/trunk/KDE/kdebase/apps/; revision=675129
2007-06-13 18:52:44 +00:00
Script Kiddy 4de686a9ad SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=675092
2007-06-13 17:57:01 +00:00
Peter Penz 2cb45d81a5 provide a common drawing method for the hover indication during drag & drop until issue/wish #160611 is solved in Qt4.4
svn path=/trunk/KDE/kdebase/apps/; revision=675042
2007-06-13 17:42:16 +00:00
Peter Penz 862ceee323 fixed some activation issues in combination with split views
svn path=/trunk/KDE/kdebase/apps/; revision=674980
2007-06-13 17:08:39 +00:00
Peter Penz 6f5f07d391 * allow to toggle the content of split views by the context menu
* minor cleanups in DolphinMainWindow

svn path=/trunk/KDE/kdebase/apps/; revision=674713
2007-06-12 21:45:22 +00:00
Peter Penz 329aa0c5f7 assure that when switching the view mode from a column view to another view, that the URL from the dir lister is used instead of the URL from the navigator (has been temporary deactivated because of the DolphinView/DolphinViewContainer split)
svn path=/trunk/KDE/kdebase/apps/; revision=674652
2007-06-12 19:26:34 +00:00
Peter Penz 0d3657cb06 use "dialog-close" icon for closing the filterbar
svn path=/trunk/KDE/kdebase/apps/; revision=674618
2007-06-12 17:48:39 +00:00
Peter Penz a731c5b43f fix for languages having more than one plural form (thanks to Andrius Štikonas for the patch)
svn path=/trunk/KDE/kdebase/apps/; revision=674576
2007-06-12 15:59:06 +00:00
Sebastian Trueg b2547cf9a4 Adapt Dolphin Nepomuk support to namespace changes.
svn path=/trunk/KDE/kdebase/apps/; revision=674158
2007-06-11 21:46:04 +00:00
Script Kiddy 53a66dee98 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=673683
2007-06-10 20:58:45 +00:00
Peter Penz 321c5cded3 don't reset the x-position to 0 in the Column View, if a new directory is loaded
svn path=/trunk/KDE/kdebase/apps/; revision=673500
2007-06-10 11:54:12 +00:00
Peter Penz 293e65797a Remember and restore position of viewport when reloading or going back in history (worked already before the DolphinView/DolphinViewContainer split). Minor open issue: the x-position of the Column View is reset to 0...
svn path=/trunk/KDE/kdebase/apps/; revision=673498
2007-06-10 11:46:41 +00:00
Peter Penz 3e66730d28 don't connect to slots which are not available anymore
svn path=/trunk/KDE/kdebase/apps/; revision=673397
2007-06-10 06:36:31 +00:00
Peter Penz 1e31a38af9 allow to drop items to the URL navigator again (this was accidentally disabled because of the DolphinView/DolphinViewContainer split)
svn path=/trunk/KDE/kdebase/apps/; revision=673254
2007-06-09 16:01:46 +00:00
Peter Penz 6dddb2e81c added signals errorMessage(const QString&) and infoMessage(const QString&) for the DolphinView
svn path=/trunk/KDE/kdebase/apps/; revision=672944
2007-06-08 14:14:34 +00:00
Peter Penz 3a053415f9 enable progress information in statusbar again (has been disabled temporary because of the DolphinView/DolphinViewContainer split)
svn path=/trunk/KDE/kdebase/apps/; revision=672937
2007-06-08 14:02:34 +00:00
Peter Penz dd70012499 enable hovering information in the status bar again (has been disabled temporary because of the DolphinView/DolphinViewContainer split)
svn path=/trunk/KDE/kdebase/apps/; revision=672931
2007-06-08 13:44:59 +00:00
Peter Penz 1fda73fca0 remove unused signal
svn path=/trunk/KDE/kdebase/apps/; revision=672703
2007-06-07 21:57:36 +00:00
Peter Penz ce4dd84c27 assure that the view actions are updated when the split view is activated
svn path=/trunk/KDE/kdebase/apps/; revision=672702
2007-06-07 21:41:22 +00:00
Peter Penz c6ab90e776 removed obsolete renaming code, which is not needed anymore due to the DolphinView/DolphinViewWidget split
svn path=/trunk/KDE/kdebase/apps/; revision=672696
2007-06-07 21:30:02 +00:00
Peter Penz be9746e87b First big step to make it possible that the DolphinView can be embedded as KPart into Konqueror (discussed with David Faure). A lot of refactoring of the DolphinView has been done:
- The DolphinView does not contain the URL navigator, the filterbar and the statusbar anymore. Those widgets have been moved to DolphinViewContainer.
- The DolphinView does not contain any reference to the main window anymore.

Currently there are some minor regressions (the statusbar shows less informations, renaming has been deactivated), but they will get fixed during the next days. Also still a lot of interface cleanups must be done, but let's just do it step by step...

svn path=/trunk/KDE/kdebase/apps/; revision=672692
2007-06-07 21:10:48 +00:00
Peter Penz 5de9950182 start to simplify the DolphinController as preparation for the kparts DolphinViewWidget (as discussed with David)
svn path=/trunk/KDE/kdebase/apps/; revision=672357
2007-06-06 20:32:03 +00:00
Peter Penz db7d239632 don't show a drop indicator if another column than the 'Name' column is hovered
svn path=/trunk/KDE/kdebase/apps/; revision=672310
2007-06-06 18:08:30 +00:00
Peter Penz e1cb019f78 Instead of darkening the background color of an inactive view, just use a transparent background. Makes no big difference for styles like Plastique, but looks better for Oxygen.
svn path=/trunk/KDE/kdebase/apps/; revision=672302
2007-06-06 17:38:22 +00:00
Peter Penz 8d06f40d82 assure that all statusbar elements use a transparent background to look nice with Oxygens gradiented background
svn path=/trunk/KDE/kdebase/apps/; revision=672293
2007-06-06 16:59:21 +00:00
Script Kiddy 2e9e908af6 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=672108
2007-06-06 04:42:35 +00:00
Dirk Mueller 681d5c2d43 cleanup
svn path=/trunk/KDE/kdebase/apps/; revision=671813
2007-06-05 15:04:56 +00:00
Max Blazejak 136fd2ec49 Removed some unnecessary includes
svn path=/trunk/KDE/kdebase/apps/; revision=671563
2007-06-05 00:57:14 +00:00
Matthew Woehlke a91482a1d2 Cleanups from KGraphicsUtils->KColorUtils (r671350)
svn path=/trunk/KDE/kdebase/apps/; revision=671357
2007-06-04 15:15:40 +00:00
Laurent Montel 4c30102662 Remove not necessary "class classname;"
svn path=/trunk/KDE/kdebase/apps/; revision=671233
2007-06-04 08:24:29 +00:00
Peter Penz e4dddba6b6 Don't use a toggle action for "Split/Join" if the text and icon is changed dynamically.
svn path=/trunk/KDE/kdebase/apps/; revision=671043
2007-06-03 15:50:52 +00:00
Peter Penz be17fe5a35 David Vignoni recommended to exchange the icon for "Preview"... Fixed now :-)
svn path=/trunk/KDE/kdebase/apps/; revision=671034
2007-06-03 15:19:52 +00:00
Peter Penz 1698824748 make the Viewproperties dialog less cluttered and smaller
svn path=/trunk/KDE/kdebase/apps/; revision=671030
2007-06-03 15:09:43 +00:00
Peter Penz 19dadee2cf also toggle the text between "Split" and "Join" for the split action
svn path=/trunk/KDE/kdebase/apps/; revision=671018
2007-06-03 14:07:45 +00:00
Peter Penz 2d8209f072 update to David's suggestion for split view (http://davigno.oxygen-icons.org/?p=43)
svn path=/trunk/KDE/kdebase/apps/; revision=671011
2007-06-03 13:56:06 +00:00
Peter Penz 144c3d0f7c use "fileview-icon" instead of "view-icon" (thanks to David Vignoni for the update!)
svn path=/trunk/KDE/kdebase/apps/; revision=671004
2007-06-03 13:31:16 +00:00
Script Kiddy c4efe6d774 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=670948
2007-06-03 05:19:23 +00:00
Peter Penz ea54858463 don't forget to clear the hover information when a drag leave event occurs
svn path=/trunk/KDE/kdebase/apps/; revision=670856
2007-06-02 17:42:43 +00:00
Peter Penz c5a871a6a2 Provide a hover information when dragging items above other items. TODO: this code can be removed again when issue #160611 is solved in Qt 4.4.
svn path=/trunk/KDE/kdebase/apps/; revision=670851
2007-06-02 17:35:00 +00:00
Peter Penz e78615f172 Provide a hover information when dragging items above other items. TODO: this code can be removed again when issue #160611 is solved in Qt 4.4.
svn path=/trunk/KDE/kdebase/apps/; revision=670848
2007-06-02 17:28:59 +00:00
Peter Penz f7a5c62746 Fix issue that selection is not cleared when clicking on another column than the 'Name' column (occurs in combination with the Details View).
svn path=/trunk/KDE/kdebase/apps/; revision=670796
2007-06-02 15:40:38 +00:00
Peter Penz 10f131fff8 Assure that the selection is cleared if a click on the viewport is done.
svn path=/trunk/KDE/kdebase/apps/; revision=670761
2007-06-02 15:04:44 +00:00
Peter Penz eda07dc986 * Fix triggering an assertion when the elastic band is already hidden.
* Assure that the selection gets cleared if a click on the viewport is done.

svn path=/trunk/KDE/kdebase/apps/; revision=670759
2007-06-02 15:03:03 +00:00
Robert Knight d20078be2e Slightly clearer checkbox names.
svn path=/trunk/KDE/kdebase/apps/; revision=670495
2007-06-01 18:43:04 +00:00
Peter Penz f8944288f4 pass alpha value in ctor
svn path=/trunk/KDE/kdebase/apps/; revision=670248
2007-05-31 20:58:39 +00:00
Peter Penz f577c2a222 reimplemented rubberband handling in Details View without using the (quite slow) QRubberBand widget
svn path=/trunk/KDE/kdebase/apps/; revision=670234
2007-05-31 20:08:06 +00:00
Peter Penz 8d0e873f67 Provide a rubberband for the Details View when selecting items. This assures a consistent behavior with the Icons View and the selection style of other file managers (in opposite to QListView it is not possible in QTreeView to show a rubberband automatically within Qt 4.3 :-().
svn path=/trunk/KDE/kdebase/apps/; revision=670181
2007-05-31 16:14:47 +00:00
Script Kiddy 83cda27db7 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=669344
2007-05-29 05:15:16 +00:00
Sebastian Trueg cd2d8cab43 * Adapt KMetaData changes.
* Dolphin now handles multiple file selections properly in case of metadata.

svn path=/trunk/KDE/kdebase/apps/; revision=668954
2007-05-28 07:55:07 +00:00
Peter Penz ee667484ca use KGraphicsUtils::blendColor() instead of custom mixColors() method
svn path=/trunk/KDE/kdebase/apps/; revision=668924
2007-05-28 05:38:13 +00:00
Peter Penz da795d20e2 create modal dialogs on stack as David suggested
svn path=/trunk/KDE/kdebase/apps/; revision=668900
2007-05-28 04:32:57 +00:00
Script Kiddy b93168a6d8 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=668646
2007-05-27 05:03:47 +00:00
Peter Penz 9801eddcdc reanimate properties dialog (thanks to Laurent Montel for fixing it in the tree view!)
svn path=/trunk/KDE/kdebase/apps/; revision=668453
2007-05-26 13:33:36 +00:00
Laurent Montel 3ac27c04e7 display properties dialogbox
svn path=/trunk/KDE/kdebase/apps/; revision=668442
2007-05-26 12:58:12 +00:00
Laurent Montel 5de115bcc5 Fix signal/slot
svn path=/trunk/KDE/kdebase/apps/; revision=668440
2007-05-26 12:54:36 +00:00
Peter Penz 2f0b7cc810 allow to reset all settings to default values
svn path=/trunk/KDE/kdebase/apps/; revision=668398
2007-05-26 09:16:56 +00:00
Peter Penz 1693cc730d remember the size of dialogs
svn path=/trunk/KDE/kdebase/apps/; revision=668385
2007-05-26 07:51:43 +00:00
André Wöbbeking ca03456bab also compile without HAVE_KMETADATA
svn path=/trunk/KDE/kdebase/apps/; revision=666761
2007-05-20 20:52:40 +00:00
Peter Penz cc63d8eec1 EBN fixes (thanks to Max Blazejak!)
svn path=/trunk/KDE/kdebase/apps/; revision=666387
2007-05-19 18:04:31 +00:00
Peter Penz b6bc5aba8d - rename m_name to m_nameLabel for consistency
- prevent that the m_nameLabel increases the size of the infosidebar if the text cannot get wrapped

svn path=/trunk/KDE/kdebase/apps/; revision=666383
2007-05-19 17:53:12 +00:00
Peter Penz b4c2bc9e06 internal cleanup; additional meta information can be shown now, although this code path is deactivated currently because the system hangs when retreiving the meta information of a zip-file
svn path=/trunk/KDE/kdebase/apps/; revision=666379
2007-05-19 17:23:35 +00:00
Peter Penz a97895441c minor coding guideline fixes
svn path=/trunk/KDE/kdebase/apps/; revision=666375
2007-05-19 17:22:20 +00:00
Peter Penz 572a5722b0 performance optimization: don't retrieve the meta information immediately when changing the item selection, wait 300 ms until no selection change has been done
svn path=/trunk/KDE/kdebase/apps/; revision=666342
2007-05-19 14:42:11 +00:00
Peter Penz 50a7b6fd45 include cleanup
svn path=/trunk/KDE/kdebase/apps/; revision=666303
2007-05-19 12:25:31 +00:00
David Faure 3aa47b789b Make the test link (moving renamedialog to libdolphinprivate since we'll need that feature in the part anyway)
svn path=/trunk/KDE/kdebase/apps/; revision=666229
2007-05-19 08:03:39 +00:00
Peter Penz 5c1e93481a EBN fixes + minor coding guideline fixes (thanks to Max Blazejak!).
svn path=/trunk/KDE/kdebase/apps/; revision=666164
2007-05-18 23:51:03 +00:00
Peter Penz dbb240ff7c although not required at the moment, this alignment makes sense with the improved KFileItemDelegate implementation from Fredrik (hope Fredrik commits on Monday :-))
svn path=/trunk/KDE/kdebase/apps/; revision=666163
2007-05-18 23:42:17 +00:00
Peter Penz 15b965af3a David Faure wrote:
> Sounds like the kind of method that would benefit greatly from a unit test :)

OK, committing my first unit test for KDE. Although very minimal it's at least a start ;-) (currently deactivated as I've some problem in CMakeList.txt)

svn path=/trunk/KDE/kdebase/apps/; revision=666162
2007-05-18 23:36:58 +00:00
Peter Penz 16e809f9fa grmpf - forgot to remove the kDebug() statement in my previous commit...
svn path=/trunk/KDE/kdebase/apps/; revision=666125
2007-05-18 20:57:35 +00:00
Peter Penz d8d894d4d8 When renaming items in Dolphin, only the name should be selected, not the extensions like ".gif", ".txt" etc. The inconvenient part is if the item name is something like "cmake-2.4.5", where the version number does not count as extension (-> the whole string should be selected in this case).
This patch should fix the problem...

Examples (name -> selected string):
"Image.gif" -> "Image"
"package.tar.gz" -> "package"
"cmake-2.4.5" -> "cmake-2.4.5"
"Image.1.12.gif" -> "Image.1.12"
"Image.tar.1.12.gz" -> "Image"

svn path=/trunk/KDE/kdebase/apps/; revision=666118
2007-05-18 20:52:48 +00:00
Peter Penz c66891ce79 Allow to configure whether an asking for confirmation should be done for the 'Move To Trash' and 'Delete' actions. This setting is used by konq_operations.cc and shared with Konqueror.
svn path=/trunk/KDE/kdebase/apps/; revision=666103
2007-05-18 19:39:08 +00:00
Peter Penz ec4c6d07ad - assure that when hovering the viewport that an empty request for item information is send
- remove unused method

svn path=/trunk/KDE/kdebase/apps/; revision=665973
2007-05-18 13:06:41 +00:00
Peter Penz 5e7bae10b0 - allow to configure that the filter bar should be shown after starting Dolphin (is off per default)
- some minor naming cleanups

BUG: 145168

svn path=/trunk/KDE/kdebase/apps/; revision=665964
2007-05-18 12:44:52 +00:00