[Digikam-devel] [Bug 203594] Option to display a vertical thumb bar

Pieter Edelman p.edelman at gmx.net
Mon Aug 17 22:14:19 BST 2009


https://bugs.kde.org/show_bug.cgi?id=203594





--- Comment #2 from Pieter Edelman <p edelman gmx net>  2009-08-17 23:14:17 ---
Created an attachment (id=36238)
 --> (http://bugs.kde.org/attachment.cgi?id=36238)
Make thumbbars dockable

The attached patch implement this idea for the image preview, the image editor,
the lighttable and showFoto. The thumbnail bars here can be dragged to any side
of the relevant window or floated above it. These states are saved between
digiKam sessions.

There turned out to be a few benefits using this approach, apart from the extra
freedom it grants the user. It is no longer required to change the orientation
in the settings menu, and a restart is no longer required after changing the
setting. Also, I think it puts bug 173746 to rest (no more splitters are used
and I can't reproduce the problem described there with this patch applied).

This method does however raise the question of where the thumbnail bars should
be placed in regard to the other widgets. I implemented the following behavior,
which seemed the most logical to me:
- The image and its "metadata siderbar" are considered to be a single entity. A
vertical thumbbar is not placed in between these two. A horizontal thumbbar
pushes up/down both the image and its sidebar.
- The left sidebar in the main preview window is regarded separate from the
image. A vertical thumbbar is placed between the it and the image. A horizontal
thumbbar will not push up/down the sidebar.

This patch adds a small support widget for the thumbnail bars, ThumbBarDock
which inherits from QDockWidget, which has a similar drag handle as a toolbar.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list