Results 1 to 5 of 5

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

Hybrid View

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

    Default Re: How to customize horizontal header (diagonal header view)

    Quote Originally Posted by wysota View Post
    You will probably need to handle all the events yourself - mainly mouse events.
    Somehow I could acheive the angled lines in the horizontal header. But when I move the mouse over the header, the angled lines are getting wiped off and it is not happening for the text in the header section. How should I fix this? What we need to handle in the mouse move events? Can I have a example or some snippet of code?

    And how to make the horizontal header sections, clickable? (The vertical header sections are behaving like push buttons and it is not happening for the customized Horizontal header view). How to acheive this?

  2. #2
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    8
    Thanked 334 Times in 317 Posts

    Default Re: How to customize horizontal header (diagonal header view)

    Doesnt QHeaderView::setClickable work for u ?

  3. #3
    Join Date
    Sep 2008
    Posts
    8
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    1

    Post Re: How to customize horizontal header (diagonal header view)

    No set clickable didn't work.

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.