Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Handle all events that involve my widgets

    General and Desktop
    2
    2
    466
    Loading More Posts
    • 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.
    • T
      technovelist last edited by

      I'd like to be able to handle all the events that involve the widgets in my program, for the purpose of recording and replaying them. Is there a central place that I can insert code to do this?

      JKSH 1 Reply Last reply Reply Quote 0
      • JKSH
        JKSH Moderators @technovelist last edited by

        Hi,

        @technovelist said:

        I'd like to be able to handle all the events that involve the widgets in my program, for the purpose of recording and replaying them. Is there a central place that I can insert code to do this?

        Yes, there is. See QCoreApplication::notify() and QObject::installEventFilter().

        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

        1 Reply Last reply Reply Quote 0
        • First post
          Last post