2013-11-26 13:44:00 +07:00
|
|
|
#ifndef PROCESSINGITEM_H
|
|
|
|
#define PROCESSINGITEM_H
|
|
|
|
|
|
|
|
#include <QPixmap>
|
|
|
|
|
2015-09-23 01:41:08 +07:00
|
|
|
struct ProcessingItem {
|
|
|
|
QPoint screenPos;
|
|
|
|
QPixmap source;
|
|
|
|
QString recognized;
|
|
|
|
QString translated;
|
2013-11-26 23:59:47 +07:00
|
|
|
|
2015-09-23 01:41:08 +07:00
|
|
|
QString ocrLanguage;
|
|
|
|
QString sourceLanguage;
|
2015-10-01 01:25:45 +07:00
|
|
|
QString translateLanguage;
|
2014-04-04 21:39:10 +07:00
|
|
|
|
2015-09-30 23:49:10 +07:00
|
|
|
Qt::KeyboardModifiers modifiers;
|
|
|
|
|
2015-09-23 01:41:08 +07:00
|
|
|
bool isValid () const;
|
2013-11-26 13:44:00 +07:00
|
|
|
};
|
2015-09-23 01:41:08 +07:00
|
|
|
Q_DECLARE_METATYPE (ProcessingItem)
|
2013-11-26 13:44:00 +07:00
|
|
|
|
|
|
|
#endif // PROCESSINGITEM_H
|