[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: extragear/graphics/digikam
From: Marcel Wiesweg <marcel.wiesweg () gmx ! de>
Date: 2006-04-30 20:47:53
Message-ID: 1146430073.946725.31994.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 535968 by mwiesweg:
Thumbbar:
Return correct item rect in horizontal mode, so that tooltip can be displayed.
M +0 -1 TODO
M +12 -3 libs/thumbbar/thumbbar.cpp
--- trunk/extragear/graphics/digikam/TODO #535967:535968
@@ -43,7 +43,6 @@
* Showfoto:
- hide toolbar in fullscreen option don't work.
- - with thumbbar in horizontal direction, tooltip don't work.
- if no image is loaded, selection in canvas is possible.
* ICC profiles support : polish and finalize setup dialog and screen color \
correction (see file in B.K.O)
--- trunk/extragear/graphics/digikam/libs/thumbbar/thumbbar.cpp #535967:535968
@@ -646,9 +646,18 @@
QRect ThumbBarItem::rect() const
{
- return QRect(0, m_pos,
- m_view->visibleWidth(),
- m_view->d->tileSize + 2*m_view->d->margin);
+ if (m_view->d->orientation == ThumbBarView::Vertical)
+ {
+ return QRect(0, m_pos,
+ m_view->visibleWidth(),
+ m_view->d->tileSize + 2*m_view->d->margin);
+ }
+ else
+ {
+ return QRect(m_pos, 0,
+ m_view->d->tileSize + 2*m_view->d->margin,
+ m_view->visibleHeight());
+ }
}
void ThumbBarItem::repaint()
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic