Results 1 to 3 of 3

Thread: Mouse Cursor Problem

  1. #1
    Join Date
    Jan 2006
    Location
    Ohio
    Posts
    332
    Thanks
    37
    Thanked 8 Times in 4 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Mouse Cursor Problem

    Is there a problem using Qt::SplitVCursor and Qt::SplitHCursor? I have code where I want to see a Qt::SplitHCursor, but I get the SplitVCursor instead. Then if I switch my code to display the SplitVCursor, I get the SplitHCursor, so is there something wrong using these? Thanks!

  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: Mouse Cursor Problem

    I think it's just a matter of defining what a "horizontal splitter" is. In Qt it's the one where the widgets are placed horizontally, not the handle.

    It's easy to confuse both splitter types and it seems that such mistake was made in Qt::CursorShape docs. I think you should contact the Trolls and ask them to verify this.

  3. The following user says thank you to jacek for this useful post:

    ToddAtWSU (1st October 2007)

  4. #3
    Join Date
    Jan 2006
    Location
    Ohio
    Posts
    332
    Thanks
    37
    Thanked 8 Times in 4 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Mouse Cursor Problem

    Yeah I was looking at the docs and was confused when the one thing they said would give me the shape I wanted didn't perform how the docs said it would. I agree with you that the doc writer probably misinterpreted too, but I will ask the trolls. Thanks!

Similar Threads

  1. Move Rectangle on mouse Move
    By vermarajeev in forum Qt Programming
    Replies: 24
    Last Post: 14th May 2007, 05:34
  2. mouse moving don't produce mouse events
    By coralbird in forum Qt Programming
    Replies: 1
    Last Post: 13th September 2006, 06:13
  3. Replies: 2
    Last Post: 24th July 2006, 18:36
  4. QStackerWidget and mouse events
    By high_flyer in forum Qt Programming
    Replies: 3
    Last Post: 25th April 2006, 19:25
  5. setCanvas blocks mouse movement on QtCanvasView
    By YuriyRusinov in forum Qt Programming
    Replies: 8
    Last Post: 20th April 2006, 07:38

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.