JKQTPlotter trunk/v5.0.0
an extensive Qt5+Qt6 Plotter framework (including a feature-richt plotter widget, a speed-optimized, but limited variant and a LaTeX equation renderer!), written fully in C/C++ and without external dependencies
Loading...
Searching...
No Matches
JKQTMathTextModifyEnvironmentNodeMixIn Class Referenceabstract

mixin extending a node that does not produce any output, but provides a function modifyEnvironment() that modifies the current JKQTMathTextEnvironment. Deriving classes are used to represent instructions like \bf or \color{...} that alter the text formatting for all further nodes in the current block. More...

#include <jkqtmathtextnode.h>

Inheritance diagram for JKQTMathTextModifyEnvironmentNodeMixIn:
[legend]

Public Member Functions

virtual ~JKQTMathTextModifyEnvironmentNodeMixIn ()
 
virtual void modifyEnvironment (JKQTMathTextEnvironment &currentEv) const =0
 modifies the fiven JKQTMathTextEnvironment currrentEv
 

Detailed Description

mixin extending a node that does not produce any output, but provides a function modifyEnvironment() that modifies the current JKQTMathTextEnvironment. Deriving classes are used to represent instructions like \bf or \color{...} that alter the text formatting for all further nodes in the current block.

Classes derived from this require a parent node that executes the additional method modifyEnvironment(). In the context of JKQTMathText, this is done by JKQTMathTextHorizontalListNode . Therefor the effect of the node end with the last nod in the parent list node.

Constructor & Destructor Documentation

◆ ~JKQTMathTextModifyEnvironmentNodeMixIn()

virtual JKQTMathTextModifyEnvironmentNodeMixIn::~JKQTMathTextModifyEnvironmentNodeMixIn ( )
inlinevirtual

Member Function Documentation

◆ modifyEnvironment()

virtual void JKQTMathTextModifyEnvironmentNodeMixIn::modifyEnvironment ( JKQTMathTextEnvironment currentEv) const
pure virtual

The documentation for this class was generated from the following file: