Results 1 to 5 of 5

Thread: How to customize horizontal header (diagonal header view)

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2008
    Posts
    8
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Question How to customize horizontal header (diagonal header view)

    I have a requirement in my project viz. the horizontal header data has to be displayed diagonally. Can any one please let me know, how to do this customization?

    What I tried was,

    Subclassed the QHeaderView and reimplementing the paintSection.
    I can draw skewed / angled lines. But there are no grippers for that line to move the header. How to acheive this?

    I could not place the text properly in each header column. How do I acheive this?

    Can any one help me with a sample code for this?
    Attached Images Attached Images

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.