41 namespace Gecode {
namespace Gist {
44 setMinimumSize(22,22);
45 setMaximumSize(22,22);
49 QPainter painter(
this);
50 painter.setRenderHint(QPainter::Antialiasing);
52 int myx = hw+2;
int myy = 2;
56 QPoint points[4] = {QPoint(myx,myy),
62 painter.drawConvexPolygon(points, 4);
68 painter.drawRect(myx-6, myy+2, 12, 12);
74 painter.drawEllipse(myx-8, myy, 16, 16);
79 painter.setBrush(QBrush(Qt::white));
80 painter.drawEllipse(myx-8, myy, 16, 16);
Node representing a branch.
NodeStatus
Status of nodes in the search tree.
Node representing failure.
static const QColor green
The color for solved nodes.
Node that has not been explored yet.
static const QColor blue
The color for choice nodes.
Node representing a solution.
static const QColor red
The color for failed nodes.
Gecode toplevel namespace