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