Ludwig
4th April 2014, 20:56
I tried everything, solve some problems and then, another ones come like this for example, any help please, I thank you in advance I am totally new to Qt.
//----------------------------------------------------------------------------
// Constructor & destructor.
SudokuElement::SudokuElement(void) {
m_x = -1;
m_y = -1;
m_finalChoice = -1;
m_choices = new bool[9];
m_focus = false;
m_generated = false;
for (int i = 0; i < 9; i++)
m_choices[i] = false;
setAcceptsHoverEvents(true);
setFlag(QGraphicsItem::ItemIsFocusable);
}
//----------------------------------------------------------------------------
// Constructor & destructor.
SudokuElement::SudokuElement(void) {
m_x = -1;
m_y = -1;
m_finalChoice = -1;
m_choices = new bool[9];
m_focus = false;
m_generated = false;
for (int i = 0; i < 9; i++)
m_choices[i] = false;
setAcceptsHoverEvents(true);
setFlag(QGraphicsItem::ItemIsFocusable);
}