svgui
1.9
|
TimeValueLayer.h
Go to the documentation of this file.
43 void paintVerticalScale(LayerGeometryProvider *v, bool, QPainter &paint, QRect rect) const override;
int getPropertyRangeAndValue(const PropertyName &, int *min, int *max, int *deflt) const override
Definition: TimeValueLayer.cpp:184
bool snapToSimilarFeature(LayerGeometryProvider *v, sv_frame_t &frame, int &resolution, SnapType snap) const override
Adjust the given frame to snap to the next feature that has "effectively" the same value as the featu...
Definition: TimeValueLayer.cpp:727
ModelId getModel() const override
Return the ID of the model represented in this layer.
Definition: TimeValueLayer.h:77
void editStart(LayerGeometryProvider *v, QMouseEvent *) override
Definition: TimeValueLayer.cpp:1496
void editEnd(LayerGeometryProvider *v, QMouseEvent *) override
Definition: TimeValueLayer.cpp:1547
QString getPropertyIconName(const PropertyName &) const override
Definition: TimeValueLayer.cpp:135
Definition: Layer.h:351
void drawStart(LayerGeometryProvider *v, QMouseEvent *) override
Definition: TimeValueLayer.cpp:1327
void getScaleExtents(LayerGeometryProvider *, double &min, double &max, bool &log) const
Definition: TimeValueLayer.cpp:773
void editDrag(LayerGeometryProvider *v, QMouseEvent *) override
Definition: TimeValueLayer.cpp:1520
Definition: SingleColourLayer.h:24
void drawDrag(LayerGeometryProvider *v, QMouseEvent *) override
Definition: TimeValueLayer.cpp:1376
Definition: TimeValueLayer.h:31
RangeMapper * getNewVerticalZoomRangeMapper() const override
Create and return a range mapper for vertical zoom step values.
Definition: TimeValueLayer.cpp:541
double getValueForY(LayerGeometryProvider *, int y) const override
Definition: TimeValueLayer.cpp:846
Definition: TimeValueLayer.h:98
void addCommand(Command *command)
Add a command to the command history.
Definition: CommandHistory.cpp:135
void toXml(QTextStream &stream, QString indent="", QString extraAttributes="") const override
Definition: TimeValueLayer.cpp:1907
Definition: Layer.h:353
void paint(LayerGeometryProvider *v, QPainter &paint, QRect rect) const override
Paint the given rectangle of this layer onto the given view using the given painter, superimposing it on top of any existing material in that view.
Definition: TimeValueLayer.cpp:902
Definition: TimeValueLayer.h:110
bool getDisplayExtents(double &min, double &max) const override
Return the minimum and maximum values within the visible area for the y axis of this layer...
Definition: TimeValueLayer.cpp:400
QString getScaleUnits() const override
Definition: TimeValueLayer.cpp:176
void resizeSelection(Selection s, Selection newSize) override
Definition: TimeValueLayer.cpp:1641
Definition: TimeValueLayer.h:99
void eraseEnd(LayerGeometryProvider *v, QMouseEvent *) override
Definition: TimeValueLayer.cpp:1476
PropertyList getProperties() const override
Definition: TimeValueLayer.cpp:112
QString getPropertyValueLabel(const PropertyName &, int value) const override
Definition: TimeValueLayer.cpp:245
Interface for classes that provide geometry information (such as size, start frame, and a large number of other properties) about the disposition of a layer.
Definition: LayerGeometryProvider.h:45
Interface for layers in which the Y axis represents (or can sometimes represent, depending on the dis...
Definition: VerticalScaleLayer.h:25
int getVerticalScaleWidth(LayerGeometryProvider *v, bool, QPainter &) const override
Definition: TimeValueLayer.cpp:1251
ColourSignificance getLayerColourSignificance() const override
Override from SingleColourLayer.
Definition: TimeValueLayer.h:148
Interface for layers in which a colour scale represents (or can sometimes represent, depending on the display mode) the sample value.
Definition: ColourScaleLayer.h:31
bool paste(LayerGeometryProvider *v, const Clipboard &from, sv_frame_t frameOffset, bool interactive) override
Paste from the given clipboard onto the layer at the given frame offset.
Definition: TimeValueLayer.cpp:1703
void setProperty(const PropertyName &, int value) override
Definition: TimeValueLayer.cpp:274
bool snapToFeatureFrame(LayerGeometryProvider *v, sv_frame_t &frame, int &resolution, SnapType snap, int ycoord) const override
Adjust the given frame to snap to the nearest feature, if possible.
Definition: TimeValueLayer.cpp:687
void copy(LayerGeometryProvider *v, Selection s, Clipboard &to) override
Definition: TimeValueLayer.cpp:1689
bool isLayerEditable() const override
This should return true if the layer can be edited by the user.
Definition: TimeValueLayer.h:125
QColor getColourForValue(LayerGeometryProvider *v, double value) const override
Definition: TimeValueLayer.cpp:871
void setProperties(const QXmlAttributes &attributes) override
Set the particular properties of a layer (those specific to the subclass) from a set of XML attribute...
Definition: TimeValueLayer.cpp:1940
ChangeEventsCommand * m_editingCommand
Definition: TimeValueLayer.h:183
bool isLayerScrollable(const LayerGeometryProvider *v) const override
This should return true if the layer can safely be scrolled automatically by a given view (simply cop...
Definition: TimeValueLayer.cpp:344
bool getValueExtents(double &min, double &max, bool &logarithmic, QString &unit) const override
Return the minimum and maximum values for the y axis of the model in this layer, as well as whether t...
Definition: TimeValueLayer.cpp:358
PropertyType getPropertyType(const PropertyName &) const override
Definition: TimeValueLayer.cpp:143
int getVerticalZoomSteps(int &defaultStep) const override
Get the number of vertical zoom steps available for this layer.
Definition: TimeValueLayer.cpp:452
void setVerticalScale(VerticalScale scale)
Definition: TimeValueLayer.cpp:320
EventVector getLocalPoints(LayerGeometryProvider *v, int) const
Definition: TimeValueLayer.cpp:565
void drawEnd(LayerGeometryProvider *v, QMouseEvent *) override
Definition: TimeValueLayer.cpp:1439
int getCurrentVerticalZoomStep() const override
Get the current vertical zoom step.
Definition: TimeValueLayer.cpp:463
int getYForValue(LayerGeometryProvider *, double value) const override
VerticalScaleLayer and ColourScaleLayer methods.
Definition: TimeValueLayer.cpp:822
bool setDisplayExtents(double min, double max) override
Set the displayed minimum and maximum values for the y axis to the given range, if supported...
Definition: TimeValueLayer.cpp:427
void eraseDrag(LayerGeometryProvider *v, QMouseEvent *) override
Definition: TimeValueLayer.cpp:1471
View is the base class of widgets that display one or more overlaid views of data against a horizonta...
Definition: View.h:55
QString getFeatureDescription(LayerGeometryProvider *v, QPoint &) const override
Definition: TimeValueLayer.cpp:632
QString getLabelPreceding(sv_frame_t) const override
Definition: TimeValueLayer.cpp:614
Definition: TimeValueLayer.h:96
VerticalScale getVerticalScale() const
Definition: TimeValueLayer.h:115
int getCompletion(LayerGeometryProvider *) const override
Return the proportion of background work complete in drawing this view, as a percentage – in most ca...
Definition: TimeValueLayer.cpp:74
void setDrawSegmentDivisions(bool)
Definition: TimeValueLayer.cpp:328
void setVerticalZoomStep(int) override
Set the vertical zoom step.
Definition: TimeValueLayer.cpp:487
bool hasLightBackground() const override
Return true if the layer currently has a dark colour on a light background, false if it has a light c...
Definition: SingleColourLayer.cpp:53
bool editOpen(LayerGeometryProvider *v, QMouseEvent *) override
Open an editor on the item under the mouse (e.g.
Definition: TimeValueLayer.cpp:1578
int getDefaultColourHint(bool dark, bool &impose) override
Definition: TimeValueLayer.cpp:894
bool needsTextLabelHeight() const override
True if this layer will need to place text labels when it is painted.
Definition: TimeValueLayer.cpp:168
Definition: TimeValueLayer.h:95
Definition: TimeValueLayer.h:109
void moveSelection(Selection s, sv_frame_t newStartFrame) override
Definition: TimeValueLayer.cpp:1618
bool hasLightBackground() const override
Override from SingleColourLayer.
Definition: TimeValueLayer.h:157
void paintVerticalScale(LayerGeometryProvider *v, bool, QPainter &paint, QRect rect) const override
Definition: TimeValueLayer.cpp:1274
QString getPropertyLabel(const PropertyName &) const override
Definition: TimeValueLayer.cpp:124
QString getPropertyGroupName(const PropertyName &) const override
Definition: TimeValueLayer.cpp:155
bool getDrawSegmentDivisions() const
Definition: TimeValueLayer.h:118
void deleteSelection(Selection s) override
Definition: TimeValueLayer.cpp:1670
void eraseStart(LayerGeometryProvider *v, QMouseEvent *) override
Definition: TimeValueLayer.cpp:1452
Generated by 1.8.11