Results 1 to 5 of 5

Thread: update()

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2007
    Location
    Groningen Netherlands
    Posts
    182
    Thanks
    16
    Thanked 2 Times in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: update()

    Appointments are stored in textfiles. When you double click a date you get a little editor which stores it's stuff on disk when ready. It only needs to know the date for the filename. I have functions to convert between QDate and QModelIndex.
    The paint() checks if a file exists and colors the cell accordingly.

    The model's only purpose is to make that tableview work, I don't actualy need the QStandardItems in it. I just need the display and the events like currentchanged() and activated().

    Am I that crazy?

    Quote Originally Posted by jpn View Post
    And where do you store events once you start scheduling stuff in the calendar? What's the purpose of the model in the calendar of yours?
    Last edited by JeanC; 11th February 2008 at 16:28.

Similar Threads

  1. drawForeground update trouble
    By spud in forum Qt Programming
    Replies: 6
    Last Post: 28th March 2011, 00:46
  2. immediate update of QT object
    By db in forum Newbie
    Replies: 3
    Last Post: 14th August 2007, 12:25
  3. why there is no update on maximize? [QTableWidget]
    By macias in forum Qt Programming
    Replies: 2
    Last Post: 7th August 2007, 15:01
  4. How to update statusbar and tooltips
    By aamer4yu in forum Qt Programming
    Replies: 9
    Last Post: 21st December 2006, 12:38
  5. QSlider Update Problem
    By December in forum Qt Programming
    Replies: 4
    Last Post: 10th September 2006, 04:02

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.