Results 1 to 1 of 1

Thread: nested QTableView objects

  1. #1
    Join Date
    Feb 2014
    Posts
    2
    Qt products
    Platforms
    Windows

    Default nested QTableView objects

    Hello,

    I am not sure, if I got the QT model/view concept.

    What I want to do, is to create a complex table. However, instead of creating this complex table all at once, I thought about creating a bunch of small tables and put them in a larger table. I sucessfully created my submodules (basically these are QTableView objects with different underlying models), but I don't know how I can integrate these submodules into my main QTableView.

    My first attempt was to use a QTableWidget as my main module and integrate the submodules with the setCellWidget() method, but with this approach I can not freeze the first column.

    How can I put a QTableView in a QTableView? Or is there a better approach for this kind of problem?

    Thanks a lot!

    Kind Regards
    Bernhard
    Last edited by Schluchti; 8th February 2014 at 15:09. Reason: spelling corrections

Similar Threads

  1. Nested lists in QT QML
    By Raghavendra R M in forum Qt Quick
    Replies: 13
    Last Post: 14th October 2013, 11:27
  2. c++ nested class
    By sonulohani in forum General Programming
    Replies: 1
    Last Post: 25th June 2012, 08:48
  3. Nested Layout
    By starcontrol in forum Qt Programming
    Replies: 2
    Last Post: 9th April 2008, 13:47
  4. nested tables
    By Jeroen van der Waal in forum Qt Programming
    Replies: 1
    Last Post: 6th June 2007, 18:12
  5. Nested Plugins
    By Luis Rodriguez in forum Qt Programming
    Replies: 1
    Last Post: 10th March 2006, 23:00

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.