Esempio n. 1
0
bool FormulaCursor::moveCloseTo(BasicElement* element, FormulaCursor& cursor)
{
    if (element->setCursorTo(*this,cursor.getCursorPosition()-element->absoluteBoundingRect().topLeft())) {
        return true;
    } else {
        return false;
    }
}