X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FGuiProgressView.h;h=2c1d5fbe93bc1bc9afcfb03d726f79b3daf76b00;hb=425d092204118ea6c24c28e85fdf03fcf2bb51a4;hp=81107521fde9c1895d44d30e818ae2fa8ea2baf3;hpb=85c73e7fcc221a9dfbac9a8158fbfc386f5c2c3e;p=lyx.git diff --git a/src/frontends/qt4/GuiProgressView.h b/src/frontends/qt4/GuiProgressView.h index 81107521fd..2c1d5fbe93 100644 --- a/src/frontends/qt4/GuiProgressView.h +++ b/src/frontends/qt4/GuiProgressView.h @@ -5,6 +5,7 @@ * Licence details can be found in the file COPYING. * * \author Peter Kümmel + * \author Pavel Sanda * * Full author contact details are available in file CREDITS. */ @@ -19,13 +20,17 @@ #include "GuiProgress.h" #include +#include + + +class QHideEvent; +class QShowEvent; -#include -#include "qt_helpers.h" namespace lyx { namespace frontend { + class ProgressViewWidget : public QWidget, public Ui::ProgressViewUi { Q_OBJECT @@ -57,14 +62,23 @@ public: bool canApplyToReadOnly() const { return true; } void updateView() {} bool wantInitialFocus() const { return false; } + void restoreSession(); + void saveSession() const; ///@} private Q_SLOTS: void appendText(QString const & text); + void appendLyXErrText(QString const & text); void clearText(); + void debugMessageActivated(QTreeWidgetItem *, int); + void debugSelectionChanged(); private: ProgressViewWidget * widget_; + + void levelChanged(); + void showEvent(QShowEvent*); + void hideEvent(QHideEvent*); };