*******************************************************************************/
-//Created by Mateusz Półrola
+/*!
+ \file XdxfDictDownloadProgressDialog.h
+ \author Mateusz Półrola <mateusz.polrola@comarch.com>
+ */
#ifndef XDXFDICTDOWNLOADPROGRESSDIALOG_H
#define XDXFDICTDOWNLOADPROGRESSDIALOG_H
#include <QDialog>
#include <QtGui>
+/*!
+ Shows downloading progress bar. Currently it displays "busy bar".
+ User can cancel current download by pressing cancel button
+ */
class XdxfDictDownloadProgressDialog : public QDialog {
Q_OBJECT
public:
XdxfDictDownloadProgressDialog(QWidget *parent = 0);
public Q_SLOTS:
+ //! Reimplemented to block rejecting on maemo. User must cancel.
void reject();
+
+ //! Set text which will be displayed to user as info about current download
void setText(QString);
Q_SIGNALS:
QProgressBar* downloadProgressBar;
QPushButton* cancelButton;
QVBoxLayout* verticalLayout;
- //! used to check the progress of dictionary downloading
};
#endif // XDXFDICTDOWNLOADPROGRESSDIALOG_H