Commit graph

643 commits

Author SHA1 Message Date
Peter Penz 3ad3dd5afb Fix default sort-role
The default sort-role property internally has been renamed from
"name" to "text" to be open for more generic usecases like in
the KStandardItemModel.
2012-05-16 23:27:36 +02:00
Script Kiddy b983b7d2da SVN_SILENT made messages (.desktop file) 2012-05-10 09:43:29 +02:00
Peter Penz d9de391720 Provide additional default groups for the Places Panel
If Nepomuk is enabled, it is now possible to easily search for
some most common queries by having additional groups.
2012-04-24 23:18:34 +02:00
Script Kiddy ba2593247b SVN_SILENT made messages (.desktop file) 2012-04-24 16:54:04 +02:00
Peter Penz ae4d11d918 Prepare view-engine for non-KFileItem usecase
Up to now the view-engine only provided a model-implementation that
supports file-items. The view-engine always had been designed to be able
to work with any kind of model, so now a KStandardItemModel is available.
The plan is to convert the places panel to the new view-engine. It should
be no problem to fix this until the feature freeze - in the worst case
the places-panel code could be reverted while still keeping the
KStandardItemModel changes.
2012-04-21 21:32:42 +02:00
Script Kiddy eb1b53103d SVN_SILENT made messages (.desktop file) 2012-04-17 16:06:32 +02:00
Peter Penz d8b832ec6a General settings: Use radiobuttons instead of a combo-box
Revert the change to use a combo-box, it results to clipped texts
with some languages.
2012-04-15 20:59:37 +02:00
Peter Penz 60b8681081 Allow to optionally limit the maximum number of text lines
Showing the whole filename unclipped seems to be a good default,
however for users with a lot of files that have extremely long names
this might get a problem especially in the icons-view.

- Allow to limit the maximum number of lines in the icons-view
- Allow to specify a maximum width in the compact-view

(No limit is required for the details-view, as the name is shortened
automatically to show other columns)

BUG: 288596
FIXED-IN: 4.9.0
2012-04-14 00:28:24 +02:00
Stephen Kelly b8c3d933e6 Add some missing includes.
These are needed in Qt5/KF5.
2012-04-10 00:20:22 +02:00
Peter Penz e0ac8b61fb Layout improvements for settings
- Handle 'Context Menu' settings as part of the services
- Handle 'Version Control' settings as part of the services
- Move the confirmations-settings into own tab
- Use combobox for view-property settings
- A lot of minor spacing cleanups
2012-04-08 23:18:20 +02:00
Peter Penz 05082aed16 Ignore maximum size for local files when creating previews
It is up to the plugins to decide what sensible size is required for
creating a preview, this cannot be decided by the user for all
plugins. A maximum size only makes sense for remote files, where
the user implicitely decides how much of the bandwith may be used
for having previews.

BUG: 273226
FIXED-IN: 4.9.0
2012-04-08 16:12:06 +02:00
Peter Penz dc555b8e56 Allow to specify whether an upscaling of images should be done
The option is currently hidden as up to now only Nuno requested it,
but it seems to be urgent: "my icon making productivity has drop subtantialy"
((c) 2012 Nuno)

As I don't want to get blamed for an outdated Oxygen-icon-set I have
no other choice ;-)

CCMAIL: nuno.pinheiro@kdab.com
2012-04-06 23:12:07 +02:00
Peter Penz a4ede4e0eb Allow showing Nepomuk metadata inside views
Metadata like image-size, rating, comments, tags, ... can be shown
now in the view (e.g. as column in the Details mode).

Still open: The rating-information needs to be shown as stars.

In the context of this feature also the following bugs have been
fixed:
- Fix visual glitches in the header of the Details mode
- Improve the minimum column width calculation to respect also
  the headling and not only the content

BUG: 296782
FIXED-IN: 4.9.0
2012-04-01 16:46:54 +02:00
Peter Penz 3f88f79f86 Details view: Optionally remember user changed column-widths
If the user changed a column-width in the details-view, up to now
the width got reset when changing a directory or when restarting
Dolphin. Now the column-widths automatically get remembered for each
directory in case if the user has modified the width. The automatic
resizing is still turn on per default. The storing of the custom
column-width can easily be reset by right clicking on the header and
selecting "Automatic Column Widths" from the context-menu.

Some finetuning is still necessary (e.g. the "Adjust View Properties"
dialog currently is not aware about this setting) but this will
be fixed during the next weeks.

BUG: 264434
FIXED-IN: 4.9.0
2012-03-23 22:31:55 +01:00
Script Kiddy 0303f6b27f SVN_SILENT made messages (.desktop file) 2012-03-19 09:50:32 +01:00
Peter Penz f041099904 Remove RolesInfoAccessor
Now KFileItemModel provides a way to access the available roles
including their translations. Note that the 3 roles "comments",
"rating" and "tags" have not been implemented yet in KFileItemModel
and turning them on does not work currently.
2012-03-13 16:29:45 +01:00
Peter Penz 6c60bf0ad5 Provide backward compatibility with older .directory versions
When upgrading to Dolphin 2.1 the obsolete additionalInfo-property
must be converted to the visibleRoles-property.
2012-03-12 15:19:20 +01:00
Peter Penz 2ba5c2cfc2 First step to introduce dynamic roles
Currently Dolphin is only capable of showing a fixed number of
roles (e.g. name, size, date, owner, ...). Dolphin 2.1 should
support also other roles like rating, tags, comments or other
meta-information of images or audio-files.

To support this the sorting-type and additional-type from
DolphinView has been replaced by a role-type represented as
QByteArray.
2012-03-11 19:05:56 +01:00
Peter Penz 9035ae212d Provide UI-option for "Expandable folders"
CCBUG: 289090
2012-03-09 16:24:20 +01:00
Peter Penz 475f8b1261 Details view: Allow to turn off expandable folders like in Dolphin 1.7
The option for turning off expandable folders has been removed with
the new view-engine. Due to several requests this option has been
readded again.

As for 4.8.x no new user-interface strings may be introduced, the
line
  ExpandableFolders=false
must be manually added below the section "[DetailsMode]" in the file
~/.kde/share/config/dolphinrc if the expandable-folders feature
should be disabled.

Thanks to H.H. "cyberbeat" for the initial patch!

BUG: 289090
FIXED-IN: 4.8.2
2012-03-09 16:19:19 +01:00
Script Kiddy 4620d8995e SVN_SILENT made messages (.desktop file) 2012-02-24 09:43:06 +01:00
Peter Penz 21a5a890b3 Whitespace cleanups and documentation fixes 2012-02-23 17:28:03 +01:00
Dawit Alemayehu a89bc63f6c Fixed signal to signal connection in Dolphin's view modes.
REVIEW: 104033
(cherry picked from commit b484b87376)
2012-02-20 18:07:20 -05:00
Script Kiddy 1a4ca3edb1 SVN_SILENT made messages (.desktop file) 2012-02-16 10:49:16 +01:00
Script Kiddy da76a0722c SVN_SILENT made messages (.desktop file) 2012-01-31 16:19:58 +01:00
Peter Penz e283a9f7d9 Synchronize view-mode settings before the settings dialog gets opened
BUG: 292698
FIXED-IN: 4.8.1
2012-01-30 16:38:24 +01:00
Script Kiddy d23475a726 SVN_SILENT made messages (.desktop file) 2012-01-29 11:35:27 +01:00
Peter Penz b8edfd993b --warning 2012-01-28 10:47:56 +01:00
Peter Penz 9592ffcf9d Use the same icon size for the compact-view like the details-view per default 2012-01-10 17:07:42 +01:00
Script Kiddy 662c0e1919 SVN_SILENT made messages (.desktop file) 2012-01-09 08:30:24 +01:00
Script Kiddy 961fdf1a1c SVN_SILENT made messages (.desktop file) 2012-01-06 08:38:18 +01:00
Script Kiddy ec0d89f3ef SVN_SILENT made messages (.desktop file) 2012-01-03 16:51:07 +01:00
Script Kiddy 8129069dc8 SVN_SILENT made messages (.desktop file) 2011-12-23 10:33:39 +01:00
Script Kiddy 42c07bebde SVN_SILENT made messages (.desktop file) 2011-12-22 11:37:00 +01:00
Script Kiddy 050e094e6b SVN_SILENT made messages (.desktop file) 2011-12-21 09:54:51 +01:00
Script Kiddy 8012fe7da2 SVN_SILENT made messages (.desktop file) 2011-12-20 16:23:36 +01:00
Script Kiddy 404d54fc4a SVN_SILENT made messages (.desktop file) 2011-12-19 15:32:33 +01:00
Script Kiddy 36a97150df SVN_SILENT made messages (.desktop file) 2011-12-18 09:51:34 +01:00
Script Kiddy e983cbeae5 SVN_SILENT made messages (.desktop file) 2011-12-17 09:44:01 +01:00
Script Kiddy 9a11094790 SVN_SILENT made messages (.desktop file) 2011-12-15 09:09:04 +01:00
Script Kiddy 0fe72f9b8d SVN_SILENT made messages (.desktop file) 2011-12-13 15:50:11 +01:00
Script Kiddy c02daeba1c SVN_SILENT made messages (.desktop file) 2011-12-11 08:36:39 +01:00
Peter Penz a237e085fc Fix font settings issue
The font settings have been ignored currently because of the transition to the new view-engine.

The patch is based on the work of Janardhan Reddy and has been extended by the helper class ViewModeSettings.

BUG: 288395
FIXED-IN: 4.8.0
2011-12-08 23:10:42 +01:00
Script Kiddy d5bfe1863c SVN_SILENT made messages (.desktop file) 2011-12-08 09:02:45 +01:00
Script Kiddy 539b88cc5f SVN_SILENT made messages (.desktop file) 2011-12-07 09:21:22 +01:00
Script Kiddy 4cd8ebff82 SVN_SILENT made messages (.desktop file) 2011-11-29 16:47:26 +01:00
Peter Penz b6fb59fc7e Remove "Rename inline" option
The new view-engine currently does not support inline-renaming
and because of more important pending issues this cannot be
implemented for the 4.8 release of KDE applications.

The plan for 4.9 is to implement inline-renaming again and
to make it "so good" (tm) that it is always turned on (-> there is
no need anymore for an option to disable it ;-)

CCBUG: 286893
2011-11-19 07:12:06 +01:00
Peter Penz e7390eba86 Show compact-mode icon also in Konqueror
Additionally a broken signal-connection has been fixed.
2011-11-06 12:14:07 +01:00
Peter Penz 3c77ffe832 Delete obsolete class DolphinSettings 2011-11-06 11:59:26 +01:00
Peter Penz 4fcb5662a7 Fix issues with applying wrong view-mode
- The view properties dialog mixed the details-view with
  the compact-view (#285848).

- The view properties have been reset when applying a
  setting from the "Dolphin Preferences" dialog. The rootcause
  was that the obsolete DolphinSettings class implemented
  the saving in a wrong way because of the recent refactoring
  (will remove this class completely now to prevent such
  issues in future).

BUG: 285848
FIXED-IN: 4.8.0
2011-11-06 09:56:14 +01:00
Peter Penz 283f97ac27 Interface cleanups to prepare the return of "grouped sorting"
- Rename setCategorizedSorting() to setGroupedSorting()
- Change the model interface to allow enabling/disabling grouping
  without the need to declare a role (the sort role will be taken).
- Add dummy group role implementation in KFileItemModel

The grouping code itself requires some cleanups and might crash
at the moment or lead to weird layouts.
2011-10-15 22:55:01 +02:00
Andrius Štikonas 077ec63f58 Fix a spelling mistake in Dolphin. 2011-09-25 14:46:38 +03:00
Script Kiddy 6a0b15cbaa SVN_SILENT made messages (.desktop file) 2011-09-12 09:37:32 +02:00
Script Kiddy 4ed6c9f842 SVN_SILENT made messages (.desktop file) 2011-09-09 09:18:36 +02:00
Script Kiddy f8f78f223c SVN_SILENT made messages (.desktop file) 2011-09-08 09:00:21 +02:00
Peter Penz 8266e456a1 Simplified code for the viewmode settings 2011-09-02 19:49:49 +02:00
Peter Penz e57bef0261 Remove "FirstRun" property
The property got obsoleted by the "Version" property.
2011-08-14 15:31:58 +02:00
Peter Penz c173de4c9b Don't limit the preview size to 2 GByte
Reviewed at: https://git.reviewboard.kde.org/r/102319/#review5683
Thanks to Jussi Judin for the patch!

CCMAIL: jjudin+kde@iki.fi
2011-08-14 15:14:05 +02:00
Peter Penz d11de1855f Don't enable the search panel per default
Assure that the search panel also stays disabled when updating
from an older Dolphin version.

BUG: 279348
FIXED-IN: 4.7.1
2011-08-13 12:45:14 +02:00
Peter Penz 3957884bf2 Improvements for selections, smooth scrolling, tooltips and info-panel 2011-08-09 16:22:36 +02:00
Script Kiddy 4692eb7c96 SVN_SILENT made messages (.desktop file) 2011-08-08 08:18:53 +02:00
Montel Laurent 08d655c2bc normalize signals/slots 2011-07-31 13:33:56 +02:00
Peter Penz f23e9496f3 Merged very early alpha-version of Dolphin 2.0
Dolphin 2.0 will get a new view-engine with the
following improvements:
- Better performance
- Animated transitions
- No clipped filenames due to dynamic item-sizes
- Grouping support for all view-modes
- Non-rectangular selection areas
- Simplified code for better maintenance

More details will be provided in a blog-entry during
the next days.

Please note that the code is in a very
early alpha-stage and although the most tricky parts
have been implemented already very basic things like
drag and drop or selections have not been pushed yet.
Those things are rather trivial to implement but this
still will take some time.
2011-07-30 20:13:41 +02:00
Script Kiddy 051759e823 SVN_SILENT made messages (.desktop file) 2011-07-12 10:35:32 +02:00
Script Kiddy a44e982f78 SVN_SILENT made messages (.desktop file) 2011-07-11 10:55:04 +02:00
Frank Reininghaus f19ad8ee41 PreviewSettingsPage: update JPG preview plugin settings if needed
In KDE <= 4.6, the 'jpegrotatedthumbnail' plugin was used to provide
thumbnails for JPG images which are rotated correctly. In KDE 4.7, this
is done by the usual 'jpegthumbnail' plugin if it is configured
accordingly. The update of the settings is done in KFilePreviewGenerator.
However, if Konqueror is run in web browsing mode and the settings dialog
is opened, KFilePreviewGenerator does not have a chance to do the update.
To make sure that the correct plugins are shown in the settings, this
commit adds a plugin update to PreviewSettingsPage.

The old code that just removed the 'jpegrotatedthumbnail' plugin without
enabling the 'jpegthumbnail' plugin is removed.

CCBUG:277251
(cherry picked from commit 626fb3cf58)
2011-07-10 15:43:55 +02:00
Script Kiddy e0a318a95c SVN_SILENT made messages (.desktop file) 2011-06-21 11:00:18 +02:00
Script Kiddy e0c967a8f0 SVN_SILENT made messages (.desktop file) 2011-05-29 10:08:26 +02:00
Montel Laurent de3e167cf9 It compiles fine with "-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS" 2011-05-22 13:04:33 +02:00
Script Kiddy 6f802671ff SVN_SILENT made messages (.desktop file) 2011-05-17 10:47:38 +02:00
Script Kiddy 3b82962f49 SVN_SILENT made messages (.desktop file) 2011-05-11 09:15:34 +02:00
Script Kiddy 982987f465 SVN_SILENT made messages (.desktop file) 2011-05-09 09:30:57 +02:00
Peter Penz d4be11f205 Assure that the startup-settings are applied immediately 2011-04-15 20:53:13 +02:00
Peter Penz de077f8477 Let each DolphinMainWindow run in a custom process
A possible crash in one Dolphin window should not result in crashing
other Dolphin windows. Beside this it also prevents issues with
modal dialogs or notifications.

BUG: 269950
BUG: 206053
BUG: 196034
FIXED-IN: 4.7.0
2011-04-12 20:08:08 +02:00
Script Kiddy 8d3b221690 SVN_SILENT made messages (.desktop file) 2011-03-04 08:40:53 +01:00
Jonathan Schmidt-Dominé 860011c4c5 Better servicemenu(de)installation 2011-03-02 19:39:45 +01:00
Peter Penz 1b2b63eb3a Allow to configure thumbnail-plugins
Adjust the preview-settings to allow users to configure thumbnail-plugins. For consistency also the service-settings have been adjusted to use the ServiceModel and ServiceItemDelegate.
2011-02-27 20:38:35 +01:00
Christoph Thielecke 12324da326 revert ed4f9d3e11 2011-02-10 10:59:35 +01:00
Christoph Thielecke ee0f3435b2 compile fix: includes does only exist with old names, please fix kde headers too 2011-02-10 08:58:24 +01:00
Peter Penz d3496b1231 Coding style update for pointer comparison
Most developers seem to prefer
  if (ptr) ...
  if (!ptr) ...
in comparison to
  if (ptr != 0) ...
  if (ptr == 0) ...

Adjusted the Dolphin-code to use the "most-prefered style" to make contributors happy.
2011-02-09 19:24:27 +01:00
Peter Penz ceba0f6f6a Use capitalized includes of recently committed kdelibs headers 2011-02-09 18:42:04 +01:00
Peter Penz fd74aa8e20 Update e-mail address from peter.penz@gmx.at to peter.penz19@gmail.com 2011-02-04 15:57:33 +01:00
Peter Penz 956ebf7115 Don't use the submodule-path for Qt-includes on application-level
Also some KDE-includes have been capitalized
2011-02-04 15:49:45 +01:00
Peter Penz 8eb9b508ca Use capitalized KDE includes 2011-02-04 15:43:21 +01:00
Peter Penz 687f40b545 Fix 3 issues reported by "krazy" 2011-02-03 16:51:08 +01:00
Script Kiddy d0ff8aea0b SVN_SILENT made messages (.desktop file) 2011-02-03 07:24:26 +01:00
Script Kiddy 0981134987 SVN_SILENT made messages (.desktop file) 2011-02-02 08:24:54 +01:00
Peter Penz 51a4c273a0 SVN_SILENT: Coding style updates
svn path=/trunk/KDE/kdebase/apps/; revision=1216293
2011-01-22 14:08:11 +00:00
Peter Penz ce27e1a48d Move the FileMetaDataConfigurationDialog from "settings" to "panels/information", as it is not used anymore for the tooltips and only in the information panel.
svn path=/trunk/KDE/kdebase/apps/; revision=1214480
2011-01-14 19:55:55 +00:00
Script Kiddy 80d8222edb SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=1213663
2011-01-11 09:07:40 +00:00
Peter Penz 9481509325 Lock panels per default and allow to unlock them like in Amarok.
BUG: 229811
FIXED-IN: 4.7.0

svn path=/trunk/KDE/kdebase/apps/; revision=1210424
2010-12-31 10:59:46 +00:00
Peter Penz 366db15682 Remove the dynamic "Configure Tooltips..." button. The tooltip configuration is context specific anyhow and can be done inside the properties dialog.
svn path=/trunk/KDE/kdebase/apps/; revision=1207031
2010-12-16 16:44:15 +00:00
Script Kiddy 8255466548 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=1202489
2010-12-01 06:10:29 +00:00
Script Kiddy 81fdb546b7 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=1198064
2010-11-17 09:42:13 +00:00
Peter Penz 36f224757a Don't try to apply the services-settings, if they have not even been shown. This fixes the issue that the version-control settings get reset when changing another setting.
svn path=/trunk/KDE/kdebase/apps/; revision=1195364
2010-11-10 22:27:06 +00:00
Peter Penz 85302c93da Per default automatically rotate JPEG images corresponding to their EXIF data.
svn path=/trunk/KDE/kdebase/apps/; revision=1195356
2010-11-10 22:07:37 +00:00
Peter Penz 22b050a1d0 Take care to not reset the preview-settings if they have not been changed.
CCBUG: 252254


svn path=/trunk/KDE/kdebase/apps/; revision=1193355
2010-11-05 17:46:40 +00:00
Peter Penz e3bd93fe73 Take care to listen for changes of the settings-widgets after loadSettings() is invoked, otherwise it is possible that a change is accidently indicated.
svn path=/trunk/KDE/kdebase/apps/; revision=1193350
2010-11-05 17:32:46 +00:00
Peter Penz da1adf7ba4 If the user has changed the startup settings, they should also get applied to the current views.
BUG: 254947
FIXED-IN: 4.6.0

svn path=/trunk/KDE/kdebase/apps/; revision=1193344
2010-11-05 17:02:58 +00:00
Peter Penz 7b8b1acf14 Use a ':' as end of the label instead of a '.', even if the label is top-aligned.
svn path=/trunk/KDE/kdebase/apps/; revision=1192621
2010-11-03 15:06:40 +00:00
Script Kiddy 3cfbcbcf7e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=1191511
2010-10-31 09:11:11 +00:00
Script Kiddy d9e1d5176e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=1189884
2010-10-26 09:57:26 +00:00
Peter Penz edd98d7659 - Add support for file item actions (see http://reviewboard.kde.org/r/5659/)
- Internal cleanups of DolphinContextMenu code


svn path=/trunk/KDE/kdebase/apps/; revision=1189651
2010-10-25 13:45:34 +00:00
Peter Penz 1e8e05e81f It was a bad idea to store the enabled additional-information as bit-values: With the current setup only up to 8 additional informations are possible. This restriction is bypassed now:
- Backward compatibility for old .directorry files is provided
- A version-information has been added for possible future changes
- As "side-effect" it also allows to have a details-view with only one column (#238140)

BUG: 238140
FIXED-IN: 4.6.0

svn path=/trunk/KDE/kdebase/apps/; revision=1177944
2010-09-21 19:03:04 +00:00
Script Kiddy 45d7ec30c4 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=1175951
2010-09-16 08:30:33 +00:00
Script Kiddy 9fee42dfe6 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=1163863
2010-08-15 07:18:41 +00:00
Peter Penz 050992c564 krazy fixes: use proper include guard
svn path=/trunk/KDE/kdebase/apps/; revision=1160313
2010-08-07 18:24:12 +00:00
Peter Penz e85afe1097 krazy fixes: let all .kcfg files be conform to KConfigXT schema
svn path=/trunk/KDE/kdebase/apps/; revision=1160311
2010-08-07 18:19:31 +00:00
Peter Penz a5cf21ff06 Sourcecode hierarchy cleanup: Move further files from src to src/views
svn path=/trunk/KDE/kdebase/apps/; revision=1154150
2010-07-24 22:08:30 +00:00
Peter Penz 652d08c924 Sourcecode hierarchy cleanup: Create folder "views" and move view related sources to it
svn path=/trunk/KDE/kdebase/apps/; revision=1154146
2010-07-24 21:45:49 +00:00
Peter Penz 935cc8a03b Sourcecode hierarchy cleanup: Move files from khns to settings/services (step 1/2)
svn path=/trunk/KDE/kdebase/apps/; revision=1154135
2010-07-24 20:58:05 +00:00
Peter Penz 6f1a1d7407 Sourcecode hierarchy cleanup: Move kcm to settings/kcm
svn path=/trunk/KDE/kdebase/apps/; revision=1154133
2010-07-24 20:49:56 +00:00
Peter Penz d93d198db6 Sourcecode hierarchy cleanup: Use subfolders inside the "settings" folder
svn path=/trunk/KDE/kdebase/apps/; revision=1154129
2010-07-24 20:39:19 +00:00
Peter Penz d92bc6337c Don't use KVBox and QVBoxLayout in parallel, just use QVBoxLayout instead.
svn path=/trunk/KDE/kdebase/apps/; revision=1149089
2010-07-12 15:36:36 +00:00
Laurent Montel 670695ec01 Fix forward declation
svn path=/trunk/KDE/kdebase/apps/; revision=1148408
2010-07-10 15:02:44 +00:00
Peter Penz d7b275ee2e Fix issue, that the file size maximum for non-local previews is read wrong and applied to the local size initially
svn path=/trunk/KDE/kdebase/apps/; revision=1137339
2010-06-12 12:57:35 +00:00
Peter Penz cf5d93c3d2 Use the term "Select" instead of "Configure", as it is less technical (at least I hope as non-native English speaker that this is the case ;-))
svn path=/trunk/KDE/kdebase/apps/; revision=1126705
2010-05-14 17:00:11 +00:00
Peter Penz 949a2538f8 Use the AdditionalInfoAccessor to be flexible for future changes/extensions in KFileItemDelegate.
svn path=/trunk/KDE/kdebase/apps/; revision=1126703
2010-05-14 16:55:43 +00:00
Peter Penz 258bbc0122 Fix temporary regression of sorting introduced by SVN commit 1126410
svn path=/trunk/KDE/kdebase/apps/; revision=1126487
2010-05-14 06:08:08 +00:00
Frank Reininghaus 7e74c6f23b Provide the destination of a symbolic link as a column in Dolphin's
(and Konqueror's) Details View in KDE SC 4.5.

This is based on the changes to KFileItemDelegate from commit 1124981.

FEATURE: 211690

svn path=/trunk/KDE/kdebase/apps/; revision=1124982
2010-05-10 12:49:41 +00:00
Andrew Coles e1acd9b16f Proof-reading: don't -> do not (house style).
svn path=/trunk/KDE/kdebase/apps/; revision=1123270
2010-05-05 18:45:18 +00:00
Peter Penz 4f206a86df Don't use a ':' in a text of a group-box.
svn path=/trunk/KDE/kdebase/apps/; revision=1122788
2010-05-04 17:16:10 +00:00
Peter Penz d8c9625783 Provide a cleaner layout and better description about the maximum file size setting.
BUG: 230818

svn path=/trunk/KDE/kdebase/apps/; revision=1122775
2010-05-04 17:08:39 +00:00
Peter Penz c47a120267 SVN_SILENT: Remove unnecessary debugging output
svn path=/trunk/KDE/kdebase/apps/; revision=1114499
2010-04-13 18:54:15 +00:00
Peter Penz 90dad89131 Allow configuring different maximum sizes for remote and local files
BUG: 189501
p://reviewboard.kde.org/r/3484/

svn path=/trunk/KDE/kdebase/apps/; revision=1114485
2010-04-13 18:31:25 +00:00
Peter Penz 04a30d8803 Do expensive loading operations in the Dolphin Preferences when getting the QShowEvent and not the QPolish event.
svn path=/trunk/KDE/kdebase/apps/; revision=1111143
2010-04-04 22:51:39 +00:00
Peter Penz 110cbf5b27 Add the submenu-name of a service menu entry as prefix. As an alphabetic sorting of all list elements is done, this automatically groups the entries.
svn path=/trunk/KDE/kdebase/apps/; revision=1111140
2010-04-04 22:34:33 +00:00
Peter Penz a20edc49bd Invert default behavior regarding loading of version control plugins: Only load plugins that have been explicitly enabled by the user instead of loading all plugins per default.
Most users won't use version control plugins at all and there is no need in wasting memory and performance. A user interface has been added in the "Services" settings for version control plugins. The user interface is only shown, if at least one plugin is available on the system.

svn path=/trunk/KDE/kdebase/apps/; revision=1111101
2010-04-04 20:45:09 +00:00
Christoph Feck 25ffe18e65 Use floating point font sizes for font requester
CCBUG: 220632

svn path=/trunk/KDE/kdebase/apps/; revision=1108111
2010-03-27 20:44:15 +00:00
Christoph Feck ac2143f42a Start font requester with previously set custom font
svn path=/trunk/KDE/kdebase/apps/; revision=1108110
2010-03-27 20:43:35 +00:00
Peter Penz a3cc212100 Enable the meta data configuration dialog again after the KFileMetaDataWidget code has been moved to kdelibs
svn path=/trunk/KDE/kdebase/apps/; revision=1107432
2010-03-25 16:34:40 +00:00
Peter Penz caf017c2fe Use KFileMetaDataWidget from kdelibs. Still open: Provide dialog which wraps KFileMetaDataConfigurationWidget.
svn path=/trunk/KDE/kdebase/apps/; revision=1106465
2010-03-22 22:23:02 +00:00
Peter Penz 5fff84e068 Be more clear that selecting the checkbox means, that the shown view properties should be used as default (that only "new folders" are affected, is incorrect).
BUG: 213354

svn path=/trunk/KDE/kdebase/apps/; revision=1085564
2010-02-05 13:30:08 +00:00
Christoph Feck 7a0cbf2573 Respect floating point font sizes
BUG: 220632

svn path=/trunk/KDE/kdebase/apps/; revision=1084629
2010-02-03 10:55:13 +00:00
Darío Andrés Rodríguez 82bf5d99c1 - Fix minor typos
"sub folders" -> "sub-folders"

BUG: 198084

svn path=/trunk/KDE/kdebase/apps/; revision=1077615
2010-01-20 14:04:08 +00:00
Peter Penz af7ced9047 Allow to disable version control plugins. It's too late already for providing a UI (string freeze...) and it should not be necessary to disable a plugin, but in the worst case (e. g. plugin crashes under certain circumstances) it is good to have a non-GUI fallback.
svn path=/trunk/KDE/kdebase/apps/; revision=1061740
2009-12-12 22:44:05 +00:00
Peter Penz 4724888b0c use KNewStuff3 instead of the deprecated KNewStuff2
svn path=/trunk/KDE/kdebase/apps/; revision=1060003
2009-12-07 21:20:28 +00:00
Peter Penz 232e7eaad7 move the "Download New Services..." entry from the Settings menu to the service configuration dialog
svn path=/trunk/KDE/kdebase/apps/; revision=1046788
2009-11-09 18:13:36 +00:00
Peter Penz 49a1a72d50 allow to set a custom description for the KMetaDataConfigurationDialog
svn path=/trunk/KDE/kdebase/apps/; revision=1045712
2009-11-06 17:06:33 +00:00
Peter Penz d009bf5eae allow to configure which meta data should be shown for tooltips
svn path=/trunk/KDE/kdebase/apps/; revision=1045705
2009-11-06 16:51:42 +00:00
Peter Penz 0bd6e46b2b prepare the behavior-settings dialog to configure the shown meta data for tooltips
svn path=/trunk/KDE/kdebase/apps/; revision=1036100
2009-10-16 15:50:30 +00:00
Peter Penz ad4b299a17 allow to turn off natural sorting
CCBUG: 169883

svn path=/trunk/KDE/kdebase/apps/; revision=1017536
2009-08-30 20:58:53 +00:00
Peter Penz dcf397ae51 allow to change the order of columns in the details view
BUG: 164696

svn path=/trunk/KDE/kdebase/apps/; revision=1015987
2009-08-26 18:23:31 +00:00
Laurent Montel 0dd0f27f83 Fix forward declaration
svn path=/trunk/KDE/kdebase/apps/; revision=1004949
2009-07-31 07:14:20 +00:00
Andrius Štikonas 23bd9f0d66 Use KIntSpinBox instead of QSpinBox for better integration with KDE. As a bonus this allows to use plural suffix in spinboxes since KDE 4.3 if necessary.
svn path=/trunk/KDE/kdebase/apps/; revision=989742
2009-06-30 20:09:04 +00:00
Allen Winter 2701ec1c25 Krazy knows about KSharedPtrs now so no need to exclude
svn path=/trunk/KDE/kdebase/apps/; revision=974528
2009-05-29 16:01:24 +00:00
Peter Penz 173bad0b0c fixed xmllint --validate issues reported by krazy
svn path=/trunk/KDE/kdebase/apps/; revision=973297
2009-05-26 19:11:00 +00:00
Peter Penz 3f46b570f3 SVN_SILENT: 2 false positives reported by krazy
svn path=/trunk/KDE/kdebase/apps/; revision=973277
2009-05-26 18:38:52 +00:00
Peter Penz c848b945d4 fixed krazy issues (see http://www.kdedevelopers.org/node/3919)
svn path=/trunk/KDE/kdebase/apps/; revision=973269
2009-05-26 18:24:23 +00:00
Christoph Feck ce4ae8ee17 Fix spurious tool tip
BUG: 190316

svn path=/trunk/KDE/kdebase/apps/; revision=970147
2009-05-19 17:12:57 +00:00
Peter Penz ec859058c6 krazy fixes
svn path=/trunk/KDE/kdebase/apps/; revision=969874
2009-05-19 07:25:40 +00:00
Frank Reininghaus 29c5ab3b74 Let the user choose if folders are always shown first in the views of
Dolphin and Konqueror (the default) or not. This setting can be
changed in the View menu: "View->Sort By->Folders First".

FEATURE: 62007

svn path=/trunk/KDE/kdebase/apps/; revision=956820
2009-04-20 17:52:21 +00:00
Peter Penz 5bd452a69d Allow to configure which preview plugins should be enabled. Per default previews for images and directories are enabled.
svn path=/trunk/KDE/kdebase/apps/; revision=952049
2009-04-10 18:58:21 +00:00
Peter Penz 6358214ee7 Fixed regression introduced with KDE 4.2.0 that the column width setting was ignored.
BUG: 188701

svn path=/trunk/KDE/kdebase/apps/; revision=949864
2009-04-06 05:56:33 +00:00
Peter Penz 18f99bf84e - Write the settings to the disk as soon as "Apply" or "OK" has been pressed inside a settings dialog.
- Assure that the settings are saved in the DolphinPart destructor for settings that are changed outside the settings dialog (e. g. by using Ctrl + mouse wheel for adjusting the icon size).

Thanks to Frank Reininghaus and David Faure for the analyses.

CCBUG: 175085

svn path=/trunk/KDE/kdebase/apps/; revision=942194
2009-03-21 11:49:10 +00:00
Frank Reininghaus b9b9df7296 Ask for confirmation when closing a Dolphin window with more than one tab. This can be disabled by checking the "Do not ask again" checkbox in the confirmation dialog or in Dolphin's settings dialog.
FEATURE: 168417

svn path=/trunk/KDE/kdebase/apps/; revision=938767
2009-03-12 22:40:32 +00:00
Peter Penz 3fa4d31152 §$%$ revert last commit, this does not compile (sorry!)
svn path=/trunk/KDE/kdebase/apps/; revision=934823
2009-03-03 21:01:41 +00:00
Peter Penz eb4e1dc66e SVN_SILENT: coding style fix
svn path=/trunk/KDE/kdebase/apps/; revision=934820
2009-03-03 20:59:11 +00:00
Peter Penz 0801e50cfd only add the service to the list, if there is no other service using the same name
svn path=/trunk/KDE/kdebase/apps/; revision=934788
2009-03-03 19:39:36 +00:00
Shaun Reich 71768c5ba2 Changed activated() signal usages... to currentIndexChanged();
svn path=/trunk/KDE/kdebase/apps/; revision=934414
2009-03-03 01:07:55 +00:00
Shaun Reich 9c095f56fd Use currentIndexChanged() signal instead of activated(), the latter does not always do what you would think.
svn path=/trunk/KDE/kdebase/apps/; revision=933889
2009-03-01 21:11:12 +00:00
Peter Penz ec8a75b90c adjust size hints of group boxes
svn path=/trunk/KDE/kdebase/apps/; revision=932509
2009-02-26 20:10:27 +00:00
David Faure fd6be5b9af Calling the "Show" group "hiddenGroup" is a bit surprising to the casual reader ;)
svn path=/trunk/KDE/kdebase/apps/; revision=932508
2009-02-26 20:08:22 +00:00
Peter Penz 5411363284 remember which service menus should be shown in the context menu
CCMAIL: faure@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=932504
2009-02-26 19:58:22 +00:00
Peter Penz 26acdb7c77 Provide a basic UI for the "Services" settings dialog. It's open yet whether installing services by the internet will make it into Dolphin/Konqueror for KDE 4.3, but at least turning off services (without deinstalling applications...) will be supported.
svn path=/trunk/KDE/kdebase/apps/; revision=931854
2009-02-25 20:53:17 +00:00
Peter Penz 540eeb0030 Remember the used URL completion mode of the URL navigator. Thanks to Frank Reininghaus for the patch!
BUG: 170502

svn path=/trunk/KDE/kdebase/apps/; revision=929111
2009-02-20 16:55:25 +00:00
Shaun Reich 02aa3f8ea0 The tab order of the View Properties Dialog now moves in a logical and coherent manner (it no longer skips out of order).
svn path=/trunk/KDE/kdebase/apps/; revision=927483
2009-02-17 16:40:59 +00:00
Shaun Reich 0e467ea6ab I forgot to change these connection statements to both send and receive boolean values in my prior commit(s). Now the View Properties Dialog will enable the apply button when the affected (4) widget values are changed.
svn path=/trunk/KDE/kdebase/apps/; revision=926757
2009-02-16 04:40:17 +00:00
Shaun Reich 8ce343ba3d Added the Trash KCM to Dolphin, it's visible in the Settings Dialog, in the 'Trash" page.
Konqueror has it, we should too =)

svn path=/trunk/KDE/kdebase/apps/; revision=926571
2009-02-15 18:06:04 +00:00
Shaun Reich 614a1a1861 The View Properties dialog now correctly disables/enables the Apply button, instead of it just being enabled all the time, even after you apply it, so it's similar to the Settings Dialog now.
svn path=/trunk/KDE/kdebase/apps/; revision=926562
2009-02-15 17:30:00 +00:00
Shaun Reich 4157103173 Changed connections of the signals activated(), to currentIndexChanged() as used in 3 QComboBoxes. Remember that activated() is not always triggered when the selected item is changed.
svn path=/trunk/KDE/kdebase/apps/; revision=926180
2009-02-14 19:45:25 +00:00
Shaun Reich 5c53ea1f60 The Home folder location, when set via loadSettings(), and when set via the 'Use Default Location' button, now will use KUrl::prettyUrl(); Prior to this, saving an address of '/home/user/' would be changed to 'file:///home/user' (on Linux) normally (through applySettings()). However, when the listed methods were called, the text of the line edit would be just '/home/user/'. It will now (basically) be set to 'file:///'... all throughout.
svn path=/trunk/KDE/kdebase/apps/; revision=920943
2009-02-04 03:44:13 +00:00
Shaun Reich 6969b704c0 Added const bools for a few settings that were referenced more than once. Otherwise, the fellow coder would probably just think these were taken out of seemingly thin air.
svn path=/trunk/KDE/kdebase/apps/; revision=920920
2009-02-04 01:24:38 +00:00
Peter Penz 7af662dc12 rename the checkbox "Browse through archives" to "Open archives as folder"
CCBUG: 182991

svn path=/trunk/KDE/kdebase/apps/; revision=920733
2009-02-03 17:54:33 +00:00
Peter Penz aa885d4e21 SVN_SILENT: updated comment
svn path=/trunk/KDE/kdebase/apps/; revision=920731
2009-02-03 17:49:27 +00:00
Peter Penz 58373c05fe * no general settings are read -> invoking loadSettings has no effect in restoreDefaults()
* use constants for the defaults, as hardcoding the defaults in 2 methods might be error-prone when changing the defaults in future

CCMAIL: predator106@gmail.com

svn path=/trunk/KDE/kdebase/apps/; revision=920531
2009-02-03 06:24:39 +00:00
Shaun Reich 4f00fc19cd String change - Added clarification in the displayed message box for when the settings are applied in the Startup page, and there is an error. This is under the home folder setting. It now says that "the home folder is invalid or does not exist" as opposed to just saying it is invalid. I believe that it was kind of misleading as to what was wrong, so I figured it should give them _some_ hint as to what the problem is.
svn path=/trunk/KDE/kdebase/apps/; revision=920501
2009-02-03 03:20:47 +00:00
Shaun Reich 5d230c956f SVN_SILENT Small update to a comment.
svn path=/trunk/KDE/kdebase/apps/; revision=920497
2009-02-03 01:40:30 +00:00
Shaun Reich 58c95bc8d8 Both the 'preview size' slider and the 'embed thumbnails in files' settings now restore to defaults when asked to.
svn path=/trunk/KDE/kdebase/apps/; revision=920491
2009-02-03 01:20:53 +00:00
Shaun Reich a8d577ff2d A few more fixes...mostly cleanups.
*Grouped some statements that it didn't make sense to put after a certain block of code (giving the impression that it had to be after this block).
*There is no need to set the value of the QSpinBox equal to that of the slider, when loading settings... their valueChanges() signals are connected to the opposite one's slot.
*Made a now unused variable be used, it was inconsistent in this code block, two times '1' was used, but other times a var set to '1' would be used.
*Moved some blocks of code from the loadSettings() method, into the constructor, since the loadSettings() method is called more than once, so it's more resource-friendly to do it this way.

svn path=/trunk/KDE/kdebase/apps/; revision=920441
2009-02-02 22:23:06 +00:00
Shaun Reich c2429b1dcb We were calling methods within loadSettings() which should have been moved to inside the constructor instead. Examples include setting up a slider's notch-type(bottom or top). Especially significant since loadSettings() gets called more often than the constructor.
svn path=/trunk/KDE/kdebase/apps/; revision=920419
2009-02-02 21:35:37 +00:00
Shaun Reich 97425edcf6 Navigation click type (single/double-click) now gets set to it's default when asked (the default is single-click).
svn path=/trunk/KDE/kdebase/apps/; revision=920400
2009-02-02 20:40:33 +00:00
Shaun Reich 8230d0f7f4 Changed group config reference pertaining to the "kcminputrc" file. The Navigation page setting of whether to use single/double click navigation now saves itself properly, instead of insisting on using single-click. :)
P.S. Bear in mind that the setting still does not apply itself until a restart of Dolphin.

CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=920390
2009-02-02 20:14:42 +00:00
Shaun Reich c48b347e58 Reverted my previous commit(919897), I was incorrect, it looked to work like this, but didn't.
svn path=/trunk/KDE/kdebase/apps/; revision=920374
2009-02-02 19:43:02 +00:00
Shaun Reich 952fc86039 Confirmations of the following settings now reset themselves to their defaults:
*Move to Trash
*Delete
These are located in the General page->Context Menu tab of the settings dialog.

svn path=/trunk/KDE/kdebase/apps/; revision=920205
2009-02-02 14:44:25 +00:00
Shaun Reich bacc9c9137 The "Show 'Delete' Command" checkbox now gets restored to it's default (false).
svn path=/trunk/KDE/kdebase/apps/; revision=919996
2009-02-02 02:38:42 +00:00
Shaun Reich 9587d04b80 These radio buttons are paired, when you enable one, you inherently disable the other, so we're just repeating ourselves by doing this manually.
svn path=/trunk/KDE/kdebase/apps/; revision=919995
2009-02-02 02:34:57 +00:00
Shaun Reich e3bf301477 I forgot to change these three tabs to the new method usage also. Effected was the View Modes page.
svn path=/trunk/KDE/kdebase/apps/; revision=919919
2009-02-01 21:01:06 +00:00
Shaun Reich 9f7c2424d9 Now when you click the button "Defaults" in the settings dialog, it will push the settings to the UI, then the user can apply, cancel, or modify them from there. Also removed the message box prompt. Use settings->useDefaults(true), then set it back to false after you are done loading settings in the restoreDefaults() method calls. Don't use ->setDefaults() normally, anymore.
svn path=/trunk/KDE/kdebase/apps/; revision=919897
2009-02-01 20:43:26 +00:00
Shaun Reich 2632ea2643 Default size and Preview size sliders, were using wrong signal to notify that settings have changed. The keyboard, when used on the slider, wouldn't enable the apply button, nor clicking to either side of the slider to change it. sliderMoved signal emission changed to valueChanged. Effects all tabs in Settings Dialog->View Modes.
svn path=/trunk/KDE/kdebase/apps/; revision=917972
2009-01-28 21:27:16 +00:00
Shaun Reich 68b3e86fdf The apply button in the settings dialog now disables itself when settings are applied, as per all of the other KDE applications, added in DolphinSettingsDialog::applySettings(). It was already setup to re-enable on a settings change.
svn path=/trunk/KDE/kdebase/apps/; revision=917168
2009-01-27 01:13:03 +00:00
Peter Penz 8acb68ed28 Relayout of the settings dialog, so that all Dolphin KPart relevant settings can be made available in Konqueror's settings dialog too. Further cleanups and layout fixes are required and will be done during the next week.
svn path=/trunk/KDE/kdebase/apps/; revision=912587
2009-01-17 18:42:06 +00:00
Peter Penz 307285e963 Group classes into folders, Dolphin is too big in the meantime for having a flat directory hierarchy. dolphin/src/CMakeLists.txt will be cleaned up later.
svn path=/trunk/KDE/kdebase/apps/; revision=911065
2009-01-14 19:26:23 +00:00