⚠️ Forum Maintenance: Feb 6th, 8am - 14pm (UTC+2)

Qt Debug: How to see function return value



  • Qt version 4.8.4
    In debug model

    item->setGeometry(QRect(rect.x(), northHeight, rect.width(),
                                       item->sizeHint().height()));
    
    

    I can see rect.x() return value use expression calculator

    But i can't see item->sizeHint().height() return value!

    item->setGeometry(QRect(item->geometry().x(),
                                        item->geometry().y(), rect.width(),
                                        item->sizeHint().height()));
    
    

    The same
    I can't get item->geometry().x() and item->sizeHint().height() value
    How can i solve it ?


Log in to reply