Results 1 to 15 of 15

Thread: Logging Qt User Actions

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    May 2006
    Location
    Germany
    Posts
    108
    Thanks
    2
    Thanked 14 Times in 12 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Logging Qt User Actions

    I am not quite sure if a signal/slot mechanism is the right approach towards your problem.

    Did you try taking a look at the command pattern? Qt supports that via its Undo Framework. The name is a bit misleading, but it does effectively allow recording of actions performed by the user.

    Another possibility might be to use a signal proxy to which you connect all emitted signals so you could do log processing there (instead of attaching a record action slot to relevant signals).
    "If you lie to the compiler, it will get its revenge." - Henry Spencer

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

    Frank J. Lhota (25th September 2008)

Similar Threads

  1. linking user space and kernel space programs with qmake
    By zielchri in forum Qt Programming
    Replies: 9
    Last Post: 8th March 2006, 23:11

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.