[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/extragear/graphics/digikam/0.11/utilities/lighttable
From: Andi Clemens <andi.clemens () gmx ! net>
Date: 2009-02-24 13:42:30
Message-ID: 1235482950.988440.8598.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 930892 by aclemens:
update tracker position when lighttable window is moved
M +12 -0 lighttablewindow.cpp
M +5 -0 lighttablewindow.h
--- branches/extragear/graphics/digikam/0.11/utilities/lighttable/lighttablewindow.cpp \
#930891:930892 @@ -348,6 +348,12 @@
connect(d->previewView, SIGNAL(signalRightPanelLeftButtonClicked()),
this, SLOT(slotRightPanelLeftButtonClicked()));
+
+ connect(this, SIGNAL(signalWindowHasMoved()),
+ d->leftZoomBar, SLOT(slotUpdateTrackerPos()));
+
+ connect(this, SIGNAL(signalWindowHasMoved()),
+ d->rightZoomBar, SLOT(slotUpdateTrackerPos()));
}
void LightTableWindow::setupActions()
@@ -1605,4 +1611,10 @@
d->rightSideBar->setStyle(AlbumSettings::instance()->getSidebarTitleStyle());
}
+void LightTableWindow::moveEvent(QMoveEvent *e)
+{
+ Q_UNUSED(e)
+ emit signalWindowHasMoved();
+}
+
} // namespace Digikam
--- branches/extragear/graphics/digikam/0.11/utilities/lighttable/lighttablewindow.h \
#930891:930892 @@ -67,11 +67,16 @@
signals:
void signalFileDeleted(const KUrl&);
+ void signalWindowHasMoved();
public slots:
void slotItemsUpdated(const KUrl::List&);
+protected:
+
+ void moveEvent(QMoveEvent *e);
+
private:
void closeEvent(QCloseEvent* e);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic