Results 1 to 6 of 6

Thread: [QT3] QListView

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Grenoble, France
    Posts
    165
    Thanks
    106
    Qt products
    Qt4
    Platforms
    Windows

    Thumbs up [QT3] QListView (C++ with XP)

    Hello,

    In QListViews one can define columns, say from left to right A, B and C; and of course lines say from top to bottom 1, 2, 3...

    I try to modify (for instance) the content of cell B2.

    For the time being, I could not invent better than to click with the mouse (left) on line 2. This puts A2 as selected. I then loop through the list to find which line has been selected.

    Then I programmed function key F1 to edit A2, F2 to edit B2, F3 to edit C2 etc...

    But I really would like to click on any cell and program a slot to handle it.

    Is there a better way that I could investigate ?
    Last edited by incapacitant; 29th January 2006 at 16:10. Reason: add language and os

Similar Threads

  1. [QT3] Implement "Freeze Panes" features in QListView
    By Syphius in forum Qt Programming
    Replies: 7
    Last Post: 5th January 2009, 21:25
  2. how to move item up and down in QListView
    By zhanglr in forum Qt Programming
    Replies: 3
    Last Post: 1st August 2008, 14:39
  3. QListView word wrap
    By serega in forum Qt Programming
    Replies: 17
    Last Post: 30th August 2007, 03:13
  4. Subclass QListView to show two colums in one
    By Mookie in forum Qt Programming
    Replies: 2
    Last Post: 23rd June 2007, 02:12
  5. [QT3] QListView and Key_Delete - doesn't work?
    By InZone in forum Qt Programming
    Replies: 2
    Last Post: 26th January 2006, 14:49

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.