Re: problem with QDataTable
Where do you show that widget? In the Designer?
Re: problem with QDataTable
Code:
#include <qapplication.h>
#include "inc/qformeditobjbase.h"
int main( int argc, char ** argv )
{
// widget with one data table
QFormEditObjBase frmObjEditBase;
a.setMainWidget(&frmObjEditBase);
frmObjEditBase.show();
a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( quit() ) );
return a.exec();
}
Re: problem with QDataTable
You must connect to the database yourself. Connections that you define in Qt Designer are only used internally --- they aren't stored in a .ui file.