Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QtUiTestRecorder class provides an interface for observing application-wide high level user actions. More...
#include <QtUiTestRecorder>
This class is under development and is subject to change.
Inherits QObject.
The QtUiTestRecorder class provides an interface for observing application-wide high level user actions.
QtUiTestRecorder aggregates the signals declared in the QtUiTest widget interfaces to provide a single object capable of watching for user input.
Note that using this class is expensive because it involves watching for signals on a large number of objects. When you create a QtUiTestRecorder and connect to its signals, this will result in every existing widget being wrapped in a test widget. To avoid this, do not connect to the signals of a QtUiTestRecorder unless you will definitely use the result.
Constructs a QtUiTestRecorder with the given parent.
Destroys the QtUiTestRecorder.
Emitted when widget is activated by any means.
In this context, "activated" means, for example, clicking a button.
See also QtUiTest::ActivateWidget::activated().
Emitted when item is entered into widget.
See also QtUiTest::InputWidget::entered().
Emitted when widget obtains focus by any means.
See also QtUiTest::Widget::gotFocus().
Emitted when key (with modifiers) is pressed or released.
key is compatible with Qt::Key and modifiers is compatible with Qt::KeyboardModifiers.
If the event is a press isPress is true, otherwise it is a release. isAutoRepeat is true if the event is generated due to autorepeat.
This signal is only emitted within the server process, because individual applications cannot monitor system-wide key events.
Emitted when the mouse changes state.
x and y are the global co-ordinates of the event. state is the current state of the mouse buttons, compatible with Qt::MouseButtons.
This signal is only emitted within the server process, because individual applications cannot monitor system-wide mouse events.
Emitted when item is selected from widget.
See also QtUiTest::SelectWidget::selected().
Emitted when the check state changes to state in widget.
See also QtUiTest::CheckWidget::stateChanged().
Copyright © 2009 Trolltech | Trademarks | Qt Extended 4.4.3 |