svgui
1.9
|
TimeInstantLayer.h
Go to the documentation of this file.
112 int getVerticalScaleWidth(LayerGeometryProvider *, bool, QPainter &) const override { return 0; }
QString getPropertyValueLabel(const PropertyName &, int value) const override
Definition: TimeInstantLayer.cpp:129
QString getLabelPreceding(sv_frame_t) const override
Definition: TimeInstantLayer.cpp:223
void drawStart(LayerGeometryProvider *v, QMouseEvent *) override
Definition: TimeInstantLayer.cpp:504
Definition: Layer.h:351
Definition: SingleColourLayer.h:24
ModelId getModel() const override
Return the ID of the model represented in this layer.
Definition: TimeInstantLayer.h:67
void editStart(LayerGeometryProvider *v, QMouseEvent *) override
Definition: TimeInstantLayer.cpp:610
QString getPropertyLabel(const PropertyName &) const override
Definition: TimeInstantLayer.cpp:93
void drawEnd(LayerGeometryProvider *v, QMouseEvent *) override
Definition: TimeInstantLayer.cpp:545
bool needsTextLabelHeight() const override
True if this layer will need to place text labels when it is painted.
Definition: TimeInstantLayer.cpp:161
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: TimeInstantLayer.cpp:800
void addCommand(Command *command)
Add a command to the command history.
Definition: CommandHistory.cpp:135
Definition: Layer.h:353
void eraseEnd(LayerGeometryProvider *v, QMouseEvent *) override
Definition: TimeInstantLayer.cpp:591
void eraseDrag(LayerGeometryProvider *v, QMouseEvent *) override
Definition: TimeInstantLayer.cpp:586
void resizeSelection(Selection s, Selection newSize) override
Definition: TimeInstantLayer.cpp:738
void setProperty(const PropertyName &, int value) override
Definition: TimeInstantLayer.cpp:143
PropertyType getPropertyType(const PropertyName &) const override
Definition: TimeInstantLayer.cpp:100
void editDrag(LayerGeometryProvider *v, QMouseEvent *) override
Definition: TimeInstantLayer.cpp:633
bool isLayerEditable() const override
This should return true if the layer can be edited by the user.
Definition: TimeInstantLayer.h:89
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
int getCompletion(LayerGeometryProvider *) const override
Return the proportion of background work complete in drawing this view, as a percentage – in most ca...
Definition: TimeInstantLayer.cpp:56
void copy(LayerGeometryProvider *v, Selection s, Clipboard &to) override
Definition: TimeInstantLayer.cpp:786
int getVerticalScaleWidth(LayerGeometryProvider *, bool, QPainter &) const override
Definition: TimeInstantLayer.h:112
void setPlotStyle(PlotStyle style)
Definition: TimeInstantLayer.cpp:153
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: TimeInstantLayer.cpp:169
PropertyList getProperties() const override
Definition: TimeInstantLayer.cpp:85
ChangeEventsCommand * m_editingCommand
Definition: TimeInstantLayer.h:124
EventVector getLocalPoints(LayerGeometryProvider *v, int) const
Definition: TimeInstantLayer.cpp:176
void deleteSelection(Selection s) override
Definition: TimeInstantLayer.cpp:767
void drawDrag(LayerGeometryProvider *v, QMouseEvent *) override
Definition: TimeInstantLayer.cpp:527
void moveSelection(Selection s, sv_frame_t newStartFrame) override
Definition: TimeInstantLayer.cpp:716
ColourSignificance getLayerColourSignificance() const override
Implements Layer::getLayerColourSignificance()
Definition: TimeInstantLayer.h:104
bool clipboardAlignmentDiffers(LayerGeometryProvider *v, const Clipboard &) const
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: TimeInstantLayer.cpp:317
View is the base class of widgets that display one or more overlaid views of data against a horizonta...
Definition: View.h:55
int getDefaultColourHint(bool dark, bool &impose) override
Definition: TimeInstantLayer.cpp:869
int getPropertyRangeAndValue(const PropertyName &, int *min, int *max, int *deflt) const override
Definition: TimeInstantLayer.cpp:107
void eraseStart(LayerGeometryProvider *v, QMouseEvent *) override
Definition: TimeInstantLayer.cpp:567
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: TimeInstantLayer.cpp:887
Definition: TimeInstantLayer.h:28
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: TimeInstantLayer.cpp:278
bool getValueExtents(double &, double &, bool &, QString &) const override
Return the minimum and maximum values for the y axis of the model in this layer, as well as whether t...
Definition: TimeInstantLayer.h:95
QString getFeatureDescription(LayerGeometryProvider *v, QPoint &) const override
Definition: TimeInstantLayer.cpp:241
bool editOpen(LayerGeometryProvider *, QMouseEvent *) override
Open an editor on the item under the mouse (e.g.
Definition: TimeInstantLayer.cpp:680
void toXml(QTextStream &stream, QString indent="", QString extraAttributes="") const override
Definition: TimeInstantLayer.cpp:877
void editEnd(LayerGeometryProvider *v, QMouseEvent *) override
Definition: TimeInstantLayer.cpp:656
Generated by 1.8.11