actual version libs withiout pip
git-svn-id: svn://db.shs.com.ru/libs@2 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
[Buildset]
|
||||
BuildItems=@Variant(\x00\x00\x00\t\x00\x00\x00\x00\x01\x00\x00\x00\x0b\x00\x00\x00\x00\x01\x00\x00\x00\x16\x00q\x00a\x00d\x00_\x00g\x00r\x00a\x00p\x00h\x00i\x00c)
|
||||
|
||||
[CMake]
|
||||
Build Directory Count=1
|
||||
Current Build Directory Index=0
|
||||
ProjectRootRelative=./
|
||||
|
||||
[CMake][CMake Build Directory 0]
|
||||
Build Directory Path=file:///mnt/data/orders/libs/qad_graphic/
|
||||
Build Type=
|
||||
CMake Binary=file:///usr/bin/cmake
|
||||
Environment Profile=
|
||||
Extra Arguments=
|
||||
Install Directory=file:///usr/local
|
||||
|
||||
[Defines And Includes][Compiler]
|
||||
Name=GCC
|
||||
Path=gcc
|
||||
Type=GCC
|
||||
@@ -535,20 +535,20 @@ void Graphic::addPoint(const QPointF & p, int graphic, bool update_) {
|
||||
}
|
||||
|
||||
|
||||
void Graphic::setGraphicData(const QVector<QPointF> & g, int graphic, bool update_) {
|
||||
void Graphic::setGraphicData(const QVector<QPointF> & g, int graphic) {
|
||||
if (graphic >= graphics.size() || graphic < 0) return;
|
||||
graphics[graphic].polyline.clear();
|
||||
graphics[graphic].polyline = QPolygonF(g);
|
||||
if (graphics.at(graphic).polyline.size() == 0) {
|
||||
graphics[graphic].max_x = 0.;
|
||||
tick(graphic, false, update_);
|
||||
tick(graphic, false);
|
||||
return;
|
||||
}
|
||||
graphics[graphic].max_x = graphics.at(graphic).polyline[0].x();
|
||||
for (int i = 1; i < graphics.at(graphic).polyline.size(); ++i)
|
||||
if (graphics.at(graphic).max_x < graphics.at(graphic).polyline[i].x())
|
||||
graphics[graphic].max_x = graphics.at(graphic).polyline[i].x();
|
||||
tick(graphic, false, update_);
|
||||
tick(graphic, false);
|
||||
}
|
||||
|
||||
|
||||
@@ -1074,7 +1074,6 @@ void Graphic::tick(int index, bool slide, bool update_) {
|
||||
}
|
||||
}
|
||||
if (!update_) {
|
||||
findGraphicsRect();
|
||||
mutex.unlock();
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -277,7 +277,7 @@ public slots:
|
||||
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, bool update = true) {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);
|
||||
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(int graphic, const QString & name, const QColor & color = Qt::darkRed, Qt::PenStyle style = Qt::SolidLine, double width = 0., bool visible = true);
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
[Project]
|
||||
Manager=KDevCMakeManager
|
||||
Name=qad_graphic
|
||||
@@ -1,32 +0,0 @@
|
||||
<RCC>
|
||||
<qresource prefix="/">
|
||||
<file>icons/media-playback-pause.png</file>
|
||||
<file>icons/dialog-close.png</file>
|
||||
<file>icons/edit-clear.png</file>
|
||||
<file>icons/edit-guides.png</file>
|
||||
<file>icons/view-grid.png</file>
|
||||
<file>icons/zoom-fit-best.png</file>
|
||||
<file>icons/configure.png</file>
|
||||
<file>icons/document-save.png</file>
|
||||
<file>icons/edit-clear-locationbar-rtl.png</file>
|
||||
<file>icons/edit-find.png</file>
|
||||
<file>icons/list-add.png</file>
|
||||
<file>icons/edit-delete.png</file>
|
||||
<file>icons/item.png</file>
|
||||
<file>icons/node-add.png</file>
|
||||
<file>icons/node.png</file>
|
||||
<file>icons/edit-copy.png</file>
|
||||
<file>icons/edit-paste.png</file>
|
||||
<file>icons/expand_s_x.png</file>
|
||||
<file>icons/expand_s_y.png</file>
|
||||
<file>icons/expand_x.png</file>
|
||||
<file>icons/expand_y.png</file>
|
||||
<file>icons/border-line.png</file>
|
||||
<file>icons/legend.png</file>
|
||||
<file>icons/graphic.png</file>
|
||||
<file>lang/qad_graphic_ru.qm</file>
|
||||
<file>icons/view-fullscreen.png</file>
|
||||
<file>icons/pause-back.png</file>
|
||||
<file>icons/pause-front.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
Reference in New Issue
Block a user