Results 1 to 1 of 1

Thread: Text Shadowed Problem

  1. #1
    Join Date
    Jul 2008
    Posts
    139
    Thanks
    9
    Thanked 18 Times in 15 Posts
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default Text Shadowed Problem

    Hi,
    Thanks for your help recently. I have another problem. I have some text that is 'mirrored'. Time/Date. These items are movable, however when I move the item the mirrored result does not move with the item, it stays at the original position. Maybe it's related to the boundingrect()??. This is a QGraphicsRectItem on a QGraphicsScene. In the png file you can see I have moved the Date part, and the shadow remains at the original position. I did not move the time part. I tried a few things with the boundingrect() but could not get the result I was looking for. I would like the shadow part moved with the item, if not, at least the shadow should be 'reset' when moved to a new position.
    I have attached my code if it helps.
    Thanks for your assistance.
    Attached Images Attached Images
    Attached Files Attached Files

Similar Threads

  1. Having problem with QGraphicsItem
    By Kingofhearts_sri in forum Qt Programming
    Replies: 4
    Last Post: 23rd January 2009, 19:10
  2. Replies: 2
    Last Post: 30th December 2008, 21:35
  3. problem with reading text files
    By Axsis in forum Newbie
    Replies: 1
    Last Post: 25th April 2008, 12:29
  4. Replies: 16
    Last Post: 7th March 2006, 15:57
  5. Problem with inserting text into QTextEdit
    By xorrr in forum Qt Programming
    Replies: 0
    Last Post: 6th February 2006, 11:45

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.