45 |
this->repaint(true); |
this->repaint(true); |
46 |
} |
} |
47 |
|
|
48 |
|
/* |
49 |
void Board::setMatrix(IntSolution sol) |
void Board::setMatrix(IntSolution sol) |
50 |
{ |
{ |
51 |
#warning need a closer look |
#warning need a closer look |
52 |
/* |
|
53 |
m_hasData = true; |
m_hasData = true; |
54 |
m_sol = Solution(); |
m_sol = Solution(); |
55 |
for (int i=0;i<m_size;i++) |
for (int i=0;i<m_size;i++) |
56 |
m_sol.matrix[i][ sol.imatrix[i] ] = true; |
m_sol.matrix[i][ sol.imatrix[i] ] = true; |
57 |
this->repaint(true); |
this->repaint(true); |
58 |
*/ |
|
59 |
} |
}*/ |
60 |
|
|
61 |
|
|
62 |
void Board::paintEvent( QPaintEvent *event ) |
void Board::paintEvent( QPaintEvent *event ) |