37namespace Gecode {
namespace Gist {
40 setMinimumSize(22,22);
41 setMaximumSize(22,22);
45 QPainter painter(
this);
46 painter.setRenderHint(QPainter::Antialiasing);
48 int myx = hw+2;
int myy = 2;
52 QPoint points[4] = {QPoint(myx,myy),
58 painter.drawConvexPolygon(points, 4);
64 painter.drawRect(myx-6, myy+2, 12, 12);
70 painter.drawEllipse(myx-8, myy, 16, 16);
75 painter.setBrush(QBrush(Qt::white));
76 painter.drawEllipse(myx-8, myy, 16, 16);
static const QColor red
The color for failed nodes.
static const QColor blue
The color for choice nodes.
static const QColor green
The color for solved nodes.
NodeStatus
Status of nodes in the search tree.
@ UNDETERMINED
Node that has not been explored yet.
@ FAILED
Node representing failure.
@ SOLVED
Node representing a solution.
@ BRANCH
Node representing a branch.
Gecode toplevel namespace