connect(ok, SIGNAL(clicked()), parent, SLOT(makeTable(qint16, qint16)))
//Searsh Red nearly
if (rd[0])
{
for (int i = 0; i < rSize; i++)
for (int j = 0; j < rSize - 1; i++)
//...
//Searsh Green nearly
Аналогично
//Searsh Blue nearly
...
for (int k = 0; k < 8; k++)
if (red[i].cot[k] = red[j].ID)
kot = true;
//...
else if (a = b)
//...