24#ifndef JKQTMATHTEXTNOOPNODE_H
25#define JKQTMATHTEXTNOOPNODE_H
26#include "jkqtmathtext/jkqtmathtext_imexport.h"
27#include "jkqtmathtext/jkqtmathtexttools.h"
28#include "jkqtmathtext/nodes/jkqtmathtextnode.h"
subclass representing a {...} block
Definition jkqtmathtextnoopnode.h:58
virtual double draw(QPainter &painter, double x, double y, JKQTMathTextEnvironment currentEv) const override
draw the contents at the designated position
virtual JKQTMathTextNodeSize getSizeInternal(QPainter &painter, JKQTMathTextEnvironment currentEv) const override
determine the size of the node, overwrite this function in derived classes
virtual ~JKQTMathTextBlockNode() override
JKQTMathTextBlockNode(JKQTMathTextNode *_child, JKQTMathText *parent)
virtual QString getTypeName() const override
return the name of this class as a string
virtual bool toHtml(QString &html, JKQTMathTextEnvironment currentEv, JKQTMathTextEnvironment defaultEv) const override
convert node to HTML and returns true on success
this class parses a mathematical markup string and can then draw the contained text/equation onto a Q...
Definition jkqtmathtext.h:192
subclass representing one node in the syntax tree
Definition jkqtmathtextnode.h:37
base class for all derived classes that do not draw anything
Definition jkqtmathtextnode.h:296
subclass representing a node that outputs nothing
Definition jkqtmathtextnoopnode.h:38
JKQTMathTextNoopNode(JKQTMathText *parent)
virtual QString getTypeName() const override
return the name of this class as a string
virtual ~JKQTMathTextNoopNode() override
subclass representing a node in the syntax tree, that has one child
Definition jkqtmathtextnode.h:174
#define JKQTMATHTEXT_LIB_EXPORT
Definition jkqtmathtext_imexport.h:108
describes the current drawing environment (base fontname ...)
Definition jkqtmathtexttools.h:304
beschreibt die Größe(n) eines Knotens
Definition jkqtmathtexttools.h:393