/*************************************************************************** query dialog for articles ----------------------------------------------------------------------- begin : Fri Dec 3 18:28: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 ArtQueryDlg_included #define ArtQueryDlg_included #include "ui_ArtQueryDlgForm.h" #include "practicedialog.h" class ArtQueryDlg : public PracticeDialog { Q_OBJECT public: ArtQueryDlg(KEduVocDocument *doc, QWidget *parent); ~ArtQueryDlg(); void setEntry(TestEntry* entry); void setProgressCounter(int current, int total); private slots: void showSolution(); void verifyClicked(); private: void setStatusText(const QString &statusText) { mw->status->setText(statusText); } QProgressBar* timebar() { return mw->timebar; } KEduVocArticle articles; Ui::ArtQueryDlgForm * mw; }; #endif // ArtQueryDlg_included