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"
23 #include <QDockWidget>
24 #include "qt_helpers.h"
29 class ProgressViewWidget : public QWidget, public Ui::ProgressViewUi
39 class GuiProgressView : public DockView
45 GuiView & parent, ///< the main window where to dock.
46 Qt::DockWidgetArea area, ///< Position of the dock (and also drawer)
47 Qt::WindowFlags flags = 0);
50 /// Controller inherited method.
52 bool initialiseParams(std::string const &) { return true; }
54 void dispatchParams() {}
55 bool isBufferDependent() const { return false; }
56 bool canApply() const { return true; }
57 bool canApplyToReadOnly() const { return true; }
59 bool wantInitialFocus() const { return false; }
63 void appendText(QString const & text);
67 ProgressViewWidget * widget_;
71 } // namespace frontend