Results 1 to 2 of 2

Thread: Sample applicaiton - QTreeWidget, QTableWidget, QItemSelectionModel

  1. #1
    Join Date
    Jan 2011
    Posts
    212
    Thanks
    24
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Sample applicaiton - QTreeWidget, QTableWidget, QItemSelectionModel

    Hello forum,


    I have a dialog window separated by the qtreewidget and the qtablewidget. Whenever the user clicks any of the tree widget item, more attribute information about the tree item will be shown in the table widget.

    If anyone is aware of any examples related to what i am looking for as mentioned above, please send me those references.


    I am trying to understand the piechart example and in the mean-time i shall be grateful if something more simpler reference example shows up from anyone of you.


    Regards
    Sajjad

  2. #2
    Join Date
    Feb 2011
    Posts
    354
    Thanks
    17
    Thanked 27 Times in 24 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Windows

    Default Re: Sample applicaiton - QTreeWidget, QTableWidget, QItemSelectionModel

    I think piechart is something different: it displays the same data in different views. You need to show a different data in the second view. Take a look at QDataWidgetMapper and maybe QSqlRelationalTableModel, QSqlRelationalDelegate if you are using relational database.

Similar Threads

  1. Desktop launching of qt applicaiton on mini2440
    By u2bpavankumar in forum Qt for Embedded and Mobile
    Replies: 5
    Last Post: 30th November 2012, 05:53
  2. Replies: 0
    Last Post: 6th May 2011, 07:28
  3. Sample code to use QTreeWidget and QStackWidget
    By Jeff100 in forum Qt Programming
    Replies: 1
    Last Post: 22nd December 2010, 08:05
  4. Replies: 3
    Last Post: 22nd March 2010, 13:50
  5. Replies: 1
    Last Post: 24th September 2007, 09:02

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.