34#ifndef GECODE_GIST_QT_DRAWINGCURSOR_HH
35#define GECODE_GIST_QT_DRAWINGCURSOR_HH
61 static const QColor
red;
83 const QRect& clippingRect0,
bool showCopies);
Static reference to the currently best space.
static const QColor red
The color for failed nodes.
void moveDownwards(void)
Move cursor to child.
void processCurrentNode(void)
Draw the node.
static const QColor blue
The color for choice nodes.
static const QColor green
The color for solved nodes.
bool mayMoveDownwards(void)
Test if cursor may move to child.
static const QColor white
White color.
static const QColor lightBlue
The color for expanded choice nodes.
void moveUpwards(void)
Move cursor to parent.
DrawingCursor(VisualNode *root, const VisualNode::NodeAllocator &na, BestNode *curBest0, QPainter &painter0, const QRect &clippingRect0, bool showCopies)
Constructor.
void moveSidewards(void)
Move cursor to sibling.
static const QColor lightRed
The color for expanded failed nodes.
static const QColor lightGreen
The color for expanded solved nodes.
static const QColor orange
The color for the best solution.
const VisualNode::NodeAllocator & na
NodeCursor(VisualNode *theNode, const typename VisualNode::NodeAllocator &na)
NodeAllocatorBase< VisualNode > NodeAllocator
Node class that supports visual layout
The Gecode Interactive Search Tool.
Gecode toplevel namespace