svgui
1.9
|
RegionLayer.h
Go to the documentation of this file.
45 void paintVerticalScale(LayerGeometryProvider *v, bool, QPainter &paint, QRect rect) const override;
int getCompletion(LayerGeometryProvider *) const override
Return the proportion of background work complete in drawing this view, as a percentage – in most ca...
Definition: RegionLayer.cpp:66
double getValueForY(LayerGeometryProvider *v, int y) const override
Definition: RegionLayer.cpp:709
void drawEnd(LayerGeometryProvider *v, QMouseEvent *) override
Definition: RegionLayer.cpp:1173
Definition: RegionLayer.h:33
void drawDrag(LayerGeometryProvider *v, QMouseEvent *) override
Definition: RegionLayer.cpp:1141
Definition: RegionLayer.h:97
QString getPropertyGroupName(const PropertyName &) const override
Definition: RegionLayer.cpp:136
QString getFeatureDescription(LayerGeometryProvider *v, QPoint &) const override
Definition: RegionLayer.cpp:395
void getScaleExtents(LayerGeometryProvider *, double &min, double &max, bool &log) const
Definition: RegionLayer.cpp:597
bool isLayerEditable() const override
This should return true if the layer can be edited by the user.
Definition: RegionLayer.h:115
Definition: SingleColourLayer.h:24
void copy(LayerGeometryProvider *v, Selection s, Clipboard &to) override
Definition: RegionLayer.cpp:1446
void paintVerticalScale(LayerGeometryProvider *v, bool, QPainter &paint, QRect rect) const override
Definition: RegionLayer.cpp:1073
void editStart(LayerGeometryProvider *v, QMouseEvent *) override
Definition: RegionLayer.cpp:1231
int getPropertyRangeAndValue(const PropertyName &, int *min, int *max, int *deflt) const override
Definition: RegionLayer.cpp:145
ModelId getModel() const override
Return the ID of the model represented in this layer.
Definition: RegionLayer.h:79
QColor getColourForValue(LayerGeometryProvider *v, double value) const override
Definition: RegionLayer.cpp:812
int spacingIndexToY(LayerGeometryProvider *v, int i) const
Definition: RegionLayer.cpp:652
bool getPointToDrag(LayerGeometryProvider *v, int x, int y, Event &) const
Definition: RegionLayer.cpp:354
void addCommand(Command *command)
Add a command to the command history.
Definition: CommandHistory.cpp:135
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: RegionLayer.cpp:268
QString getPropertyLabel(const PropertyName &) const override
Definition: RegionLayer.cpp:117
PropertyType getPropertyType(const PropertyName &) const override
Definition: RegionLayer.cpp:126
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: RegionLayer.cpp:1566
void setVerticalScale(VerticalScale scale)
Definition: RegionLayer.cpp:260
void moveSelection(Selection s, sv_frame_t newStartFrame) override
Definition: RegionLayer.cpp:1365
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: RegionLayer.cpp:842
void setProperty(const PropertyName &, int value) override
Definition: RegionLayer.cpp:218
QString getPropertyValueLabel(const PropertyName &, int value) const override
Definition: RegionLayer.cpp:192
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
double yToSpacingIndex(LayerGeometryProvider *v, int y) const
Definition: RegionLayer.cpp:663
Interface for layers in which the Y axis represents (or can sometimes represent, depending on the dis...
Definition: VerticalScaleLayer.h:25
EventVector getLocalPoints(LayerGeometryProvider *v, int x) const
Definition: RegionLayer.cpp:330
void deleteSelection(Selection s) override
Definition: RegionLayer.cpp:1422
Definition: RegionLayer.h:106
void toXml(QTextStream &stream, QString indent="", QString extraAttributes="") const override
Definition: RegionLayer.cpp:1541
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
Definition: RegionLayer.h:107
PropertyList getProperties() const override
Definition: RegionLayer.cpp:107
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: RegionLayer.cpp:467
int getVerticalScaleWidth(LayerGeometryProvider *v, bool, QPainter &) const override
Definition: RegionLayer.cpp:1050
bool editOpen(LayerGeometryProvider *v, QMouseEvent *) override
Open an editor on the item under the mouse (e.g.
Definition: RegionLayer.cpp:1323
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: RegionLayer.cpp:316
Definition: RegionLayer.h:98
void editEnd(LayerGeometryProvider *v, QMouseEvent *) override
Definition: RegionLayer.cpp:1294
Definition: RegionLayer.h:99
void resizeSelection(Selection s, Selection newSize) override
Definition: RegionLayer.cpp:1390
View is the base class of widgets that display one or more overlaid views of data against a horizonta...
Definition: View.h:55
void eraseStart(LayerGeometryProvider *v, QMouseEvent *) override
Definition: RegionLayer.cpp:1185
void eraseEnd(LayerGeometryProvider *v, QMouseEvent *) override
Definition: RegionLayer.cpp:1207
int getYForValue(LayerGeometryProvider *v, double value) const override
VerticalScaleLayer and ColourScaleLayer methods.
Definition: RegionLayer.cpp:674
void editDrag(LayerGeometryProvider *v, QMouseEvent *) override
Definition: RegionLayer.cpp:1257
void drawStart(LayerGeometryProvider *v, QMouseEvent *) override
Definition: RegionLayer.cpp:1117
QString getLabelPreceding(sv_frame_t) const override
Definition: RegionLayer.cpp:378
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: RegionLayer.cpp:542
void eraseDrag(LayerGeometryProvider *v, QMouseEvent *) override
Definition: RegionLayer.cpp:1202
int getDefaultColourHint(bool dark, bool &impose) override
Definition: RegionLayer.cpp:834
Definition: RegionLayer.h:96
bool getValueExtents(double &min, double &max, bool &log, 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: RegionLayer.cpp:301
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: RegionLayer.cpp:1460
Generated by 1.8.11