December 1, 2010

tchoninho tchoninho
Lab Rat
15 posts

QTest - How to i using it on UI objects??

 

Hello,

I have a object inherits from QDockWidget in there is others Qt’s objects (QComboBox, QTreeWidget,…) . For to test, the others objects of my system, I have used the CppUnit. So, how to I using the QTest for my user-interface objects??

Thanks,

Tchoninho.

 Signature 

Computer Scientist
Belo Horizonte - Brasil
C++ Development
Qt Development

2 replies

December 1, 2010

anselmolsm anselmolsm
Ant Farmer
384 posts

Hi tchoninho,
In this part of the docs [doc.qt.nokia.com] you’ll find the description of how to use QTest. Also, as a reference, you can check how Qt widgets are tested in the directory QT_SOURCE/tests/auto/

 Signature 

Anselmo L. S. Melo (anselmolsm)
www.anselmolsm.org

December 4, 2010

erapid erapid
Lab Rat
14 posts

Two cents from KDE [techbase.kde.org]

 
  ‹‹ Resources from promoted widgets do not appear in main application (designer question)      Policy and permissions API ››

You must log in to post a reply. Not a member yet? Register here!