Results 1 to 2 of 2

Thread: QtableView Render to

  1. #1
    Join Date
    Jun 2009
    Posts
    4
    Qt products
    Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default QtableView Render to

    Qt Code:
    1. QTableView *gridclientes = crearvista(QObject::tr("Mantenimiento"),&tabla);
    2. gridclientes->show();
    To copy to clipboard, switch view to plain text mode 
    Hi i am new thanks for the help,
    i created a tablegrids for a test application.. but i have a problem
    The problem is: i can show my table with gridclientes->show(); , but this is showed like in a modalmessage. How i do to "render" the QTABLEVIEW to a element in the form UI. for example y have a element Layout(QVBoxLayout)..
    i want to put the qtableview inside that..


    please can helpme is very important thanks!

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: QtableView Render to

    Quote Originally Posted by jamesjara View Post
    Qt Code:
    1. QTableView *gridclientes = crearvista(QObject::tr("Mantenimiento"),&tabla);
    2. gridclientes->show();
    To copy to clipboard, switch view to plain text mode 
    Hi i am new thanks for the help,
    Hello, and welcome to the forum.
    i created a tablegrids for a test application.. but i have a problem
    The problem is: i can show my table with gridclientes->show(); , but this is showed like in a modalmessage. How i do to "render" the QTABLEVIEW to a element in the form UI. for example y have a element Layout(QVBoxLayout)..
    i want to put the qtableview inside that..
    a) please also note our Newbie section
    b) read in the documentation about how to handle QLayouts (QLayout::addWidget())
    c) read the passage about the designer in the docs and there especially "promote to"...

    please can helpme is very important thanks!
    Everything is important and normally also very urgent

Similar Threads

  1. Replies: 2
    Last Post: 7th June 2009, 10:47
  2. Very high CPU usage with QTableView and MVC
    By montylee in forum Qt Programming
    Replies: 7
    Last Post: 24th March 2009, 06:14
  3. QTableView in ui with model/delegate
    By tpf80 in forum Qt Programming
    Replies: 7
    Last Post: 6th November 2008, 23:00
  4. Client/Server Error: BadIDChoice
    By 3nc31 in forum Qt Programming
    Replies: 5
    Last Post: 27th November 2007, 10:22
  5. Multi-line messages in QTableView
    By Conel in forum Qt Programming
    Replies: 6
    Last Post: 13th April 2006, 13:49

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.