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. User journaling/recording of QT 5.3 C++ desktop application?

User journaling/recording of QT 5.3 C++ desktop application?

Scheduled Pinned Locked Moved General and Desktop
5 Posts 2 Posters 1.1k Views
  • 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.
  • L Offline
    L Offline
    loopless
    wrote on last edited by
    #1

    It is a requirement of our upcoming CAE application that the user be able to record his "session" for later playback. This is very typical of a CAE application so that a complex series of steps can be replayed to have reproducibility or document the steps to get to an end result. Often called journaling.

    Squish and other test development tools can do this "externally" ( by , I assume , code injection) but we need to make this an integral part of our application.

    Seems like all the pieces are there, but I don't see it put together anywhere...

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      You could make use of Qt's Logging Categories for that. Create a particular category that logs what you need and then a parser that can analyze and replay it.

      Hope it helps

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • L Offline
        L Offline
        loopless
        wrote on last edited by
        #3

        Ok, I think that helps...not quite clear on how it can be used to capture GUI activity, as the example shows low level USB filtering.

        I think a scriptable AND recordable UI is pretty much a required feature of any desktop app these days.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Not necessarily, would script and record a media player application ?

          Anyway, sounds like you could take inspiration of the QUndo framework

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • L Offline
            L Offline
            loopless
            wrote on last edited by
            #5

            Ah, yes, good point, the QUndo framework is an overlapping requirement.

            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