{
grad.setColorAt(0.1, Qt::white);
if(this->focus)
grad.setColorAt(0.2, Qt::yellow); //the selected one is yellow
if(this->arr->getHex()) //if the user has selected "display hex" the buttons get linked into
//6's by another circle around the one in the centre of the hex
{
if(this->hexCentre)
{
grad.setColorAt(0.2, Qt::cyan);
painter.setPen(pen);
painter.drawEllipse(0.5,0.5,29, 29);
pen.setColor(Qt::black);
painter.setPen(pen);
}
}
grad.setColorAt(0.7, Qt::black);
painter.setBrush(brush);
painter.drawEllipse(8,8,14,14);
}