3 * \file GuiProgressView.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
10 * Full author contact details are available in file CREDITS.
13 #ifndef GUIPROGRESSVIEW_H
14 #define GUIPROGRESSVIEW_H
16 #include "ui_ProgressViewUi.h"
20 #include "GuiProgress.h"
34 class ProgressViewWidget : public QWidget, public Ui::ProgressViewUi
44 class GuiProgressView : public DockView
50 GuiView & parent, ///< the main window where to dock.
51 Qt::DockWidgetArea area, ///< Position of the dock (and also drawer)
52 Qt::WindowFlags flags = 0);
55 /// Controller inherited method.
57 bool initialiseParams(std::string const &) { return true; }
59 void dispatchParams() {}
60 bool isBufferDependent() const { return false; }
61 bool canApply() const { return true; }
62 bool canApplyToReadOnly() const { return true; }
64 bool wantInitialFocus() const { return false; }
65 void restoreSession();
66 void saveSession() const;
70 void appendText(QString const & text);
71 void appendLyXErrText(QString const & text);
73 void debugMessageActivated(QTreeWidgetItem *, int);
74 void debugSelectionChanged();
77 ProgressViewWidget * widget_;
78 /// did the last message contained eoln? (lyxerr X statusbar conflicts)
82 void showEvent(QShowEvent*);
83 void hideEvent(QHideEvent*);
87 } // namespace frontend