Results 1 to 2 of 2

Thread: semaphores and passing variables between windows

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows
    Thanks
    21
    Thanked 418 Times in 411 Posts

    Default Re: semaphores and passing variables between windows

    When one window is active I want to stop timers on the other window
    You can override the hide() method, and stop the timers there. (for example)

    and also I want to pass some values between that windows. How can I do that things in a proper way?
    Read about Qt's signals and slot.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

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

    Tomasz (26th November 2010)

Similar Threads

  1. How to actually connect variables to the GUI ?
    By Computer Hater in forum Newbie
    Replies: 6
    Last Post: 15th November 2010, 00:49
  2. environmental variables
    By mohanakrishnan in forum Newbie
    Replies: 4
    Last Post: 26th October 2009, 10:43
  3. Replies: 2
    Last Post: 25th June 2009, 20:47
  4. howto: set windows system variables with Qt
    By informatics in forum Qt Programming
    Replies: 8
    Last Post: 18th July 2007, 13:18
  5. Replies: 2
    Last Post: 17th October 2006, 20:25

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.