|
| | JKQTMathTextSqrtNode (JKQTMathText *parent, JKQTMathTextNode *child__, JKQTMathTextNode *childDegree__=nullptr) |
| virtual | ~JKQTMathTextSqrtNode () override |
| virtual int | childCount () const override |
| | returns the i-th child node
|
| virtual void | clearChildren (bool deleteChildren=true) override |
| | returns the i-th child node
|
| virtual void | deleteChild (int i) override |
| | delete the i-th child
|
| virtual double | draw (QPainter &painter, double x, double y, JKQTMathTextEnvironment currentEv) const override |
| | draw the contents at the designated position
|
| JKQTMathTextNode * | getChild () |
| | child node for the part under the root
|
| const JKQTMathTextNode * | getChild () const |
| | child node for the part under the root
|
| virtual const JKQTMathTextNode * | getChild (int i) const override |
| | returns the i-th child node
|
| virtual JKQTMathTextNode * | getChild (int i) override |
| | returns the i-th child node
|
| JKQTMathTextNode * | getChildDegree () |
| | second child node for the degree of the root (or nullptr if nothing)
|
| const JKQTMathTextNode * | getChildDegree () const |
| | second child node for the degree of the root (or nullptr if nothing)
|
| virtual QString | getTypeName () const override |
| | return the name of this class as a string
|
| virtual JKQTMathTextNode * | replaceChild (int i, JKQTMathTextNode *newChild) override |
| | returns the i-th child node
|
| virtual bool | toHtml (QString &html, JKQTMathTextEnvironment currentEv, JKQTMathTextEnvironment defaultEv) const override |
| | convert node to HTML and returns true on success
|
| | JKQTMathTextMultiChildNode (JKQTMathText *parentMathText) |
| virtual | ~JKQTMathTextMultiChildNode () override |
| virtual QList< JKQTMathTextNode * > | getChildren () |
| | returns a list of all child node
|
| virtual QList< const JKQTMathTextNode * > | getChildren () const |
| | returns a list of all child node
|
| virtual JKQTMathTextNode * | getFirstChild () |
| | returns the first child node
|
| virtual const JKQTMathTextNode * | getFirstChild () const |
| | returns the first child node
|
| virtual JKQTMathTextNode * | getLastChild () |
| | returns the last child node
|
| virtual const JKQTMathTextNode * | getLastChild () const |
| | returns the last child node
|
| bool | hasChildren () const |
| | returns true if children exist
|
| bool | isEmpty () const |
| | returns true if there are no children
|
| virtual void | replaceAndDeleteChild (int i, JKQTMathTextNode *newChild) |
| | replaces the i-th child node with the node newChild , deletes the replaced old node
|
| virtual void | setDrawBoxes (bool draw) override |
| | enables the drawing of colored boxes (for DEBUGGING) around the actual output of the node
|
| | JKQTMathTextNode (const JKQTMathTextNode &)=delete |
| | JKQTMathTextNode (JKQTMathText *parentMathText) |
| virtual | ~JKQTMathTextNode () |
| bool | getDrawBoxes () const |
| | returns the drawing of colored boxes (for DEBUGGING) around the actual output of the node is enabled
|
| JKQTMathTextNode * | getParentNode () |
| | parent node of this node (i.e. one level up, ode nullptr )
|
| const JKQTMathTextNode * | getParentNode () const |
| | parent node of this node (i.e. one level up, ode nullptr )
|
| JKQTMathTextNodeSize | getSize (QPainter &painter, JKQTMathTextEnvironment currentEv) const |
| | determine the size of the node, calls getSizeInternal() implementation of the actual type
|
| bool | isSubSuperscriptAboveBelowNode () const |
| | if true then following sub- and/or superscripts are placed below and above the node, not besides it. This is activated when \sum\limits_{sub}^{sup} is used in LaTeX instead of simply \sum_{sub}^{sup}
|
| JKQTMathTextNode & | operator= (const JKQTMathTextNode &)=delete |
| void | setParentNode (JKQTMathTextNode *node) |
| | parent node of this node (i.e. one level up, ode nullptr )
|
| void | setSubSuperscriptAboveBelowNode (bool __value) |
| | if true then following sub- and/or superscripts are placed below and above the node, not besides it. This is activated when \sum\limits_{sub}^{sup} is used in LaTeX instead of simply \sum_{sub}^{sup}
|
|
| virtual JKQTMathTextNodeSize | getSizeInternal (QPainter &painter, JKQTMathTextEnvironment currentEv) const override |
| | determine the size of the node, overwrite this function in derived classes
|
| void | addToErrorList (const QString &error) |
| | adds a new error to the JKQTMathText referenced by parentMathText
|
| void | doDrawBoxes (QPainter &painter, double x, double y, const JKQTMathTextNodeSize &size) const |
| | draws colored boxes (for DEBUGGING) around the actual output of the node
|
| void | doDrawBoxes (QPainter &painter, double x, double y, JKQTMathTextEnvironment currentEv) const |
| | draws colored boxes (for DEBUGGING) around the actual output of the node
|
| template<class T> |
| QList< T * > | getParents () |
| | returns the list of parent, parent-of-parent, ... that can be cast to type T
|
| template<class T> |
| QList< const T * > | getParents () const |
| | returns the list of parent, parent-of-parent, ... that can be cast to type T
|
subclass representing a sqrt node
This node renders square roots without and with an explicitly shown degree: