3 * \file GuiProgressView.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
12 #ifndef GUIPROGRESSVIEW_H
13 #define GUIPROGRESSVIEW_H
15 #include "ui_ProgressViewUi.h"
19 #include "GuiProgress.h"
26 class ProgressViewWidget : public QWidget, public Ui::ProgressViewUi
36 class GuiProgressView : public DockView
42 GuiView & parent, ///< the main window where to dock.
43 Qt::DockWidgetArea area, ///< Position of the dock (and also drawer)
44 Qt::WindowFlags flags = 0);
47 /// Controller inherited method.
49 bool initialiseParams(std::string const &) { return true; }
51 void dispatchParams() {}
52 bool isBufferDependent() const { return false; }
53 bool canApply() const { return true; }
54 bool canApplyToReadOnly() const { return true; }
56 bool wantInitialFocus() const { return false; }
57 void restoreSession();
58 void saveSession() const;
62 void appendText(QString const & text);
66 ProgressViewWidget * widget_;
70 } // namespace frontend