Commit graph

431 commits

Author SHA1 Message Date
Peter Penz
d76b113ad1 Places Panel: Allow hiding of items
Related changes:
- Animate changed items for the details-view in case it is not expandable
- Remove the hardcoded "isHidden"-code in KStandardItemListWidget and
  allow derived widgets to define themselves what means "hidden" within
  their context.

The current code needs a lot of bugfixing, but lets make this in smaller
steps during the next days...
2012-05-01 23:14:52 +02:00
Peter Penz
cb1f42a1eb Places Panel: Minor fixes/improvements
- Determine group of a new entry dependent from the protocol
- Allow panels to forward error-messages to the view-container
  (also applied to Folders Panel)
2012-04-30 18:27:56 +02:00
Peter Penz
b419cfc597 Places Panel fixes
Implement adding, editing and removing of entries. Note that the
result currently is still not stored in bookmarks.xml (this needs
to wait until the hiding is implemented in the model).
2012-04-29 00:00:38 +02:00
Peter Penz
d1c5dc52a3 Places Panel: Provide dialog for editing places 2012-04-26 23:41:01 +02:00
Frank Reininghaus
12c239ae14 Update the view when changing the directory using 'cd' in the terminal
Thanks to Jekyll Wu for helping to implement this feature!

FEATURE: 156732
FIXED-IN: 4.9.0
2012-04-26 08:31:59 +02:00
Peter Penz
640696db72 Places panel: Internal cleanup
Move the bookmark handling into a custom model, so that the
PlacesPanel only contains UI + controller code.
2012-04-25 23:02:40 +02:00
Peter Penz
67f58d5082 Fix search-UI issues in combination with the new places entries
The places-entries for searching revealed some serious issues in
combination with the search-panel. Move the filtering away from
QDockWidget and bring it back below the search-bar.
2012-04-25 02:20:25 +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
Peter Penz
007907be20 Bring back basic bookmark support for the Places Panel
The folders-panel signals have been adjusted too for consistency.
2012-04-21 23:29:11 +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
Peter Penz
beeb9078f5 Ensure authentication data is cached properly
The attached patch sets the main window on the main directory
lister in DolphinView and KIO jobs in DolphinMainWindow to ensure
that login data for remote protocols such as sftp, ftp are cached
properly for the duration of the application. Otherwise, the end
user is going to end up being unnecessarily re-prompted to enter
password login information.

Thanks to Dawit Alemayehu for the patch!

REVIEW: 104614
FIXED-IN: 4.9.0
2012-04-17 22:21:55 +02:00
Peter Penz
b2e54c3a31 Implement inline-renaming for the new view-engine
BUG: 286893
FIXED-IN: 4.9.0
2012-04-17 18:15:12 +02:00
Peter Penz
40c71d5ce0 KFileItemModel: interface cleanups
Fix some naming inconsistencies regarding the usage of 'dir' vs.
'directory' vs. 'folder'.
2012-04-11 21:53:45 +02:00
Peter Penz
6c3d9acbc2 KItemViews: Internal directory restructuration
- Move all private headers from the kitemviews-directory into
the 'private' subdirectory.

- Get rid of DolphinDirLister and just use a directory-lister
  internally in KFileItemModel.

- Minor interface-cleanups for signals
2012-04-11 16:08:32 +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
d5726758b8 Folders Panel: Turn on items-expanding
Since the fix of bug 289090 the items-expanding is not automatically
turned on anymore when using the DetailsMode.

CCBUG: 289090
2012-03-09 16:28:35 +01:00
Peter Penz
21a5a890b3 Whitespace cleanups and documentation fixes 2012-02-23 17:28:03 +01:00
Peter Penz
749362987b Folders Panel: Use the whole width as selection region
As no rubberband-selection is enabled for the Folders Panel it does
not make sense to keep the selection region as small as possible.

BUG: 294111
FIXED-IN: 4.8.1
2012-02-15 16:20:47 +01:00
Peter Penz
03415d9078 Layout optimizations
- Differ internally between margins and paddings
- Add a small padding in the icons-view and the compact-views
- Optimize the width of the icons-view if previews are shown
2012-02-08 17:48:32 +01:00
Peter Penz
3c83d8f14d Drag and drop: Adjust destination if the item is no directory or desktop-file
The URL of the view should be used as destination target if a dropping is not
done above a directory or desktop-file.

BUG: 293511
FIXED-IN: 4.8.1
2012-02-08 17:48:28 +01:00
Frank Reininghaus
d0933155e2 Replace setExpanded(const QSet<KUrl>&) by expandParentItems(const KUrl&)
The use case of this function (Folders Panel) requires the expansion of
the parent items of a single URL, so it's not needed to handle a full
set of URLs in this function. Moreover, the issue that not only the
parents, but also the URLs themselves were expanded is fixed by this
commit.
(cherry picked from commit 89082ca391)
2012-02-05 15:59:59 +01:00
Peter Penz
3188ef05b2 FoldersPanel: Rename setHiddenFilesShown() to setShowHiddenFiles()
This is consistent with the naming scheme in KFileItemModel and KDirLister.
2012-02-03 20:29:08 +01:00
Peter Penz
cfc9e14ce4 Simplify FoldersPanel::setHiddenFilesShown()
Thanks to Frank Reininghaus for the hint.
2012-02-03 20:19:17 +01:00
Peter Penz
1d7088b1ad Fix drag & drop issues with non-local URLs
BUG: 292821
BUG: 292355
FIXED-IN: 4.8.1
2012-01-30 12:09:36 +01:00
Peter Penz
14d5a32475 Terminal: only consider process IDs > 0
Thanks to Jekyll Wu for the analyses.

CCBUG: 286367
2012-01-25 15:20:59 +01:00
Peter Penz
8306a0fa6c Don't show a expanding-toggle in the Folders Panel if there are no subdirectories
BUG: 290745
FIXED-IN: 4.8.0
2012-01-15 10:41:44 +01:00
Peter Penz
33eea8c929 Folders Panel: Activate folders on single-click
Even if double-click is used as default setting, the folders panel should
open folders with a single-click.

BUG: 289971
FIXED-IN: 4.8.0
2012-01-05 20:44:46 +01:00
Peter Penz
090393599c Show an error when dragging above a folder without write access
Got OK from the translator team to add this new string.
2011-12-20 08:58:24 +01:00
Peter Penz
2827b96d98 Fix "show hidden files" issues
Use KFileItemModel instead of KDirLister for toggling the whether
hidden files should be shown. This assures that the signal
KFileItemModel::loadingCompleted() will be emitted.

In the longterm Dolphin should only use the KFileItemModel, so that
the KDirLister instance is used only internally as implementation
detail in KFileItemModel. Although there are only a few cases left
where KDirLister is used instead of KFileItemModel this cleanup
will be postponed to after the 4.8 release...

BUG: 287314
BUG: 288213
FIXED-IN: 4.8.0
2011-12-08 11:13:28 +01:00
Peter Penz
0c314917a5 Fix possible crash in SearchPanel::urlChanged()
m_lastSetUrlStatJob gets a dangling pointer if we don't have a
Nepomuk URL.

Thanks to Frank Reininghaus for the analysis and the hint!

BUG: 287075
FIXED-IN: 4.8.0
2011-12-06 19:30:21 +01:00
Peter Penz
8998ee8f51 Folders Panel cleanups
- Reactivate dropping of URLs
- Remove unused/obsolete code
- Simplify DragAndDropHelper interface
2011-12-06 19:22:55 +01:00
Peter Penz
899c171a2b Fix selection issue for Information Panel
When the selection changes during the Information Panel is
invisible, it still should get applied so that when making the
Information Panel visible again a valid selection is shown.

Thanks to A. Janardhan Reddy for the patch!

(Additionally the obsolete check for an empty selection has
been removed, as this cannot happen anymore with the new view
engine)

BUG: 281452
FIXED-IN: 4.8.0
2011-12-06 18:53:42 +01:00
Peter Penz
0db2847504 Reactivate drop-above-places-panel functionality
Dropping items into the Places panel has been temporary deactivated because
of switching to the new view-engine -> reactivate it again

BUG: 204359
FIXED-IN: 4.8.0
2011-12-06 16:31:24 +01:00
Ni Hui
e2e5b0e45a avoid double margins 2011-12-04 18:17:58 +08:00
Peter Penz
3719ce7d2a Reactivate the "Open folders during drag operations" feature
The feature got temporary lost due to the port to the new view
engine.
2011-11-29 22:03:26 +01:00
Peter Penz
362817d183 Folders Panel fixes
The following functionality from Dolphin 1.x has
been ported to the new view-engine:
- Allow expanding/collapsing of items
- Automatically select the current item
- Context menu for items

Related improvements to the view-engine:
- Make the expanding/collapsing interface already accessible
  in the base classes KItemModelBase and KItemListView. If
  no expanding/collapsing is supported at all by derived models
  (which is usually the default case) simply not reimplementing
  those 3 methods is sufficient and it does not introduce an
  additional complexity like in QAbstractItemModel/QModelIndex.

- Automatically handle the expanding/collapsing in KItemListController.
  This also includes the key-handling, which is quite special for
  expandable items.

- Don't let KItemListView automatically scroll to the current item
  if the current item got changed. The automatic scrolling should
  only be done if the current item has been changed by the user.
  Hence this functionality has been moved to the KItemListController
  which currently only triggers the automatic scrolling if the current
  item has been changed by the keyboard (we might extend the usecases
  later if required).
2011-11-26 01:16:31 +01:00
Frank Reininghaus
fa1b7e277f Don't crash when closing Dolphin if the Folders Panel is hidden 2011-11-20 23:26:41 +01:00
Peter Penz
b27e599429 Initial draft for bringing back the "Folders" panel
The folders panel has been adjusted to use the new view-engine.
A lot of things don't work yet, but are mostly minor issues that
should be fixable during the next 10 days.
2011-11-20 19:35:01 +01:00
Peter Penz
3c77ffe832 Delete obsolete class DolphinSettings 2011-11-06 11:59:26 +01: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
Matthias Fuchs
ca5d3fde11 Show icon overlays in the Informationen Panel.
BUG:190579
REVIEW:101573
2011-06-21 14:57:18 +02:00
Sebastian Dörner
0a7c5997df Fix problems with commit 8d789f2626
- fix crash when Ctrl-D-ing in the terminal
 - don't respond to window manager actions, only when the dock itself is
   hidden

Refers to commit 8d789f2626
2011-06-01 21:53:44 +01:00
Sebastian Dörner
603ec47b8b Don't let hidden terminals prevent unmounting
Previous state: When the terminal is hidden, the cwd is not updated
anymore. If it was on a removable device when hiding, the hidden
terminal might prevent unmounting this device.
This patch fixes that bug by changing the cwd to "/" when hiding the panel.

REVIEW: 101387
BUG: 158264
FIXED-IN: 4.7.0
2011-05-25 22:19:11 +01:00
Peter Penz
371e718ec5 Fix enabled/disabled issue of Search Panel 2011-04-20 22:11:22 +02:00
Peter Penz
ae488b1318 Improve usability of Search Panel
If the Search Panel is shown outside the context of the "Find" mode it
will be always enabled and does a global search. Only if the user is in
the "Find" mode and the searching is restricted to the current directory
the Search Panel might get disabled if the current directory is not
indexed. This solves the major usability issue that it was not clear
for the users whether a global or restricted search is done.
2011-04-20 20:09:08 +02:00
Frank Reininghaus
c7ef72de55 SVN_SILENT Remove trailing white space. 2011-04-14 13:27:33 +02:00
Raphael Kubo da Costa
a19e78d75b Fix directory navigation in Dolphin::Terminal.
When navigating in Dolphin it attempts to keep any open Terminal (F4)
in sync by changing the directory in the shell.  It does this by
sending a "^C; cd $DIRECTORY" however shells under FreeBSD treat "^C"
as a literal string and not SIGINT.  Fix this by sending SIGINT to the
shell instead of "^C".

It appears Linux does not exhibit this behaviour.

Patch originally written by David Naylor, from the KDE-FreeBSD team.

CCMAIL: naylor.b.david@gmail.com

(cherry picked from commit 5f78219e18)
2011-04-12 11:18:22 -03:00
Peter Penz
4263d56b16 Folders Panel: Don't open the properties dialog modal
BUG: 270484
FIXED-IN: 4.7.0
2011-04-10 18:56:08 +02:00
Peter Penz
b9de2cf96f Fix enabled/disabled issue for the Search Panel 2011-03-10 23:49:39 +01:00
Peter Penz
984c20161b Add search modes for the Search Panel
The search panel must get a hint whether clicking on the facets should result in searching everywhere or from the current folder. It is not sufficient to check the search-settings of the "Find:"-box, as when the "Find:"-box is invisible there is no hint for the user what kind of searching is done and the setting must be ignored.
2011-03-10 23:21:42 +01:00
Peter Penz
6e0583f988 Fix some search issues
- Always merge the query from the "Find:"-field with the current facet-query. This assures that the facet-query never gets overwritten if the user changes the "Find:"-field.
- Always trigger a searching if the text of the "Find:"-field has been cleared.

Still a lot of usability issues are left, but this is at least a first step...
2011-03-10 19:58:26 +01:00
Peter Penz
1aa14306fc Remove kDebug() output 2011-03-09 21:16:39 +01:00
Peter Penz
c10af24315 Add (renamed) files searchpanel*
Thanks to Sebastian Dörner for the notification.
2011-03-09 20:58:40 +01:00
Peter Penz
65b5d7d8e3 Rename the "Filter Panel" to "Search Panel"
Bug reports indicate that users are confused by the term "filter" for this.
2011-03-09 19:19:54 +01:00
Peter Penz
96c0153e96 Use the new KIO::PreviewJob API
This makes it unnecessary to manually apply the plugins. See https://git.reviewboard.kde.org/r/100578/ for more details.
2011-02-19 18:47:48 +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
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
Peter Penz
7045a25e3a Fix visibility- and enabled-issues for the filter-panel
The filter-panel should be disabled if the current folder is not indexed at all. Also when triggering a "Find" the filter-panel should stay invisible per default when the current folder is not indexed.

CCBUG: 264969
2011-02-02 19:36:08 +01:00
Peter Penz
28f00f36d7 Provide a default size-hint for all panels
This fixes the issue that the initial size of the Filter Panel is too small.
2011-02-02 17:30:25 +01:00
Peter Penz
2fa1dce977 Assure that the enabled plugins for previews are set for the Information Panel and the tooltips. This fixes the issue that a disabled thumbnail-plugin might be chosen. For 4.7 it should be considered to move this code into KIO::filePreview() as default already (will provide a patch on the reviewboard).
svn path=/trunk/KDE/kdebase/apps/; revision=1215459
2011-01-18 19:56:18 +00:00
Peter Penz
4d3e52e92e Don't assure the visibility of the leaf, if another directory has been opened by the [+]-toggle.
CCBUG: 263344

svn path=/trunk/KDE/kdebase/apps/; revision=1214979
2011-01-17 06:46:33 +00:00
Peter Penz
1b30368506 If the searching has been triggered by clicking on a facet and the facet gets reset again, assure that not all indexed files are shown. Instead return to the previous state before the searching has been started.
svn path=/trunk/KDE/kdebase/apps/; revision=1214634
2011-01-15 17:52:00 +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
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
Vishesh Handa
c129ec928f Use KFileItem::targetUrl() instead of KFileItem::url().
This fixes previews for Nepomuk Search results.

svn path=/trunk/KDE/kdebase/apps/; revision=1201458
2010-11-27 20:06:44 +00:00
Sebastian Trueg
9e29e6426b * Fixed performer facet
* Always use FileQuery which is much faster than normal queries

svn path=/trunk/KDE/kdebase/apps/; revision=1198420
2010-11-18 11:16:56 +00:00
Frank Reininghaus
308855320a Fix Qt runtime warning "QTimeLine::start: already running".
svn path=/trunk/KDE/kdebase/apps/; revision=1198200
2010-11-17 20:54:35 +00:00
Peter Penz
1b3c5c9e51 There is no need to use a regular expression to get all files.
svn path=/trunk/KDE/kdebase/apps/; revision=1197827
2010-11-16 17:03:13 +00:00
Peter Penz
32456f52ea Fix issue that no filtering is possible if the Filter Panel is used outside the "Find" mode of Dolphin.
svn path=/trunk/KDE/kdebase/apps/; revision=1196029
2010-11-12 12:58:00 +00:00
Peter Penz
e251393981 Remove the "Remove folder restriction" button from the Filter Panel as discussed with Sebastian Trüg. This will be replaced by the "From Here" and "Everywhere" buttons later.
svn path=/trunk/KDE/kdebase/apps/; revision=1195690
2010-11-11 19:19:40 +00:00
Peter Penz
bc0bdf1f37 Disable the Facet Panel if Nepomuk is disabled (at least for 4.6, hopefully in 4.7 we can also provide Facets that don't require a running Nepomuk)
svn path=/trunk/KDE/kdebase/apps/; revision=1195658
2010-11-11 17:52:09 +00:00
Peter Penz
a5bac1d3ab Block signals from the facet-widget when applying a query. This prevents recursive URL changes.
svn path=/trunk/KDE/kdebase/apps/; revision=1195637
2010-11-11 17:05:52 +00:00
Kevin Ottens
07f083241b Cleanup KLibLoader use.
svn path=/trunk/KDE/kdebase/apps/; revision=1195243
2010-11-10 16:42:52 +00:00
Sebastian Trueg
45503c3d3d * Adjusted to the small API changes in libnepomuk
* Fancy facets.

svn path=/trunk/KDE/kdebase/apps/; revision=1194431
2010-11-08 23:23:09 +00:00
Peter Penz
4fa931ae25 Remove patch from SVN commit 1126336: It has sideeffects if the removed entry still shows a valid content.
BUG: 244021
BUG: 250405
FIXED-IN: 4.6.0

svn path=/trunk/KDE/kdebase/apps/; revision=1193904
2010-11-07 14:31:33 +00:00
Peter Penz
0dab03ed4c Fix issue that moving the mouse above the viewport might trigger showing the meta-information of an only shortly hovered file.
svn path=/trunk/KDE/kdebase/apps/; revision=1193131
2010-11-04 19:04:18 +00:00
Peter Penz
6da89c3f30 Adjust code to the changed signal of the Nepomuk facet-widget.
svn path=/trunk/KDE/kdebase/apps/; revision=1193123
2010-11-04 18:05:36 +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
Peter Penz
e144e45029 If the signal sliderMoved() is emitted, always valueChanged() is emitted too -> no need to connect to sliderMoved()
svn path=/trunk/KDE/kdebase/apps/; revision=1191107
2010-10-29 15:32:31 +00:00
Peter Penz
1fdd594ea5 If the vertical scrollbar got triggered by the wheel, the autoscrolling should be reactivated too.
svn path=/trunk/KDE/kdebase/apps/; revision=1191100
2010-10-29 15:17:32 +00:00
Peter Penz
2f1051d1b4 Don't do an automatic horizontal scrolling, if the user has adjusted the horizontal scrollbar. The autoscrolling gets reactivated again if the vertical scrollbar has been moved by the user.
svn path=/trunk/KDE/kdebase/apps/; revision=1191098
2010-10-29 15:12:59 +00:00
Peter Penz
fb36fdf3aa Set icons for the rename- and properties-action of the Folders Panels context-menu.
svn path=/trunk/KDE/kdebase/apps/; revision=1190486
2010-10-27 20:30:49 +00:00
Peter Penz
8559b78d7d - Allow to disable the automatic horizontal scrolling of the Folders Panel
- Remember the 'Show Hidden Files' setting
- Improve the autoscroll behavior
- Fix issue that expanding folders might not increase the horizontal width
- Fix issue that the selected item might get hidden by the horizontal scrollbar

BUG: 191787
FIXED-IN: 4.6.0
CCMAIL: datpeter@yahoo.com>

svn path=/trunk/KDE/kdebase/apps/; revision=1190479
2010-10-27 20:11:46 +00:00
Peter Penz
8a7591e20b Postpone the initialization of the filter-panel until it is shown. This prevents overhead if the filter-panel is disabled.
svn path=/trunk/KDE/kdebase/apps/; revision=1190460
2010-10-27 18:31:39 +00:00
Peter Penz
4383f4238e - Automatically show the filter-panel when a searching is done
- Remove filter-prototypes that conflict with the filterpanel


svn path=/trunk/KDE/kdebase/apps/; revision=1190445
2010-10-27 17:08:02 +00:00
Peter Penz
90d6867a5e Rename FacetPanel to FilterPanel so that the name reflects the headline.
svn path=/trunk/KDE/kdebase/apps/; revision=1190370
2010-10-27 13:35:24 +00:00
Peter Penz
537ad8a891 Apply the facets-patch written by Sebastian Trüg, which allows to filter search results in a very comfortable way. A lot of finetuning is necessary (e.g. the custom filter-prototypes from Dolphin will get removed etc). This will be done during the next weeks.
svn path=/trunk/KDE/kdebase/apps/; revision=1189951
2010-10-26 13:11:37 +00:00
Peter Penz
f60340508b Reset the file-item when the viewport is entered and files are selected. Otherwise the information of the file-item will be shown instead of the selection.
svn path=/trunk/KDE/kdebase/apps/; revision=1183544
2010-10-07 18:13:55 +00:00
Peter Penz
6751f6a52a Internal cleanups to assure that the asynchronous request for the folder-information works reliable when switching between directories.
svn path=/trunk/KDE/kdebase/apps/; revision=1183537
2010-10-07 18:00:58 +00:00
Peter Penz
431da0482c Internal cleanup for panels: Let the panel-implementations decide whether they accept an URL or not.
svn path=/trunk/KDE/kdebase/apps/; revision=1183480
2010-10-07 14:09:30 +00:00
Peter Penz
06b0569613 Ignore search-results in the treeview, as showing equal directory names without path makes no sense.
svn path=/trunk/KDE/kdebase/apps/; revision=1183472
2010-10-07 13:42:17 +00:00
Peter Penz
828ba8902c - Integrate the patch from Matthias Fuchs from http://reviewboard.kde.org/r/5496 to allow having leading zeros when renaming files: E.g. Using the name "A ###.jpg" results in the filenames "A 001.jpg", "A 002.jpg"... The patch could be simplified a little bit by guaranting only one connective sequence of #'s.
- Move the renaming code into the RenameDialog

CCMAIL: mat69@gmx.net
BUG: 226761
FIXED-IN: 4.6.0

svn path=/trunk/KDE/kdebase/apps/; revision=1182776
2010-10-05 16:30:03 +00:00
Peter Penz
c98eebdfa3 Fix issue that no content is shown in the Information Panel on startup
svn path=/trunk/KDE/kdebase/apps/; revision=1180723
2010-09-28 17:51:20 +00:00
Jonathan Michael Thomas
28093154dc Avoid the unnecessary construction of a KIconEffect by using the one provided by the global KIconLoader for dolphin
svn path=/trunk/KDE/kdebase/apps/; revision=1169554
2010-08-29 17:10:21 +00:00
David Faure
d99e541453 remove unused includes (found when grepping for stuff)
svn path=/trunk/KDE/kdebase/apps/; revision=1167264
2010-08-24 08:09:14 +00:00
Peter Penz
5216dade7b Hide the Phonon-widget per default, otherwise it will temporary be shown during the startup
svn path=/trunk/KDE/kdebase/apps/; revision=1164877
2010-08-17 20:38:12 +00:00
Peter Penz
d705172166 Fix spelling errors reported by crazy
svn path=/trunk/KDE/kdebase/apps/; revision=1160316
2010-08-07 18:46:00 +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
1b15dd24e9 Sourcecode hierarchy cleanup: Move class PixmapViewer from "src" to "src/panels/information"
svn path=/trunk/KDE/kdebase/apps/; revision=1154154
2010-07-24 22:23:16 +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
49eb864b03 Unify the search interface for non-indexed and indexed folders
svn path=/trunk/KDE/kdebase/apps/; revision=1154073
2010-07-24 16:37:07 +00:00
Sebastian Trueg
ed68687614 Properly KIO::stat instead of simply using the KFileItem constructor when
showing metadata for the currently selected folder. This way we can even get rid of the
special handling of nepomuksearch:/ URLs since the KIO slave provides a nice name and
all you need to show to the user.
Even nicer: When clicking an entry in the metadata view the resulting query will be related
to the one clicked resource. This resource will then be represented by the query folder.
So all in all this patch makes Dolphin more generic while additionally activating a new feature.

svn path=/trunk/KDE/kdebase/apps/; revision=1152959
2010-07-22 08:26:07 +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
30a4fb0cf8 Don't do a pre-process wrapping of the Information Panel headline, if it is a rich text. This fixes the issue, that selecting multiple files leads to an output like "<html>9 items selected</html>".
svn path=/trunk/KDE/kdebase/apps/; revision=1137340
2010-06-12 13:05:13 +00:00
Peter Penz
abf29a89ef Use KStringHandler::preProcessWrap() to assure, that file names in the Information Panel are wrapped in a more clever way:
E. g.
     dolphinviewcontainer.cp
              p
gets wrapped as
     dolphinviewcontainer.
             cpp
now.

svn path=/trunk/KDE/kdebase/apps/; revision=1132031
2010-05-29 12:03:56 +00:00
Peter Penz
c1f220595b Use QBoxLayout::addStretch() instead of adding a custom "stretch widget"
svn path=/trunk/KDE/kdebase/apps/; revision=1132029
2010-05-29 11:49:25 +00:00
Peter Penz
c62cb08d14 Fix the nasty layout reparenting by adding the InformationPanelContent into a layout. Thanks to Sebastian Trüg for the hint!
CCMAIL: trueg@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=1132028
2010-05-29 11:44:28 +00:00
Peter Penz
5e47c22e21 Fix wrong description: The selection is meant for the information panel, not the tooltips.
svn path=/trunk/KDE/kdebase/apps/; revision=1128630
2010-05-19 19:49:47 +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
cb9669d71c If an information entry will be added to KFileItemDelegate (like done recently), adjusting the corresponding code in Dolphin is a real pain, as the new information will be shown in Dolphin the following way:
- As additional columns in the details view
 - As additional lines in the icons view
 - As menu entries in the "Sort By" and "Additional Information" groups
 - As popup menu entries in the details view header popup
 - As checkable entries in the View Properties dialog

To prevent similar painful transitions in future, the class AdditionalInfoManager has been introduced. All parts in Dolphin that access/show/store additional information, use the AdditionalInfoManager now. If a new information entry will be added in KFileItemDelegate in future, only a small adjustment in AdditionalInfoManager will be required.

Still open currently:
- AdditionalInfoDialog does not use AdditionalInfoManager yet
- DolphinView::Sorting should be replaced by KFileItemDelegate::Information, so that the sorting can also be done in a generic way.
- The data for KFileItemDelegate::PathOrUrl is not determined

The open issues will get fixed during the next days.

Kudos to the brave warriors Sebastian and Frank, that tried to add a new information ;-)

CCMAIL: sebastian@trueg.de
CCMAIL: frank78ac@googlemail.com

svn path=/trunk/KDE/kdebase/apps/; revision=1126410
2010-05-13 22:06:10 +00:00
Peter Penz
d64bbc333c Reset the location to the home URL, if a place has been removed (e. g. a DVD has been ejected).
Thanks to Christian Mühlhäuser for the patch!

BUG: 231518

svn path=/trunk/KDE/kdebase/apps/; revision=1126336
2010-05-13 18:23:04 +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
Peter Penz
72d6d85323 The KFileMetaInfoWidget does not use a hardcoded small font anymore, so it must be set manually nowidget
svn path=/trunk/KDE/kdebase/apps/; revision=1115496
2010-04-16 16:00:06 +00:00
Peter Penz
47d3113922 Split the class DolphinController into the two classes DolphinViewController and ViewModeController.
The ViewModeController offers a defined interface to control view mode implementations like icons view, details view and column view. The DolphinViewController allows those view mode implementations to control the parent DolphinView in a limited way.

svn path=/trunk/KDE/kdebase/apps/; revision=1109228
2010-03-30 20:19:32 +00:00
Peter Penz
dd743f9d98 Open the meta data configuration dialog modeless
svn path=/trunk/KDE/kdebase/apps/; revision=1107448
2010-03-25 17:36:39 +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
a57925a23d Send CTRL+C to the terminal instead of of backspaces. Thanks to the FiNeX and g111 for the hint.
CCBUG: 161637

svn path=/trunk/KDE/kdebase/apps/; revision=1106403
2010-03-22 18:28:16 +00:00
André Wöbbeking
4ab20ea043 -pedantic
svn path=/trunk/KDE/kdebase/apps/; revision=1104133
2010-03-16 20:15:48 +00:00
Peter Penz
f2885d1ac2 Fix issue that the current terminal line does not get cleared before sending a cd command.
The terminal interface does not provide an API for this, so as workaround backspaces are send. Not nice, but as the issue can lead to data loss, this solution is better than having nothing.

BUG: 161637

svn path=/trunk/KDE/kdebase/apps/; revision=1103207
2010-03-14 16:21:35 +00:00
Peter Penz
fbc221c4ff Fix compile issue if HAVE_NEPOMUK is not defined
svn path=/trunk/KDE/kdebase/apps/; revision=1102862
2010-03-13 20:34:43 +00:00
Peter Penz
5c80286726 Meta data configuration dialog improvements
* use the data provided by the model instead reading it again
* allow to enable/disable also custom meta data 

svn path=/trunk/KDE/kdebase/apps/; revision=1102852
2010-03-13 20:05:21 +00:00
Peter Penz
7b8a3ae800 Let the custom widgets stay invisible per default after constructing them. This prevent a possible flickering when starting Dolphin.
svn path=/trunk/KDE/kdebase/apps/; revision=1102837
2010-03-13 19:17:38 +00:00
Peter Penz
5f54238912 Allow to provide custom widgets for meta data in a generic way.
By this it is possible that other applications like e. g. Gwenview provide custom widgets to change EXIF data directly within the meta data widget.

svn path=/trunk/KDE/kdebase/apps/; revision=1102834
2010-03-13 19:07:40 +00:00
Peter Penz
6b9c4f7b45 Allow to specify a group for a meta data item.
The sorting of the meta data items is now done by the group. Within the group the sorting is done by their translated labels.

svn path=/trunk/KDE/kdebase/apps/; revision=1102778
2010-03-13 15:32:48 +00:00
Peter Penz
54a1499586 Provide a KMetaDataModel for KMetaDataWidget.
This allows to extend the model with custom meta data (might e. g. be useful for Gwenview).

svn path=/trunk/KDE/kdebase/apps/; revision=1102749
2010-03-13 13:38:40 +00:00
Andrew Coles
2f16883fe7 Proof-reading: file name -> filename, for consistency.
svn path=/trunk/KDE/kdebase/apps/; revision=1101351
2010-03-09 23:16:23 +00:00
Peter Penz
2b286a9f04 Rename NfoTranslator to KNfoTranslator, so that KMetaDataWidget can be moved to kdelibs for KDE SC 4.5 (some interfaces of KMetaDataWidget need to be cleaned up first).
KNfoTranslator is marked as private class, as it is not clear yet whether it should be used by other classes like KFileMetaInfo.

svn path=/trunk/KDE/kdebase/apps/; revision=1098897
2010-03-04 16:24:20 +00:00
Peter Penz
a0b010bb00 Only access the data of the thread that has been created most recently. Data of older threads will just get ignored.
svn path=/trunk/KDE/kdebase/apps/; revision=1097289
2010-02-28 21:03:58 +00:00
Peter Penz
072dacbb55 Fix possible memory leak when invoking KLoadMetaDataThread::cancelAndDelete().
svn path=/trunk/KDE/kdebase/apps/; revision=1097154
2010-02-28 15:01:33 +00:00
Peter Penz
77d9413d07 Meta data configuration cleanups:
- Use RDF labels internally.
- Provide better default settings, which meta data are hidden.
- Allow to configure which meta data is shown also if Nepomuk is turned off.

svn path=/trunk/KDE/kdebase/apps/; revision=1096571
2010-02-26 22:03:32 +00:00
Peter Penz
65106c3037 use NFO URI to check whether the width and height should be merged as one label
svn path=/trunk/KDE/kdebase/apps/; revision=1096542
2010-02-26 20:08:09 +00:00
Peter Penz
6479605c84 remove duplicate entries
svn path=/trunk/KDE/kdebase/apps/; revision=1096541
2010-02-26 20:07:26 +00:00
Peter Penz
4e370297de Show meta information also for files, which are not indexed (or in the case if Nepomuk is turned off).
Beside the new translations the fix is based on several other fixes in kdelibs + strigi and cannot be backported to KDE SC 4.4.x.

As soon as the meta data widget has been moved to kdelibs, this meta data information will also be available in the properties dialog.

BUG: 193592

svn path=/trunk/KDE/kdebase/apps/; revision=1096472
2010-02-26 18:03:13 +00:00
Peter Penz
5dee68a061 The number of fixed meta-info items may vary dependent on whether Nepomuk is enabled or not. Avoid the nasty hack to hardcode the value within the slotLoadingFinished() method.
BUG: 228540

svn path=/trunk/KDE/kdebase/apps/; revision=1096347
2010-02-26 14:42:47 +00:00
Peter Penz
e488496286 Also show meta informations of files, if Nepomuk is not running or if the file is not indexed.
Still a lot of cleanups are required (e. g. the labels are not human readable currently).

svn path=/trunk/KDE/kdebase/apps/; revision=1096092
2010-02-25 19:34:58 +00:00
Sebastian Trueg
3beca2e7f1 * No need to reload all tags when one is deleted.
* Use Resource::genericLabel() always for consistency.

svn path=/trunk/KDE/kdebase/apps/; revision=1096036
2010-02-25 15:41:27 +00:00
Sebastian Trueg
5e079195bc Another fix for the metadata rows: properly clean up unused rows in case no metadata is added.
svn path=/trunk/KDE/kdebase/apps/; revision=1081502
2010-01-28 14:09:22 +00:00
Sebastian Trueg
950d3ad78b * Do not hide the parent folder since we can now browse into it by simply clicking the link.
* Fixed index bug which caused the last information item to be deleted.
* Why make merge-sort more complicated than it is? ;)

svn path=/trunk/KDE/kdebase/apps/; revision=1080377
2010-01-26 09:25:22 +00:00
Friedrich W. H. Kossebau
5accf42fc8 changed: made static const data symbols really static const
svn path=/trunk/KDE/kdebase/apps/; revision=1080302
2010-01-26 02:57:09 +00:00
Peter Penz
d1099ee5bf assure that the widgets of the panels are resized after receiving the Polish event
svn path=/trunk/KDE/kdebase/apps/; revision=1075076
2010-01-15 14:20:09 +00:00
Peter Penz
b4f7d12803 fixed issue that the Information Panel might show some (for the user confusing) information about a nepomuk protocol
svn path=/trunk/KDE/kdebase/apps/; revision=1075065
2010-01-15 13:55:13 +00:00
Peter Penz
6fcfb3c96c don't try to access invalid files
BUG: 222364

svn path=/trunk/KDE/kdebase/apps/; revision=1075029
2010-01-15 11:47:09 +00:00
Peter Penz
199f9af8b6 Fixed issue that the Information Panel might show the old filename after renaming an item.
Added implementation note, as a working code had been removed some time ago because of a performance bottleneck.

BUG: 198375

svn path=/trunk/KDE/kdebase/apps/; revision=1071287
2010-01-07 20:14:43 +00:00
Peter Penz
ef3b7d8991 When changing the selection, the currently shown file item should be reset. This fixes the issue that changing the selection with the keyboard might not have an effect if an item is hovered with the mouse.
BUG: 210177

svn path=/trunk/KDE/kdebase/apps/; revision=1070745
2010-01-06 17:01:38 +00:00
Peter Penz
4fdc3bad9c Fixed issue that Ctrl+A sometimes did not result in an update of the Information Panel. As a sideeffect some code simplification has been done, which was possible because of the column view refactorization some time ago.
svn path=/trunk/KDE/kdebase/apps/; revision=1070740
2010-01-06 16:56:01 +00:00
Peter Penz
c96d6dea10 Don't show the size information, if only one directory is shown. This issue only occured in the context of tooltips, as updateRowsVisibility() is invoked after setItems()...
svn path=/trunk/KDE/kdebase/apps/; revision=1063483
2009-12-18 17:01:40 +00:00
Peter Penz
e15a9f3a8d * respect the --select startup option
* minor cleanups related to selecting items in general

svn path=/trunk/KDE/kdebase/apps/; revision=1063329
2009-12-17 21:07:18 +00:00
Peter Penz
df0b75e8c8 use the same link style as used for tags
svn path=/trunk/KDE/kdebase/apps/; revision=1061705
2009-12-12 18:53:05 +00:00
Peter Penz
50e9debc1b align the rating widget of the Information Panel left (or right for r2l) instead of horizontally centered
svn path=/trunk/KDE/kdebase/apps/; revision=1061598
2009-12-12 13:05:37 +00:00
Sebastian Trueg
d326572a72 Do not show links for unsupported protocols, ie. pre-4.4 resources which used URNs instead of nepomuk:/res/<uuid> URIs.
svn path=/trunk/KDE/kdebase/apps/; revision=1060341
2009-12-08 15:51:51 +00:00
Peter Penz
1b05d108a1 don't crash if the Information Panel is updated by file changes
BUG: 214060

svn path=/trunk/KDE/kdebase/apps/; revision=1060022
2009-12-07 22:15:54 +00:00
Peter Penz
207cb06316 Activated "clicking on tags" fix from Sebastian Trüg. By providing a different link color the difference to the "Change tags..." link is visible.
svn path=/trunk/KDE/kdebase/apps/; revision=1059985
2009-12-07 20:45:20 +00:00
Sebastian Trueg
25b9640456 Added all code necessary for clickable tags in the KTaggingWidget. As soon as we figured out how to
only show links on hover we are good to go.
This is actually a fix as resources in the rest of the info view are already clickable.

CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=1059908
2009-12-07 16:41:37 +00:00
Sebastian Trueg
f4067a705a Added versioning information to the list of hidden properties. This fixes hiding in case an old kmetainformationrc exists.
CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=1059900
2009-12-07 16:31:05 +00:00
Laurent Montel
456fa7054b Fix mem leak
svn path=/trunk/KDE/kdebase/apps/; revision=1057381
2009-12-02 08:14:31 +00:00
Sebastian Trueg
bd47f7f978 Use KFileItem::text() instead of KUrl::fileName() to display the entry's name in the metadata panel. This way Nepomuk results and all entries from KIO slaves that make use of UDS_DISPLAY_NAME look nice.
svn path=/trunk/KDE/kdebase/apps/; revision=1056260
2009-11-29 18:16:36 +00:00
Sebastian Trueg
d324e790d6 * Fixed execution of links in the metadata widget.
* Do not try to list non-listable URLs.

svn path=/trunk/KDE/kdebase/apps/; revision=1054300
2009-11-25 20:53:37 +00:00
Peter Penz
2a02ac7d02 Let KMetaDataWidget and all the child widgets respect the foreground role that might be set by the client. This allows KMetaDataWidget to get embedded inside a tooltip having correct tooltip colors.
svn path=/trunk/KDE/kdebase/apps/; revision=1052509
2009-11-21 22:50:22 +00:00
Sebastian Trueg
ccd9a32988 Simplified the clickable resource metadata display. This also fixes a bug where sometimes resources are not displayed at all
svn path=/trunk/KDE/kdebase/apps/; revision=1052237
2009-11-21 09:33:37 +00:00
Peter Penz
2b6cceb0f6 Provide clickable resources for the Information Panel. Thanks to Sebastian Trüg für the patch!
CCMAIL: trueg@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=1051553
2009-11-19 19:38:34 +00:00
Peter Penz
d4a983d98c don't crash if Nepomuk gets activated/deactivated during Dolphin is running
svn path=/trunk/KDE/kdebase/apps/; revision=1050611
2009-11-17 18:32:53 +00:00
Nicolas Lécureuil
fb1380b183 Fix crash
svn path=/trunk/KDE/kdebase/apps/; revision=1050466
2009-11-17 11:09:28 +00:00
David Faure
5328ae8942 Stop crashing (apparently I have HAVE_NEPOMUK but the runtime check fails so the widget isn't created)
svn path=/trunk/KDE/kdebase/apps/; revision=1048851
2009-11-14 01:49:16 +00:00
Peter Penz
3eb05a06bb fixed issue that the rating was not applied to the Information Panel
svn path=/trunk/KDE/kdebase/apps/; revision=1048811
2009-11-13 23:25:38 +00:00
Peter Penz
bd30bb6ca9 search finetuning:
* trigger progress information when starting a search
* let the information panel hide the meta data for the search string
* get the search string from the configurator

svn path=/trunk/KDE/kdebase/apps/; revision=1048721
2009-11-13 21:03:19 +00:00
Peter Penz
1c62d0accf SVN_SILENT: constify
svn path=/trunk/KDE/kdebase/apps/; revision=1048143
2009-11-12 20:05:30 +00:00
Peter Penz
f0cab33518 Don't show the search options, if no Nepomuk is available. Hopefully Nepomuk will get a hard build dependency quite soon, those #ifdef-code is really ugly and difficult to maintain...
svn path=/trunk/KDE/kdebase/apps/; revision=1048135
2009-11-12 19:45:55 +00:00
Peter Penz
d3f37b1af4 SVN_SILENT: removed unnecessary include
svn path=/trunk/KDE/kdebase/apps/; revision=1048117
2009-11-12 19:16:09 +00:00
Peter Penz
56bccf8f2f let the user also delete the created tags
svn path=/trunk/KDE/kdebase/apps/; revision=1047714
2009-11-11 21:47:09 +00:00
Peter Penz
98f0289c76 Images: Instead of showing the meta data for "Width:" and "Height:" separately with other items in between, they are merged as "Width x Height:" and added to the top of the sort order.
CCBUG: 193592

svn path=/trunk/KDE/kdebase/apps/; revision=1047680
2009-11-11 19:47:07 +00:00
Peter Penz
36ae0b6185 * don't show the "Add Tags..." and "Add Comments..." links for the meta data inside a tooltip
* minor cleanup of thread-interface to allow a proper sorting/merging on client side

svn path=/trunk/KDE/kdebase/apps/; revision=1047662
2009-11-11 18:59:29 +00:00
Andrew Coles
b90e618a82 Two minor proof-reading changes:
- missing space in one message in string split across two lines
 - Servicemenu -> Service Menu.


svn path=/trunk/KDE/kdebase/apps/; revision=1046089
2009-11-07 13:24:03 +00:00
Peter Penz
18a2989794 move the position of the filename below the preview
svn path=/trunk/KDE/kdebase/apps/; revision=1045798
2009-11-06 20:06:00 +00:00
Peter Penz
a9f8714fc1 fixed calculation of the height size hint: don't forget the spacing and margin of the layout
svn path=/trunk/KDE/kdebase/apps/; revision=1045768
2009-11-06 18:39:01 +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
Sebastian Trueg
d07b3d9ddb Handle lists of resources nicer. Maybe a list separated by new-lines is not the best though...
svn path=/trunk/KDE/kdebase/apps/; revision=1045283
2009-11-05 17:12:38 +00:00
Sebastian Trueg
8955d51666 fancy date formatting
svn path=/trunk/KDE/kdebase/apps/; revision=1045013
2009-11-05 08:56:42 +00:00
Sebastian Trueg
e3d68e709f Nicer formatting of the values - only a temp solution just like tuneLabel. To many temp solutions...
svn path=/trunk/KDE/kdebase/apps/; revision=1044996
2009-11-05 08:04:54 +00:00
Peter Penz
565bd3bf23 Don't call QThread::wait() in the destructor - in the worst case an issue in Nepomuk will block Dolphin for several seconds. Refactored the load-meta-data-thread in a way that the meta data widget does not require to wait for a result of the thread.
svn path=/trunk/KDE/kdebase/apps/; revision=1044848
2009-11-04 19:14:39 +00:00
Peter Penz
f5f2ccf8ee Fixed link issue - I'm sorry: I had installed a temporary version of KMetaDataWidget from kdelibs and did not recognize the issue...
svn path=/trunk/KDE/kdebase/apps/; revision=1044545
2009-11-04 00:46:45 +00:00
Patrick Spendrin
af50b02f78 some more export fixes
svn path=/trunk/KDE/kdebase/apps/; revision=1043907
2009-11-02 16:54:10 +00:00
Patrick Spendrin
7f76ab761d do not export this widget with a wrong export define
svn path=/trunk/KDE/kdebase/apps/; revision=1043889
2009-11-02 16:05:52 +00:00
Peter Penz
73007f7d63 After some discussions at http://reviewboard.kde.org/r/1938 it turned out that moving KMetaDataWidget and KMetaDataConfigurationDialog to kdelibs should be postponed to KDE 4.5. The main reason is that adding application specific properties is not possible with the current API in a generic way. Also the topic how to hide properties application specific is an open point...
So now all adjustments from the review have been adapted to the Dolphin code. After KDE 4.4 has been released some refactoring will be done so that the open topics above are handled in a nice way.

svn path=/trunk/KDE/kdebase/apps/; revision=1041547
2009-10-28 07:18:00 +00:00
Peter Penz
ba9a4972a0 assure that the "size" information can be hidden by the user
svn path=/trunk/KDE/kdebase/apps/; revision=1038142
2009-10-20 17:36:28 +00:00
Raphael Kubo da Costa
5e6f3b87ed Fix some spelling mistakes in comments.
svn path=/trunk/KDE/kdebase/apps/; revision=1037779
2009-10-19 23:32:21 +00:00
Peter Penz
dd6febd314 use correct name for the tags-entry, otherwise disabling of tags won't work...
svn path=/trunk/KDE/kdebase/apps/; revision=1037727
2009-10-19 20:53:24 +00:00
Peter Penz
d6db9ac22c the configuration menu should be shown also for multiple selections
svn path=/trunk/KDE/kdebase/apps/; revision=1037684
2009-10-19 19:52:25 +00:00
Sebastian Trueg
002787543f xesam is deprecated
svn path=/trunk/KDE/kdebase/apps/; revision=1036703
2009-10-17 16:47:48 +00:00
Sebastian Trueg
e1dde0669f Use the magic QFlags I love so much.
svn path=/trunk/KDE/kdebase/apps/; revision=1036578
2009-10-17 13:16:45 +00:00
Peter Penz
59c430bb3f Use the tunedLabel() workaround also for the configuration dialog. Hopefully this can be cleaned up until KDE 4.4...
CCMAIL: trueg@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=1036559
2009-10-17 12:43:58 +00:00
Peter Penz
998b88f304 * get rid of MetaDataWidget::openConfigurationDialog()
* allow to hide specific data for applications
* check whether Nepomuk has been activated (the check with #idfef HAVE_NEPOMUK is not sufficient in the case if Nepomok is available but not activated)

svn path=/trunk/KDE/kdebase/apps/; revision=1036556
2009-10-17 12:23:38 +00:00
Peter Penz
71b292e95b provide an URI for the tag
svn path=/trunk/KDE/kdebase/apps/; revision=1036306
2009-10-16 23:28:13 +00:00