Results 1 to 2 of 2

Thread: Disabling automatic selection behavior of QTableWidget

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2009
    Location
    New Orleans, Louisiana
    Posts
    791
    Qt products
    Qt5
    Platforms
    MacOS X
    Thanks
    13
    Thanked 153 Times in 150 Posts

    Default Re: Disabling automatic selection behavior of QTableWidget

    Have you looked at the QTableWidget::setSelectionMode method? One of the selection modes is QAbstractItemView::NoSelection.

    Edit: Sorry, completely missed the code you posted that you already tried! Watching TV and posting, not good!!!
    Last edited by jefftee; 16th March 2017 at 03:46.
    I write the best type of code possible, code that I want to write, not code that someone tells me to write!

Similar Threads

  1. disabling multiple selection of items in graphicsscene/view
    By lightning2911 in forum Qt Programming
    Replies: 1
    Last Post: 23rd August 2010, 09:06
  2. Automatic selection after remove row in TableView
    By mstegehu in forum Qt Programming
    Replies: 0
    Last Post: 25th May 2010, 15:16
  3. disabling a default Alt-key behavior
    By roxton in forum Qt Programming
    Replies: 0
    Last Post: 4th June 2008, 17:15
  4. Automatic font selection
    By NTwoO in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 27th April 2007, 13:40
  5. Automatic sizing of QTableWidget's cells
    By Artem Anisimov in forum Qt Programming
    Replies: 2
    Last Post: 4th September 2006, 20:01

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
  •  
Qt is a trademark of The Qt Company.