version 2.24.0
Graphic setCustomSaveImageTitleFunc() - add custom title when save to image
This commit is contained in:
@@ -380,6 +380,7 @@ public slots:
|
||||
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 setCustomSaveImageTitleFunc(std::function<QString()> func);
|
||||
|
||||
void zoom(float factor);
|
||||
void zoomIn() { zoom(1. / 1.2); }
|
||||
@@ -475,6 +476,7 @@ protected:
|
||||
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;
|
||||
std::function<QString()> func_image_title;
|
||||
QVector<DateFormats> date_formats;
|
||||
QList<QImage> record_imgs;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user