Anti-Plagiat Version 1.0

src/Headers/ihm.h

Aller à la documentation de ce fichier.
00001 /***********************************************************************
00002  * Module:  Ihm.h
00003  * Author:  RONGIARD Fabien
00004  *          DUREUIL Brice
00005  *          CRESSON Thomas
00006  *          NAJAR Soufiene
00007  *          FATNI Elkhader
00008  * Modified: vendredi 26 mars 2011 16:46:28
00009  * Purpose: Declaration of the class Ihm
00010  ***********************************************************************/
00011 
00012 #ifndef IHM_H
00013 #define IHM_H
00014 
00027 #include <QWebView>
00028 #include <QMainWindow>
00029 #include <QMessageBox>
00030 #include <QString>
00031 #include <QFile>
00032 #include <QFileDialog>
00033 #include <QTranslator>
00034 #include "document.h"
00035 #include "ihmPopup.h"
00036 #include "settings.h"
00037 
00038 namespace Ui {
00039     class Ihm;
00040 }
00041 class Document;
00042 class IhmPopup;
00043 class Settings;
00044 
00051 class Ihm : public QMainWindow
00052 {
00053     Q_OBJECT
00054 
00055 public:
00062     explicit Ihm(QWidget *parent = 0);
00068     ~Ihm();
00074     QString getText();
00080     QString getNameFile();
00086     QString getDocument();
00092     QString getDir();
00098     int focusTab();
00104     void enabelDisabel(bool b);
00110     bool erreurChamp();
00117     bool isSelect(int idMoteurRecherche);
00123     int getNbMots();
00129     bool getParTaille();
00135     bool getParPolice();
00141     int getPrCentATester();
00147     int nbMaxRequete();
00148 
00149 public slots:
00155     void traitement();
00161     void aPropos();
00167     void preference();
00173     void documentation();
00179     void selectFile();
00185     void selectDir();
00191     void result(bool error = false , QString errorString = QString());
00197     void annulerTraitement();
00202     void traductionFr();
00207     void traductionEn();
00212     void traductionDe();
00217     void traductionEs();
00222     void traductionIt();
00227     void traductionAr();
00232     void changeEvent(QEvent *event);
00233 
00234 private:
00235     Ui::Ihm *ui; 
00236     Document *m_document; 
00237     IhmPopup *m_popup; 
00238     Settings *m_settings; 
00240 };
00241 
00242 #endif /* IHM_H */
 Tout Classes Espaces de nommage Fichiers Fonctions Variables Définition de type Macros