I dont want squish since it is licensed.
Thanks in advance for your replies
I dont want squish since it is licensed.
Thanks in advance for your replies
favorite
i have created a property
Q_PROPERTY(QString Query READ strgetQuery WRITE StrsetQuery)
to my custom widget plugin
void CAutoCompletion::StrsetQuery(const QString &str)
{
prt.strQueryForProperties=str;
dbModelBinding *objdb=new dbModelBinding();
objdb->strDatabaseNameGetText=strDatabaseNameGetText() ;
//qDebug()<<"dbName ::"+objdb.strDatabaseNameGetText;
objdb->strGetUserName=strGetUserName();
objdb->Password=Password();
objdb->strgethostName=strgethostName();
objdb->inport=inport();
connect(objdb,SIGNAL(modelFinished(QSqlQueryModel* )),SLOT(setDbConfig(QSqlQueryModel*)));
objdb->start();
}
i just need to set
prt.strQueryForProperties=str;
i don't need to execute all the codes at design time, just only need to execute all the codes at run time only
OK thanks for your reply
Bookmarks