From e63f053896c2489f8ae9c1032dd7624767d85938 Mon Sep 17 00:00:00 2001 From: jkriege2 Date: Tue, 6 Feb 2024 12:18:54 +0100 Subject: [PATCH] DOC update --- lib/jkqtplotter/jkqtptools.cpp | 3 ++- lib/jkqtplotter/jkqtptools.h | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/jkqtplotter/jkqtptools.cpp b/lib/jkqtplotter/jkqtptools.cpp index 22491d5fa7..7e21c24971 100644 --- a/lib/jkqtplotter/jkqtptools.cpp +++ b/lib/jkqtplotter/jkqtptools.cpp @@ -899,7 +899,7 @@ QString JKQTPUserActionMarkerType2String(JKQTPUserActionMarkerType act) JKQTPUserActionMarkerType String2JKQTPUserActionMarkerType(const QString &act) { - QString m=act.trimmed().toLower(); + const QString m=act.trimmed().toLower(); if (m=="circle") return jkqtpuamtCircle; if (m=="crosshair" || m=="cross") return jkqtpuamtCrossHair; if (m=="circle+crosshair" || m=="circle+cross") return jkqtpuamtCircleAndCrossHair; @@ -944,3 +944,4 @@ QList JKQTPGetTypicalKeyPositions() }; return pos; } + diff --git a/lib/jkqtplotter/jkqtptools.h b/lib/jkqtplotter/jkqtptools.h index 89a183d7af..799c8c3438 100644 --- a/lib/jkqtplotter/jkqtptools.h +++ b/lib/jkqtplotter/jkqtptools.h @@ -442,7 +442,7 @@ JKQTPLOTTER_LIB_EXPORT QString JKQTPCADrawMode2String(JKQTPCADrawMode pos); JKQTPLOTTER_LIB_EXPORT JKQTPCADrawMode String2JKQTPCADrawMode(const QString& pos); -/** \brief display mode for the axis labels +/** \brief display mode for the (axis) labels * \ingroup jkqtpplottersupprt */ enum JKQTPCALabelType { JKQTPCALTdefault=0, /*!< \brief simply print the numbers \image html axisstyle/JKQTPCALTdefault.png */ @@ -649,6 +649,7 @@ enum JKQTPKeyLayout { }; + /** \brief converts a JKQTPKeyLayout variable into a human-readable string * \ingroup jkqtpplottersupprt */ @@ -765,5 +766,4 @@ JKQTPLOTTER_LIB_EXPORT JKQTPSpecialLineType String2JKQTPSpecialLineType(const QS - #endif // JKQTPTOOLS_H_INCLUDED