|
|
|
@ -258,13 +258,13 @@ void Uic::createFormImpl( const TQDomElement &e )
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (globalIncludes.findIndex("qtable.h") >= 0)
|
|
|
|
|
out << indent << "from python_tqt.qttable import TQTable" << endl;
|
|
|
|
|
out << indent << "from PyTQt.qttable import TQTable" << endl;
|
|
|
|
|
|
|
|
|
|
if (!axwidgets.empty())
|
|
|
|
|
out << indent << "from python_tqt.qtaxcontainer import TQAxWidget" << endl;
|
|
|
|
|
out << indent << "from PyTQt.qtaxcontainer import TQAxWidget" << endl;
|
|
|
|
|
|
|
|
|
|
if (globalIncludes.findIndex("tqextscintilla.h") >= 0)
|
|
|
|
|
out << indent << "from python_tqt.qtext import TQextScintilla" << endl;
|
|
|
|
|
out << indent << "from PyTQt.qtext import TQextScintilla" << endl;
|
|
|
|
|
|
|
|
|
|
registerDatabases( e );
|
|
|
|
|
dbConnections = unique( dbConnections );
|
|
|
|
@ -302,7 +302,7 @@ void Uic::createFormImpl( const TQDomElement &e )
|
|
|
|
|
sqlClasses += "TQDataView";
|
|
|
|
|
|
|
|
|
|
if ( !sqlClasses.empty() ) {
|
|
|
|
|
out << indent << "from python_tqt.qtsql import";
|
|
|
|
|
out << indent << "from PyTQt.qtsql import";
|
|
|
|
|
const char *sep = " ";
|
|
|
|
|
|
|
|
|
|
for ( it = sqlClasses.begin(); it != sqlClasses.end(); ++it ) {
|
|
|
|
|