Results 1 to 14 of 14

Thread: QObjectBrowser

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2007
    Location
    Philadelphia, USA
    Posts
    255
    Thanks
    43
    Thanked 21 Times in 21 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default QObjectBrowser

    I put together a little Qt4 utility that conveniently allows inspection of a QObject's properties, signals, and slots during program execution. It even keeps a tally on how many times the various signals have been triggered. I guess its the idea of QtObjectInspector, but very lightweight...

    Perhaps it's been done before, but I think it could be very nice for debugging.... and quite easy to use.

    Usage: include the attached files in your project. Then just go:

    Qt Code:
    1. QObjectBrowser *browser=new QObjectBrowser(pointer_to_my_widget);
    2. browser.showNormal();
    To copy to clipboard, switch view to plain text mode 

    Anyone's welcome to fancy it up... but don't everybody start modifying the code at once! Tell me if you plan to add a feature or improve the look.

    Enjoy!
    JM
    Attached Files Attached Files

  2. The following user says thank you to magland for this useful post:

    Walter (28th July 2007)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.