38 #ifndef GECODE_GIST_QT_DRAWINGCURSOR_HH
39 #define GECODE_GIST_QT_DRAWINGCURSOR_HH
45 namespace Gecode {
namespace Gist {
65 static const QColor
red;
87 const QRect& clippingRect0,
bool showCopies);
static const QColor lightRed
The color for expanded failed nodes.
static const QColor white
White color.
Static reference to the currently best space.
DrawingCursor(VisualNode *root, const VisualNode::NodeAllocator &na, BestNode *curBest0, QPainter &painter0, const QRect &clippingRect0, bool showCopies)
Constructor.
bool mayMoveDownwards(void)
Test if cursor may move to child.
static const QColor green
The color for solved nodes.
static const QColor blue
The color for choice nodes.
static const QColor lightGreen
The color for expanded solved nodes.
const VisualNode::NodeAllocator & na
The node allocator.
A cursor that draws a tree on a QWidget.
static const QColor red
The color for failed nodes.
void moveUpwards(void)
Move cursor to parent.
static const QColor orange
The color for the best solution.
void processCurrentNode(void)
Draw the node.
A cursor that can be run over a tree.
Node class that supports visual layout
void moveDownwards(void)
Move cursor to child.
Gecode toplevel namespace
static const QColor lightBlue
The color for expanded choice nodes.
void moveSidewards(void)
Move cursor to sibling.