Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. User action log implementation in QML ?
Forum Updated to NodeBB v4.3 + New Features

User action log implementation in QML ?

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 526 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.
  • S Offline
    S Offline
    serdef
    wrote on last edited by
    #1

    Hi,

    I am creating a QML touch screen application that uses a Stackview for multiple layers of menu screens.

    Now I am investigating how I could log all user actions.
    I could add a bit of code to every control, to log when it is pressed/edited/....

    Log example :
    13:25:10 <MAIN SCREEN> PRESSED [Settings]
    13:25:30 <SETTINGS SCREEN> SELECTED [Font Size]
    13:25:50 <SETTINGS SCREEN> CHANGED [Font_Size_Value] TO 12
    13:26:33 <SETTINGS SCREEN> PRESSED [Close]

    But maybe there is another, more elegant solution ?
    Is it possible to implement a 'global' hook that logs which actions the user has performed,
    without needing to implement this for every control ?
    Has this been done already ? (I could not find an example).

    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