comparison view/Pane.h @ 276:21c7152ddba8

* attempt to ensure zoom-to-fit actually makes things fit (not obscured by the scale) -- not working * attempt to add vertical scrollbar optionally in main window -- not working -- no time to fix now
author Chris Cannam
date Mon, 02 Jul 2007 14:58:34 +0000
parents 4ed1446ad604
children 8acd30ed735c
comparison
equal deleted inserted replaced
275:bbe57afe9d7d 276:21c7152ddba8
47 47
48 void setCentreLineVisible(bool visible); 48 void setCentreLineVisible(bool visible);
49 bool getCentreLineVisible() const { return m_centreLineVisible; } 49 bool getCentreLineVisible() const { return m_centreLineVisible; }
50 50
51 virtual size_t getFirstVisibleFrame() const; 51 virtual size_t getFirstVisibleFrame() const;
52
53 virtual size_t getVerticalScaleWidth() const;
52 54
53 virtual QImage *toNewImage(size_t f0, size_t f1); 55 virtual QImage *toNewImage(size_t f0, size_t f1);
54 virtual QImage *toNewImage() { return View::toNewImage(); } 56 virtual QImage *toNewImage() { return View::toNewImage(); }
55 virtual QSize getImageSize(size_t f0, size_t f1); 57 virtual QSize getImageSize(size_t f0, size_t f1);
56 virtual QSize getImageSize() { return View::getImageSize(); } 58 virtual QSize getImageSize() { return View::getImageSize(); }