Mercurial > hg > svgui
comparison view/Pane.h @ 229:387f2f6fc333 sv1-1.0pre2
* Remove tip dialog for now. I don't like it enough
* Fixes to export image
author | Chris Cannam |
---|---|
date | Wed, 14 Mar 2007 14:39:39 +0000 |
parents | 6dab3ac2fe73 |
children | 2d891e02c5ce |
comparison
equal
deleted
inserted
replaced
228:1c4c9e3e44e6 | 229:387f2f6fc333 |
---|---|
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 | 52 |
53 virtual bool render(QPainter &paint, QRect rect); | 53 virtual QImage *toNewImage(size_t f0, size_t f1); |
54 virtual QImage *toNewImage(); | 54 virtual QImage *toNewImage() { return View::toNewImage(); } |
55 virtual QSize getImageSize(size_t f0, size_t f1); | |
56 virtual QSize getImageSize() { return View::getImageSize(); } | |
55 | 57 |
56 virtual QString toXmlString(QString indent = "", | 58 virtual QString toXmlString(QString indent = "", |
57 QString extraAttributes = "") const; | 59 QString extraAttributes = "") const; |
58 | 60 |
59 signals: | 61 signals: |
83 virtual void mouseMoveEvent(QMouseEvent *e); | 85 virtual void mouseMoveEvent(QMouseEvent *e); |
84 virtual void mouseDoubleClickEvent(QMouseEvent *e); | 86 virtual void mouseDoubleClickEvent(QMouseEvent *e); |
85 virtual void leaveEvent(QEvent *e); | 87 virtual void leaveEvent(QEvent *e); |
86 virtual void wheelEvent(QWheelEvent *e); | 88 virtual void wheelEvent(QWheelEvent *e); |
87 virtual void resizeEvent(QResizeEvent *e); | 89 virtual void resizeEvent(QResizeEvent *e); |
90 | |
91 virtual bool render(QPainter &paint, int x0, size_t f0, size_t f1); | |
88 | 92 |
89 Selection getSelectionAt(int x, bool &closeToLeft, bool &closeToRight) const; | 93 Selection getSelectionAt(int x, bool &closeToLeft, bool &closeToRight) const; |
90 | 94 |
91 bool editSelectionStart(QMouseEvent *e); | 95 bool editSelectionStart(QMouseEvent *e); |
92 bool editSelectionDrag(QMouseEvent *e); | 96 bool editSelectionDrag(QMouseEvent *e); |