CTK  0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
Classes | Public Types | Public Slots | Signals | Public Member Functions | Static Public Member Functions | Protected Slots | Protected Attributes | List of all members
ctkEventTranslatorPlayerWidget Class Reference

#include <Libs/QtTesting/ctkEventTranslatorPlayerWidget.h>

Inheritance diagram for ctkEventTranslatorPlayerWidget:
Inheritance graph
[legend]
Collaboration diagram for ctkEventTranslatorPlayerWidget:
Collaboration graph
[legend]

Public Types

typedef QMainWindow Superclass
 

Public Slots

void play ()
 

Signals

void playerDone (QWidget *widget)
 
void recordDone (QWidget *widget)
 
void startPlayerBack (QWidget *widget)
 

Public Member Functions

void addTestCase (QWidget *widget, QString fileName, void(*newCallback)(void *data))
 
void addTestCase (QDialog *dialog, QString fileName, void(*newCallback)(void *data))
 
void addWidgetEventPlayer (pqWidgetEventPlayer *player)
 
void addWidgetEventTranslator (pqWidgetEventTranslator *translator)
 
 ctkEventTranslatorPlayerWidget ()
 
void setTestUtility (pqTestUtility *newTestUtility)
 
pqTestUtility * testUtility () const
 
 ~ctkEventTranslatorPlayerWidget ()
 

Static Public Member Functions

static bool compare (const double &actual, const double &expected, const char *actualName, const char *expectedName, const char *function, int line)
 
static bool compare (const int &actual, const int &expected, const char *actualName, const char *expectedName, const char *function, int line)
 
static bool compare (const QString &actual, const QString &expected, const char *actualName, const char *expectedName, const char *function, int line)
 
static bool compare (const QStringList &actual, const QStringList &expected, const char *actualName, const char *expectedName, const char *function, int line)
 
static bool compare (const QDateTime &actual, const QDateTime &expected, const char *actualName, const char *expectedName, const char *function, int line)
 
static bool compare (const QColor &actual, const QColor &expected, const char *actualName, const char *expectedName, const char *function, int line)
 
static bool compare (const QImage &actual, const QImage &expected, const char *actualName, const char *expectedName, const char *function, int line)
 
static const char * enumValueToKey (QObject *object, const char *enumName, int value)
 

Protected Slots

void onClickedPlayback (bool)
 
void onClickedRecord (bool)
 
bool play (int currentTestCase)
 
void popupDialog ()
 
void record (int currentTestCase)
 
void switchTestCase (int testCase)
 

Protected Attributes

QScopedPointer< ctkEventTranslatorPlayerWidgetPrivate > d_ptr
 

Detailed Description

Definition at line 52 of file ctkEventTranslatorPlayerWidget.h.

Member Typedef Documentation

Definition at line 57 of file ctkEventTranslatorPlayerWidget.h.

Constructor & Destructor Documentation

ctkEventTranslatorPlayerWidget::ctkEventTranslatorPlayerWidget ( )
ctkEventTranslatorPlayerWidget::~ctkEventTranslatorPlayerWidget ( )

Member Function Documentation

void ctkEventTranslatorPlayerWidget::addTestCase ( QWidget *  widget,
QString  fileName,
void(*)(void *data)  newCallback 
)
void ctkEventTranslatorPlayerWidget::addTestCase ( QDialog *  dialog,
QString  fileName,
void(*)(void *data)  newCallback 
)
void ctkEventTranslatorPlayerWidget::addWidgetEventPlayer ( pqWidgetEventPlayer *  player)
void ctkEventTranslatorPlayerWidget::addWidgetEventTranslator ( pqWidgetEventTranslator *  translator)
static bool ctkEventTranslatorPlayerWidget::compare ( const double &  actual,
const double &  expected,
const char *  actualName,
const char *  expectedName,
const char *  function,
int  line 
)
static
static bool ctkEventTranslatorPlayerWidget::compare ( const int &  actual,
const int &  expected,
const char *  actualName,
const char *  expectedName,
const char *  function,
int  line 
)
static
static bool ctkEventTranslatorPlayerWidget::compare ( const QString &  actual,
const QString &  expected,
const char *  actualName,
const char *  expectedName,
const char *  function,
int  line 
)
static
static bool ctkEventTranslatorPlayerWidget::compare ( const QStringList &  actual,
const QStringList &  expected,
const char *  actualName,
const char *  expectedName,
const char *  function,
int  line 
)
static
static bool ctkEventTranslatorPlayerWidget::compare ( const QDateTime &  actual,
const QDateTime &  expected,
const char *  actualName,
const char *  expectedName,
const char *  function,
int  line 
)
static
static bool ctkEventTranslatorPlayerWidget::compare ( const QColor &  actual,
const QColor &  expected,
const char *  actualName,
const char *  expectedName,
const char *  function,
int  line 
)
static
static bool ctkEventTranslatorPlayerWidget::compare ( const QImage &  actual,
const QImage &  expected,
const char *  actualName,
const char *  expectedName,
const char *  function,
int  line 
)
static
static const char* ctkEventTranslatorPlayerWidget::enumValueToKey ( QObject *  object,
const char *  enumName,
int  value 
)
static
void ctkEventTranslatorPlayerWidget::onClickedPlayback ( bool  )
protectedslot
void ctkEventTranslatorPlayerWidget::onClickedRecord ( bool  )
protectedslot
void ctkEventTranslatorPlayerWidget::play ( )
slot
bool ctkEventTranslatorPlayerWidget::play ( int  currentTestCase)
protectedslot
void ctkEventTranslatorPlayerWidget::playerDone ( QWidget *  widget)
signal
void ctkEventTranslatorPlayerWidget::popupDialog ( )
protectedslot
void ctkEventTranslatorPlayerWidget::record ( int  currentTestCase)
protectedslot
void ctkEventTranslatorPlayerWidget::recordDone ( QWidget *  widget)
signal
void ctkEventTranslatorPlayerWidget::setTestUtility ( pqTestUtility *  newTestUtility)
void ctkEventTranslatorPlayerWidget::startPlayerBack ( QWidget *  widget)
signal
void ctkEventTranslatorPlayerWidget::switchTestCase ( int  testCase)
protectedslot
pqTestUtility* ctkEventTranslatorPlayerWidget::testUtility ( ) const

Member Data Documentation

QScopedPointer< ctkEventTranslatorPlayerWidgetPrivate > ctkEventTranslatorPlayerWidget::d_ptr
protected

Definition at line 104 of file ctkEventTranslatorPlayerWidget.h.


The documentation for this class was generated from the following file: