16 #ifndef _TIME_RULER_H_ 17 #define _TIME_RULER_H_ 58 virtual void toXml(QTextStream &stream, QString indent =
"",
59 QString extraAttributes =
"")
const;
virtual int getDefaultColourHint(bool dark, bool &impose)
void setProperties(const QXmlAttributes &attributes)
Set the particular properties of a layer (those specific to the subclass) from a set of XML attribute...
virtual int getVerticalScaleWidth(View *, bool, QPainter &) const
virtual void paint(View *v, QPainter &paint, QRect rect) const
Paint the given rectangle of this layer onto the given view using the given painter,...
virtual bool snapToFeatureFrame(View *, int &, int &, SnapType) const
Adjust the given frame to snap to the nearest feature, if possible.
virtual const Model * getModel() const
void setLabelHeight(LabelHeight h)
virtual ColourSignificance getLayerColourSignificance() const
Implements Layer::getLayerColourSignificance()
LabelHeight getLabelHeight() const
View is the base class of widgets that display one or more overlaid views of data against a horizonta...
LabelHeight m_labelHeight
virtual QString getLayerPresentationName() const
virtual void toXml(QTextStream &stream, QString indent="", QString extraAttributes="") const
Convert the layer's data (though not those of the model it refers to) into XML for file output.
int getMajorTickSpacing(View *, bool &quarterTicks) const
virtual bool getValueExtents(float &, float &, bool &, QString &) const
Return the minimum and maximum values for the y axis of the model in this layer, as well as whether t...