From 4f73fbbaed854b029cd6e95e59bdd6246201cf0f Mon Sep 17 00:00:00 2001 From: jkriege2 Date: Fri, 2 Sep 2022 14:19:47 +0200 Subject: [PATCH] JKQTPlottter: added the option to draw a character from a font as symbol (JKQTPCharacterSymbol+QChar('').unicode()) --- doc/dox/whatsnew.dox | 1 + lib/jkqtcommon/jkqtpdrawingtools.cpp | 33 +++++++-- lib/jkqtcommon/jkqtpdrawingtools.h | 70 +++++++++++++++++-- lib/jkqtcommon/jkqtpicons.cpp | 2 +- .../graphs/jkqtpboxplotstylingmixins.cpp | 21 +++++- .../graphs/jkqtpboxplotstylingmixins.h | 9 +++ .../graphs/jkqtpevaluatedfunctionbase.cpp | 2 +- .../graphs/jkqtpgeoannotations.cpp | 2 +- lib/jkqtplotter/graphs/jkqtpgeolines.cpp | 9 --- lib/jkqtplotter/graphs/jkqtpimageoverlays.cpp | 23 +++++- lib/jkqtplotter/graphs/jkqtpimageoverlays.h | 6 ++ lib/jkqtplotter/graphs/jkqtplines.cpp | 4 +- lib/jkqtplotter/graphs/jkqtpscatter.cpp | 10 +-- .../graphs/jkqtpsinglecolumnsymbols.cpp | 2 +- lib/jkqtplotter/graphs/jkqtpspecialline.cpp | 2 +- .../graphs/jkqtpviolinplotstylingmixins.cpp | 21 +++++- .../graphs/jkqtpviolinplotstylingmixins.h | 9 +++ lib/jkqtplotter/gui/jkqtpcomboboxes.cpp | 6 +- .../jkqtpgraphsbasestylingmixins.cpp | 35 ++++++---- .../jkqtpgraphsbasestylingmixins.h | 33 +++++++-- 20 files changed, 245 insertions(+), 55 deletions(-) diff --git a/doc/dox/whatsnew.dox b/doc/dox/whatsnew.dox index 8b73278180..3e4c7b0e99 100644 --- a/doc/dox/whatsnew.dox +++ b/doc/dox/whatsnew.dox @@ -43,6 +43,7 @@ Changes, compared to \ref page_whatsnew_V4_0_0 "v4.0.0" include:
  • NEW: made resize-timer status accessible from outside via JKQTPlotter::isResizeTimerRunning()
  • NEW: made it's delay a global static variable that can be set and red with JKQTPlotter::setGlobalResizeDelay() and JKQTPlotter::getGlobalResizeDelay()
  • NEW: Using JKQTMathText::useGuiFonts() for FONT rendering by default
  • +
  • NEW: added the option to draw a character from a font as symbol (JKQTPCharacterSymbol+QChar('C').unicode())
  • JKQTMathText: