svgui
1.9
|
BoxLayer.h
Go to the documentation of this file.
42 void paintVerticalScale(LayerGeometryProvider *v, bool, QPainter &paint, QRect rect) const override;
Definition: BoxLayer.h:87
QString getPropertyGroupName(const PropertyName &) const override
Definition: BoxLayer.cpp:113
bool getLocalPoint(LayerGeometryProvider *v, int x, int y, Event &) const
Definition: BoxLayer.cpp:243
void copy(LayerGeometryProvider *v, Selection s, Clipboard &to) override
Definition: BoxLayer.cpp:1091
PropertyType getPropertyType(const PropertyName &) const override
Definition: BoxLayer.cpp:105
void paintVerticalScale(LayerGeometryProvider *v, bool, QPainter &paint, QRect rect) const override
Definition: BoxLayer.cpp:735
Definition: SingleColourLayer.h:24
QString getPropertyLabel(const PropertyName &) const override
Definition: BoxLayer.cpp:97
bool editOpen(LayerGeometryProvider *v, QMouseEvent *) override
Open an editor on the item under the mouse (e.g.
Definition: BoxLayer.cpp:963
double getValueForY(LayerGeometryProvider *v, int y) const override
Definition: BoxLayer.cpp:514
Definition: BoxLayer.h:88
void addCommand(Command *command)
Add a command to the command history.
Definition: CommandHistory.cpp:135
bool isLayerEditable() const override
This should return true if the layer can be edited by the user.
Definition: BoxLayer.h:97
void toXml(QTextStream &stream, QString indent="", QString extraAttributes="") const override
Definition: BoxLayer.cpp:1185
Definition: BoxLayer.h:89
void setProperty(const PropertyName &, int value) override
Definition: BoxLayer.cpp:167
void editDrag(LayerGeometryProvider *v, QMouseEvent *) override
Definition: BoxLayer.cpp:905
ModelId getModel() const override
Return the ID of the model represented in this layer.
Definition: BoxLayer.h:73
bool adoptExtents(double min, double max, QString unit) override
Consider using the given value extents and units for this layer.
Definition: BoxLayer.cpp:226
void drawEnd(LayerGeometryProvider *v, QMouseEvent *) override
Definition: BoxLayer.cpp:826
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 getYForValue(LayerGeometryProvider *v, double value) const override
VerticalScaleLayer methods.
Definition: BoxLayer.cpp:495
QString getPropertyValueLabel(const PropertyName &, int value) const override
Definition: BoxLayer.cpp:152
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: BoxLayer.cpp:199
QString getFeatureDescription(LayerGeometryProvider *v, QPoint &) const override
Definition: BoxLayer.cpp:320
std::pair< float, float > getRange(const Event &e) const
Definition: BoxLayer.h:139
void eraseDrag(LayerGeometryProvider *v, QMouseEvent *) override
Definition: BoxLayer.cpp:852
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: BoxLayer.cpp:1105
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: BoxLayer.cpp:214
void drawDrag(LayerGeometryProvider *v, QMouseEvent *) override
Definition: BoxLayer.cpp:789
void editEnd(LayerGeometryProvider *v, QMouseEvent *) override
Definition: BoxLayer.cpp:935
void getScaleExtents(LayerGeometryProvider *, double &min, double &max, bool &log) const
Definition: BoxLayer.cpp:449
int getPropertyRangeAndValue(const PropertyName &, int *min, int *max, int *deflt) const override
Definition: BoxLayer.cpp:122
int getVerticalScaleWidth(LayerGeometryProvider *v, bool, QPainter &) const override
Definition: BoxLayer.cpp:719
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: BoxLayer.cpp:836
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: BoxLayer.cpp:532
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: BoxLayer.cpp:1196
void resizeSelection(Selection s, Selection newSize) override
Definition: BoxLayer.cpp:1037
void drawStart(LayerGeometryProvider *v, QMouseEvent *) override
Definition: BoxLayer.cpp:766
Definition: BoxLayer.h:31
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: BoxLayer.cpp:192
void editStart(LayerGeometryProvider *v, QMouseEvent *) override
Definition: BoxLayer.cpp:880
QString getLabelPreceding(sv_frame_t) const override
Definition: BoxLayer.cpp:303
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: BoxLayer.cpp:369
void eraseEnd(LayerGeometryProvider *v, QMouseEvent *) override
Definition: BoxLayer.cpp:857
int getCompletion(LayerGeometryProvider *) const override
Return the proportion of background work complete in drawing this view, as a percentage – in most ca...
Definition: BoxLayer.cpp:60
void moveSelection(Selection s, sv_frame_t newStartFrame) override
Definition: BoxLayer.cpp:1013
Generated by 1.8.11