Results 1 to 3 of 3

Thread: Editing directly in a ListView!

  1. #1

    Default Editing directly in a ListView!

    Hi all!

    I have implemented a ListView with several columns, for displaying large amounts of data. The purpose is to aloow the user to view alot of data at once, to help them valiadte some of it.

    In this view there is ONE column that can contain false data, or data that needs to be changed. I've implemented a little popup that show's when the user click the item, and allows the user to change the data, but there is a request to actually just edit the value right in the listview without showing the popup, just as it was an TableWidget. Can this easily be done, or is it better to just move it all over to a TableWidget?

    The importance here is also that the user isnt allowed to change anything else than the data in this column.

    Grateful for som advices ...

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Editing directly in a ListView!

    Could you be more specific about widgets and Qt version you use? A "multi column list view" is a Qt 3 widget but a "table widget" is a Qt 4 widget. So do you mean Qt 3's QListView? In Qt 4, QTreeView is used for multi column lists.
    J-P Nurmi

  3. #3

    Default Re: Editing directly in a ListView!

    Yas, thats right, Sry, for beeing unclear, but we are still using Qt3 and it is a multicolumn listview.

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.