Mercurial > hg > svgui
diff view/View.h @ 1266:a34a2a25907c
Untabify
author | Chris Cannam |
---|---|
date | Thu, 01 Mar 2018 18:02:22 +0000 |
parents | 37f86e26a8d2 |
children | 13d9b422f7fe |
line wrap: on
line diff
--- a/view/View.h Thu Mar 01 14:43:53 2018 +0000 +++ b/view/View.h Thu Mar 01 18:02:22 2018 +0000 @@ -51,7 +51,7 @@ */ class View : public QFrame, - public XmlExportable, + public XmlExportable, public LayerGeometryProvider { Q_OBJECT @@ -136,7 +136,7 @@ * Not thread-safe in logarithmic mode. Call only from GUI thread. */ double getYForFrequency(double frequency, double minFreq, double maxFreq, - bool logarithmic) const; + bool logarithmic) const; /** * Return the closest frequency to the given pixel y-coordinate, @@ -273,10 +273,10 @@ return m_manager && m_manager->shouldShowFeatureLabels(); } virtual bool shouldIlluminateLocalFeatures(const Layer *, QPoint &) const { - return false; + return false; } virtual bool shouldIlluminateLocalSelection(QPoint &, bool &, bool &) const { - return false; + return false; } virtual void setPlaybackFollow(PlaybackFollowMode m); @@ -292,12 +292,12 @@ virtual QString getPropertyLabel(const PropertyName &) const; virtual PropertyContainer::PropertyType getPropertyType(const PropertyName &) const; virtual int getPropertyRangeAndValue(const PropertyName &, - int *min, int *max, int *deflt) const; + int *min, int *max, int *deflt) const; virtual QString getPropertyValueLabel(const PropertyName &, - int value) const; + int value) const; virtual void setProperty(const PropertyName &, int value); virtual QString getPropertyContainerName() const { - return objectName(); + return objectName(); } virtual QString getPropertyContainerIconName() const = 0; @@ -457,8 +457,8 @@ LayerList getScrollableBackLayers(bool testChanged, bool &changed) const; LayerList getNonScrollableFrontLayers(bool testChanged, bool &changed) const; int getZoomConstraintBlockSize(int blockSize, - ZoomConstraint::RoundingDirection dir = - ZoomConstraint::RoundNearest) const; + ZoomConstraint::RoundingDirection dir = + ZoomConstraint::RoundNearest) const; // True if the top layer(s) use colours for meaningful things. If // this is the case, selections will be shown using unfilled boxes @@ -539,25 +539,25 @@ return m_v->getPropertyLabel(n); } PropertyType getPropertyType(const PropertyName &n) const { - return m_v->getPropertyType(n); + return m_v->getPropertyType(n); } int getPropertyRangeAndValue(const PropertyName &n, int *min, int *max, int *deflt) const { - return m_v->getPropertyRangeAndValue(n, min, max, deflt); + return m_v->getPropertyRangeAndValue(n, min, max, deflt); } QString getPropertyValueLabel(const PropertyName &n, int value) const { - return m_v->getPropertyValueLabel(n, value); + return m_v->getPropertyValueLabel(n, value); } QString getPropertyContainerName() const { - return m_v->getPropertyContainerName(); + return m_v->getPropertyContainerName(); } QString getPropertyContainerIconName() const { - return m_v->getPropertyContainerIconName(); + return m_v->getPropertyContainerIconName(); } public slots: virtual void setProperty(const PropertyName &n, int value) { - m_v->setProperty(n, value); + m_v->setProperty(n, value); } protected: