Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt Debug: How to see function return value
Forum Updated to NodeBB v4.3 + New Features

Qt Debug: How to see function return value

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 323 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    O Offline
    ozzy
    wrote on last edited by
    #1

    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 ?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved