#include <testFramework.h>
Inheritance diagram for VIEW::TestFramework:
Public Slots | |
void | startTest () |
void | stopTest () |
void | runTest () |
void | abortTest () |
void | saveFile () |
void | loadFile () |
virtual bool | eventFilter (QObject *, QEvent *e) |
virtual void | timeOut () |
void | switchRecordMove () |
Public Member Functions | |
TestFramework (QWidget *parent=0, const char *name=0) throw () | |
virtual void | initializeWidget (MainControl &main_control) throw () |
Initialize the widget. | |
void | setFilename (const String &filename) |
void | checkMenu (MainControl &main_control) throw () |
Menu checking method. | |
virtual bool | canHandle (const String &fileformat) const |
Test if this ModularWidget can handle a given file format. | |
virtual bool | openFile (const String &filename) |
Tell this ModularWidget to open a given file. | |
Protected Member Functions | |
virtual bool | event (QEvent *e) |
void | storeEvent (QEvent &e) |
void | processEvent_ () |
Protected Attributes | |
QAction * | start_recording |
QAction * | stop_recording |
QAction * | run_test |
QAction * | abort_test |
QAction * | save_file |
QAction * | load_file |
QAction * | switch_move |
QAction * | action_ |
File | outfile_ |
File | infile_ |
String | filename_ |
Timer | timer_ |
Timer | runtime_ |
list< String > | lines_ |
QWidget * | widget_ |
QWidget * | last_widget_ |
float | time_ |
bool | event_busy_ |
Index | x_ |
Index | y_ |
int | modifiers_ |
int | type_ |
int | our_type_ |
int | button_ |
int | buttons_ |
bool | test_running_ |
bool | recording_ |
String | last_event_string_ |
String | last_names_ |
String | shortcut_ |
String | python_line_ |
String | expected_result_ |
MyEventThread | thread_ |
Size | errors_ |
QEvent * | last_event_ |
bool | is_command_line_ |
float | max_run_time_ |
Position | line_nr_ |
Friends | |
class | MyEventThread |
This can be used to
|
Test if this ModularWidget can handle a given file format.
Reimplemented from VIEW::ModularWidget. |
|
Menu checking method. This method is called MainControl::checkMenus before a popup menu is shown. It should be used to update the state of menu entries (e.g. disable or enable entries).
Reimplemented from VIEW::ModularWidget. |
|
Initialize the widget. This method is called automatically immediately before the main application is started. It should add the widget's menu entries and connections (if required). This method will be called by MainControl::show.
Reimplemented from VIEW::ModularWidget. |
|
Tell this ModularWidget to open a given file.
Reimplemented from VIEW::ModularWidget. |