git-svn-id: svn://db.shs.com.ru/libs@383 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -709,6 +709,14 @@ void Graphic::setGraphicsCount(int arg, bool update) {
|
||||
}
|
||||
|
||||
|
||||
void Graphic::removeGraphic(int arg, bool update) {
|
||||
if (arg < 0 || arg >= graphics.size()) return;
|
||||
delete graphics[arg].pb;
|
||||
graphics.remove(arg);
|
||||
if (update) updateLegend();
|
||||
}
|
||||
|
||||
|
||||
/*void Graphic::setHistogramData(const QVector<float> & g, int graphic) {
|
||||
graphics[graphic].polyline.clear();
|
||||
if (g.isEmpty()) {
|
||||
|
||||
Reference in New Issue
Block a user