Results 1 to 3 of 3

Thread: Display timer widget on my main window

  1. #1
    Join Date
    May 2019
    Posts
    2
    Qt products
    Qt5
    Platforms
    MacOS X

    Lightbulb Display timer widget on my main window

    I want to display timer on my main window, the timer has to start when the page is reloaded and there should be no sessions to expire and also this widget should be the default and has to dispaly on all the windows. anyone can help me on this?

    thanks

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Display timer widget on my main window

    If you need to update something periodically, in this case a duration display, you can drive that with QTimer.

    Maybe using it with QElapsedTimer for measuring the time passed between such "ticks" (Timer events could be slightly delayed).

    Cheers,
    _

  3. #3
    Join Date
    May 2019
    Posts
    2
    Qt products
    Qt5
    Platforms
    MacOS X

    Default Re: Display timer widget on my main window

    thanks for the help.
    I have found the exact source code and executed successfully, It's working fine now. Got the help from here https://androidcrew.com/app/com.sgcr...esigntemplates

Similar Threads

  1. Replies: 0
    Last Post: 2nd July 2018, 17:46
  2. Qt Creator Display console output in main window in a sidebar
    By Cupidvogel in forum Qt Tools
    Replies: 4
    Last Post: 30th May 2014, 10:54
  3. Replies: 6
    Last Post: 12th August 2013, 19:13
  4. WIdget relationship with Main Window
    By Robobulls in forum Newbie
    Replies: 4
    Last Post: 11th June 2013, 22:33
  5. Replies: 2
    Last Post: 16th April 2012, 05:13

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.