5 #ifndef BALL_VIEW_WIDGETS_TESTFRAMEWORK_H 6 #define BALL_VIEW_WIDGETS_TESTFRAMEWORK_H 8 #ifndef BALL_VIEW_WIDGETS_DOCKWIDGET_H 12 #ifndef BALL_SYSTEM_FILE_H 16 #ifndef BALL_SYSTEM_TIMER_H 20 #include <QtCore/QThread> 69 MyMouseEvent(Type type,
const QPoint & position, Qt::MouseButton button,
70 Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers)
71 :
QMouseEvent(type, position, button, buttons, modifiers) {}
87 friend class MyEventThread;
100 virtual void initializeWidget(
MainControl& main_control);
103 void setFilename(
const String& filename);
109 virtual bool canHandle(
const String& fileformat)
const;
112 virtual bool openFile(
const String& filename);
138 virtual void timeOut();
141 void switchRecordMove();
145 virtual bool event(
QEvent* e);
147 void storeEvent(
QEvent& e);
149 void processEvent_();
151 QAction* start_recording, *stop_recording, *run_test, *abort_test,
164 int modifiers_,
type_, our_type_, button_, buttons_;
179 #endif // BALL_VIEW_WIDGETS_TESTFRAMEWORK_H
#define BALL_EMBEDDABLE(TYPE, BASE)