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, ///< Position of the dock (and also drawer)
50 Qt::WindowFlags flags = 0);
53 /// Controller inherited method.
55 bool initialiseParams(std::string const &) { return true; }
57 void dispatchParams() {}
58 bool isBufferDependent() const { return false; }
59 bool canApply() const { return true; }
60 bool canApplyToReadOnly() const { return true; }
62 bool wantInitialFocus() const { return false; }
63 void restoreSession();
64 void saveSession() const;
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*);
81 void hideEvent(QHideEvent*);
85 } // namespace frontend