Qt 4.8
|
#include <QtTest/qtest_global.h>
#include <QtTest/qtestassert.h>
#include <QtTest/qtestsystem.h>
#include <QtTest/qtestspontaneevent.h>
#include <QtCore/qpoint.h>
#include <QtCore/qstring.h>
#include <QtGui/qapplication.h>
#include <QtGui/qevent.h>
#include <QtGui/qwidget.h>
Go to the source code of this file.
Namespaces | |
QTest | |
The QTest namespace contains all the functions and declarations that are related to the QTestLib tool. | |
Enumerations | |
enum | QTest::MouseAction { QTest::MousePress, QTest::MouseRelease, QTest::MouseClick, QTest::MouseDClick, QTest::MouseMove } |
This enum describes possible actions for mouse handling. More... | |
Functions | |
void | QTest::mouseClick (QWidget *widget, Qt::MouseButton button, Qt::KeyboardModifiers stateKey=0, QPoint pos=QPoint(), int delay=-1) |
Simulates clicking a mouse button with an optional modifier on a widget. More... | |
void | QTest::mouseDClick (QWidget *widget, Qt::MouseButton button, Qt::KeyboardModifiers stateKey=0, QPoint pos=QPoint(), int delay=-1) |
Simulates double clicking a mouse button with an optional modifier on a widget. More... | |
static void | QTest::mouseEvent (MouseAction action, QWidget *widget, Qt::MouseButton button, Qt::KeyboardModifiers stateKey, QPoint pos, int delay=-1) |
void | QTest::mouseMove (QWidget *widget, QPoint pos=QPoint(), int delay=-1) |
Moves the mouse pointer to a widget. More... | |
void | QTest::mousePress (QWidget *widget, Qt::MouseButton button, Qt::KeyboardModifiers stateKey=0, QPoint pos=QPoint(), int delay=-1) |
Simulates pressing a mouse button with an optional modifier on a widget. More... | |
void | QTest::mouseRelease (QWidget *widget, Qt::MouseButton button, Qt::KeyboardModifiers stateKey=0, QPoint pos=QPoint(), int delay=-1) |
Simulates releasing a mouse button with an optional modifier on a widget. More... | |