Results 1 to 2 of 2

Thread: How to Fill custom shape?

  1. #1
    Join Date
    Jul 2006
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Question How to Fill custom shape?

    Hello ,

    I have created arrow in the arc shape using the combination of drawArc() and moveTo() & lineTo() functions. But the problem is i am not able to fill the arrow with the specified color. I tired using fillPath() but of no use.

    I have attached the picture of the object what i have drawn and also what i need. Please guide me how to fill.
    Attached Images Attached Images

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to Fill custom shape?


Similar Threads

  1. Custom Widget Plugin Analog Clock
    By kemp in forum Qt Programming
    Replies: 8
    Last Post: 11th August 2006, 13:22
  2. Custom plugin for a layout
    By cocheci in forum Qt Tools
    Replies: 2
    Last Post: 12th June 2006, 18:36
  3. Custom Qt dll name
    By tony007 in forum Installation and Deployment
    Replies: 2
    Last Post: 10th March 2006, 15:29
  4. Replies: 16
    Last Post: 7th March 2006, 15:57
  5. Replies: 4
    Last Post: 1st March 2006, 23:11

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.