Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Oct 2010

    Exclamation problem with delegate paint method

    I am working with customizing qcalendarwidget using item delegates.. according to my requirement i need to construct calendar every month basis.. whenever i construct calendar i need to call delegate too.. i am changing the background color of focus using .png image file and stylesheet (transparent)..
    My problem is when ever I am calling next month and constructing the calendarwidget, at very first time the focus background color is not changing to image file. can any body how can i refresh the delegate paint methode..
    Thanks & Best Regards

  2. #2
    Registered User
    Join Date
    Oct 2010

    Re: problem with delegate paint method

    AFAIK if you call update() method, the paint should be called.

Similar Threads

  1. problem in delegate paint..
    By srinivas.symbian in forum Qt
    Replies: 1
    Last Post: 2010-12-08, 11:52
  2. paint() method with access modifiers
    By KevinBoyd in forum Mobile Java General
    Replies: 2
    Last Post: 2009-10-08, 12:30
  3. how does the paint method work?
    By KevinBoyd in forum Mobile Java General
    Replies: 6
    Last Post: 2009-09-03, 06:33

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts