Results 1 to 20 of 22

Thread: Timekeeper, a handy little application

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2006
    Location
    The Netherlands
    Posts
    300
    Thanks
    9
    Thanked 29 Times in 29 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: Timekeeper, a handy little application

    Seems like that's an actual bug in my program then. :-)

    It's a QTime object. And I thought that it didn't know anything about locale. But this is easily fixed. I'll upload the fixed version in a little while.

    Thanks for the heads up.

    Edit: Ok. Could you try again now?
    Last edited by Michiel; 24th July 2007 at 15:41.
    "The strength of a civilization is not measured by its ability to wage wars, but rather by its ability to prevent them." - Gene Roddenberry

  2. #2
    Join Date
    Mar 2006
    Posts
    140
    Thanks
    8
    Thanked 4 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Timekeeper, a handy little application

    I just tried the old link from above and the file was different to the previous one I downloaded so I'm assuming it's the new one.

    The duration is still formatted as 12:00:00 AM.
    The weird thing is that I've now installed the final release of Qt 4.3.0 (Open Source) at work, but even this release version won't load the tkl file as with yesterday's experience, so it wasn't RC1 after all. Maybe my work PC is just dodgy.

    PS
    It's actually a runtime issue. I brought the binaries from the build I did at home along with the Qt binaries I compiled against, and it doesn't load the tkl on my work machine either.
    Last edited by stevey; 24th July 2007 at 23:49.

  3. #3
    Join Date
    Mar 2006
    Location
    The Netherlands
    Posts
    300
    Thanks
    9
    Thanked 29 Times in 29 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: Timekeeper, a handy little application

    Well, I'm not sure what to do with that.. I actually gave a string this time, not a QTime, using format "h:mm:ss". I feared the 12 might have stayed, but how could the AM still be there?...

    I see I'm actually using Qt 4.2.3-r1 (open source). I'll upgrade later and see if that makes a difference for me.
    "The strength of a civilization is not measured by its ability to wage wars, but rather by its ability to prevent them." - Gene Roddenberry

  4. #4
    Join Date
    Mar 2006
    Location
    The Netherlands
    Posts
    300
    Thanks
    9
    Thanked 29 Times in 29 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: Timekeeper, a handy little application

    Seems not. With Qt 4.3, I can still load the files and the duration correctly starts with 0:00. (However, compiling against Qt 4.3 does make the layout look a bit worse.)

    Maybe if you have time, you could take a look at timekeepermodel.cpp, line 52. Try a few things until the duration format looks normal again. I can't do it myself, since I don't get the same bug.
    "The strength of a civilization is not measured by its ability to wage wars, but rather by its ability to prevent them." - Gene Roddenberry

  5. #5
    Join Date
    Mar 2006
    Posts
    140
    Thanks
    8
    Thanked 4 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Timekeeper, a handy little application

    Yup, now worries, I'll try to look at it this weekend.

  6. #6
    Join Date
    Feb 2007
    Location
    Philadelphia, USA
    Posts
    255
    Thanks
    43
    Thanked 21 Times in 21 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Timekeeper, a handy little application

    Hi Michiel, great program... I just started using it to get myself more organized.

    Was wondering if you have any report templates (.tkt) for summarizing total time spent in each category. Also, I am using the version in your .zip file (remember I couldn't open the tar.gz for some reason), so please let me know if you have a more recent version.

    Thanks very much!
    Last edited by magland; 8th January 2008 at 13:19.

  7. #7
    Join Date
    Mar 2006
    Posts
    140
    Thanks
    8
    Thanked 4 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Timekeeper, a handy little application

    Thanks for the appreciation, but I didn't write it

  8. #8
    Join Date
    Feb 2007
    Location
    Philadelphia, USA
    Posts
    255
    Thanks
    43
    Thanked 21 Times in 21 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Timekeeper, a handy little application

    Quote Originally Posted by stevey View Post
    Thanks for the appreciation, but I didn't write it
    Funny, it seems that I edited my post (correcting "Stevey" to "Michiel") at the same time that you replied to it .

Similar Threads

  1. dll + application
    By fpujol in forum Qt Programming
    Replies: 11
    Last Post: 15th April 2007, 18:37
  2. Replies: 3
    Last Post: 8th December 2006, 18:51

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.