ContributionsMost RecentMost LikesSolutionsRe: how to call the functions which locate in another unit?Thanks.how to call the functions which locate in another unit?Hello, I create two uints script, and each unit contains many functions, if I want to use one function which in another unit, does it possibly? if yes, how to do it? Thanks.How to get the drawing shapesThose shapes are not real controls, does there any ways to obtains those shapes?Re: Qt Object and calling QT methodsyes. But for some other widgets ( controls ) in Qt, which the TC doesn't provide the corresponding controls, how to deal with them?How to convert the Qt class type to Javascript typeFor a simple example, I got the return type is a Qt class type: QString, how to convert it to "String" type in jscript language?How to get the model of Qt widgetHi, In the tested Qt-bassed application, I got one widget, it's a QTreeView object. and there are some items ( like folders and files ) in it. Those items we called Model. It works like this in Qt: QFileSystemModel *model = new QFileSystemModel; model->init(); // Initilize the model QTreeView *tree = new QTreeView(); tree->setModel(model); // set the model. So, In TestComplete, How to get the model ( itmes ) of QWidget ( eg: QTreeView ) ? I used JScript: var treeView = widget.QtObject("QTreeView","",1); var treeItems = ???; // how to get it ? Re: Qt Object and calling QT methodsHi, I am also interest in this problem. The answer which you provide (" lineEdit.wText = "texts" ) is not the expected one. Because I want to use Qt method to set the texts, not use the methods or properties which provide by TestComplete. Simplely to say, I want to use the method of QLineEdit, not the QtLineEdit. so for the method : setText(), it has a parameter, how to operate with it? could you please give me a example ?