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"
36 class ProgressViewWidget : public QWidget, public Ui::ProgressViewUi
46 class GuiProgressView : public DockView
52 GuiView & parent, ///< the main window where to dock.
53 Qt::DockWidgetArea area, ///< Position of the dock (and also drawer)
54 Qt::WindowFlags flags = 0);
57 /// Controller inherited method.
59 bool initialiseParams(std::string const &) { return true; }
61 void dispatchParams() {}
62 bool isBufferDependent() const { return false; }
63 bool canApply() const { return true; }
64 bool canApplyToReadOnly() const { return true; }
66 bool wantInitialFocus() const { return false; }
67 void restoreSession();
68 void saveSession() const;
72 void appendText(QString const & text);
73 void appendLyXErrText(QString const & text);
79 ProgressViewWidget * widget_;
81 void showEvent(QShowEvent*);
82 void hideEvent(QHideEvent*);
84 QList<LevelButton*> level_buttons;
88 } // namespace frontend