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"
32 class ProgressViewWidget : public QWidget, public Ui::ProgressViewUi
42 class GuiProgressView : public DockView
48 GuiView & parent, ///< the main window where to dock.
49 Qt::DockWidgetArea area = Qt::BottomDockWidgetArea, ///< Position of the dock (and also drawer)
50 Qt::WindowFlags flags = {});
53 /// Controller inherited method.
55 bool initialiseParams(std::string const &) override { return true; }
56 void clearParams() override {}
57 void dispatchParams() override {}
58 bool isBufferDependent() const override { return false; }
59 bool canApply() const override { return true; }
60 bool canApplyToReadOnly() const override { return true; }
61 void updateView() override {}
62 bool wantInitialFocus() const override { return false; }
63 void restoreSession() override;
64 void saveSession(QSettings & settings) const override;
68 void appendText(QString const & text);
69 void appendLyXErrText(QString const & text);
71 void debugMessageActivated(QTreeWidgetItem *, int);
72 void debugSelectionChanged();
75 ProgressViewWidget * widget_;
76 /// did the last message contained eoln? (lyxerr X statusbar conflicts)
80 void showEvent(QShowEvent*) override;
81 void hideEvent(QHideEvent*) override;
85 } // namespace frontend