Results 1 to 11 of 11

Thread: calendar

  1. #1
    Join Date
    Feb 2011
    Posts
    6
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default calendar

    Is it possible to add an event or a task or an appointment to a evolution calender?? Not manually. I just want to call the evolution Calendar API, and by means of some code i have to add events!! Give me some hints please!!

  2. #2
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: calendar

    If the calendar in question supports an API that allows you to do such things then sure, why not?

    Provide the code you have written so far and what part you are struggling with, and we may be able to help.

  3. #3
    Join Date
    Feb 2010
    Location
    Wokingham, United Kingdom
    Posts
    36
    Thanks
    7
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: calendar

    You could use the evolution libs to access a calendar. Try having a look here:

    http://library.gnome.org/devel/libecal/stable/
    http://library.gnome.org/devel/libedata-cal/stable/

    Hope that helps

  4. #4
    Join Date
    Feb 2011
    Posts
    6
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: calendar

    i have created a Appointment application, it has a reminder ,the problem is when the application is closed,the reminder will not appear,i want it to appear even if the application is close,can u plz suggest me some idea....

  5. #5
    Join Date
    Aug 2009
    Location
    Belgium
    Posts
    310
    Thanks
    10
    Thanked 31 Times in 25 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: calendar

    Hi,

    Instead of closing the application, you could just hide it and add an Icon to the system tray area. There are Qt examples on how to do this.

    If the application is too big to stay open, you could write a smaller 'reminder' application that stays active in the background, and which reads the events from a file, or through shared memory with the main application.

    Best regards,
    Marc

  6. #6
    Join Date
    Feb 2011
    Posts
    6
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: calendar

    thanks marc,

    but marc this Appointment application itself is a part of text editor what i have created,so when the text editor is close, the reminder will not appear. Is there any solution for it?Plz help
    Last edited by santhosh; 9th March 2011 at 11:14. Reason: updated contents

  7. #7
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: calendar

    Yes, write another application that stays in the background when text editor is closed.

  8. #8
    Join Date
    Feb 2011
    Posts
    6
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: calendar

    we set the reminder in the evolution calendar and close the calendar,later the reminder will appear in the desktop,i want my Appointment to be the same..

  9. #9
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: calendar

    Yes, see above.

  10. #10
    Join Date
    Feb 2011
    Posts
    6
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: calendar

    What is the API to set the application in the background?

  11. #11
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: calendar

    Hiding all your windows and possibly creating an icon in the system tray area. Thats it. There is no special API.

Similar Threads

  1. Opensource Calendar Widget
    By donmorr in forum Qt Tools
    Replies: 5
    Last Post: 15th February 2012, 18:54
  2. How to use google calendar's api in Qt application ?
    By kellen851105 in forum Qt Programming
    Replies: 1
    Last Post: 29th March 2010, 13:24
  3. Is there any model for calendar?
    By nifei in forum Qt Programming
    Replies: 4
    Last Post: 16th February 2009, 22:22
  4. Pop-up Calendar From Pushbutton
    By wagmare in forum Qt Programming
    Replies: 7
    Last Post: 28th January 2009, 05:54
  5. Calendar Pop Up
    By Rakesh_Kumar in forum Qt Programming
    Replies: 7
    Last Post: 5th December 2008, 13:31

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.