parley
AdjQueryDlg.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #ifndef AdjQueryDlg_included
00026 #define AdjQueryDlg_included
00027
00028 #include "ui_AdjQueryDlgForm.h"
00029 #include "practicedialog.h"
00030
00031 class AdjQueryDlg : public PracticeDialog
00032 {
00033 Q_OBJECT
00034
00035 public:
00036 AdjQueryDlg(KEduVocDocument *doc, QWidget *parent);
00037
00038 ~AdjQueryDlg();
00039
00040 void setEntry(TestEntry* entry);
00041 void setProgressCounter(int current, int total);
00042
00043 private:
00044 void resetAllFields();
00045
00046 void setStatusText(const QString &statusText) { mw->status->setText(statusText); }
00047 QProgressBar* timebar() { return mw->timebar; }
00048
00049 private slots:
00050 void lev1Changed(const QString&);
00051 void lev2Changed(const QString&);
00052 void lev3Changed(const QString&);
00053 void showSolution();
00054 void verifyClicked();
00055
00056 private:
00057 Ui::AdjQueryDlgForm * mw;
00058
00059 KEduVocComparison comp;
00060 };
00061 #endif // AdjQueryDlg_included