parley
ArtQueryDlg.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 ArtQueryDlg_included
00026 #define ArtQueryDlg_included
00027
00028 #include "ui_ArtQueryDlgForm.h"
00029 #include "practicedialog.h"
00030
00031 class ArtQueryDlg : public PracticeDialog
00032 {
00033 Q_OBJECT
00034
00035 public:
00036 ArtQueryDlg(KEduVocDocument *doc, QWidget *parent);
00037
00038 ~ArtQueryDlg();
00039
00040 void setEntry(TestEntry* entry);
00041 void setProgressCounter(int current, int total);
00042
00043 private slots:
00044 void showSolution();
00045 void verifyClicked();
00046
00047 private:
00048 void setStatusText(const QString &statusText) { mw->status->setText(statusText); }
00049 QProgressBar* timebar() { return mw->timebar; }
00050
00051 KEduVocArticle articles;
00052
00053 Ui::ArtQueryDlgForm * mw;
00054 };
00055
00056 #endif // ArtQueryDlg_included