Copyright 2010 Comarch S.A.
*******************************************************************************/
-//! \file TranslationWidget.h
-//! \author Mateusz Półrola <mateusz.polrola@comarch.pl>
+/*! \file TranslationWidget.h
+ \brief Displays translation of a word found in dictionaries
+
+ \author Mateusz Półrola <mateusz.polrola@comarch.pl>
+*/
#ifndef TRANSLATIONWIDGET_H
#define TRANSLATIONWIDGET_H
#include <QPropertyAnimation>
#include "../../include/GUIInterface.h"
-//! Displays translation of a word found in dictionaries
/*!
Displays many translations of word, formatted as xml.
*/
Q_SIGNALS:
void search(QString);
+ void notify(Notify::NotifyType, QString);
public Q_SLOTS:
//! Show widget.
private Q_SLOTS:
void searchSelected();
+ void copySelected();
#ifdef Q_WS_MAEMO_5
void showButtons();
#endif
private:
QString XslConversion(QString translation);
+ QString checkTranslation(QString trans);
+ QString createTranslation(QStringList translations);
QToolButton* zoomInToolButton;
QToolButton* zoomOutToolButton;
TranslationView *webkit;