Results 1 to 2 of 2

Thread: Moving table column using left mouse button with right mouse button

  1. #1
    Join Date
    Jun 2014
    Posts
    2
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default Moving table column using left mouse button with right mouse button

    Hi all,

    I'm using Q3Table and want to prevent the user from moving columns.

    I used the following Q3Table method:

    Qt Code:
    1. setColumnMovingEnabled( false );
    To copy to clipboard, switch view to plain text mode 

    This works and the user CAN NOT move columns with left mouse button on column header.

    But, if the user press left mouse button on column header, holds it, and press right mouse button too, user can still move columns.

    To prevent this too, I used the following Q3Header method:

    Qt Code:
    1. setMovingEnabled( false );
    To copy to clipboard, switch view to plain text mode 

    My question: is there any documentation regarding this left mouse button with right mouse button trick?

    Regards,

    Avner.

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Moving table column using left mouse button with right mouse button

    Hmm, first time I hear about this, sounds more like a bug.

    Qt3 support classes, my condolences on having to work with such ancient code!

    Cheers,
    _

Similar Threads

  1. Replies: 1
    Last Post: 10th March 2013, 17:40
  2. Drag Text on QPainter with left button of mouse movement
    By amitpatel22 in forum Qt Programming
    Replies: 1
    Last Post: 20th June 2011, 12:52
  3. Replies: 4
    Last Post: 29th August 2010, 18:16
  4. combining Alt + Left Mouse Button
    By speedracer in forum Qt Programming
    Replies: 1
    Last Post: 3rd June 2009, 13:29
  5. QSlider and right mouse button
    By Abnormalia in forum Qt Programming
    Replies: 4
    Last Post: 17th March 2009, 12:13

Tags for this Thread

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.