Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. Using [KDAB] GammaRay to access position of buttons for mouse automation.
Forum Updated to NodeBB v4.3 + New Features

Using [KDAB] GammaRay to access position of buttons for mouse automation.

Scheduled Pinned Locked Moved 3rd Party Software
1 Posts 1 Posters 1.1k 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.
  • V Offline
    V Offline
    Valvador
    wrote on last edited by
    #1

    Hi All,

    I've been looking into trying to automate a QT Application on a very basic level, just by automating mouse clicks. I've found a software called GammaRay (http://www.kdab.com/kdab-products/gammaray/) and it works amazingly well for giving me visual information about the Qt Data Structure during run-time. At this point I've built GammaRay with VS2012 and have a debugger available for trying to figure out exactly how it works, but due to the constant jumping between various DLL Probes and other Qt DLLs, I'm having a hard time tracking down the information I need.

    Basically, I'm looking for a good point to access GammaRay's Qt Object Tree, and certain object's Properties through that tree. For example, in GammaRay you can access a data tree that looks like this QtMainWindow->QtToolBar->QtButton->Properties->pos(Position) but I haven't found where I can access QtMainWindow and actually navigate through it's Children. I found a point in the code where the ObjectInspector (objectinspector.cpp) happens to access an actual QObject that has pointers to Parents and Children, however those pointers are protected and I am unable to use this pointer as a location to navigate from.

    Does anyone have any ideas on this matter?

    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