/*************************************************************************** query dialog for adjectives ----------------------------------------------------------------------- begin : Sat Dec 4 15:09:18 1999 copyright : (C) 1999-2001 Ewald Arnold (C) 2005, 2007 Peter Hedlund ----------------------------------------------------------------------- *************************************************************************** *************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/ #ifndef AdjQueryDlg_included #define AdjQueryDlg_included #include "ui_AdjQueryDlgForm.h" #include "practicedialog.h" class AdjQueryDlg : public PracticeDialog { Q_OBJECT public: AdjQueryDlg(KEduVocDocument *doc, QWidget *parent); ~AdjQueryDlg(); void setEntry(TestEntry* entry); void setProgressCounter(int current, int total); private: void resetAllFields(); void setStatusText(const QString &statusText) { mw->status->setText(statusText); } QProgressBar* timebar() { return mw->timebar; } private slots: void lev1Changed(const QString&); void lev2Changed(const QString&); void lev3Changed(const QString&); void showSolution(); void verifyClicked(); private: Ui::AdjQueryDlgForm * mw; }; #endif // AdjQueryDlg_included