comparison view/Overview.cpp @ 189:5b7472db612b

* Add large chunks of context help in the optional status bar * Add an extra overlay mode in which even the centre frame is disabled * Fixes to FTP retrieval
author Chris Cannam
date Fri, 19 Jan 2007 13:13:14 +0000
parents 42118892f428
children e2baee498ec8
comparison
equal deleted inserted replaced
188:dd573e090eed 189:5b7472db612b
208 std::min(m_centreFrame, newCentreFrame) > size_t(m_zoomLevel)) { 208 std::min(m_centreFrame, newCentreFrame) > size_t(m_zoomLevel)) {
209 emit centreFrameChanged(this, newCentreFrame, true); 209 emit centreFrameChanged(this, newCentreFrame, true);
210 } 210 }
211 } 211 }
212 212
213 213 void
214 Overview::mouseDoubleClickEvent(QMouseEvent *e)
215 {
216 long frame = getFrameForX(e->x());
217 emit centreFrameChanged(this, frame, true);
218 }
219
220 void
221 Overview::enterEvent(QEvent *)
222 {
223 emit contextHelpChanged(tr("Click and drag to navigate; double-click to jump"));
224 }
225
226 void
227 Overview::leaveEvent(QEvent *)
228 {
229 emit contextHelpChanged("");
230 }
231
232