Results 1 to 2 of 2

Thread: User Interface with QTableView

  1. #1
    Join Date
    Mar 2006
    Location
    Mountain View, California
    Posts
    489
    Thanks
    3
    Thanked 74 Times in 54 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default User Interface with QTableView

    I'm updating a Qt3 project to Qt4. Here's a screenshot of the current application:

    I want to replace the lower listview and associated widgets with a QTableView. I think this will be a cleaner interface, and streamline some of the code as well. But I'm wondering about the interface. Editing an item would be easy, just use build in editor or a delegate. But what about adding or deleting rows?

    This is more of a interface design question than a programming question. I could use a context menu or similar, but that seems clumsy. Or I could pop up an editor dialog on a doubleclick, but that sounds even worse. I have another application with a similar table view. What I did for it was delete the row if the user deleted the item name, then always made sure there was a blank row on bottom to edit. When the blank row was edited I would automatically add a new one. Is this approach usable? Besides keeping in the add/delete buttons, what other ideas are there?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: User Interface with QTableView

    I think add and delete buttons are the most intuitive solution.

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

    Brandybuck (5th April 2006)

Similar Threads

  1. Logging Qt User Actions
    By Frank J. Lhota in forum Qt Programming
    Replies: 14
    Last Post: 30th May 2014, 22:36
  2. User row selection in QTableView
    By Banjo in forum Qt Programming
    Replies: 2
    Last Post: 17th November 2008, 05:23
  3. Regarding Database Display through user interface
    By Tavit in forum Qt Programming
    Replies: 1
    Last Post: 1st April 2008, 11:32
  4. Qt interface running extremely slowly...
    By jazztpt in forum Qt Programming
    Replies: 1
    Last Post: 4th February 2006, 12:12

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.