24#include <QApplication>
37 QtMsgType
type,
const QMessageLogContext& context,
const QString& message);
43 static void keyUp(QWidget* w, Qt::Key
key, Qt::KeyboardModifiers mod,
int ms);
45 static void keyDown(QWidget* w, Qt::Key
key, Qt::KeyboardModifiers mod,
int ms);
47 static void keyClick(QWidget* w, Qt::Key
key, Qt::KeyboardModifiers mod,
int ms);
50 QWidget* w, QPoint pos, Qt::MouseButton btn, Qt::KeyboardModifiers mod,
int ms);
53 QWidget* w, QPoint pos, Qt::MouseButton btn, Qt::KeyboardModifiers mod,
int ms);
56 QWidget* w, QPoint pos, Qt::MouseButton btn, Qt::KeyboardModifiers mod,
int ms);
59 QWidget* w, QPoint pos, Qt::MouseButton btn, Qt::KeyboardModifiers mod,
int ms);
64 QList<QByteArray> Argv;
static void simulateEvent(QWidget *w, QEvent *e)
static void messageHandler(QtMsgType type, const QMessageLogContext &context, const QString &message)
static void mouseClick(QWidget *w, QPoint pos, Qt::MouseButton btn, Qt::KeyboardModifiers mod, int ms)
static void delay(int ms)
static void keyDown(QWidget *w, Qt::Key key, Qt::KeyboardModifiers mod, int ms)
static void keyClick(QWidget *w, Qt::Key key, Qt::KeyboardModifiers mod, int ms)
QTestApp(int _argc, char **_argv)
static void keyUp(QWidget *w, Qt::Key key, Qt::KeyboardModifiers mod, int ms)
static void mouseMove(QWidget *w, QPoint pos, Qt::MouseButton btn, Qt::KeyboardModifiers mod, int ms)
static void mouseUp(QWidget *w, QPoint pos, Qt::MouseButton btn, Qt::KeyboardModifiers mod, int ms)
static void mouseDown(QWidget *w, QPoint pos, Qt::MouseButton btn, Qt::KeyboardModifiers mod, int ms)