Commit Graph

176 Commits

Author SHA1 Message Date
jkriege2
c399959774 fixed several (pedantic) compiler warnings
fixed CMake problems
2022-07-23 16:05:13 +02:00
jkriege2
8558896f9b split jkqtcommon into basic tools and jkqtcommon_statistics_and_math for advanced math tools not used by all libs 2022-07-23 15:31:56 +02:00
jkriege2
e923a9de7b improved CMake scripts: better output, less warnings 2022-07-23 13:59:23 +02:00
jkriege2
ae3d3b479d better way to reuse PCH in examples, added CMake-Option to (de)activate PCH-usage 2022-07-22 21:44:16 +02:00
jkriege2
671e25b33b removed some compiler warnings and fixed construction problems 2022-07-22 16:24:24 +02:00
jkriege2
25feb0b5fd diverse bugfixes to qmake build-system 2022-07-21 22:17:29 +02:00
jkriege2
dc715221c7 using better encoding for ° 2022-07-21 13:14:49 +02:00
jkriege2
25c55391ab NEW: Using precompiled headers in CMake-build to speed up build times 2022-07-20 22:31:42 +02:00
jkriege2
ba6e583d56 bugfixed qmake build scripts 2022-07-20 21:35:45 +02:00
jkriege2
d8c1524f61 partly solve issue #81 by making print-support optional. In addition it can be switched off with the CMake-option JKQtPlotter_BUILD_FORCE_NO_PRINTER_SUPPORT=ON 2022-07-18 23:33:20 +02:00
jkriege2
a1a2fcdd3f clean-up of library dependencies 2022-07-18 15:01:12 +02:00
jkriege2
a8da6caf0d IMPROVED JKQTMathText: tokenizing and parsing of text in text-mode: now a lot of accents with commands like \"a, \'e and variants (e.g. {\"a}, \"{a}, ...) are supported now
NEW in JKQTMathText: added \acute{X}, \grave{X}, \acute{X}
2022-07-10 22:01:11 +02:00
jkriege2
5dee5ae93d JKQTMathText: refactored \\instruction parsing
JKQTMathText: added \shaded{color}{...}, \ovalbox{}, ... commands
2022-07-08 23:15:42 +02:00
jkriege2
fc83ebea4c Wingdings symbols 2022-07-06 21:00:03 +02:00
jkriege2
0ab3626f4d refactored symbol node, should also fix issue #78 2022-07-05 22:03:08 +02:00
jkriege2
2ef181301b NEW: JKQTMathText: added functions to set the font-size in pixels (as alternative to the existing functions that set them in points), implements request #76 2022-07-04 21:02:43 +02:00
jkriege2
9a13e5127a JKQTMathText: improve documentation (fixes issue #74), add new draw()-variant, which accepts a QPointF 2022-07-03 21:30:12 +02:00
jkriege2
0f958cc2d6 - JKQTMathText: IMPROVED/breaking: refactored symbol node JKQTMathTextSymbolNode and changed font-lookup!
- JKQTMathText: IMPROVED/NEW/breaking: refactored whitespace-processing node JKQTMathTextWhitespaceNode, now all major LaTeX whitespace commands are supported properly
2022-07-03 20:30:12 +02:00
jkriege2
9a7e44889f IMPROVED: JKQTMathText: optional parameter of \sqrt is properly parsed now 2022-06-28 21:59:50 +02:00
jkriege2
6c26e250da IMPROVED: JKQTMathText: rendering of sqrt 2022-06-28 12:00:20 +02:00
jkriege2
b83e0a3292 NEW: JKQTMathText: added \underbracket and \overbracket 2022-06-28 10:15:54 +02:00
jkriege2
b6dc081d0c BUGFIX: JKQTMathtext: fixed size-calculation for mathoperators like \int with only one underset/overset, when it is placed below/above the symbol 2022-06-27 21:31:02 +02:00
jkriege2
ebdc183b2b IMPROVED: JKQTMathText: improved drawing of parantheses, square brackets ... 2022-06-26 23:46:11 +02:00
jkriege2
2d2acc3b19 NEW: JKQTMathText: added top-corner (\ulcorner/\urcorner) and bottom-corner brackets (\llcorner/\lrcorner) 2022-06-26 21:17:42 +02:00
jkriege2
45d6ef373b bugfix: JKQTMathText: \sum and \prod used the wrong symbol in XITS-mode
NEW: JKQTMathText: \limits and \nolimits work as in LaTeX now (before it was simply removed and the functionality implemented for a fixed list of symbols)
remove/breaking: JKQTMathText: \v[a-zA-Z] and shorthand for \vec{a-zA-Z} was removed
improvement: improved typesetting of sub-/supercripts, especially for large math operators and braces
2022-06-26 00:28:49 +02:00
jkriege2
03c59d3507 NEW: LaTeX-Parser simplifies parse-tree to increase speed of execution 2022-06-19 22:36:38 +02:00
jkriege2
d885f7f00a NEW: JKQTMathText: LaTeX-Parser understands optional instruction parameters in [...] now 2022-06-19 15:11:06 +02:00
jkriege2
c8ef57bb66 JKQTMathText: moved some node-specific enums into the node classes 2022-06-09 20:32:16 +02:00
jkriege2
992cad7ff3 MODIFIED: brace node now calculates the extension of the child height above or below the strikeoutPos, in order to center braces around the strikeoutPos
fixed: strikeoutPos was not correctly calculated in sub-/superscript node
NEW: JKQTMathText shows strikeoutPos when drawing Debug-Boxes
2022-06-09 14:31:27 +02:00
jkriege2
143ae54ae8 JKQTMathText: modified text-positions of \sfrac and \stfrac 2022-06-09 11:32:57 +02:00
jkriege2
1a8de1bb2f - NEW: reworked node class tree: inserted base-class nodes for single-child, dual-child!
- NEW: improved frac-rendering: font-scaling takes nesting-level into account, overall-rendering, sizes, if a brace surrounds a frac, the heights are equal above and below to center the brace ...
2022-06-08 23:52:22 +02:00
jkriege2
993ed1fb3d added Latex examples 2022-06-08 15:38:55 +02:00
jkriege2
94ca27aed0 NEW/BREAKING: restructured JKQTMathText: broke up single, large CPP-file into several smaller files
added more examples to jkqtmathtext_test
2022-06-08 15:38:26 +02:00
jkriege2
b0f8a2d0b9 - NEW: JKQTMathText supports new decoration instructions: \cancel, \xcancel, \bcancel, \sout, \ocirc, \widetilde, \widehat, \breve</li>
- NEW: JKQTMathText: reworked drawing of decorations: improved appearance and positioning!
2022-06-06 23:24:05 +02:00
jkriege2
0f0c03772e NEW: JKQTMathText supports new instructions: \cancel, \xcancel, \bcancel, \sout 2022-06-06 14:16:50 +02:00
jkriege2
d6b6a71395 fixes/improvements: JKQTMathText renders several LaTeX strings better (simple braces in math mode, +-*... as symbols with proper sizes in math mode, added some missing instruction aliases, improved size of \vec and \hat, corrrected fonts usage for mathrm, 2022-06-03 13:33:18 +02:00
jkriege2
f33838f187 added debug-feature to show boxes around text in the plot 2022-06-02 23:05:58 +02:00
jkriege2
bf21d53149 improved high-dpr-support in JKQTMathText 2022-06-02 22:17:38 +02:00
jkriege2
4031e9a54e bugfixed styling example 2022-06-02 21:42:10 +02:00
jkriege2
cbaf97c8be updated styling example with context-menu for editing the current line, which shows available values 2022-06-02 21:25:23 +02:00
jkriege2
5fae11472c added seaborn style 2022-05-23 22:44:58 +02:00
jkriege2
ae5713ea68 implemented feature request #69: Show data tooltip on MouseMove by adding general actions that can be executed on a mouse move operation, when no mouse button is pressed, modification by keyboard modifiers is possible though 2022-05-15 14:15:15 +02:00
jkriege2
57ce23426d M_PI not easily defined for every compiler 2022-05-12 11:57:24 +02:00
jkriege2
1a9593409a fixed QT6 compatibility 2022-05-12 10:35:05 +02:00
jkriege2
ee2477a1f6 implemented wiggle plots (feature request #68) 2022-05-11 22:55:23 +02:00
jkriege2
c6aa942486 improved/fixed qmake-build scripts fot Qt6 2022-04-24 22:07:16 +02:00
jkriege2
85e60e3e56 updated documentation and whatsnew.dox 2022-04-22 20:19:25 +02:00
jkriege2
0a5fa42470 more required changes for Qt6 compatibility 2022-04-22 13:27:31 +02:00
jkriege2
4ded1a2028 first round of Qt6 compatibility changes 2022-04-21 10:57:24 +02:00
jkriege2
e275651881 fixed CMake version requirement 2022-04-18 23:12:08 +02:00