svgui
1.9
|
TextLayer.h
Go to the documentation of this file.
86 int getVerticalScaleWidth(LayerGeometryProvider *, bool, QPainter &) const override { return 0; }
void drawDrag(LayerGeometryProvider *v, QMouseEvent *) override
Definition: TextLayer.cpp:425
int getVerticalScaleWidth(LayerGeometryProvider *, bool, QPainter &) const override
Definition: TextLayer.h:86
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: TextLayer.cpp:112
void moveSelection(Selection s, sv_frame_t newStartFrame) override
Definition: TextLayer.cpp:618
Definition: SingleColourLayer.h:24
void editEnd(LayerGeometryProvider *v, QMouseEvent *) override
Definition: TextLayer.cpp:563
int getCompletion(LayerGeometryProvider *) const override
Return the proportion of background work complete in drawing this view, as a percentage – in most ca...
Definition: TextLayer.cpp:46
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: TextLayer.cpp:118
EventVector getLocalPoints(LayerGeometryProvider *v, int x, int y) const
Definition: TextLayer.cpp:125
int getPropertyRangeAndValue(const PropertyName &, int *min, int *max, int *deflt) const override
Definition: TextLayer.cpp:92
int getDefaultColourHint(bool dark, bool &impose) override
Definition: TextLayer.cpp:787
bool snapToFeatureFrame(LayerGeometryProvider *v, sv_frame_t &frame, int &resolution, SnapType snap, int ycoord) const override
!! too much overlap with TimeValueLayer/TimeInstantLayer
Definition: TextLayer.cpp:239
bool getPointToDrag(LayerGeometryProvider *v, int x, int y, Event &) const
Definition: TextLayer.cpp:171
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
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: TextLayer.cpp:292
QString getPropertyValueLabel(const PropertyName &, int value) const override
Definition: TextLayer.cpp:99
Definition: TextLayer.h:28
PropertyType getPropertyType(const PropertyName &) const override
Definition: TextLayer.cpp:86
void resizeSelection(Selection s, Selection newSize) override
Definition: TextLayer.cpp:640
void editDrag(LayerGeometryProvider *v, QMouseEvent *) override
Definition: TextLayer.cpp:535
void drawEnd(LayerGeometryProvider *v, QMouseEvent *) override
Definition: TextLayer.cpp:446
void eraseEnd(LayerGeometryProvider *v, QMouseEvent *) override
Definition: TextLayer.cpp:492
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: TextLayer.cpp:802
bool editOpen(LayerGeometryProvider *, QMouseEvent *) override
Open an editor on the item under the mouse (e.g.
Definition: TextLayer.cpp:592
int getYForHeight(LayerGeometryProvider *v, double height) const
Definition: TextLayer.cpp:278
void setProperty(const PropertyName &, int value) override
Definition: TextLayer.cpp:106
void toXml(QTextStream &stream, QString indent="", QString extraAttributes="") const override
Definition: TextLayer.cpp:795
void drawStart(LayerGeometryProvider *v, QMouseEvent *) override
Definition: TextLayer.cpp:398
View is the base class of widgets that display one or more overlaid views of data against a horizonta...
Definition: View.h:55
ModelId getModel() const override
Return the ID of the model represented in this layer.
Definition: TextLayer.h:65
void editStart(LayerGeometryProvider *v, QMouseEvent *) override
Definition: TextLayer.cpp:512
void eraseStart(LayerGeometryProvider *v, QMouseEvent *) override
Definition: TextLayer.cpp:471
QString getFeatureDescription(LayerGeometryProvider *v, QPoint &) const override
Definition: TextLayer.cpp:200
void eraseDrag(LayerGeometryProvider *v, QMouseEvent *) override
Definition: TextLayer.cpp:487
QString getPropertyLabel(const PropertyName &) const override
Definition: TextLayer.cpp:80
bool isLayerEditable() const override
This should return true if the layer can be edited by the user.
Definition: TextLayer.h:79
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: TextLayer.cpp:702
void copy(LayerGeometryProvider *v, Selection s, Clipboard &to) override
Definition: TextLayer.cpp:688
double getHeightForY(LayerGeometryProvider *v, int y) const
Definition: TextLayer.cpp:285
Generated by 1.8.11