-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
4.6.3
-
None
-
Windows XP SP3, Qt Creator v4.7.0 (32-bit)
The issue is that when using QTest::mouseClick() with a QCheckBox, the QCheckBox must be visible (call QCheckBox::show() ) for the mouse click to register. However, for QPushButton, QPushButton::show() does not need to be called first. This behavior seems inconsistent
Please see forum post here for code samples:
http://developer.qt.nokia.com/forums/viewthread/1282/
Also, if it turns out that a ::show() call is needed on every QWidget before using QTest::mouseClick(), this documentation here should be updated: