Mercurial > hg > svgui
comparison layer/SpectrumLayer.h @ 594:5fa210337bee integration_library
Merge from branch "sonification"
author | mathieub <mathieu.barthet@eecs.qmul.ac.uk> |
---|---|
date | Mon, 25 Jul 2011 18:56:28 +0100 |
parents | a13aa5320221 |
children |
comparison
equal
deleted
inserted
replaced
593:aaa3be825207 | 594:5fa210337bee |
---|---|
42 virtual bool getCrosshairExtents(View *, QPainter &, QPoint cursorPos, | 42 virtual bool getCrosshairExtents(View *, QPainter &, QPoint cursorPos, |
43 std::vector<QRect> &extents) const; | 43 std::vector<QRect> &extents) const; |
44 virtual void paintCrosshairs(View *, QPainter &, QPoint) const; | 44 virtual void paintCrosshairs(View *, QPainter &, QPoint) const; |
45 | 45 |
46 virtual QString getFeatureDescription(View *v, QPoint &) const; | 46 virtual QString getFeatureDescription(View *v, QPoint &) const; |
47 | |
48 //virtual int getHorizontalScaleHeight(View *, QPainter &) const; | |
47 | 49 |
48 virtual void paint(View *v, QPainter &paint, QRect rect) const; | 50 virtual void paint(View *v, QPainter &paint, QRect rect) const; |
49 | 51 |
50 virtual VerticalPosition getPreferredFrameCountPosition() const { | 52 virtual VerticalPosition getPreferredFrameCountPosition() const { |
51 return PositionTop; | 53 return PositionTop; |
94 bool getShowPeaks() const { return m_showPeaks; } | 96 bool getShowPeaks() const { return m_showPeaks; } |
95 | 97 |
96 virtual void toXml(QTextStream &stream, QString indent = "", | 98 virtual void toXml(QTextStream &stream, QString indent = "", |
97 QString extraAttributes = "") const; | 99 QString extraAttributes = "") const; |
98 | 100 |
101 virtual bool scaleClicked(const View *, QMouseEvent *); | |
102 | |
99 protected slots: | 103 protected slots: |
100 void preferenceChanged(PropertyContainer::PropertyName name); | 104 void preferenceChanged(PropertyContainer::PropertyName name); |
101 | 105 |
102 protected: | 106 protected: |
103 // make this SliceLayer method unavailable to the general public | 107 // make this SliceLayer method unavailable to the general public |