Results 1 to 3 of 3

Thread: Tableview - Three subcolumns inside one column?

  1. #1
    Join Date
    Mar 2010
    Location
    Heredia, Costa Rica
    Posts
    257
    Thanks
    24
    Thanked 17 Times in 14 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Question Tableview - Three subcolumns inside one column?

    Hi.

    I need a Tableview with two columns and where each column has three subcolumns. Something like:

    |--------------------------------------------------------------------------|
    |Row ID | -------Wet Season-------|------Dry Season----------|
    | | Cattle | Sheep | Goats | Cattle | Sheep | Goats |
    |--------------------------------------------------------------------------|
    | 1 | 20 | 0 | 40 | 15 | 0 | 10 |
    |--------------------------------------------------------------------------|
    ...

    Any idea with a small example?

    Many thanks.

  2. #2
    Join Date
    Apr 2009
    Posts
    36
    Thanks
    1
    Thanked 7 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Tableview - Three subcolumns inside one column?

    Take a look at this custom Qt widget: http://qt-apps.org/content/show.php/...content=103154

  3. #3
    Join Date
    Mar 2010
    Location
    Heredia, Costa Rica
    Posts
    257
    Thanks
    24
    Thanked 17 Times in 14 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Tableview - Three subcolumns inside one column?

    Brilliant!

    Thanks

Similar Threads

  1. Get an Index inside a TableView[SOLVED]
    By jano_alex_es in forum Newbie
    Replies: 1
    Last Post: 15th May 2009, 08:10
  2. QWidget in tableview
    By sepehr in forum Qt Programming
    Replies: 3
    Last Post: 22nd February 2009, 07:31
  3. tableview
    By GuL in forum Newbie
    Replies: 1
    Last Post: 26th August 2008, 17:18
  4. help in tableview
    By bala in forum Qt Programming
    Replies: 3
    Last Post: 12th November 2007, 15:46
  5. getting current Id from tableView
    By mkarakaplan in forum Newbie
    Replies: 3
    Last Post: 7th October 2007, 22:14

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.