Graphic setCustomGridMarkFuncs, select decimal point when export to CSV
This commit is contained in:
@@ -339,7 +339,7 @@ public slots:
|
||||
void setDefaultRect(const QRectF & rect);
|
||||
void autofit() {on_graphic_buttonAutofit_clicked();}
|
||||
void saveImage(QString filename);
|
||||
void exportGraphics(QString filename);
|
||||
void exportGraphics(QString filename, QChar decimal_point);
|
||||
void clear();
|
||||
void update(bool force);
|
||||
void update() {update(false);}
|
||||
@@ -348,6 +348,7 @@ public slots:
|
||||
void setTraceGraphic(int arg) {if (arg < 0 || arg >= graphics.size()) return; curTrace = arg;}
|
||||
void setGraphicsCount(int arg, bool update = true);
|
||||
void removeGraphic(int arg, bool update = true);
|
||||
void setCustomGridMarkFuncs(std::function<QString(double val)> fx, std::function<QString(double val)> fy);
|
||||
|
||||
void zoom(float factor);
|
||||
void zoomIn() {zoom(1. / 1.2);}
|
||||
@@ -430,6 +431,7 @@ protected:
|
||||
int lastw, lasth, min_repaint_int, timer_pause, thick;
|
||||
bool aalias, aupdate, grid, guides, isFit, isOGL, isHover, bufferActive, cancel, pause_, gestures, m_LODOptimization, m_fakeGL, need_createGL;
|
||||
bool hasLblX, hasLblY, navigation, only_expand_y, only_expand_x, is_lines_update, leg_update, visible_update, fullscr, need_mouse_pan, was_trace;
|
||||
std::function<QString(double val)> func_gridMarkX, func_gridMarkY;
|
||||
|
||||
protected slots:
|
||||
void canvasPaintEvent();
|
||||
|
||||
Reference in New Issue
Block a user