git-svn-id: svn://db.shs.com.ru/libs@495 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -480,7 +480,7 @@ void Graphic::clear() {
|
|||||||
graphics[i].max_x = 0.;
|
graphics[i].max_x = 0.;
|
||||||
graphics[i].cvrect = QRectF();
|
graphics[i].cvrect = QRectF();
|
||||||
}
|
}
|
||||||
on_buttonAutofit_clicked();
|
if (isFit) on_buttonAutofit_clicked();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -291,8 +291,8 @@ public slots:
|
|||||||
void addPoint(const QPointF & p, bool update = true) {addPoint(p, curGraphic, update);}
|
void addPoint(const QPointF & p, bool update = true) {addPoint(p, curGraphic, update);}
|
||||||
void addPoint(double x, double y, int graphic, bool update = true) {addPoint(QPointF(x, y), graphic, update);}
|
void addPoint(double x, double y, int graphic, bool update = true) {addPoint(QPointF(x, y), graphic, update);}
|
||||||
void addPoint(double x, double y, bool update = true) {addPoint(QPointF(x, y), update);}
|
void addPoint(double x, double y, bool update = true) {addPoint(QPointF(x, y), update);}
|
||||||
void addPoint(double y, int graphic, bool update = true) {addPoint(QPointF(graphics.at(graphic).max_x + inc_x, y), graphic, update);}
|
void addPoint(double y, int graphic, bool update = true) {if (graphics[graphic].polyline.isEmpty()) addPoint(QPointF(0.0, y), graphic, update); else addPoint(QPointF(graphics[graphic].max_x + inc_x, y), graphic, update);}
|
||||||
void addPoint(double y, bool update = true) {addPoint(QPointF(graphics[curGraphic].max_x + inc_x, y), update);}
|
void addPoint(double y, bool update = true) {if (graphics[curGraphic].polyline.isEmpty()) addPoint(QPointF(0.0, y), update); else addPoint(QPointF(graphics[curGraphic].max_x + inc_x, y), update);}
|
||||||
void setGraphicData(const QVector<QPointF> & g, int graphic, bool update_ = true);
|
void setGraphicData(const QVector<QPointF> & g, int graphic, bool update_ = true);
|
||||||
void setGraphicData(const QVector<QPointF> & g) {setGraphicData(g, curGraphic);}
|
void setGraphicData(const QVector<QPointF> & g) {setGraphicData(g, curGraphic);}
|
||||||
void setGraphicProperties(const QString & name, const QColor & color = Qt::darkRed, Qt::PenStyle style = Qt::SolidLine, double width = 0., bool visible = true) {setGraphicProperties(curGraphic, name, color, style, width, visible);}
|
void setGraphicProperties(const QString & name, const QColor & color = Qt::darkRed, Qt::PenStyle style = Qt::SolidLine, double width = 0., bool visible = true) {setGraphicProperties(curGraphic, name, color, style, width, visible);}
|
||||||
|
|||||||
Reference in New Issue
Block a user