PDA

View Full Version : QtableView Render to



jamesjara
24th June 2009, 19:11
QTableView *gridclientes = crearvista(QObject::tr("Mantenimiento"),&tabla);
gridclientes->show();

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!

Lykurg
24th June 2009, 19:53
QTableView *gridclientes = crearvista(QObject::tr("Mantenimiento"),&tabla);
gridclientes->show();

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;)