Results 1 to 4 of 4

Thread: Help getting QxtScheduleView or somthing similiar working

  1. #1
    Join Date
    Jul 2010
    Posts
    16
    Qt products
    Qt4
    Platforms
    Unix/X11 Maemo/MeeGo

    Default Help getting QxtScheduleView or somthing similiar working

    Group
    Im trying to make a weekly event scheduler and i found a class used in libqxt that would really save me alot of time but im just having problems trying to under stand how to use it and the original author is busy with other things to document it so a few people have tried to use this QxtScheduleView class without much luck. I was wondering if anyone could just take a peek at it and give some direction on how to use it. Ive been able to get view to display the time range and cells but i just dont know how to get items on the view let alone use the custom delegate.

    Here is the link to the class
    http://libqxt.bitbucket.org/doc/0.6/...eduleview.html

    Here is a link to another image of a scheduler using the class
    http://zbenjamin.blogspot.com/2007/0...eduleview.html

    here is the full doxygen class reference for the view, styled item and delegate info
    http://docs.mitk.org/0.14/classQxtScheduleView.html

    Thanks for any help

  2. #2
    Join Date
    Sep 2009
    Posts
    57
    Thanks
    7
    Thanked 5 Times in 4 Posts

    Default Re: Help getting QxtScheduleView or somthing similiar working

    You need to write a proxy for it to get at your data model. I have one here: https://github.com/srhea/GoldenCheet...uleViewProxy.h

    But it uses a slightly modified version of the qxtscheduleview widget, but it should give you a starting point?

    Good luck!

  3. #3
    Join Date
    Jul 2010
    Posts
    16
    Qt products
    Qt4
    Platforms
    Unix/X11 Maemo/MeeGo

    Default Re: Help getting QxtScheduleView or somthing similiar working

    Thanks for the reply im going to try it now

    Ah ok i actually grabbed GC earlier to try and see how you made all that happen after looking at your blog, nice app. But i couldnt find any qxtscheduleview in GC so i figured you used somthing else, i was just having issues linking against lib qwt to get GC to compile and actually try out the view you have in it.

  4. #4
    Join Date
    Sep 2009
    Posts
    57
    Thanks
    7
    Thanked 5 Times in 4 Posts

    Default Re: Help getting QxtScheduleView or somthing similiar working

    Ah. Building GC is non-trivial

    Qwt is the plotting library. Qxt is not linked, I have included the sources for the two widgets we use (span slider / schedule view) since we modified them to get them to work for us). Prior to that CONFIG += Qxt did the trick.

Similar Threads

  1. MVC example not working
    By yyiu002 in forum Newbie
    Replies: 1
    Last Post: 30th June 2010, 00:07
  2. My first app not working
    By Noks in forum Newbie
    Replies: 6
    Last Post: 2nd February 2010, 16:34
  3. Somthing about Qt install and deploy!
    By cspp in forum Installation and Deployment
    Replies: 11
    Last Post: 29th January 2010, 10:48
  4. working with shapefiles in Qwt
    By swamyonline in forum Qwt
    Replies: 2
    Last Post: 17th April 2009, 12:08
  5. Mac OS X UI not working
    By hvengel in forum Qt Programming
    Replies: 3
    Last Post: 1st April 2006, 01:02

Tags for this Thread

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.