X-Git-Url: http://git.maemo.org/git/?p=mverbiste;a=blobdiff_plain;f=mainwindow.h;h=c47b619e1ee2d4150da6c5ed45901076d85ee894;hp=cb38a10bb343b73fa8e046ee60c33952ca8408c6;hb=HEAD;hpb=fc65a0926de9cbfb2f55dd167860170ecc11a3c5 diff --git a/mainwindow.h b/mainwindow.h index cb38a10..c47b619 100644 --- a/mainwindow.h +++ b/mainwindow.h @@ -4,11 +4,14 @@ #include #include #include +#include #include #include #include #include #include +#include +#include /* Verbiste */ #include @@ -16,10 +19,11 @@ #include #include #include "gui/conjugation.h" +#include "about.h" #ifndef QT_NO_DEBUG -#include -#include +#include +#include #endif using namespace verbiste; @@ -65,12 +69,13 @@ public: void showExpanded(); void initverbiste(); QVBoxLayout* makeResultCell(const VVS &tenseIterator, - const std::string &tenseName, - const std::string &inputWord, - FrenchVerbDictionary *verbDict); + const std::string &tenseName, + const std::string &inputWord, + FrenchVerbDictionary *verbDict); public slots: void startLookup(); + void switchLang(); private: Ui::MainWindow *ui; @@ -79,10 +84,15 @@ private: QTabWidget *resultPages; QHBoxLayout *btlayout; // Layout to pack the functional buttons QPushButton *btnClear; // Clear button + QCheckBox *btnPron; QLineEdit *wordinput; // Word input QPushButton *btnLookup; // Lookup button + QAction *filFrench; + QAction *filItalian; + QMessageBox *msgbox; std::string langCode; FrenchVerbDictionary *freVerbDic; + AboutDialog *aboutDialog; ResultPage* addResultPage(const std::string &labelText); #ifndef QT_NO_DEBUG